CN104298395A - Method for detecting approaching of object - Google Patents

Method for detecting approaching of object Download PDF

Info

Publication number
CN104298395A
CN104298395A CN201410448688.XA CN201410448688A CN104298395A CN 104298395 A CN104298395 A CN 104298395A CN 201410448688 A CN201410448688 A CN 201410448688A CN 104298395 A CN104298395 A CN 104298395A
Authority
CN
China
Prior art keywords
value
photosensitive
light sensing
photosensitive unit
unit
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.)
Granted
Application number
CN201410448688.XA
Other languages
Chinese (zh)
Other versions
CN104298395B (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.)
Epco Microelectronics Jiangsu Co ltd
Original Assignee
Ai Puke Microelectronics (shanghai) 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 Ai Puke Microelectronics (shanghai) Co Ltd filed Critical Ai Puke Microelectronics (shanghai) Co Ltd
Priority to CN201410448688.XA priority Critical patent/CN104298395B/en
Publication of CN104298395A publication Critical patent/CN104298395A/en
Application granted granted Critical
Publication of CN104298395B publication Critical patent/CN104298395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The invention discloses a method for detecting approaching of an object. A first light sensing unit, a second light sensing unit and a third light sensing unit are arranged, when the light sensing value of the third light sensing unit is larger that the sum of the light sensing value of the first light sensing unit and the light sensing value of the second light sensing unit, it is judged that the light sensing value is mainly generated by interference light at the moment, the light sensing values of the three light sensing units are stored at the moment, then, when the light sensing value of the second light sensing unit is larger than the light sensing value of the third light sensing unit, it is judged that reflection is effective, and the light sensing values of the three light sensing units are processed and then compared with a preset threshold value to judge whether the object approaches or not. Thus, when an electronic device using the method is started, automatic judging and processing can be conducted, the electronic device does not need to be specially processed when leaving a factory, so that the influence of interference light can be effectively reduced, and thus judgment can be made more accurately.

Description

The method of detecting object proximity
[technical field]
The invention belongs to electronic applications, refer to especially and be applied on electronic installation, for detecting the method and apparatus of object proximity.
[background technology]
Mobile communication equipment of the prior art, as smart mobile phone etc., generally adopts touch-screen.Then, these touch-screen power consumptions are comparatively large, and when user makes a phone call, and easily contact with human body and make some functions on touch-screen by false triggering, thus causing maloperation.Therefore, by installing an optical proximity sensor in the front of mobile communication equipment in prior art, by judging that face to judge to the distance between equipment and to determine to close or open function corresponding on the display of mobile communication equipment touch-screen or touch-screen, to reach the object preventing false touch or power saving.
Refer to shown in Fig. 1, for existing optical proximity sensor is applied to structure on device for mobile communication and operating diagram, wherein this proximity transducer comprises luminescent device 42 (being generally infrared light LED) and a sensor devices 43 (being generally optical sensor), and be arranged with a housing 41 outside luminescent device 42 and sensor devices 43, and housing 41 inside is provided with barrier 411, thus the light preventing luminescent device 42 from launching shines directly on sensor devices 43.In addition, this housing 41 is provided with opening (non-label) at corresponding luminescent device 42 with the position of sensor devices 43, is respectively equipped with lens 48 and 49 in this opening.Moreover, when specifically using, during as being used on mobile phone, above this luminescent device 42 and sensor devices 43, be also coated with a transparent cover plate 40.
The light that luminescent device 42 sends can be divided into three parts, the path of the light of wherein main part as shown in the reference numeral 45, this light is perforated through transparent cover plate 40 and after being radiated at reflecting surface 44 (face as user), reflecting and be irradiated on sensor devices 43 again through reflecting surface 44.The path of the light of Part II as shown in the reference numeral 46, its multiple reflections and being irradiated on sensor devices 43 between the upper surface 410 of housing 41 and the lower surface 401 of transparent cover plate 40.The path of Part III light is as shown in 47, and it is multiple reflections between upper and lower surperficial 400,401 of transparent cover plate 40, finally exposes on sensor devices 43 again.Usual second is referred to as crosstalk (Crosstalk) usually with the light industry of Part III.
For the method whether wherein judgment object (as face) is close, prior art normally sets a threshold value, utilize the numerical value obtained from sensor devices compared with this threshold value, thus whether judgment object is close.The deficiency of this kind of method is the threshold value of above-mentioned setting is fixing, in actual applications, owing to there is crosstalk, the Part II namely shown in Fig. 1 and the light of Part III also can be irradiated on sensor devices, thus the photosensitive value making sensor devices obtain changes, and may cause erroneous judgement.
To above-mentioned problem, the patent No. be 201210139955.6 patent of invention propose a kind of method that threshold value is calibrated, but its process is complicated, can not effectively solve the problem.
Really, industry also has by being provided with the electronic installation of this optical proximity sensor when dispatching from the factory, photosensitive value is now read when there is no reflecting object before this electronic installation, and this photosensitive value is stored in the nonvolatile memory of system software or this electronic installation as noise figure, when real work, the photosensitive value of this optical proximity sensor is deducted this noise figure, compare with a threshold value again with the value obtained, thus judged whether object proximity, the deficiency of this kind of mode is electronic installation need increase by detection noise value operation when factory, thus be unfavorable for the production cost reducing electronic installation.
[summary of the invention]
The object of the present invention is to provide a kind of method detecting object proximity, in order to solve in prior art because stray light causes erroneous judgement or increase the problem of electronic installation production cost.
For achieving the above object, implement the method for detecting object proximity of the present invention, whether closely the device of a detecting object proximity is utilized to detect object, the barrier that the device of this detecting object proximity at least comprises luminescent device, sensor devices and is located between luminescent device and sensor devices, wherein sensor devices comprises first, second, third photosensitive unit, these three photosensitive units are arranged away from barrier linearly and successively, utilize the method following steps of the device detecting object proximity of above-mentioned detecting object proximity:
Receive the photosensitive value of these three photosensitive units;
When the photosensitive value of the 3rd photosensitive unit is greater than the photosensitive value sum of first and second photosensitive unit, the photosensitive value of now first, second, third photosensitive unit is stored, is respectively first, second, third original value;
When the photosensitive value of the second photosensitive unit is greater than the photosensitive value of the 3rd photosensitive unit, the photosensitive value obtaining first, second, third photosensitive unit now stores, and is respectively first, second, third reference value;
First, second, third reference value is deducted first, second, third original value respectively and obtains first, second, third desired value;
First, second, third desired value is weighted and on average obtains an effective value;
By this effective value with preset threshold value compare and judgment object whether close.
According to above-mentioned principal character, wherein first, second, third desired value being weighted is on average undertaken by following formula: 0.5* first object value+0.5* second desired value+0.25* the 3rd desired value.
Compared with prior art, the present invention is by arranging multiple photosensitive unit, afterwards when the photosensitive value of the 3rd photosensitive unit is greater than the photosensitive value sum of first and second photosensitive unit, namely judge now primarily of the photosensitive value that crosstalk produces, now store the photosensitive value of three photosensitive units, afterwards when the photosensitive value of the second photosensitive unit is greater than the photosensitive value of the 3rd photosensitive unit, then be judged as effective reflection, be preset with one again compared with threshold value after afterwards the photosensitive value of three photosensitive units being processed, to have judged whether object proximity, so using the electronic equipment of the device of this detecting object proximity can automatic decision processing when starting shooting, need not process especially when electronic equipment dispatches from the factory, thus effectively can reduce the impact of crosstalk, thus judge more accurately.
[accompanying drawing explanation]
Fig. 1 is that existing optical proximity sensor is applied to structure on device for mobile communication and operating diagram.
Fig. 2 is the structural representation of the device of the detecting object proximity of the method implementing detecting object proximity of the present invention.
Fig. 3 is the schematic flow sheet of the method implementing detecting object proximity of the present invention.
[embodiment]
Refer to shown in Fig. 2, for implementing the structural representation of the device of the detecting object proximity of the method for detecting object proximity of the present invention, the barrier 12 that the device wherein implementing detecting object proximity of the present invention at least comprises luminescent device 10, sensor devices 11 and is located between luminescent device 10 and sensor devices 11, wherein sensor devices 11 comprises three photosensitive units, be respectively first, second, third photosensitive unit 110,111,112, linearly and arrange away from barrier 12 successively.
In addition, above luminescent device 10, sensor devices 11 and barrier 12, a glass cover-plate 13 is provided with.In addition, in the specific implementation, can also arrange some optical lenses above luminescent device 10 and sensor devices 11, its structure and working principle all has announcement in the prior art, no longer describes in detail herein.
When real work, when the no reflection events face, device front 14 (i.e. object) of this survey object proximity, the now light mainly crosstalk (Part II namely described in background technology and Part III light) that receives of first, second, third photosensitive unit 110,111,112.Now crosstalk is mainly radiated on the 3rd photosensitive unit 112, so when the photosensitive value of the 3rd photosensitive unit 112 is greater than the photosensitive value sum of first and second photosensitive unit 110,111, namely judges now primarily of the photosensitive value that stray light produces.And when device 1 front of this survey object proximity has reflecting surface 14 (i.e. object), the light that then luminescent device 10 is launched then is radiated on first and second photosensitive unit 110,111 after reflecting surface 14 reflects, when the photosensitive value of the second photosensitive unit 111 is greater than the photosensitive value of the 3rd photosensitive unit 112, then be judged as effective reflection, so just judge whether object proximity by method described below.
Refer to shown in Fig. 3, for implementing the schematic flow sheet of the method for detecting object proximity of the present invention, the method comprises the steps:
Receive photosensitive value A0, B0, C0 of this first, second, third photosensitive unit 110,111,112;
When the photosensitive value C0 of the 3rd photosensitive unit 112 is greater than photosensitive value A0, B0 sum of first and second photosensitive unit 110,111, photosensitive value A0, B0, C0 of now first, second, third photosensitive unit 110,111,112 are stored, is respectively first, second, third original value A0, B0, C0;
When the photosensitive value of the second photosensitive unit 111 is greater than the photosensitive value of the 3rd photosensitive unit 112, photosensitive value A1, B1, C1 of obtaining first, second, third photosensitive unit 110,111,112 now store, and are respectively first, second, third reference value A 1, B1, C1;
First, second, third reference value A 1, B1, C1 are deducted first, second, third original value A0, B0, C0 respectively and obtain first, second, third desired value A2, B2, C2;
First, second, third desired value A2, B2, C2 are weighted and on average obtain an effective value;
This effective value and the threshold value preset are compared, whether judgment object is close afterwards.
Wherein first, second, third desired value being weighted is on average undertaken by following formula: 0.5* first object value A2+0.5* second desired value B2+0.25* the 3rd desired value C2.
In concrete enforcement, the device of this detecting object proximity is a single chip, is all packaged together by luminescent device and multiple photosensitive unit.And in reality is implemented, the plurality of photosensitive unit is an optic sensor array, and each photosensitive unit can be row or a multiple row of this optic sensor array, as this optic sensor array has 6 row, in a second embodiment, can arrange as the first photosensitive unit with the 2nd using the 1st row, the 3rd row arrange as the second photosensitive unit with the 4th, and the 5th row arrange as the 3rd photosensitive unit with the 6th.Also interval can be formed between certain photosensitive unit.Undertaken processing by the photosensitive value of the related column using reading afterwards and as the photosensitive value of corresponding photosensitive unit.
Compared with prior art, the present invention is by arranging multiple photosensitive unit, afterwards when the photosensitive value of the 3rd photosensitive unit is greater than the photosensitive value sum of first and second photosensitive unit, namely judge now primarily of the photosensitive value that crosstalk produces, now store the photosensitive value of three photosensitive units, afterwards when the photosensitive value of the second photosensitive unit is greater than the photosensitive value of the 3rd photosensitive unit, then be judged as effective reflection, be preset with one again compared with threshold value after afterwards the photosensitive value of three photosensitive units being processed, to have judged whether object proximity, so can automatic decision processing when the electronic equipment start using the device of this detecting object proximity, need not process especially when electronic equipment dispatches from the factory, thus effectively can reduce the impact of stray light, thus judge more accurately.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection domain that all should belong to the claim appended by the present invention.

Claims (2)

1. detect the method for object proximity for one kind, whether closely the device of a detecting object proximity is utilized to detect object, the barrier that the device of this detecting object proximity at least comprises luminescent device, sensor devices and is located between luminescent device and sensor devices, wherein sensor devices comprises first, second, third photosensitive unit, these three photosensitive units are arranged away from barrier linearly and successively, utilize the method following steps of the device detecting object proximity of above-mentioned detecting object proximity:
Receive the photosensitive value of these three photosensitive units;
When the photosensitive value of the 3rd photosensitive unit is greater than the photosensitive value sum of first and second photosensitive unit, the photosensitive value of now first, second, third photosensitive unit is stored, is respectively first, second, third original value;
When the photosensitive value of the second photosensitive unit is greater than the photosensitive value of the 3rd photosensitive unit, the photosensitive value obtaining first, second, third photosensitive unit now stores, and is respectively first, second, third reference value;
First, second, third reference value is deducted first, second, third original value respectively and obtains first, second, third desired value;
First, second, third desired value is weighted and on average obtains an effective value;
By this effective value with preset threshold value compare and judgment object whether close.
2. the method for claim 1, is characterized in that: first, second, third desired value being weighted is on average undertaken by following formula: 0.5* first object value+0.5* second desired value+0.25* the 3rd desired value.
CN201410448688.XA 2014-09-04 2014-09-04 The method of detecting object proximity Active CN104298395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410448688.XA CN104298395B (en) 2014-09-04 2014-09-04 The method of detecting object proximity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410448688.XA CN104298395B (en) 2014-09-04 2014-09-04 The method of detecting object proximity

Publications (2)

Publication Number Publication Date
CN104298395A true CN104298395A (en) 2015-01-21
CN104298395B CN104298395B (en) 2017-03-15

Family

ID=52318148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410448688.XA Active CN104298395B (en) 2014-09-04 2014-09-04 The method of detecting object proximity

Country Status (1)

Country Link
CN (1) CN104298395B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113219435A (en) * 2020-02-05 2021-08-06 北京小米移动软件有限公司 Sensor module, control circuit, control method of control circuit and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034332A (en) * 2007-04-30 2007-09-12 友达光电股份有限公司 Display device having touch-control input function
US20110285643A1 (en) * 2010-05-22 2011-11-24 Pixart Imaging Inc. Optical touch display device
CN103777818A (en) * 2012-10-17 2014-05-07 敦南科技股份有限公司 Proximity sensing method and device
CN103995581A (en) * 2013-02-18 2014-08-20 义明科技股份有限公司 Optical sensing device and image sensing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034332A (en) * 2007-04-30 2007-09-12 友达光电股份有限公司 Display device having touch-control input function
US20110285643A1 (en) * 2010-05-22 2011-11-24 Pixart Imaging Inc. Optical touch display device
CN103777818A (en) * 2012-10-17 2014-05-07 敦南科技股份有限公司 Proximity sensing method and device
CN103995581A (en) * 2013-02-18 2014-08-20 义明科技股份有限公司 Optical sensing device and image sensing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113219435A (en) * 2020-02-05 2021-08-06 北京小米移动软件有限公司 Sensor module, control circuit, control method of control circuit and electronic equipment
CN113219435B (en) * 2020-02-05 2024-02-06 北京小米移动软件有限公司 Sensor module, control circuit, control method of control circuit and electronic equipment

Also Published As

Publication number Publication date
CN104298395B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN107124484B (en) The method for handover control that mobile terminal and its display screen are lighted and extinguished
JP2020504974A (en) Display screen state control method and control apparatus
CN106372587A (en) Fingerprint identification method and device
CN110268418A (en) The method, apparatus and electronic equipment of fingerprint detection
CN103809210A (en) Proximity sensor and operating method thereof
CN106385475A (en) Sensor assembly, cover plate assembly and terminal
CN105025159A (en) A proximity sensor adjusting method and apparatus
CN103957303A (en) Method for automatic calibration of proximity optical sensor
CN106385511A (en) Sensor module, panel assembly and mobile terminal
CN103218036A (en) Devices and methods involving display interaction using photovoltaic arrays
CN103024197A (en) Touch screen cellphone capable of preventing misoperations during calls and using method for touch screen cellphone
US9360587B2 (en) Proximity sensing method
US20120092254A1 (en) Proximity sensor with motion detection
CN104280787A (en) Device and method for detecting object approaching
CN106598444A (en) Mobile terminal control method and mobile terminal
EP4202385B1 (en) Method and apparatus for detecting ambient light under display screen and electronic device
CN104298395A (en) Method for detecting approaching of object
CN104571731A (en) Touch panel and display device
CN104618649B (en) A kind of terminal
CN106775137A (en) Proximity test method, device and mobile terminal
CN102103437B (en) Optical touch device and positioning method thereof
CN112362134A (en) Liquid level position detection device and detection method
CN206341251U (en) A kind of sensor cluster, cover plate assembly and terminal
CN103064560B (en) A kind of multi-point touch panel
US20110221349A1 (en) Illuminating System and Method Thereof

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
CP03 Change of name, title or address

Address after: 214028 5th floor, building 200-5, Linghu Avenue, Xinwu District, Wuxi City, Jiangsu Province

Patentee after: EPCO Microelectronics (Jiangsu) Co.,Ltd.

Address before: Zuchongzhi road in Pudong New Area Zhangjiang hi tech park Shanghai city 201203 2277 Lane 1, room 1111

Patentee before: EPTICORE MICROELECTRONICS (SHANGHAI) Co.,Ltd.

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Methods for detecting object proximity

Effective date of registration: 20230726

Granted publication date: 20170315

Pledgee: Zhejiang Tailong Commercial Bank Co.,Ltd. Shanghai Yangpu Sub branch

Pledgor: EPCO Microelectronics (Jiangsu) Co.,Ltd.

Registration number: Y2023310000406

PE01 Entry into force of the registration of the contract for pledge of patent right