Summary of the invention
Therefore, the purpose of this invention is to provide and a kind ofly eliminate electronic installation and be subject to being assembled in each element impact in electronic installation because closely connect sensor, and the error that the distance that approaches for judgment object produces, and method and the system thereof of the correcting electronic device of reduction product fraction defective.
For achieving the above object, the method of correcting electronic device of the present invention, comprise: (A) prepare a plurality of electronic installation samples, these electronic installation samples are to take out from a plurality of being provided with an electronic installation to be corrected that closely connects sensor, and be provided with a critical value in each electronic installation sample, when its judge this closely connect the sensor sensor light a corresponding light sensation measured value that produces during greater than this critical value, can start a predetermined function; (B) obtaining respectively this electronic installation sample with a statistic device is not having under the close same environment of object, it closely connects the first light sensation measured value that the sensor sensor light produces, and respectively this electronic installation sample and a close object are under the same environment of a preset distance, and it closely connects the second light sensation measured value that the sensor sensor light produces; (C) this statistic device deducts corresponding respectively this first light sensation measured value with this second light sensation measured value respectively, in the hope of a plurality of the 3rd light sensation measured values, and these the 3rd light sensation measured values of statistical study, in the hope of first a smooth mean value; And (D) with a means for correcting, obtain an electronic installation to be corrected and do not having under this close same environment of object, it closely connects the 4th light sensation measured value that the sensor sensor light produces, and this critical value of setting this electronic installation to be corrected adds this first smooth mean value for the 4th light sensation measured value.
Preferably, in step (C), this statistic device is these the first light sensation measured values of statistical study more, in the hope of second a smooth mean value, and in step (D), there are this first smooth mean value and this second smooth mean value in this means for correcting, and a higher limit and a lower limit of a predetermined value of gap before and after setting and this second smooth mean value, and judge whether the 4th light sensation measured value that this electronic installation to be corrected produces drops between this higher limit and this lower limit, if just set this critical value of this electronic installation to be corrected.
The present invention realizes the system of a kind of correcting electronic device of said method, is provided with one in this electronic installation and closely connects sensor, and this system comprises a statistic device and a means for correcting.
This statistic device is obtained a plurality of electronic installation samples not to be had under the close same environment of object, it closely connects the first light sensation measured value that the sensor sensor light produces, and respectively this electronic installation sample and a close object under the same environment of a preset distance, it closely connects the second light sensation measured value that the sensor sensor light produces, this statistic device also deducts corresponding respectively this first light sensation measured value with this second light sensation measured value respectively, in the hope of a plurality of the 3rd light sensation measured values, and these the 3rd light sensation measured values of statistical study, in the hope of first a smooth mean value; Wherein these electronic installation samples are to take out from a plurality of electronic installations to be corrected, and there is a critical value in each electronic installation sample, it judges when this closely connects a light sensation measured value that the sensor sensor light produces greater than this critical value, can start a predetermined function.
There is this first smooth mean value in this means for correcting, and obtain an electronic installation to be corrected and do not having under this close same environment of object, it closely connects the 4th light sensation measured value that the sensor sensor light produces, and this critical value of setting this electronic installation to be corrected adds this first smooth mean value for the 4th light sensation measured value.
Preferably, this statistic device is these the first light sensation measured values of statistical study also, in the hope of second a smooth mean value, and also there is this second smooth mean value in this means for correcting, and a higher limit and a lower limit of setting and a predetermined value of this second smooth mean value front and back gap, and this means for correcting judges when the 4th light sensation measured value of electronic installation generation that this is to be corrected drops between this higher limit and this lower limit, just sets this critical value of this electronic installation to be corrected.
effect of the present invention is by obtaining a plurality of electronic installation samples in the situation that do not have object close, it closely connects the first light sensation measured value that the sensor sensor light produces, and obtain these electronic installation samples in the situation that with an approaching object at a distance of a preset distance, it closely connects the second light sensation measured value that the sensor sensor light produces, and with this second light sensation measured value respectively, deduct the three light sensation measured value of corresponding respectively this first light sensation measured value with the light quantity that obtains pure representative and reflected by object, and on average these the 3rd light sensation measured values in the hope of first mean value, judge again an electronic installation to be corrected in the situation that do not have object close, whether it closely connects the 4th light sensation measured value that the sensor sensor light produces and drops between higher limit and lower limit, if, a critical value just proofreading and correct and set this electronic installation to be corrected adds this first mean value for the 4th light sensation measured value, whereby, suitably resulting the 4th light sensation measured value of the electronic installation that each is to be corrected (optical noise value) adds in its critical value, make through these electronic installations of overcorrect and an object during at a distance of this preset distance, its closely connect the sensor sensor light the corresponding light sensation measured value that produces will equal or at least close to this critical value, and can with object when this preset distance left and right, produce consistent reaction or action, really reach purpose of the present invention.
Description of drawings
Fig. 1 show in electronic installation in the past infrared light-emitting diode with closely connect the relative position of sensor, and closely connect sensor and receive the schematic diagram of the infrared ray that the cover glass by external object and top thereof reflects respectively.
Fig. 2 is the process flow diagram of method of the correcting electronic device of a preferred embodiment of the present invention.
Fig. 3 is statistic device in the system of correcting electronic device of a preferred embodiment of the present invention and the annexation of electronic installation sample, and the main circuit block schematic diagram of electronic installation sample.
Fig. 4 is that in the present embodiment, electronic installation sample is not in the situation that there is object close, and it closely connects sensor and senses schematic diagram by the infrared ray of the cover glass reflection of electronic installation sample.
Fig. 5 be in the present embodiment these electronic installation samples in the situation that there is not object close, its closely connect the sensor sensor light the distribution schematic diagram of corresponding the first light sensation measured value that produces.
Fig. 6 be in the present embodiment electronic installation sample and close object (standard color card) at a distance of the schematic diagram of a preset distance.
Fig. 7 is electronic installation sample and this close object (standard color card) of Fig. 6 apart in the situation of a preset distance D, and it closely connects sensor and senses respectively the schematic diagram of the infrared ray that the cover glass by object and electronic installation sample reflects back.
These electronic installation samples in Fig. 8 the present embodiment in the situation that with object at a distance of this preset distance, it closely connects the distribution schematic diagram of the 3rd light sensation measured value of the corresponding generation of infrared ray institute that the pure sensing of sensor reflects back by the object at a distance of this preset distance.
Fig. 9 is means for correcting in the system of correcting electronic device of a preferred embodiment of the present invention and the annexation of electronic installation to be corrected, and the main circuit block schematic diagram of electronic installation to be corrected.
Embodiment
, for above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing, the specific embodiment of the present invention is elaborated.At first need to prove, the present invention is not limited to following embodiment, and those skilled in the art should understand the present invention from the spirit that following embodiment embodies, and each technical term can be done the most wide in range understanding based on Spirit Essence of the present invention.In figure, same or analogous member uses the same reference numerals to represent.
as shown in Figure 1, due to electronic installation, for example the surface of mobile phone 5 can cover a block protection glass 53 usually, therefore the sensor 52 that closely connects that is arranged on cover glass 53 belows is launched except receiving infrared-ray light emitting diode 51, and outside the infrared ray r1 that is reflected by external object, also can receive the infrared ray r2 that is reflected by cover glass 53, and the reflectivity of the cover glass of each electronic installation is not quite similar, therefore cause the sensor 52 that closely connects of each electronic installation to receive the amount difference of the infrared ray r2 that is reflected by cover glass, in addition, be assembled in the process of electronic installation owing to closely connecing sensor 52, its light quantity that receives also can be subject to covering the thickness error of cover glass 53 thereon, be coated on the lower surface of cover glass 53 and with infrared light-emitting diode 51, reach the translucent printing ink district 54 that closely meets sensor 52 relative position places, 55 transmittance error, translucent printing ink district 54, 55 bore size error, bit errors between the launch site of infrared light-emitting diode 51 and translucent printing ink district 54, closely connect the sensing area of sensor 52 and the bit errors between translucent printing ink district 55, closely connect the gap d between sensor 52 and cover glass 53, and the factors such as the error impact that closely connects sensor 52 and/or infrared light-emitting diode 51 itself, so that in these electronic installations of same type closely to connect sensor different for the sensing result of the object of same distance, and can't produce consistent reaction.
And the factor that closely connects sensor reception light quantity that affects from the above in electronic installation is a lot, but, because cost and volume production are considered, also can't improve one by one for each factor in the manufacturing process of electronic installation.Therefore, the method for correcting electronic device of the present invention is directly proofreaied and correct for assembling the electronic installation that closely connects sensor, with these electronic installations that really solve same type, for the object of same distance, can't produce the problem of homogeneous response.
Shown in Figure 2, it is a preferred embodiment of the method for correcting electronic device of the present invention, and as Fig. 3, Fig. 6 and shown in Figure 9, be the preferred embodiment of system of correcting electronic device that realizes the method for correcting electronic device of the present invention, it mainly comprises a statistic device 3 and a means for correcting 4.Statistic device 3 and means for correcting 4 can be separately positioned in two computers or be incorporated in same computer.As shown in Figure 3, statistic device 3 in order to electronic installation sample 2 electric couplings, with the light sensation measured value of analog-digital converter 26 output of reading this electronic installation sample 22, and be stored in wherein storer.And as shown in Figure 9,4 of means for correctings in order to electronic installation a 2 ' electric coupling to be corrected, proofread and correct with the critical value (being detailed later) in this electronic installation 2 ' to be corrected.
At first,, as step 11 and Fig. 3, shown in Figure 4, prepare a plurality of electronic installation samples 2, these electronic installation samples 2 are electronic installations of one species, for example have the mobile phone of a touch control screen.And these electronic installation samples 2 are to take out certain quantity from a collection of electronic installation 2 ' to be corrected.And in the lump with reference to Fig. 3 and Fig. 4, be provided with an infrared light-emitting diode 20 that sends infrared ray r0 in each electronic installation sample 2, and in order to receive that this infrared ray r0 encounters object and the infrared ray that reflects closely connect sensor 21, this closely connects the light that sensor 21 will receive and converts an electric signal to, then by an analog-digital converter 22, changes into a light sensation measured value and export to microprocessor 23.
be preset with a critical value of a corresponding predeterminable range D (distance of mobile phone 5 and an approaching object) in microprocessor 23, it judges that this light sensation measured value is greater than this critical value, the distance of expression object proximity electronic installation sample 2 has reached or less than this preset distance (for example 5 centimetres), start a corresponding function, such as closing touch control screen etc., if and its judgement light sensation measured value is less than or equal to this critical value, the distance of expression object and electronic installation sample 2 is greater than this preset distance, start another corresponding function, such as opening touch control screen etc.
then, execution step 12, as shown in Figures 3 and 4, statistic device 3 is obtained each electronic installation sample 2 under the same environment that does not have object near (for example with arround the distance of object surpass more than 10 centimetres), it closely connects sensor 21 and receives the first light sensation measured value that light produces, wherein this light comprises by the light of outside projection or the infrared ray r2 that is reflected by cover glass 53, and this first light sensation measured value is closely to connect light that sensor 21 will receive to change into electric signal and convert by analog-digital converter 22, its representative closely connects sensor 21 senses when object proximity is not arranged optical noise value.And these the first light sensation measured values generally are Gaussian distribution as shown in Figure 5, and its numerical example, as by 0~10, wherein concentrates at most 6.Again as shown in FIG. 6 and 7; statistic device 3 and obtain each electronic installation sample 2 and object 100 under the same environment of this preset distance D (for example 5 centimetres); it closely connects sensor 21 and receives the second light sensation measured value that light produces; wherein this light is except comprising the infrared ray r1 by object 100 reflections; also comprise by the light of outside projection or the infrared ray r2 that is reflected by cover glass 53, that is the second light sensation measured value that sensor 21 senses that closely connects of each electronic installation sample 2 has also comprised this first light sensation measured value.And object 100 is to adopt a standard color card, and the reflectivity that it can be the ash card that represents the average light reflectivity (18%) of the object in environment, represent object is that 90% Bai Kahuo represents that the reflectivity of object is 3% black card.
Then perform step 13 again, statistic device 3 deducts the first light sensation measured value with the second light sensation measured value of respectively these electronic installation sample 2 generations, in the hope of a plurality of the 3rd light sensation measured values, what it represented respectively corresponding electronic installation sample 2 closely meets the infrared ray r1 that purely by object 100, is reflected that sensor 21 receives, and its numerical range roughly is Gaussian distribution as shown in Figure 8, for example, by 10~20, wherein concentrate at most 15.These the 3rd light sensation measured values of statistic device 3 statistical study, in the hope of first a smooth mean value, for example 15.In addition, statistic device 3 is these the first light sensation measured values of statistical study also, and in the hope of second a smooth mean value, for example 6, and first smooth mean values and the second smooth mean value (optical noise mean value) are stored in means for correcting 4.
Then; execution step 14; means for correcting 4 is obtained an electronic installation 2 ' to be corrected under this same environment that does not have object near (for example with arround the distance of object surpass more than 10 centimetres); it closely connects the 4th light sensation measured value (optical noise value) that sensor 21 sensor light produce; similarly, this light comprises by the light of outside projection or the infrared ray r2 that is reflected by cover glass 53.And preset in means for correcting 4 and predetermined value of the second smooth mean value 6 front and back gap, for example 2 higher limit 8 and a lower limit 4, and carry out step 15, judge first whether the 4th light sensation measured value drops between this higher limit 8 and lower limit 4, if, judge that this electronic installation to be corrected 2 ' is non-defective unit, carry out step 16, the critical value of proofreading and correct and set electronic installation 2 ' to be corrected adds this first smooth mean value for the 4th light sensation measured value, and completes the operation of proofreading and correct this electronic installation 2 ' to be corrected.
return step 15, if the 4th light sensation measured value of means for correcting 4 these electronic installations 2 ' to be corrected of judgement drops on outside this higher limit 8 and lower limit 4, as step 17, judge that this electronic installation to be corrected 2 ' is the defective products that need to keep in repair, and this electronic installation 2 ' to be corrected is after maintenance, re-start again the correction operation of above-mentioned steps 14 to 17, if and means for correcting 4 judges when the 4th light sensation measured value of these electronic installations 2 ' to be corrected drops on outside higher limit 8 and lower limit 4 again, this electronic installation to be corrected 2 ' can be keeped in repair or be given up again.
And the sensor 21 that closely connects of the electronic installation 2 ' that each is to be corrected affects because of factors such as above-mentioned manufacture processes, the 4th light sensation measured value (optical noise) that produces is not quite similar, therefore each electronic installation to be corrected 2 ' all need, through the correction of above-mentioned steps 14 to 17, be set the critical value of itself with the 4th measured light sensation measured value (optical noise) of sensor 21 that closely connects according to itself.
whereby, when the distance of these electronic installations 2 ' through overcorrect and an object reaches or during less than this preset distance D (for example 5 centimetres), because the critical value of each electronic installation 2 ' has added that all object is when this preset distance, the sensing value (i.e. the 4th light sensation measured value) of non-other optical noise by object reflection itself, therefore it closely connects this critical value that light sensation measured value that light that sensor 21 senses in this preset distance left and right changes can itself be set close to electronic installation 2 ' very much, and can be simultaneously with object during at a distance of about this preset distance D, produce consistent reaction, if for example these electronic installations 2 ' are for having the mobile phone of a touch control screen, receive calls and while taking mobile phone near head as the user, these mobile phones all can be according to the sensing result that closely connects sensor, the judgement mobile phone near the distance of head when about this preset distance D (5 centimetres) left and right, namely automatically close touch control screen, and then the different electronic installations that improve and shorten same type cause the response error for the object of same distance because of closely connecing the sensing error of sensor.
in sum, above-described embodiment is by obtaining a plurality of electronic installation samples 2 in the situation that do not have object close, it closely connects the first light sensation measured value that the sensor sensor light produces, and obtain these electronic installation samples 2 in the situation that with an approaching object at a distance of a preset distance, it closely connects the second light sensation measured value that the sensor sensor light produces, and with this second light sensation measured value respectively, deduct the three light sensation measured value of corresponding respectively this first light sensation measured value with the light quantity that obtains pure representative and reflected by object, and on average these the 3rd light sensation measured values in the hope of first mean value, and according to second mean value capping value and lower limit of these light sensation measured values, then judge again an electronic installation to be corrected in the situation that do not have object close, whether it closely connects the 4th light sensation measured value that the sensor sensor light produces and drops between higher limit and lower limit, if, a critical value just proofreading and correct and set this electronic installation to be corrected adds this first mean value for the 4th light sensation measured value, whereby, suitably resulting the 4th light sensation measured value of the electronic installation that each is to be corrected (optical noise value) adds in its critical value, make through these electronic installations of overcorrect and an object during at a distance of this preset distance, its closely connect the sensor sensor light the corresponding light sensation measured value that produces will equal or close to this critical value, and can with object when this preset distance left and right, produce consistent reaction or action, really reach effect of the present invention and purpose.
Should be understood that those skilled in the art can make various changes or modifications the present invention after having read above-mentioned instruction content of the present invention, these equivalent form of values fall within the application's appended claims limited range equally.