CN107688413A - Proximity transducer, proximity transducer output control method and terminal device - Google Patents

Proximity transducer, proximity transducer output control method and terminal device Download PDF

Info

Publication number
CN107688413A
CN107688413A CN201710667603.0A CN201710667603A CN107688413A CN 107688413 A CN107688413 A CN 107688413A CN 201710667603 A CN201710667603 A CN 201710667603A CN 107688413 A CN107688413 A CN 107688413A
Authority
CN
China
Prior art keywords
proximity transducer
voltage
optical receivers
internal diffraction
normal mode
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
CN201710667603.0A
Other languages
Chinese (zh)
Other versions
CN107688413B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710667603.0A priority Critical patent/CN107688413B/en
Publication of CN107688413A publication Critical patent/CN107688413A/en
Application granted granted Critical
Publication of CN107688413B publication Critical patent/CN107688413B/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 present invention proposes a kind of proximity transducer, proximity transducer output control method and terminal device, wherein, proximity transducer includes:Control module, for controlling proximity transducer to enter normal mode of operation;Optical Receivers, in the normal mode of operation, receiving infrared light and internal diffraction light from the external world;Photoelectric conversion module, for the infrared light and internal diffraction light progress opto-electronic conversion from the external world in the normal mode of operation, received to Optical Receivers, generate first voltage;Computing module, for first voltage to be subtracted each other with the second voltage prestored, obtain difference voltage and export, second voltage is voltage of the proximity transducer according to internal diffraction photogenerated.The present embodiment, realize the performance that internal diffraction value is eliminated and in leading portion analog end, improves proximity transducer.

Description

