[go: up one dir, main page]

CN103941310B - Correcting method and system of proximity sensor - Google Patents

Correcting method and system of proximity sensor Download PDF

Info

Publication number
CN103941310B
CN103941310B CN201410138936.0A CN201410138936A CN103941310B CN 103941310 B CN103941310 B CN 103941310B CN 201410138936 A CN201410138936 A CN 201410138936A CN 103941310 B CN103941310 B CN 103941310B
Authority
CN
China
Prior art keywords
proximity sensor
infrared
current
threshold range
intensity value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410138936.0A
Other languages
Chinese (zh)
Other versions
CN103941310A (en
Inventor
储小丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qisda Suzhou Co Ltd
Original Assignee
Qisda Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qisda Suzhou Co Ltd filed Critical Qisda Suzhou Co Ltd
Priority to CN201410138936.0A priority Critical patent/CN103941310B/en
Publication of CN103941310A publication Critical patent/CN103941310A/en
Priority to TW104103675A priority patent/TW201539010A/en
Application granted granted Critical
Publication of CN103941310B publication Critical patent/CN103941310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The invention provides a correcting method of a proximity sensor. The proximity sensor conducts proximity sensing by emitting infrared light and receiving reflected infrared light. The method comprises the steps that the proximity sensor collects a current infrared strength value; whether the current infrared strength value is within a preset threshold range or not is judged; if the current infrared strength value is beyond the threshold range, infrared filtering parameters of the proximity sensor are adjusted so as to change the magnitude of the current infrared strength value; if the current infrared strength value is within the threshold range, the adjusted infrared filtering parameters are stored.

Description

The bearing calibration of Proximity Sensor and system
Technical field
The present invention relates to Proximity Sensor automatic calibration machine system in field of mobile equipment, more particularly, to mobile device.
Background technology
Now the mobile phone of touch becomes more and more popular, but because mobile phone adopts touch screen, user when being conversed, face Easily touch mobile phone screen and cause maloperation.Therefore, infrared Proximity Sensor is generally installed on mobile phone, when infrared near Range sensor detects after light blocks, and mobile phone thinks face near touch screen, thus close touch screen with prevent due to The maloperation that face presses close to and produces is it is possible to save electricity in communication process.
Specifically, Proximity Sensor typically by arrange bound threshold values judge mobile phone whether be near or remote From state.Proximity Sensor passes through to launch infrared ray, and receives the infrared ray reflecting, to determine whether shelter Closer or far from.The form of the threshold values of Proximity Sensor can be a codomain scope(A,B), wherein A<B, when closely passing When the reflection infra-red intensity that sensor obtains is more than higher limit B of codomain scope, then judge that light is blocked, and closes touch screen, When infrared Proximity Sensor reflects the lower limit A that infra-red intensity is less than codomain scope, then judge that light blocks and be eliminated, Open touch screen.
But, Proximity Sensor is generally positioned at the upper left corner or the upper right corner in mobile phone, due to the design of mobile phone mechanism Difference, can interfere to the incident infra-red intensity that goes out of Proximity Sensor, lead to the erroneous judgement that mobile phone is blocked, and affect mobile phone Use.
At present, in prior art, the general threshold values passing through dynamic setting Proximity Sensor, to reduce mobile phone mechanism not The impact to Proximity Sensor for the stability.
Patent in Application No. CN201180001001《A kind of method of the perception threshold values of adjustment infrared proximity transducer And device》In, by infrared proximity transducer, obtain the reflection infra-red intensity value under current light strength environment, will obtain Reflection infra-red intensity value compare with the reflection infra-red intensity value prestoring and obtain the first difference, when described first difference During more than default first threshold values, then perception threshold values is modified.
Patent in Application No. CN201110370005《A kind of method and system of setting Proximity Sensor threshold values》 In, first Proximity Sensor is initialized, obtain an Initial Hurdle, then read in Proximity Sensor depositor Currency, be compared with described Initial Hurdle, if currency be more than Initial Hurdle, currency is set to closely The threshold values of sensor.
Above-mentioned two parts of patents are all by adjusting threshold range(Upper lower limit value when working), by current measurement value and handss Initial Hurdle in machine contrasts, and by both differences, the threshold values of Proximity Sensor is entered with Mobile state adjustment.And closely The scope of sensor detecting itself is constant.To reduce the impact to Proximity Sensor for the ambient environmental factors, such as mobile phone Screen sticking film etc..
But, inventor finds in actual application, has significant limitation by the method for dynamic adjustment threshold values. In prior art, the correction of Proximity Sensor is both for external factor and leads to Proximity Sensor value to shift and carry out , such as film for mobile phone screen or mobile phone screen wear and tear and cause.The now detecting value of Proximity Sensor and pre-set threshold value Difference will not be very big, can be corrected by the threshold values threshold values of Proximity Sensor.But in Proximity Sensor itself When generating mechanism is abnormal, under the larger structure diversity that causes when especially assembling, or even the extreme case such as deformation, even if logical Cross adjustment threshold values, still can not filter out the interference that mechanism causes to Proximity Sensor, thus mobile phone screen one still occurs The straight problem closed, this is because the threshold values after adjusting has exceeded the maximum limit of Proximity Sensor, and leads to closely Sensor cisco unity malfunction.
Content of the invention
Therefore, the present invention provides a kind of bearing calibration of Proximity Sensor and system, to avoid mechanism's unstability pair The interference that Proximity Sensor causes, improves the suitability of Proximity Sensor, relaxes the specification of mechanism's design simultaneously, reduces system Cause this.
To achieve these goals, the invention provides a kind of bearing calibration of Proximity Sensor, wherein, this is closely Sensor is closely sensed by the Infrared launching Infrared and reception reflection, and the method includes:Step one, closely Range sensor gathers current infrared intensity value;Step 2, judges whether this current infrared intensity value is in default threshold values model In enclosing;Step 3, if this current infrared intensity value is in outside threshold range, adjusts the infrared-filtered ginseng of this Proximity Sensor Number, to change the size of current infrared intensity value, and return to step one;If this current infrared intensity value is in threshold range, The then infrared-filtered parameter after storage adjustment.
Preferably, in the bearing calibration of described Proximity Sensor, step 3 also includes:Infrared strong after adjustment After angle value is in threshold range, the correction of this Proximity Sensor completes, and this Proximity Sensor is according to infrared after adjustment Filtration parameter enters normal operating conditions.
Preferably, in the bearing calibration of described Proximity Sensor, the method also includes:Detected by OPTICAL SENSORS The light intensity of current environment, mates the default threshold range corresponding with the light intensity of this current environment.
Preferably, in the bearing calibration of described Proximity Sensor, the method also includes:Before step one, lead to Cross OPTICAL SENSORS to determine now after have no occluder before Proximity Sensor, trigger this Proximity Sensor and carry out from dynamic(al) correction.
Preferably, in the bearing calibration of described Proximity Sensor, adjusting this in described step 3 and closely sense During the infrared-filtered parameter of device:Increase this infrared-filtered parameter so that current infrared intensity value diminishes, or reduction should Infrared-filtered parameter is so that current infrared intensity value becomes big.
Present invention also offers a kind of correction system of Proximity Sensor, wherein, this Proximity Sensor passes through transmitting The Infrared of Infrared and reception reflection is closely sensed, and this system includes detecting module, computing module, adjustment mould Block and memory module, detecting module is used for Proximity Sensor and gathers current infrared intensity value;Computing module is used for judging to deserve Whether front infrared intensity value is in default threshold range;If adjusting module is in threshold values model for this current infrared intensity value Outside enclosing, adjust the infrared-filtered parameter of this Proximity Sensor, to change the size of current infrared intensity value;Memory module is used Infrared-filtered parameter if being in threshold range in this current infrared intensity value, after storage adjustment.
Preferably, in the correction system of described Proximity Sensor, infrared intensity value after adjustment falls into threshold values In the range of after, the correction system of this Proximity Sensor stops correction, and this Proximity Sensor is according to the infrared-filtered after adjustment Parameter enters normal operating conditions.
Preferably, in the correction system of described Proximity Sensor, this system also includes OPTICAL SENSORS, this light sensing Device is used for detecting the light intensity of current environment, mates the default threshold values model corresponding with the light intensity of this current environment Enclose.
Preferably, in the correction system of described Proximity Sensor, this system also includes OPTICAL SENSORS, this light sensing Device determines now after have no occluder before Proximity Sensor, triggers the correction system of this Proximity Sensor.
Preferably, in the correction system of described Proximity Sensor, this adjusting module adjusts this Proximity Sensor Infrared-filtered parameter during:Increase this infrared-filtered parameter so that current infrared intensity value diminishes, or it is red to reduce this Outer filtration parameter is so that current infrared intensity value becomes big.
Compared with prior art, the present invention passes through to adjust the infrared-filtered parameter of Proximity Sensor, changes and closely passes The infrared intensity value of sensor, so that infrared intensity value is in default threshold range, and avoids closely sensing The problem of device erroneous judgement.Especially in mechanism, larger abnormal deformation interferes to Proximity Sensor, Proximity Sensor infrared In the case that intensity level much deviates default threshold range, the present invention still effectively can correct Proximity Sensor, overcomes By the dynamic limitation adjusting threshold values method in prior art, improve the suitability and the stability of Proximity Sensor.With The specification of Shi Fangkuan mechanism design, reduces manufacturing cost.
Brief description
Fig. 1 is the flow chart of the bearing calibration of Proximity Sensor of a preferred embodiment of the present invention;
Fig. 2 is the structural frames of the mobile device with Proximity Sensor correction system of a preferred embodiment of the present invention Figure.
Specific embodiment
For making to have further understanding to the purpose of the present invention, construction, feature and its function, hereby cooperation embodiment is detailed It is described as follows.
As shown in figure 1, the flow chart of the bearing calibration of Proximity Sensor for a preferred embodiment of the present invention.This low coverage From sensor application in mobile device, for example, there is smart mobile phone of touch screen etc. in prior art.This Proximity Sensor Closely sensed by the Infrared launching Infrared and reception reflection.
Wherein, this Proximity Sensor, typically by infrared(Infrared Spectroscopy,IR)LED and infrared photosensitive Module forms, and after infrared illuminant module receives infrared ray, will be able to detect via filter element and ADC (analog digital conversion) module The Infrared signal measuring is converted to digital signal, is finally shown as representing certain numerical value of the infrared intensity detecting, should Numerical value is the detecting value of this Proximity Sensor.
It is true that the infrared light intensity wide range that this infrared illuminant module detects, and make in actual industrial manufacture With in, according to the infrared-filtered parameter in control chip, most of infra-red intensity range filter can be fallen, only retain wherein one Section effective range.And this infrared-filtered parameter will be set to a fixed value.The present invention passes through to adjust this Proximity Sensor The infrared-filtered parameter of itself is changing the detecting value of this Proximity Sensor, and then realizes carrying out school to this Proximity Sensor Just.The interference being made a variation for Proximity Sensor by this bearing calibration, equipment mechanism of can forgoing, improves Proximity Sensor The suitability.
In the present embodiment, this Proximity Sensor and OPTICAL SENSORS integrate, in order to the assembling of mobile device With design.This OPTICAL SENSORS is used for detecting the light intensity under current environment, to assist Proximity Sensor.This OPTICAL SENSORS according to Light intensity under various circumstances, the threshold range different to Proximity Sensor configuration automatically.Detectd by OPTICAL SENSORS Survey the light intensity of current environment, to mate the threshold range corresponding with current environment.The correction side of this Proximity Sensor Method is:
Step S101, Proximity Sensor and OPTICAL SENSORS start.After this Proximity Sensor starts, this closely passes Sensor passes through to launch infrared ray, and by receiving the infra-red intensity that reflects, carry out determining whether shelter near or Away from.After OPTICAL SENSORS starts simultaneously, this OPTICAL SENSORS detects the brightness under current environment, and according under various circumstances Light intensity, the threshold range different to Proximity Sensor configuration automatically.In addition, when Proximity Sensor operation irregularity, Assist whether Proximity Sensor detecting has shelter by this OPTICAL SENSORS.For example, when OPTICAL SENSORS detects surrounding Light intensity close or identical with default light intensity under this environment when, then can determine whether now do not have before Proximity Sensor Shelter.
Step S102, whether OPTICAL SENSORS detecting has shelter, if it has, then execution step S107, sends warning;If No, then execution step S103, triggers Proximity Sensor automatic correction machine system.Judged closely by the detecting of OPTICAL SENSORS Whether there is shelter before sensor, and according to the different action of detecting result execution.Wherein, OPTICAL SENSORS is current by detecting The light intensity of environment, has have no occluder with before determination now Proximity Sensor.If OPTICAL SENSORS determines now closely There is shelter before sensor, then, just send warning to inform to adjustor or user.Adjustor is further according to practical situation with certainly Determine whether carry out manual synchronizing closely sensor again.
Step S103, triggers Proximity Sensor automatic correction machine system.If OPTICAL SENSORS is according to the light of surrounding Intensity, determines now have no occluder before Proximity Sensor, then this OPTICAL SENSORS triggers this Proximity Sensor from dynamic(al) correction Mechanism, subsequently this Proximity Sensor will carry out from dynamic(al) correction.Wherein, described Proximity Sensor automatic correction machine system is general Start the software program from dynamic(al) correction for this Proximity Sensor.It should be noted that the automatic correction machine system of the present invention is not It is limited with software program, it will be appreciated by those skilled in the art that, also can pass through entity hardware configuration and hardware and software phase In conjunction with scheme to realize.
Step S104, Proximity Sensor detects current detecting value.After this Proximity Sensor starts from dynamic(al) correction, This Proximity Sensor detects current detecting value first.The infrared ray that i.e. this Proximity Sensor detecting current reflective is returned is strong Degree.In the present embodiment, in the case of this current detecting is worth for have no occluder before this Proximity Sensor reflect infrared Line strength.Because before Proximity Sensor during have no occluder, mobile device now is typically in holding state or non-call shape State, now Proximity Sensor carry out from dynamic(al) correction, will not to user normal using impacting.And in have no occluder In the case of, the correction of Proximity Sensor is also more accurate.
Step S105, judges whether this current detecting value is in threshold range, if it has not, then execution step S108, adjusts The infrared-filtered parameter of this Proximity Sensor whole, to change the size of current detecting value, and return to step S104;If it is, Then execution step S106, the infrared-filtered parameter after storage adjustment, Proximity Sensor enters normal operating conditions.I.e. closely Sensor judges to current detecting value, if this current detecting value is in default threshold range, now low coverage is described Normal from working sensor, or the Proximity Sensor after adjustment is working properly.Whereas if this current detecting value be in pre- If threshold range outside, then illustrate that now Proximity Sensor occurs abnormal, thus this Proximity Sensor must be entered Row correction, to avoid the follow-up erroneous judgement of Proximity Sensor to affect the normal use of user.
Specifically, in step S108, the threshold range of Proximity Sensor is(a、b), wherein a<B, a, b are infrared ray Intensity.After Proximity Sensor operation irregularity, if current detecting value is more than upper limit threshold values b, show that deformation leads to The internal interference light of Proximity Sensor is bigger than normal, then by increasing the infrared-filtered parameter of Proximity Sensor, near to increase The filtration to infra-red intensity for the range sensor, and then reduce current detecting value so that the detecting value after adjustment falls into again Default threshold range(a、b)Interior;Whereas if current detecting value is less than lower limit threshold values a, then show in Proximity Sensor Signal source(IR LED)Or infrared illuminant module is blocked, then by reducing the infrared-filtered parameter of Proximity Sensor, To reduce the filtration to infrared intensity for the Proximity Sensor, and then increase current detecting value so that detecting value weight after adjustment Newly fall into default threshold range(a、b)Interior.
It should be noted that the correction of this Proximity Sensor does not change the luminous parameters of signal source infrared LED.But By adjusting the filtration parameter of infrared light intensity receiving, to adjust current detecting value, with reach detecting value fall into default Threshold range and make the effect of Proximity Sensor normal work.
In addition, in an alternative embodiment of the invention, also can be further combined with adjustment threshold range(a’、b’)Come to closely Sensor is corrected.Specifically, first current detecting value is adjusted to a default effective range(C, d)Interior, wherein, this is effective Scope is more than threshold range, i.e. d>B ', c<a’.Afterwards, then adjust threshold range(A ', b '), so that the threshold values model after adjustment Enclose and cover current detecting value.I.e. after adjusting detecting value size, then adjust bound threshold values a ' and b ', to realize detecting value Fall into the purpose in the threshold range after adjustment, the correction of Proximity Sensor so can be made more quick and accurate.For The adjustment of threshold range, is elaborated in prior art, and here does not just repeat to repeat.
In addition, in this step S105, if the initial scout value of this Proximity Sensor detecting is in default threshold values In the range of, then illustrate that Proximity Sensor is working properly, then this correction mechanism terminates.I.e. this Proximity Sensor detects Initial detecting value just already at default threshold range, then illustrate now Proximity Sensor do not occur any Abnormal, because without being corrected.
Step S106, the infrared-filtered parameter after storage adjustment, Proximity Sensor enters normal operating conditions.By upper After stating the adjustment of step S104, step S105 and step S108, detecting value is in default threshold range, Proximity Sensor Get final product normal work, now can the terminating from dynamic(al) correction of Proximity Sensor, and the infrared-filtered parameter after adjustment is carried out Storage, Proximity Sensor carries out subsequent normal operation according to the infrared-filtered parameter after adjustment.It should be noted that this low coverage Bearing calibration from sensor can be carried out from dynamic(al) correction when user normally uses.Also can enter when mobile device is completed Row correction.If this Proximity Sensor is corrected when mobile device is completed, first Proximity Sensor is carried out Initial-state calibration, to obtain basic parameter, the such as initial value of the infrared-filtered parameter used in bearing calibration of the present invention.
The present invention by being adjusted to the detection parameters of Proximity Sensor itself, to realize to this Proximity Sensor The purpose of correction.After i.e. outside this current detecting value of determination is in threshold range, the present invention closely senses to this further The detecting value size that device detects is adjusted, and makes the detecting value after adjustment again fall into default ideal threshold range Interior.Wherein, this adjustment process is to change the big of current detecting value by the infrared-filtered parameter adjusting this Proximity Sensor Little, so that detecting value falls in default threshold range.Thus realizing the correction to Proximity Sensor.
Specifically, the Infrared that Proximity Sensor acceptance reflects, the infrared light intensity tool that this reflects There is some strength scope.By adjusting this infrared-filtered parameter, you can the Infrared changing the reception of this Proximity Sensor is strong The filter area of degree.The present invention passes through to adjust the reconnaissance range of Proximity Sensor itself, especially occurs different in equipment mechanism Often under the situation of deformation, also can filter out the interference that mechanism causes, improve the stability of Proximity Sensor.And, this Bright bearing calibration can effectively solve the defect of mechanism's design or deformation, leads to asking of Proximity Sensor operation irregularity Topic.Compared with prior art, the bearing calibration range of the present invention is wider, both can be suitably used for external factor and has led to closely pass The situation that sensor shifts, is also applied for the extreme situations such as deformation.
In sum, the present invention passes through to adjust the infrared-filtered parameter of Proximity Sensor, changes Proximity Sensor Detecting value, so that detecting value is in default threshold range, and avoids the problem of Proximity Sensor erroneous judgement.Especially It interferes to Proximity Sensor in the larger abnormal deformation of mechanism, and the detecting value of Proximity Sensor much deviates default In the case of threshold range, the present invention still effectively can correct Proximity Sensor, overcome in prior art and pass through dynamically The limitation of adjustment threshold values method, improves the suitability and the stability of Proximity Sensor.Relax the specification of mechanism's design simultaneously, Reduce manufacturing cost.
As shown in Fig. 2 the mobile device with Proximity Sensor correction system 202 for a preferred embodiment of the present invention 201 structured flowchart.The correction system 202 of this Proximity Sensor is applied in mobile device 201, for example, this mobile device 201 is mobile phone or personal assistant equipment etc..
Also there is in this mobile device 201 Proximity Sensor 204 and OPTICAL SENSORS 203.This Proximity Sensor 204 leads to Cross transmitting Infrared and the Infrared of reception reflection is closely sensed.This Proximity Sensor 204 and OPTICAL SENSORS 203 integrate, the assembling in order to mobile device 201 and design.This OPTICAL SENSORS 203 is used for detecting under current environment Light intensity, to assist Proximity Sensor 204.This OPTICAL SENSORS 203 according to light intensity under various circumstances, automatically near Range sensor 204 configures different threshold range.I.e. by OPTICAL SENSORS 203 detect current environment light intensity, with Join the threshold range corresponding with current environment.
This Proximity Sensor 204 is made up of infrared LED 205 and infrared illuminant module 206, and infrared illuminant module 206 connects After infrared ray, can be via filter element(In figure is not drawn into)With ADC (analog digital conversion) module(In figure is not drawn into), will detect The Infrared signal measuring is converted to digital signal, is finally shown as representing certain numerical value of the infrared intensity detecting, should Numerical value is the detecting value of this Proximity Sensor 204.The infrared light intensity scope that this infrared illuminant module 206 detects is very Extensively, and in actual industrial manufacture uses, can be according to the infrared-filtered parameter in control chip, by most of infra-red intensity model Enclose and filter out, only retain wherein one section effective range.And this infrared-filtered parameter will be set to a fixed value.The present invention is led to Cross and adjust this Proximity Sensor 204 infrared-filtered parameter of itself to change the detecting value of this Proximity Sensor 204, and then Realize this Proximity Sensor 204 is corrected.Thus mobile device 201 Mechanism deformation of forgoing is for Proximity Sensor 204 interference, improves the suitability of Proximity Sensor 204.
The correction system 202 of this Proximity Sensor includes:Detecting module 207, computing module 208, adjusting module 209 and Memory module 210.Detecting module 207 is used for gathering the current detecting value of Proximity Sensor 204;Computing module 208 is used for sentencing Whether this current detecting value of breaking is in threshold range;Adjusting module 209 is in outside threshold range for this current detecting value, Adjust the infrared-filtered parameter of this Proximity Sensor 204, to change the size of current detecting value;Memory module 210 is used for depositing Infrared-filtered parameter after storage adjustment.
Specifically, the operation principle of this correction system 202 is as follows:
This Proximity Sensor 204 and OPTICAL SENSORS 203 start, and this Proximity Sensor 204 passes through to launch infrared ray, and By receiving the infra-red intensity that reflects, carry out determining whether shelter closer or far from.But ought closely sense During device 204 operation irregularity, OPTICAL SENSORS 203 detects the light intensity of current environment, and whether auxiliary Proximity Sensor 204 is detected There is shelter.If OPTICAL SENSORS 203 determines now has shelter before Proximity Sensor 204, then, just to adjustor or use Family sends warning to inform.Adjustor is further according to practical situation to decide whether carrying out manual synchronizing closely sensor 204. If OPTICAL SENSORS 203 is according to the light intensity of surrounding, determine now have no occluder before Proximity Sensor 204, then This OPTICAL SENSORS 203 triggers this Proximity Sensor automatic correction system 202.
First, after the automatic correction system 202 of this Proximity Sensor starts, this detecting module 207 is detected and is currently detectd Measured value.The infra-red intensity that i.e. detecting current reflective is returned.In the present embodiment, this current detecting is worth for this Proximity Sensor The infra-red intensity reflecting in the case of have no occluder before 204.Because before Proximity Sensor 204 during have no occluder, this When mobile device 201 be typically in holding state or non-talking state, now Proximity Sensor 204 is carried out from dynamic(al) correction, The normal use of user will not be impacted.And in the case of have no occluder, the correction of Proximity Sensor 204 is also more Plus precisely.
Secondly, computing module 208 judges whether this current detecting value is in threshold range, if at this current detecting value In default threshold range, illustrate that now Proximity Sensor 204 is working properly, or the Proximity Sensor after adjustment 204 is working properly.Whereas if this current detecting value is in outside default threshold range, then illustrate now closely to pass Exception in sensor 204, and adjusting module 209 starts this Proximity Sensor 204 is corrected.
Threshold range with Proximity Sensor 204(a、b)As a example, wherein a<B, a, b are infra-red intensity.Adjusting module The concrete trimming process of 209 pairs of Proximity Sensors 204 is:If current detecting value is more than upper limit threshold values b, show that mechanism becomes Shape and lead to Proximity Sensor 204 internal interference light bigger than normal, then adjusting module 209 adjusts Proximity Sensor 204 Infrared-filtered parameter, to reduce current detecting value, and makes the detecting value after adjustment again fall into default threshold range(a、b) Interior;Whereas if current detecting value is less than lower limit threshold values a, then show the signal source infrared LED 205 in Proximity Sensor 204 Or infrared illuminant module 206 is blocked, then adjusting module 209 adjusts the infrared-filtered parameter of Proximity Sensor 204, with Increase current detecting value so that the detecting value after adjustment falls into default threshold range again(a、b)Interior.
It should be noted that this adjusting module 209 does not change the luminous parameters of signal source infrared LED 205.But pass through Adjust the filtration parameter of the infrared light intensity receiving, to adjust current detecting value, to fall into default valve to reach detecting value Value scope and make the effect of Proximity Sensor 204 normal work.
In addition, in an alternative embodiment of the invention, adjusting module 209 also can be further combined with adjustment threshold range(a’、 b’)Proximity Sensor 204 is corrected.Specifically, current detecting value is first adjusted to one by adjusting module default has Effect scope(C, d)Interior, wherein, this effective range is more than threshold range, i.e. d>B ', c<a’.Afterwards, adjusting module adjusts threshold values again Scope(A ', b '), so that the threshold range after adjustment covers current detecting value.I.e. after adjusting detecting value size, then Adjust bound threshold values a ' and b ', to realize the purpose in the threshold range after detecting value falls into adjustment, so can make low coverage More quick and accurate from the correction of sensor 204.For the adjustment of threshold range, explained in detail in prior art State, here does not just repeat to repeat.
In addition, if detecting module 207 detects current detecting value being in default threshold range, illustrate now closely Sensor 204 is working properly, then this correction system 202 does not start.What i.e. this detecting module 207 detected at the beginning currently detects Measured value is already at default threshold range, then illustrate that now Proximity Sensor 204 does not occur any exception, thus Do not need to be corrected.
Finally, memory module 210 stores the infrared-filtered parameter after adjustment, follow-up for Proximity Sensor 204 Normal work, Proximity Sensor 204 enters normal operating conditions.By the adjustment of adjusting module 209, detecting value is in In default threshold range, Proximity Sensor 204 gets final product normal work, now the automatic correction system of Proximity Sensor 202 can terminate.It should be noted that the correction system 202 of this Proximity Sensor can be applicable to user's use state.? When can be used for mobile device 201 assembling production and completing.If the correction system 202 of Proximity Sensor is applied to this mobile device 201 when being completed, then this correction system 202 first carries out initial-state calibration to obtain benchmark ginseng to Proximity Sensor 204 Number, the such as present invention correct the initial value of the infrared-filtered parameter used in system 202.
This correction system 202 is by being adjusted to Proximity Sensor 204 detection parameters of itself, near to this to realize The purpose of range sensor 204 correction.After i.e. outside this current detecting value of determination is in threshold range, this correction system 202 It is adjusted by the detecting value size that this Proximity Sensor 204 is detected, so that the detecting value after adjustment falls again Enter in the range of default ideal threshold values.Wherein, this adjustment process is by adjusting the infrared-filtered of this Proximity Sensor 204 ginseng Count and to change the size of current detecting value, so that detecting value falls in default threshold range.Thus realizing to closely passing The correction of sensor 204.Because the infrared light intensity that Proximity Sensor 204 receives has some strength scope.By adjustment Infrared-filtered parameter, you can change the filter area of the infrared light intensity of this reception.
The correction system 202 of the present invention is passed through to adjust Proximity Sensor 204 reconnaissance range of itself, is especially moving Equipment 201 mechanism occurs, under the situation of abnormal deformation, also to filter out the interference that mechanism causes, improve Proximity Sensor 204 stability, effectively solves the problems, such as that mechanism's design or deformation defect lead to Proximity Sensor 204 operation irregularity. Thus correction system 202 range of the present invention is wider, both can be suitably used for external factor and led to Proximity Sensor 204 to occur The situation of skew, is also applied for the extreme situations such as deformation.
Compared with prior art, the present invention passes through to adjust the infrared-filtered parameter of Proximity Sensor itself, changes low coverage From the detecting value of sensor, so that detecting value is in default threshold range avoiding Proximity Sensor by mistake The problem sentenced.Overcome and in prior art, pass through the dynamic limitation adjusting threshold values method, improve being suitable for of Proximity Sensor Property and stability.Relax the specification of mechanism's design simultaneously, reduce manufacturing cost.
The present invention is been described by by above-mentioned related embodiment, but above-described embodiment is only the example implementing the present invention. It must be noted that, the embodiment of exposure is not limiting as the scope of the present invention.On the contrary, in the spirit without departing from the present invention and In the range of the change made and retouching, all belong to the scope of patent protection of the present invention.

Claims (10)

1. a kind of bearing calibration of Proximity Sensor, wherein, this Proximity Sensor passes through to launch Infrared and receives anti- The Infrared penetrated closely is sensed it is characterised in that the method includes:
Step one, Proximity Sensor gathers current infrared intensity value;
Step 2, judges whether this current infrared intensity value is in default threshold range;
Step 3, this current infrared intensity value is in outside threshold range, adjusts the infrared-filtered parameter of this Proximity Sensor, To change the size of current infrared intensity value, and return to step one;If this current infrared intensity value is in threshold range, deposit Infrared-filtered parameter after storage adjustment.
2. the bearing calibration of Proximity Sensor as claimed in claim 1 is it is characterised in that step 3 also includes:Work as adjustment After infrared intensity value afterwards is in threshold range, the correction of this Proximity Sensor completes, and this Proximity Sensor is according to tune Infrared-filtered parameter after whole enters normal operating conditions.
3. the bearing calibration of Proximity Sensor as claimed in claim 1 is it is characterised in that before step one, the method is also Including:Detect the light intensity of current environment by OPTICAL SENSORS, coupling is corresponding with the light intensity of this current environment pre- If threshold range.
4. the bearing calibration of Proximity Sensor as claimed in claim 1 is it is characterised in that the method also includes:In step Before one, determined now after have no occluder before Proximity Sensor by OPTICAL SENSORS, trigger this Proximity Sensor carry out from Dynamic(al) correction.
5. the bearing calibration of Proximity Sensor as claimed in claim 1 is it is characterised in that to adjust this in described step 3 near During the infrared-filtered parameter of range sensor:Increase this infrared-filtered parameter so that current infrared intensity value diminishes, or Person reduces this infrared-filtered parameter so that current infrared intensity value becomes big.
6. the correction system of a kind of Proximity Sensor, wherein, this Proximity Sensor passes through to launch Infrared and receives anti- The Infrared penetrated closely is sensed it is characterised in that this system includes:
Detecting module, gathers current infrared intensity value for Proximity Sensor;
Computing module, for judging whether this current infrared intensity value is in default threshold range;
Adjusting module, if outside being in threshold range for this current infrared intensity value, adjust the infrared of this Proximity Sensor Filtration parameter, to change the size of current infrared intensity value;
Memory module, the infrared-filtered parameter if being in threshold range for this current infrared intensity value, after storage adjustment.
7. Proximity Sensor as claimed in claim 6 correction system it is characterised in that when adjustment after infrared intensity value After falling in threshold range, the correction system of this Proximity Sensor stops correction, after this Proximity Sensor is according to adjustment Infrared-filtered parameter enters normal operating conditions.
8. the correction system of Proximity Sensor as claimed in claim 6 is it is characterised in that this system also includes light sensing Device, this OPTICAL SENSORS is used for detecting the light intensity of current environment, pre- corresponding with the light intensity of this current environment of coupling If threshold range.
9. the correction system of Proximity Sensor as claimed in claim 6 is it is characterised in that this system also includes light sensing Device, this OPTICAL SENSORS determines now after have no occluder before Proximity Sensor, triggers the correction system of this Proximity Sensor.
10. Proximity Sensor as claimed in claim 6 correction system it is characterised in that this adjusting module to adjust this near During the infrared-filtered parameter of range sensor:Increase this infrared-filtered parameter so that current infrared intensity value diminishes, or Person reduces this infrared-filtered parameter so that current infrared intensity value becomes big.
CN201410138936.0A 2014-04-09 2014-04-09 Correcting method and system of proximity sensor Active CN103941310B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410138936.0A CN103941310B (en) 2014-04-09 2014-04-09 Correcting method and system of proximity sensor
TW104103675A TW201539010A (en) 2014-04-09 2015-02-03 Calibration method of proximity sensor and calibration system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410138936.0A CN103941310B (en) 2014-04-09 2014-04-09 Correcting method and system of proximity sensor

Publications (2)

Publication Number Publication Date
CN103941310A CN103941310A (en) 2014-07-23
CN103941310B true CN103941310B (en) 2017-02-15

Family

ID=51189051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410138936.0A Active CN103941310B (en) 2014-04-09 2014-04-09 Correcting method and system of proximity sensor

Country Status (2)

Country Link
CN (1) CN103941310B (en)
TW (1) TW201539010A (en)

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334631A (en) * 2014-07-24 2016-02-17 浙江亿思达显示科技有限公司 3D glasses resistant to infrared interference
CN104407399B (en) * 2014-12-02 2017-01-04 三星半导体(中国)研究开发有限公司 For the method at portable terminal alignment proximity transducer
CN106483576B (en) * 2015-08-28 2020-09-04 青岛海尔智能技术研发有限公司 Method and device for detecting bottle-shaped body
CN106646493B (en) * 2015-10-29 2020-12-29 青岛海尔智能技术研发有限公司 A method for determining the amplification factor of an infrared signal of an infrared measuring device
CN105628079B (en) * 2015-12-30 2021-07-30 上海闻泰电子科技有限公司 Dynamic calibration method for distance sensor
CN106094055B (en) * 2016-06-21 2018-07-03 广东欧珀移动通信有限公司 Calibration method of proximity sensor and terminal
CN106101546B (en) * 2016-06-30 2019-04-05 Oppo广东移动通信有限公司 A kind of laser focusing sensor control method, mobile terminal and storage medium
CN105939427B (en) * 2016-07-06 2019-08-02 Oppo广东移动通信有限公司 Control method and device of infrared proximity sensor and mobile terminal
CN105959492B (en) * 2016-07-06 2019-05-28 Oppo广东移动通信有限公司 Control method and device of infrared proximity sensor and mobile terminal
CN106210227B (en) * 2016-07-06 2019-03-01 Oppo广东移动通信有限公司 Calibration method and device of infrared proximity sensor and mobile terminal
CN106323353B (en) * 2016-08-12 2019-02-12 Oppo广东移动通信有限公司 Calibration method and device of proximity sensor and terminal
CN106331320B (en) * 2016-08-15 2019-07-26 Oppo广东移动通信有限公司 Method and device for controlling screen state
CN106443639B (en) * 2016-09-26 2019-05-17 深圳市金立通信设备有限公司 A kind of range calibration method and terminal
CN106850943B (en) * 2016-12-07 2019-10-08 努比亚技术有限公司 A kind of device and method detecting terminal at a distance from shelter
CN107339961B (en) * 2016-12-20 2019-08-06 北京小米移动软件有限公司 Method and device for calibrating distance sensor, and electronic equipment
CN106791120B (en) * 2016-12-27 2020-05-12 Oppo广东移动通信有限公司 Control method and device for screen-off of mobile terminal
CN106941551B (en) * 2017-02-28 2020-07-07 陈惠金 Mobile terminal, mobile terminal light sensation calibration device, method and system
CN108731723A (en) * 2017-04-18 2018-11-02 中兴通讯股份有限公司 A kind of calibration method and device of proximity sensor
CN107102864A (en) 2017-05-16 2017-08-29 广东欧珀移动通信有限公司 One kind puts out screen control method, device, storage medium and terminal
CN107219515A (en) * 2017-05-25 2017-09-29 深圳市金立通信设备有限公司 The parameter calibrating method and terminal of a kind of range sensor
CN107179182A (en) * 2017-07-06 2017-09-19 北醒(北京)光子科技有限公司 A kind of detection means
CN107153001A (en) * 2017-07-06 2017-09-12 北醒(北京)光子科技有限公司 A kind of detection method
CN107328556A (en) * 2017-07-06 2017-11-07 北醒(北京)光子科技有限公司 A kind of optical performance detecting device
CN107483740B (en) * 2017-08-25 2020-08-07 北京小米移动软件有限公司 Calibration method, device and storage medium for distance sensor
CN108362616B (en) * 2018-02-08 2020-12-22 芜湖美智空调设备有限公司 Dust sensor, calibration method thereof and air treatment equipment
CN109049005B (en) * 2018-07-30 2021-03-12 苏州穿山甲机器人股份有限公司 Method for installing and correcting anti-falling infrared sensor
CN110113528B (en) * 2019-04-26 2021-05-07 维沃移动通信有限公司 Parameter obtaining method and terminal equipment
CN110687522B (en) * 2019-12-10 2020-06-02 广州赛特智能科技有限公司 Infrared system calibration method of indoor distribution vehicle, electronic equipment and storage medium
CN113225063B (en) * 2020-01-21 2024-08-20 淮安达方电子有限公司 Optical axis keyboard adjusting method and optical axis keyboard applying same
US11315746B2 (en) 2019-12-31 2022-04-26 Darfon Electronics Corp. Optical switch keyboard adjustment method and optical switch keyboard using the same
CN111337907B (en) * 2020-02-26 2022-03-25 歌尔光学科技有限公司 Near object sensor calibration method, device, equipment and computer medium
CN112665627B (en) * 2020-12-24 2023-10-10 佛山市顺德区美的电子科技有限公司 Method, device and storage medium for calibrating infrared performance of air conditioner
CN114251501A (en) * 2021-11-05 2022-03-29 箭牌家居集团股份有限公司 Induction distance automatic adjusting method and circuit and induction water outlet assembly
CN114578971B (en) * 2022-03-29 2023-12-05 广东万和电气有限公司 Infrared induction detection system and method
CN115834762B (en) * 2022-11-01 2024-04-05 深圳市穗晶半导体有限公司 Control method, system and device of distance sensor and storage medium
CN116939926B (en) * 2023-07-19 2024-05-17 广州众远智慧科技有限公司 Method and device for adjusting effective power range of receiving lamp tube and infrared touch equipment
CN118482741A (en) * 2024-06-14 2024-08-13 深圳大深传感科技有限公司 A method and system for calibrating detection distance of a photoelectric sensor
CN120358399B (en) * 2025-06-25 2025-09-23 歌尔股份有限公司 Monitoring device and overexposure adjustment method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101922966A (en) * 2009-06-10 2010-12-22 (株)赛丽康 Image sensor for measuring illuminance, proximity and color temperature
CN101936752A (en) * 2009-06-30 2011-01-05 安华高科技Ecbuip(新加坡)私人有限公司 Optical Proximity Sensor Package
CN102440063A (en) * 2008-12-29 2012-05-02 摩托罗拉移动公司 Portable electronic device having self-calibrating proximity sensors
CN103123394A (en) * 2011-11-21 2013-05-29 比亚迪股份有限公司 Method and system for setting threshold value of proximity sensor
CN103197357A (en) * 2013-02-26 2013-07-10 深圳市中兴移动通信有限公司 Infrared proximity detector self-calibration method and device
CN103353621A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for calibrating proximity sensor of mobile terminal, and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102440063A (en) * 2008-12-29 2012-05-02 摩托罗拉移动公司 Portable electronic device having self-calibrating proximity sensors
CN101922966A (en) * 2009-06-10 2010-12-22 (株)赛丽康 Image sensor for measuring illuminance, proximity and color temperature
CN101936752A (en) * 2009-06-30 2011-01-05 安华高科技Ecbuip(新加坡)私人有限公司 Optical Proximity Sensor Package
CN103123394A (en) * 2011-11-21 2013-05-29 比亚迪股份有限公司 Method and system for setting threshold value of proximity sensor
CN103197357A (en) * 2013-02-26 2013-07-10 深圳市中兴移动通信有限公司 Infrared proximity detector self-calibration method and device
CN103353621A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for calibrating proximity sensor of mobile terminal, and mobile terminal

Also Published As

Publication number Publication date
CN103941310A (en) 2014-07-23
TW201539010A (en) 2015-10-16

Similar Documents

Publication Publication Date Title
CN103941310B (en) Correcting method and system of proximity sensor
CN105025159B (en) proximity sensor adjusting method and device
CN100425959C (en) Infrared source heat image detecting method
KR20100132846A (en) Image sensor for measuring illuminance, proximity and color temperature
CN102938247B (en) Brightness adjusting method and device
CN107219515A (en) The parameter calibrating method and terminal of a kind of range sensor
CN103197357A (en) Infrared proximity detector self-calibration method and device
CN106875922A (en) Display terminal display brightness method of adjustment and device
CN106464754A (en) Method, apparatus and device for correcting detection distance
JP6148396B2 (en) Color difference meter module capable of real-time zero adjustment and hue measuring instrument using the same
CN103090899B (en) Test device and test method for sensor
CN106352497A (en) Air conditioner sleeping control method and control device
US20220350003A1 (en) Electronic device and background noise calibration method
EP3401899B1 (en) Method for controlling a display parameter of a mobile device and computer program product
CN104503574A (en) Calibration method, device and system of range sensor
CN208187553U (en) A kind of infrared thermal imaging camera with temp sensing function
CN106162001B (en) Image processing system, device and method for displacement sensor
CN110501115A (en) Method and device for calibrating pressure curve of stylus
CN105895057B (en) A kind of backlight adjusting method, device and terminal device
CN104964652B (en) Battery winding production detection method and device based on machine vision
CN204718562U (en) A kind of device detecting outside rear-view mirror eyeglass adjusting angle
CN109428961A (en) A kind of processing method and mobile terminal close to light sensation
CN109688332A (en) Image pickup mode method of adjustment, device and terminal device
CN205749948U (en) A kind of novel background suppression type photoelectric sensor
CN106817471A (en) A kind of detection method and system based on mobile terminal light sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant