Summary of the invention
Therefore, the object of this invention is to provide one and can eliminate electronic installation because closely connect sensor and assembledEach element impact in electronic installation, and the error producing for the approaching distance of judgment object, and fallMethod and the system thereof of the correcting electronic device of low production fraction defective.
For achieving the above object, the method for correcting electronic device of the present invention, comprising: (A) prepare multiple electronics dressesPut sample, these electronic installation samples are to be provided with an electronic installation to be corrected that closely connects sensor from multipleMiddle taking-up, and in each electronic installation sample, be provided with a critical value, when judging this, it closely connects sensor sensePhotometry the corresponding light sensation measured value producing while being 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, and it closely connectsThe first light sensation measured value that sensor sensor light produces, and respectively this electronic installation sample and one closeObject under the same environment of a preset distance, its of closely connecing that sensor sensor light produces theTwo light sensation measured values; (C) this statistic device deducts corresponding respectively this first light sensing with each this second light sensation measured valueValue, in the hope of multiple the 3rd light sensation measured values, and these the 3rd light sensation measured values of statistical analysis, in the hope of one theOne smooth mean value; And (D) obtain an electronic installation to be corrected with a means for correcting and do not having object closeThis same environment under, it closely connects the 4th light sensation measured value that sensor sensor light produces, and set shouldThis critical value of 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 analysis more, in the hope ofA second smooth mean value, and in step (D), has this first smooth mean value and this in this means for correctingTwo smooth mean values, and set and higher limit and of a predetermined value of this second smooth mean value front and back gapIndividual lower limit, and judge whether the 4th light sensation measured value that this electronic installation to be corrected produces drops on this upper limitBetween value and this lower limit, if so, 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 installationClosely connect sensor, this system comprises a statistic device and a means for correcting.
This statistic device is obtained multiple electronic installation samples not to be had under the close same environment of object, and it closely connectsThe first light sensation measured value that sensor sensor light produces, and respectively this electronic installation sample and one closeObject under the same environment of a preset distance, its of closely connecing that sensor sensor light produces theTwo light sensation measured values, this statistic device also deducts corresponding respectively this first light sensing with each this second light sensation measured valueValue, in the hope of multiple the 3rd light sensation measured values, and these the 3rd light sensation measured values of statistical analysis, in the hope of one theOne smooth mean value; Wherein these electronic installation samples are to take out from multiple electronic installations to be corrected, and everyIn an electronic installation sample, have a critical value, its judge that this closely connects that sensor sensor light produces oneWhen individual light sensation measured value is greater than this critical value, can start a predetermined function.
In this means for correcting, there is this first smooth mean value, and obtains an electronic installation to be corrected and do not havingUnder close this same environment of object, it closely connects the 4th light sensation measured value that sensor sensor light produces,And this critical value of setting this electronic installation to be corrected adds that for the 4th light sensation measured value this first light is averageValue.
Preferably, this statistic device is these the first light sensation measured values of statistical analysis also, flat in the hope of second lightAverage, and in this means for correcting, also have this second smooth mean value, and set and these second smooth mean value front and backA higher limit and a lower limit of a predetermined value of gap, and this means for correcting judges the electricity that this is to be correctedWhen the 4th light sensation measured value that sub-device produces drops between this higher limit and this lower limit, just set this and treat schoolThis critical value of positive electronic installation.
Effect of the present invention is by obtaining multiple electronic installation samples in the situation that not having object close,It closely connects the first light sensation measured value that sensor sensor light produces, and obtains these electronic installation samples with oneIndividual approaching object in the situation of a preset distance, its closely connect that sensor sensor light produces secondLight sensation measured value, and it is pure to obtain to deduct corresponding respectively this first light sensation measured value with each this second light sensation measured valueThe 3rd light sensation measured value of the light quantity that reflected by object of representative, and on average these the 3rd light sensation measured values in the hope ofFirst mean value, then judge that an electronic installation to be corrected is not in the situation that having object close, itsClosely connect the 4th light sensation measured value that sensor sensor light produces and whether drop between higher limit and lower limit, ifThat a critical value just proofreading and correct and set this electronic installation to be corrected adds this for the 4th light sensation measured valueThe first mean value, whereby, the 4th light sensation measured value suitably each electronic installation to be corrected being obtained(optical noise value) adds in its critical value, makes through these electronic installations and an object of overcorrect pre-at a distance of thisWhen set a distance, its closely connect sensor sensor light the corresponding light sensation measured value producing will equal or at least close toThis critical value, and can with object when this preset distance left and right, produce consistent reaction or action,Really reach object of the present invention.
Brief description of the drawings
Fig. 1 shows the infrared light-emitting diode and the relative position that closely connects sensor in electronic installation in the past, withAnd closely connect sensor and receive the infrared ray being reflected respectively by the cover glass of external object and top thereofSchematic diagram.
Fig. 2 is the flow chart of the method for the correcting electronic device of a preferred embodiment of the present invention.
Fig. 3 is the statistic device and electricity in the system of correcting electronic device of a preferred embodiment of the present inventionThe annexation of sub-device sample, and the main circuit block schematic diagram of electronic installation sample.
Fig. 4 is that in the present embodiment, an electronic installation sample is not in the situation that having object close, and it closely connects sensingDevice senses the schematic diagram by the infrared ray of the cover glass reflection of electronic installation sample.
Fig. 5 is that in the present embodiment, these electronic installation samples are not in the situation that having object close, and it closely connects sensingDevice sensor light the distribution schematic diagram of corresponding the first light sensation measured value producing.
Fig. 6 be in the present embodiment electronic installation sample and a close object (standard color card) at a distance of oneThe schematic diagram of individual preset distance.
Fig. 7 is electronic installation sample and this close object (standard color card) the preset distance D apart of Fig. 6Situation under, it closely connects sensor and senses respectively and be reflected back by the cover glass of object and electronic installation sampleThe schematic diagram of the infrared ray going.
In Fig. 8 the present embodiment these electronic installation samples with object at a distance of this preset distance in the situation that, it is nearConnect the pure sensing of sensor by corresponding generation of infrared ray institute reflecting back at a distance of the object of this preset distanceThe distribution schematic diagram of the 3rd light sensation measured value.
Fig. 9 is means for correcting in the system of correcting electronic device of a preferred embodiment of the present invention and treatThe annexation of the electronic installation of proofreading and correct, and the main circuit block schematic diagram of electronic installation to be corrected.
Detailed description of the invention
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing to of the present inventionDetailed description of the invention elaborates. First it should be noted that, the present invention is not limited to following detailed description of the invention,The spirit that those skilled in the art should embody from following embodiment is understood the present invention, and each technical term canTo do the most wide in range understanding based on Spirit Essence of the present invention. In figure, same or analogous member adopts identical attachedFigure mark represents.
As shown in Figure 1, due to electronic installation, for example the surface of mobile phone 5 can cover a block protection glass conventionallyGlass 53, what be therefore arranged on cover glass 53 belows closely connects sensor 52 except receiving infrared-ray light emitting diode51 launch, and outside the infrared ray r1 being reflected by external object, also can receive by protection glassThe infrared ray r2 that glass 53 reflects, and the reflectivity of the cover glass of each electronic installation phase not to the utmostWith, therefore cause the sensor 52 that closely connects of each electronic installation to receive reflected by cover glass redThe amount difference of outer linear light r2; In addition, be assembled in the process of electronic installation owing to closely connecing sensor 52, it connectsThe light quantity of receiving also can be subject to covering cover glass 53 thereon thickness error, be coated on cover glass 53Lower surface and with infrared light-emitting diode 51 and closely meet the translucent printing ink district at sensor 52 relative position places54, the bore size error in 55 light transmittance error, translucent printing ink district 54,55, infrared light emission two utmost pointsBit errors between pipe 51 launch site and translucent printing ink district 54, closely connect the sensing area of sensor 52 with partlyBit errors between clean oil ink-covered area 55, closely connect the gap d between sensor 52 and cover glass 53, andClosely connect the factor impacts such as the error of sensor 52 and/or infrared light-emitting diode 51 own, so that same typeThese electronic installations in closely to connect sensor different for the sensing result of the object of same distance, andCannot produce consistent reaction.
And affecting from the above the sensor that closely connects in electronic installation, to receive the factor of light quantity a lot, but becauseCost and volume production are considered, and in the manufacturing process of electronic installation, also cannot change one by one for each factorKind. Therefore, the method for correcting electronic device of the present invention is directly for assembling the electronics that closely connects sensorDevice is proofreaied and correct, cannot for the object of same distance with these electronic installations that really solve same typeProduce the problem of homogeneous response.
Shown in Figure 2, be a preferred embodiment of the method for correcting electronic device of the present invention, and as Fig. 3,Shown in Fig. 6 and Fig. 9, be realize the correcting electronic device of the method for correcting electronic device of the present invention system onePreferred embodiment, it mainly comprises a statistic device 3 and a means for correcting 4. Statistic device 3 and correction dressPutting 4 can be separately positioned in two computers or be incorporated in same computer. As shown in Figure 3, statistics dressPut 3 in order to electronic installation sample 2 electric couplings, turn with the analog digital that reads this electronic installation sample 22The light sensation measured value that parallel operation 26 is exported, and be stored in memory wherein. And as shown in Figure 9,4 of means for correctingsIn order to an electronic installation 2 ' electric coupling to be corrected, with to one in this electronic installation 2 ' to be correctedIndividual critical value (being detailed later) is proofreaied and correct.
First,, as shown in step 11 and Fig. 3, Fig. 4, prepare multiple electronic installation samples 2, these electronic installationsSample 2 is electronic installations of one species, for example, have the mobile phone of a touch control screen. And these electricitySub-device sample 2 is from a collection of electronic installation 2 ' to be corrected, to take out certain quantity. And in the lump with reference to Fig. 3And Fig. 4, in each electronic installation sample 2, be provided with an infrared light-emitting diode 20 that sends infrared ray r0,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 sensor 21 and converts the light receiving to a signal of telecommunication, then by an analog-digital converter22 change into a light sensation measured value and export to microprocessor 23.
In microprocessor 23, be preset with a corresponding predeterminable range D (mobile phone 5 and an approaching objectDistance) a critical value, it judges that this light sensation measured value is greater than this critical value, represents object proximity electronic installationThe distance of sample 2 has reached or has been less than this preset distance (for example 5 centimetres), starts a corresponding function,For example close touch control screen etc., and if it judges that light sensation measured value is less than or equal to this critical value, expression objectBe greater than this preset distance with the distance of electronic installation sample 2, start another corresponding function, for example, openOpen touch control screen etc.
Then, execution step 12, as shown in Figures 3 and 4, statistic device 3 is obtained each electronic installation sample2 under the same environment that does not have object for example, near (with arround the distance of object exceed more than 10 centimetres), and it is nearConnect sensor 21 and receive the first light sensation measured value that light produces, wherein this light comprises the light being projected by outsideOr the infrared ray r2 being reflected by cover glass 53, and this first light sensation measured value is closely to connect sensor 21 to incite somebody to actionThe light of receiving changes into the signal of telecommunication and converts by analog-digital converter 22, and its representative closely connects sensor 21The optical noise value sensing in the time not having object proximity. And these the first light sensation measured values are generally height as shown in Figure 5This distributes, and its numerical example, as by 0~10, wherein concentrates at most 6. Again as shown in FIG. 6 and 7, statistic device3 and for example obtain each electronic installation sample 2 and object 100, at a distance of this preset distance D's (5 centimetres)Under same environment, it closely connects sensor 21 and receives the second light sensation measured value that light produces, and wherein this light removesComprise beyond the infrared ray r1 being reflected by object 100, also comprise the light that projected by outside or by cover glassThe 53 infrared ray r2 that reflect, that is each electronic installation sample 2 closely connect that sensor 21 sensesThe second light sensation measured value has also comprised this first light sensation measured value. And object 100 is to adopt a standard color card, and it canTaking the reflectivity that is the ash card that represents the average light reflectivity (18%) of the object in environment, represents object as 90%Bai Kahuo represent the black card that the reflectivity of object is 3%.
Then perform step 13 again, statistic device 3 is with the second light sensation measured value that respectively this electronic installation sample 2 producesDeduct the first light sensation measured value, in the hope of multiple the 3rd light sensation measured values, it represents respectively corresponding electronic installationSample 2 closely connect the pure infrared ray r1 being reflected by object 100 that sensor 21 receives and its numberValue scope is roughly Gaussian distribution as shown in Figure 8, for example, by 10~20, wherein concentrates at most 15. StatisticsInstall these the 3rd light sensation measured values of 3 statistical analyses, in the hope of a first smooth mean value, for example 15. In addition,Statistic device 3 is these the first light sensation measured values of statistical analysis also, in the hope of a second smooth mean value, and for example 6,And the first smooth mean value 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 is not having objectUnder for example, this same environment near (with arround the distance of object exceed more than 10 centimetres), it closely connects sensorThe 4th light sensation measured value (optical noise value) that 21 sensor light produce, similarly, this light comprises by outside to be thrownThe light of penetrating or the infrared ray r2 being reflected by cover glass 53. And preset and second in means for correcting 4Predetermined value of light mean value 6 front and back gap, for example 2 higher limit 8 and a lower limit 4, and carry outStep 15, first judges that whether the 4th light sensation measured value drops between this higher limit 8 and lower limit 4, if so, sentencesFixed this electronic installation 2 ' to be corrected is non-defective unit, carry out step 16, proofreaies and correct and set electronics dress to be correctedPut 2 ' critical value and add this first smooth mean value for the 4th light sensation measured value, proofread and correct that this is to be corrected and completeThe operation of electronic installation 2 '.
Return step 15, if means for correcting 4 judges the 4th light sensation measured value of this electronic installation 2 ' to be correctedDrop on outside this higher limit 8 and lower limit 4, as step 17, judge that this electronic installation to be corrected 2 ' is to needThe defective products keeping in repair, and this electronic installation 2 ' to be corrected is after maintenance, then re-starts above-mentionedThe correction operation of step 14 to 17, and if means for correcting 4 judges the 4th light of this electronic installation 2 ' to be correctedWhen sensing value drops on outside higher limit 8 and lower limit 4 again, this electronic installation 2 ' to be corrected can be by againKeep in repair or give up.
And each electronic installation 2 ' to be corrected closely connect sensor 21 because factors such as above-mentioned manufacture processesImpact, the 4th light sensation measured value (optical noise) producing is not quite similar, therefore each electronic installation to be corrected2 ' all needs the correction through above-mentioned steps 14 to 17, with according to itself closely connect sensor 21 measuredFour light sensation measured values (optical noise) are set the critical value of itself.
Whereby, be scheduled to when the distance of these electronic installations 2 ' through overcorrect and an object reaches or be less than thisFor example, when distance B (5 centimetres), because the critical value of each electronic installation 2 ' has added that object is at this preset distance allTime, the sensing value (i.e. the 4th light sensation measured value) of non-other optical noise by object reflection itself, therefore it closely connectsThe light sensation measured value that the light that sensor 21 senses in this preset distance left and right is changed can fill close to electronics very muchPut 2 ' this critical value of setting itself, and can be simultaneously, producing during at a distance of about this preset distance D with objectRaw consistent reaction, if for example these electronic installations 2 ' are for having the mobile phone of a touch control screen,When user receives calls and mobile phone is taken when the head, these mobile phones all can be according to closely connecing sensingThe sensing result of device, judges that distance that mobile phone approaches head is in about this preset distance D (5 centimetres) left and rightTime, automatically close touch control screen, and then the different electronic installations that improve and shorten same type are because nearConnect the sensing error of sensor and cause the response error for the object of same distance.
In sum, above-described embodiment is not having the close situation of object by obtaining multiple electronic installation samples 2Under, it closely connects the first light sensation measured value that sensor sensor light produces, and obtains these electronic installation samples 2In the case of with an approaching object at a distance of a preset distance, it closely connects sensor sensor light and producesThe second light sensation measured value, and with each this second light sensation measured value deduct corresponding respectively this first light sensation measured value withThe 3rd light sensation measured value of the light quantity being reflected by object to pure representative, and average these the 3rd light sensation measured valuesIn the hope of first mean value, and according to these light sensation measured values second mean value capping value andLower limit, more then judge that an electronic installation to be corrected is not in the situation that having object close, it closely connectsWhether the 4th light sensation measured value that sensor sensor light produces drops between higher limit and lower limit, if so,A critical value proofreading and correct and set this electronic installation to be corrected for the 4th light sensation measured value add this firstMean value, whereby, the 4th light sensation measured value suitably each electronic installation to be corrected being obtained (make an uproar by lightSound value) add in its critical value, make these electronic installations and an object this preset distance apart through overcorrectTime, its closely connect sensor sensor light the corresponding light sensation measured value producing 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 thisEffect and the object of invention.
Should be understood that after having read above-mentioned instruction content of the present invention, those skilled in the art can be to thisInvention makes various changes or modifications, and these equivalent form of values fall within equally the application's appended claims and limitScope.