Proximity transducer, proximity transducer output control method and terminal device
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of proximity transducer, proximity transducer output control method And terminal device.
Background technology
At present, in the scheme inputted using touch-screen (touch pad, abbreviation tp) as mobile terminal device, user When receiving calls, because face is close to touch-screen, therefore easily cause maloperation, and the backlight of touch-screen is constantly in opening state State, waste electric energy.
To solve the above problems, in the prior art, generally use proximity transducer (Proximity Sensor, abbreviation PS) Realize the control to touch-screen.Specifically:Fig. 1 is the operation principle schematic diagram of proximity transducer, as shown in figure 1, close sensing Device includes transmitting terminal, such as infrared ray (Infrared Radiation, abbreviation IR) light emitting diode (Light Emitting Diode, abbreviation LED) lamp, for launching infrared light;Receiving terminal, as shown in Fig. 2 passing through Optical Receivers, such as the pole of photoelectricity two Pipe, infrared light (including external interference light, internal diffraction light and external object reflected light) is received, then passes through photoelectric conversion module Voltage v1 is converted infrared light to, then is converted to voltage v1 close to numerical value by analog-to-digital conversion module, reports processor.Not yet When having any object to block, receiving terminal is minimum close to numerical value.Object is constantly close, then receiving terminal is continuous close to numerical value Become big, untill full scale.Processor is received close to after numerical value, is performed close to algorithm process flow, and is tied according to processing Fruit control touch-screen extinguishes or lighted, specifically:Processor by monitor receiving terminal close to numerical value change, when close to numerical value by Gradual change it is big and more than it is default close to threshold value (such as 400) when, now proximity transducer be in proximity state, control touch-screen extinguishing (i.e. the backlight of touch-screen and touch controllable function are closed), tapered into and less than default away from threshold value (such as 300) when receiving numerical value When, now proximity transducer is in lights (i.e. the backlight of touch-screen and touch controllable function are opened) away from state, control touch-screen.
But at least there is following defect in prior art:Proximity transducer is very near apart from touch-screen, for non-porous close to side Case, it is necessary to increase the energy of transmitting terminal, but transmitting terminal energy is too strong and transmitting terminal apart from receiving terminal it is nearer when, the inside of infrared ray Diffraction value is very big, results even in receiving terminal saturation, i.e. full scale, influences the performance of proximity transducer.For there is hole to approach Scheme, internal diffraction value can also influence the performance of proximity transducer.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of proximity transducer, internal diffraction value is eliminated with realizing In leading portion analog end, the performance of proximity transducer is improved.
Second object of the present invention is to propose a kind of proximity transducer output control method.
Third object of the present invention is to propose a kind of terminal device.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 5th purpose of the present invention is to propose a kind of computer program product.
For the above-mentioned purpose, first aspect present invention embodiment proposes a kind of proximity transducer, including:
Control module, for controlling proximity transducer to enter normal mode of operation;
Optical Receivers, under the normal mode of operation, receiving infrared light and internal diffraction light from the external world;
Photoelectric conversion module, it is described next for what is under the normal mode of operation, received to the Optical Receivers Opto-electronic conversion is carried out from the infrared light in the external world and the internal diffraction light, generates first voltage;
Computing module, for the first voltage to be subtracted each other with the second voltage prestored, obtain difference voltage and defeated Go out, the second voltage is voltage of the proximity transducer according to the internal diffraction photogenerated.
The proximity transducer of the embodiment of the present invention, the difference voltage of output are proximity transducer according to from extraneous infrared The first voltage of light and internal diffraction photogenerated, subtract difference of the proximity transducer according only to the second voltage of internal diffraction photogenerated Threshold voltage, realize the performance that internal diffraction value is eliminated and in leading portion analog end, improves proximity transducer.
For the above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of proximity transducer output control method, bag Include:
Control proximity transducer enters normal mode of operation;
Optical Receivers is controlled to receive infrared light and internal diffraction light from the external world under the normal mode of operation;
Control photoelectric conversion module to the Optical Receivers under the normal mode of operation, what is received described comes from Extraneous infrared light and the internal diffraction light carry out opto-electronic conversion, generate first voltage;
Control computing module subtracts each other the first voltage with the second voltage prestored, obtains difference voltage and defeated Go out, the second voltage is voltage of the proximity transducer according to the internal diffraction photogenerated.
The proximity transducer output control method of the embodiment of the present invention, the difference voltage of output for proximity transducer according to From the infrared light in the external world and the first voltage of internal diffraction photogenerated, proximity transducer is subtracted according only to internal diffraction photogenerated The difference voltage of second voltage, realize the performance that internal diffraction value is eliminated and in leading portion analog end, improves proximity transducer.
For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of terminal device, including with next or more Individual component:Housing and processor, memory, touch-screen and proximity transducer in the housing, wherein, the processor Program corresponding with the executable program code is run by reading the executable program code stored in the memory, For realizing the proximity transducer output control method as described in second aspect of the present invention embodiment.
For the above-mentioned purpose, fourth aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium Matter, computer program is stored thereon with, is realized when the program is executed by processor as described in second aspect of the present invention embodiment Proximity transducer output control method.
For the above-mentioned purpose, fifth aspect present invention embodiment proposes a kind of computer program product, when the calculating When instruction in machine program product is by computing device, the proximity transducer performed as described in second aspect of the present invention embodiment is defeated Discharge control method.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the operation principle schematic diagram of proximity transducer;
Fig. 2 is the operation principle schematic diagram of the receiving terminal of the proximity transducer of prior art;
A kind of structural representation for proximity transducer that Fig. 3 is provided by the embodiment of the present invention;
The structural representation for another proximity transducer that Fig. 4 is provided by the embodiment of the present invention;
Fig. 5 is the operation principle schematic diagram of the receiving terminal of the proximity transducer of embodiment illustrated in fig. 4;
A kind of schematic flow sheet for proximity transducer output control method that Fig. 6 is provided by the embodiment of the present invention;And
A kind of structural representation for terminal device that Fig. 7 is provided by the embodiment of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of embodiment is shown in the drawings, wherein identical from beginning to end Or similar label represents same or similar element or the element with same or like function.Retouched below with reference to accompanying drawing The embodiment stated is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the proximity transducer, proximity transducer output control method and terminal of the embodiment of the present invention are described Equipment.
A kind of structural representation for proximity transducer that Fig. 3 is provided by the embodiment of the present invention.As shown in figure 3, this is close Sensing implement body may include:
Control module 31, for controlling proximity transducer to enter normal mode of operation.
Optical Receivers 32, in the normal mode of operation, receiving infrared light and internal diffraction light from the external world.
Photoelectric conversion module 33, in the normal mode of operation, receiving to Optical Receivers 32 from the external world Infrared light and internal diffraction light carry out opto-electronic conversion, generate first voltage.
Computing module 34, for first voltage to be subtracted each other with the second voltage prestored, obtain difference voltage and export, Second voltage is voltage of the proximity transducer according to internal diffraction photogenerated.
Specifically, internal diffraction light, the infrared light part of proximity transducer transmitting terminal transmitting is not penetrated into touch-screen Outside, but above proximity transducer, diffraction in touch-screen underlying space.
Control module 31 controls proximity transducer to enter normal mode of operation, in the normal mode of operation, Optical Receivers 32 can normally receive infrared light (including extraneous interference light and infrared light of external object reflection) and inside from the external world Diffraction light.Infrared light that photoelectric conversion module 33 receives in the normal mode of operation to Optical Receivers 32 (including from outer The infrared light and internal diffraction light on boundary) carry out opto-electronic conversion, generation first voltage v1.Computing module 34 is by first voltage v1 and in advance The second voltage v2 first stored subtracts each other, and obtains difference voltage u=v1-v2 and exports.Wherein, second voltage v2 is proximity transducer According only to the voltage of internal diffraction photogenerated.
In the embodiment of the present invention, the difference voltage of output for proximity transducer according to the infrared light from the external world and inside around The first voltage of photogenerated is penetrated, subtracts difference voltage of the proximity transducer according only to the second voltage of internal diffraction photogenerated, it is real The performance that internal diffraction value is eliminated and in leading portion analog end, improves proximity transducer is showed.Hole can have been realized close to scheme With non-porous close to scheme, but also the very near of the distance of the powerful transmitting terminal of energy and receiving terminal setting can be saved Structure space.
For an embodiment in clear explanation, the present embodiment proposes another proximity transducer.Fig. 4 is implemented for the present invention The structural representation for another proximity transducer that example is provided, as shown in figure 4, the proximity transducer is in embodiment illustrated in fig. 3 On the basis of, it can also include:Analog-to-digital conversion module 41, for carrying out analog-to-digital conversion to difference voltage, generate close to numerical value simultaneously Output.
Specifically, the difference voltage u that analog-to-digital conversion module 41 exports to computing module 34 carries out analog-to-digital conversion, generation is close Numerical value simultaneously exports.The low noise value close to numerical value that such a mode generates is very small, and to-noise ratio greatly promotes.
Further, in the alternatively possible implementation of the embodiment of the present invention, control module 31 can be also used for: Control proximity transducer enters calibration mode.Optical Receivers 32 can be also used for:In the calibration mode, internal diffraction is received Light.Photoelectric conversion module 33 can be also used for:To Optical Receivers 32 in the calibration mode, the internal diffraction light received is carried out Opto-electronic conversion, generate second voltage.
Further, Optical Receivers 32 is specifically as follows photodiode.
Further, analog-to-digital conversion module 41 will can be exported to processor close to numerical value, and processor is received close to number After value, perform close to algorithm process flow, and control touch-screen to extinguish or light according to result, specifically:Processor leads to Change of the monitoring close to numerical value is crossed, when being become larger close to numerical value and more than presetting close to threshold value (such as 400), is now approached Sensor is in proximity state, and control touch-screen extinguishes (i.e. the backlight of touch-screen and touch controllable function are closed), when reception numerical value by Gradual change is small and when being less than default remote threshold value (such as 300), now proximity transducer is in away from state, controls touch-screen to light (i.e. the backlight of touch-screen and touch controllable function are opened).
According to the difference set inside proximity transducer, it is divided into 8,10,12 etc., the corresponding range close to numerical value Also it is different, 256,1024,4096 etc. are corresponded to respectively.Such as 10 won proximity transducer, when normally being blocked without object, close to number It is worth for 200, when proximity transducer is all pressed close to by face, the infrared ray of transmitting terminal transmitting all reflexes to receiving terminal, Jiu Huiman Range 1024.When general setting touch-screen blocks object 3-5cm apart from the external world, start to extinguish or light screen, according to this distance Set suitable default close to threshold value, such as 400 and suitable default away from threshold value, such as 300.
Based on foregoing description, the operation principle schematic diagram of the receiving terminal of the proximity transducer of the present embodiment is as shown in Figure 5.Control Molding block control proximity transducer enters normal mode of operation or calibration mode.In the normal mode of operation, Optical Receivers can To normally receive infrared light (including extraneous interference light and infrared light of external object reflection) and the internal diffraction from the external world Light.Infrared light that photoelectric conversion module receives in the normal mode of operation to Optical Receivers (including from the infrared of the external world Light and internal diffraction light) carry out opto-electronic conversion, generation first voltage v1.In the calibration mode, Optical Receivers receive it is internal around Penetrate light.To Optical Receivers in the calibration mode, the internal diffraction light received carries out opto-electronic conversion, generation to photoelectric conversion module Second voltage v2.Computing module subtracts each other first voltage v1 and second voltage v2, obtains difference voltage u=v1-v2 and exports extremely Processor.Processor is received close to after numerical value, is performed close to algorithm process flow, and controls touch-screen to put out according to result Go out or light.
In the present embodiment, the difference voltage of output is proximity transducer according to from extraneous infrared light and internal diffraction light The first voltage of generation, difference voltage of the proximity transducer according only to the second voltage of internal diffraction photogenerated is subtracted, is realized Internal diffraction value is eliminated to the performance in leading portion analog end, improving proximity transducer.Hole can have been realized close to scheme and nothing The very near of the distance of the powerful transmitting terminal of energy and receiving terminal setting can be saved structure by hole close to scheme Space.
Based on above-described embodiment, the present invention also proposes a kind of proximity transducer output control method.Fig. 6 is implemented for the present invention A kind of schematic flow sheet for proximity transducer output control method that example is provided.As shown in fig. 6, proximity transducer output control Method processed comprises the following steps:
S601, control proximity transducer enter normal mode of operation.
S602, control Optical Receivers in the normal mode of operation, receive infrared light and internal diffraction light from the external world.
S603, control photoelectric conversion module to Optical Receivers in the normal mode of operation, receive from the external world Infrared light and internal diffraction light carry out opto-electronic conversion, generate first voltage.
S604, control computing module subtract each other first voltage with the second voltage prestored, obtain difference voltage and defeated Go out, second voltage is voltage of the proximity transducer according to internal diffraction photogenerated.
Further, in the alternatively possible implementation of the embodiment of the present invention, the proximity transducer of the present embodiment Output control method can also include:Control analog-to-digital conversion module to carry out analog-to-digital conversion to difference voltage, generate close to numerical value simultaneously Output.
Further, in the alternatively possible implementation of the embodiment of the present invention, the proximity transducer of the present embodiment Output control method can also include:Control proximity transducer enters calibration mode;Control Optical Receivers in the calibration mode, Receive internal diffraction light;To Optical Receivers in the calibration mode, the internal diffraction light received enters control photoelectric conversion module Row opto-electronic conversion, generate second voltage.
It should be noted that it is foregoing to close to the explanation of sensor embodiment be also applied for the embodiment close to biography Sensor output control method, here is omitted.
In the present embodiment, the difference voltage of output is proximity transducer according to from extraneous infrared light and internal diffraction light The first voltage of generation, difference voltage of the proximity transducer according only to the second voltage of internal diffraction photogenerated is subtracted, is realized Internal diffraction value is eliminated to the performance in leading portion analog end, improving proximity transducer.Hole can have been realized close to scheme and nothing The very near of the distance of the powerful transmitting terminal of energy and receiving terminal setting can be saved structure by hole close to scheme Space.
In order to realize above-described embodiment, the present invention also proposes a kind of terminal device.Fig. 7 is provided by the embodiment of the present invention A kind of structural representation of terminal device.As shown in fig. 7, the terminal device includes following one or more assemblies:The He of housing 71 Processor 711, memory 712, touch-screen 713 and proximity transducer 714 in housing 71, wherein, processor 711 is logical Cross and read in memory 712 executable program code that stores to run program corresponding with executable program code, for Realize the proximity transducer output control method such as above-mentioned embodiment.
The present invention also proposes a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, the journey The proximity transducer output control method such as above-mentioned embodiment is realized when sequence is executed by processor.
The present invention also proposes a kind of computer program product, when the instruction in computer program product is by computing device When, perform the proximity transducer output control method such as above-mentioned embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that can the paper of print routine thereon or other suitable be situated between Matter, because can then enter edlin, interpretation or if necessary with other for example by carrying out optical scanner to paper or other media Suitable method is handled electronically to obtain program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly be can by program come instruct correlation hardware complete, program can be stored in a kind of computer-readable recording medium In, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.If integrated module with The form of software function module realize and be used as independent production marketing or in use, can also be stored in one it is computer-readable Take in storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

  1. A kind of 1. proximity transducer, it is characterised in that including:
    Control module, for controlling proximity transducer to enter normal mode of operation;
    Optical Receivers, under the normal mode of operation, receiving infrared light and internal diffraction light from the external world;
    Photoelectric conversion module, it is described from outer for what is under the normal mode of operation, received to the Optical Receivers The infrared light on boundary and the internal diffraction light carry out opto-electronic conversion, generate first voltage;
    Computing module, for the first voltage to be subtracted each other with the second voltage prestored, obtain difference voltage and export, institute State voltage of the second voltage for the proximity transducer according to the internal diffraction photogenerated.
  2. 2. proximity transducer according to claim 1, it is characterised in that also include:
    Analog-to-digital conversion module, for carrying out analog-to-digital conversion to the difference voltage, generate close to numerical value and export.
  3. 3. proximity transducer according to claim 1 or 2, it is characterised in that the control module is additionally operable to:Described in control Proximity transducer enters calibration mode;
    The Optical Receivers is additionally operable to:Under the calibration mode, the internal diffraction light is received;
    The photoelectric conversion module is additionally operable to:To the Optical Receivers under the calibration mode, the inside that receives Diffraction light carries out opto-electronic conversion, generates the second voltage.
  4. 4. proximity transducer according to claim 1, it is characterised in that the Optical Receivers is photodiode.
  5. A kind of 5. proximity transducer output control method, it is characterised in that including:
    Control proximity transducer enters normal mode of operation;
    Optical Receivers is controlled to receive infrared light and internal diffraction light from the external world under the normal mode of operation;
    Control photoelectric conversion module to the Optical Receivers under the normal mode of operation, what is received is described from the external world Infrared light and the internal diffraction light carry out opto-electronic conversion, generate first voltage;
    Control computing module subtracts each other the first voltage with the second voltage prestored, obtains difference voltage and exports, institute State voltage of the second voltage for the proximity transducer according to the internal diffraction photogenerated.
  6. 6. proximity transducer output control method according to claim 5, it is characterised in that also include:
    Control analog-to-digital conversion module to carry out analog-to-digital conversion to the difference voltage, generate close to numerical value and export.
  7. 7. the proximity transducer output control method according to claim 5 or 6, it is characterised in that also include:
    The proximity transducer is controlled to enter calibration mode;
    The Optical Receivers is controlled under the calibration mode, receives the internal diffraction light;
    Control the photoelectric conversion module to the Optical Receivers under the calibration mode, the internal diffraction received Light carries out opto-electronic conversion, generates the second voltage.
  8. 8. a kind of terminal device, it is characterised in that including following one or more assemblies:Housing and the place in the housing Device, memory, touch-screen and proximity transducer are managed, wherein, what the processor was stored by reading in the memory holds Line program code runs program corresponding with the executable program code, for realizing as any in claim 5-7 Described proximity transducer output control method.
  9. 9. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program quilt The proximity transducer output control method as described in any in claim 5-7 is realized during computing device.
  10. 10. a kind of computer program product, it is characterised in that when the instruction in the computer program product is by computing device When, perform the proximity transducer output control method as described in any in claim 5-7.
CN201710667603.0A 2017-08-07 2017-08-07 Proximity sensor, proximity sensor output control method, and terminal device Active CN107688413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710667603.0A CN107688413B (en) 2017-08-07 2017-08-07 Proximity sensor, proximity sensor output control method, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710667603.0A CN107688413B (en) 2017-08-07 2017-08-07 Proximity sensor, proximity sensor output control method, and terminal device

Publications (2)

Publication Number Publication Date
CN107688413A true CN107688413A (en) 2018-02-13
CN107688413B CN107688413B (en) 2021-05-07

Family

ID=61153259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710667603.0A Active CN107688413B (en) 2017-08-07 2017-08-07 Proximity sensor, proximity sensor output control method, and terminal device

Country Status (1)

Country Link
CN (1) CN107688413B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6984814B2 (en) * 2002-02-27 2006-01-10 Kabushiki Kaisha Toshiba Optical sensing circuit with voltage to current converter for pointing device
CN103353621A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for calibrating proximity sensor of mobile terminal, and mobile terminal
CN106357922A (en) * 2016-10-12 2017-01-25 广东欧珀移动通信有限公司 State monitoring method and device for terminal equipment and terminal equipment
CN106506794A (en) * 2016-09-05 2017-03-15 广东欧珀移动通信有限公司 The state monitoring method of terminal unit, device and terminal unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6984814B2 (en) * 2002-02-27 2006-01-10 Kabushiki Kaisha Toshiba Optical sensing circuit with voltage to current converter for pointing device
CN103353621A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for calibrating proximity sensor of mobile terminal, and mobile terminal
CN106506794A (en) * 2016-09-05 2017-03-15 广东欧珀移动通信有限公司 The state monitoring method of terminal unit, device and terminal unit
CN106357922A (en) * 2016-10-12 2017-01-25 广东欧珀移动通信有限公司 State monitoring method and device for terminal equipment and terminal equipment

Also Published As

Publication number Publication date
CN107688413B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US20100072351A1 (en) Ambient light sensor with reduced sensitivity to noise from infrared sources
CN100434860C (en) Device for the optical analysis, including two-dimensional, of a thread or yarn
PL330188A1 (en) Information entering apparatus
CN104216028B (en) The transceiver elements and photoelectricity light curtain of optical unit for photoelectric barrier
ITBO940167A1 (en) SYSTEM FOR DETECTION OF LINEAR DIMENSIONS AND METHOD FOR VERIFYING THE RELATIVE OPERATION
CN107683104A (en) Physiological measurements sensor
CN102565011B (en) Optical sensor and detection method thereof
CN206948392U (en) display device and terminal device
CN107358175A (en) Method for collecting iris and electronic installation
CN206369772U (en) Electric arc optical detection device and switch cubicle
CN107480664A (en) Light supplement control method, device and terminal device
CN107688413A (en) Proximity transducer, proximity transducer output control method and terminal device
CN107401026A (en) Device for clothing processing and its dispensing control method and device of washing agent
JPH11322196A (en) Characteristic measuring device for longitudinally moving test piece
WO1997022883A3 (en) Optical measuring process and optical measuring arrangement for measuring an alternating quantity with intensity scaling
CN210807279U (en) Switching value signal transmission control system based on optical fiber
CN106817471A (en) A kind of detection method and system based on mobile terminal light sensor
CN208073226U (en) The controller of automatically-controlled door
CN105825596A (en) Dustproof reminding circuit and method for infrared sensor in ATM (Automatic Teller Machine)
CN102141623A (en) Remote controller and distance reminding method thereof
CN206932521U (en) A kind of wire structures of high pressure injector
CN206038277U (en) Optical time domain reflectometer
CN108076220A (en) Anti-interference method, electronic device and computer readable storage medium
CN205620990U (en) A device that integrated circuit board hot plug was moved in was used for real -time monitoring system
CN116608908B (en) Fast-jump frequency source abnormity monitoring system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant