CN109688671A - A kind of light control method - Google Patents

A kind of light control method Download PDF

Info

Publication number
CN109688671A
CN109688671A CN201811590283.4A CN201811590283A CN109688671A CN 109688671 A CN109688671 A CN 109688671A CN 201811590283 A CN201811590283 A CN 201811590283A CN 109688671 A CN109688671 A CN 109688671A
Authority
CN
China
Prior art keywords
signal
microprocessor
amplification
reflection infrared
infrared sensor
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
CN201811590283.4A
Other languages
Chinese (zh)
Other versions
CN109688671B (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.)
Chongqing Door Technology Co Ltd
Original Assignee
Chongqing Door Technology 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 Chongqing Door Technology Co Ltd filed Critical Chongqing Door Technology Co Ltd
Priority to CN201811590283.4A priority Critical patent/CN109688671B/en
Publication of CN109688671A publication Critical patent/CN109688671A/en
Application granted granted Critical
Publication of CN109688671B publication Critical patent/CN109688671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control

Abstract

The present invention provides a kind of light control methods, signal feedback based on reflection infrared sensor, the reflection infrared sensor is transmitted to microprocessor after signal processing, and the trigger signal of control light status variation is issued by microprocessor, in such a way that the method for unlike signal processing enriches light manipulation.Compared with prior art, hardware design is not only simplified, power consumption and cost are reduced, also improves the usage experience of light interaction.

Description

A kind of light control method
Technical field
The present invention relates to lighting control technologies, and in particular to a kind of light control method based on infrared ray feedback control.
Background technique
With advances in technology, occur more and more Interactive Products in people's lives, among these infrared technique Using more, but existing infrared emission receives in circuit, usually only amplifies to receiving signal, and realize infrared ray Whether there is or not the judgements of received dualization, and the requirement for filtering processing is lower, or are received using Multi-point infrared transmitting and carry out group to pipe Judgement is closed, to reach directionality identification;In addition, existing infrared distance measurement technology is based on high frequency-infrared impulse ejection and reception, lead to Spending the time difference calculates institute's ranging from problem is to be not easy to Multi-point infrared application, and corresponding hardware configuration will be numerous and jumbled , and cost is also higher.With enriching for application mode, not only need to break through the limitation of the factors such as temperature, supply voltage variation, It also needs to increase the perception adjusted the distance in Multi-point infrared transceiver circuit, to realize that more abundant multiple infrared emissions connect Electrical combination identification application is received, to solve this problem, it is necessary to be furtherd investigate.
Summary of the invention
For the deficiency in the presence of the prior art, the present invention provides a kind of light control methods, and its object is to excellent Change the triggering and processing of light manipulation.
To achieve the above object, present invention employs the following technical solutions:
A kind of light control method, the signal feedback based on reflection infrared sensor, the reflection infrared sensor It is transmitted to microprocessor after signal processing, and issues the trigger signal of control light status variation by microprocessor, includes Following steps or method:
A, the signal sequence acquired in reflection infrared sensor is by level-one amplification, bandpass filtering, second level amplification and mould Microprocessor is passed to after number conversion process;
B, microprocessor repeat read analog-to-digital conversion process after signal and handled;
C, the passband gain of level-one is amplified in step A amplification factor and/or bandpass filtering can actively switch, and actively switch Switch-over control signal from microprocessor;After switching the amplification factor of level-one amplification and/or the passband gain of bandpass filtering, It changes in the signal strength or weakness that the analog-to-digital conversion process receives;
D, microprocessor issues one or many after wherein once reading the signal that reflection infrared sensor is transmitted Switch-over control signal, the passband gain switching of amplification factor and/or bandpass filtering to control level-one amplification, and controlled in switching Signal processed reads again the signal that analog-to-digital conversion is transmitted after issuing;
E, microprocessor continuously reads the output signal of analog-to-digital conversion, identifies signal intensity difference, and fed back with this Signal difference exclusive or signal strength or weakness determines the distance of reflection infrared sensor institute detectable substance or apart from section;
Further, level-one amplification is comprising across resistance amplification or programmable automation controller;Second level amplification in step A is comprising poor Divide amplification.
Further, microprocessor output signal participates in the second level amplification in step A as feedback signal or input signal Treatment process;The microprocessor output signal for participating in second level enhanced processing process in step A has carried out digital-to-analogue conversion processing.
Further, the quantity of the reflection infrared sensor includes multiple.
Further, the working condition of each reflection infrared sensor can open, close conversion, and changeover control signal passes through The output phase of microprocessor should control.
Further, the output-parallel of multiple reflection infrared sensors connects, multiple reflection infrared sensors with when Multiplex mode is divided to carry out conversion output.
Further, in step D microprocessor switch-over control signal sending before and after adjacent analog-to-digital conversion twice output Signal-obtaining time interval is no more than 10ms.
Further, in step D microprocessor it is adjacent twice issue switch-over control signal time interval or in 30ms- Between 500ms, or it is no more than 5ms.
Further, the reflection infrared sensor is with the lamp source of corresponding control or lamp body adjacent to installation.
It is considerably longer than the processing time of microprocessor present invention utilizes the actuation time of gesture interaction, passes through microprocessor Active accommodation signal processing parameter or selection signal processing mode (amplification factor as switched level-one enhanced processing), are passed with differentiating Feel the power and/or frequency of signal;In addition, the present invention is different from the passive use usually to sensing detection transmission signal, utilize The changeover control signal that microprocessor issues, realizes the time division multiplexing of multiple reflection infrared sensors, not only simplifies hardware and set Meter, also reduces power consumption and cost.
Compared with the prior art, the invention has the following beneficial effects:
(1) transducing signal is treated as with distance or distance by traditional open and close type binaryparameter use The ternary parameter or multiple parameters in section, combination is significantly larger than the triggering combination of traditional infrared sensing, to enrich lamp The mode of photocontrol;
(2) the signal processing channel of multiple reflection infrared sensors, is greatly reduced, is convenient for Integration Design;
(3), reflection infrared sensor can hide biography with the lamp source of corresponding control or the neighbouring installation of lamp body to a certain extent Sensor, promoted the experience sense of signal light control by.
Detailed description of the invention
Fig. 1 is the signal processing flow figure of reflection infrared sensor in embodiment.
Specific embodiment
The technical solution in the present invention is further illustrated with reference to the accompanying drawings and embodiments.
As shown in Figure 1, a kind of light control method, the signal feedback based on reflection infrared sensor is described reflective Infrared sensor is transmitted to microprocessor after signal processing, and the triggering of control light status variation is issued by microprocessor Signal, comprises the steps of or method:
A, the signal sequence acquired in reflection infrared sensor is by level-one amplification, bandpass filtering, second level amplification and mould Microprocessor is passed to after number conversion process;
B, microprocessor repeat read analog-to-digital conversion process after signal and handled;
C, the passband gain of level-one is amplified in step A amplification factor and/or bandpass filtering can actively switch, and actively switch Switch-over control signal from microprocessor;After switching the amplification factor of level-one amplification and/or the passband gain of bandpass filtering, It changes in the signal strength or weakness that the analog-to-digital conversion process receives;
D, microprocessor issues one or many after wherein once reading the signal that reflection infrared sensor is transmitted Switch-over control signal, the passband gain switching of amplification factor and/or bandpass filtering to control level-one amplification, and controlled in switching Signal processed reads again the signal that analog-to-digital conversion is transmitted after issuing;
E, microprocessor continuously reads the output signal of analog-to-digital conversion, identifies signal intensity difference, and fed back with this Signal difference exclusive or signal strength or weakness determines the distance of reflection infrared sensor institute detectable substance or apart from section.
In above-mentioned steps A, the level-one amplification is comprising across resistance amplification or programmable automation controller;The second level is amplified Differential amplification.Amplified by two-stage, the amplification factor of reflection infrared sensor feedback signal can be effectively increased, for reflective Infrared sensor is to the same signal sensed apart from object or person body, the amplification factor switching amplified by level-one and/or band The passband gain of pass filter switches, it can be achieved that the processing signal of varying strength exports, due to the handover trigger active of amplification factor Controllably, by the parameter setting of corresponding magnification ratio in a program after, microprocessor can be for handling the size of signal by putting Large scale switching is identified, the exclusion of interference signal is facilitated;And for the transducing signal of different distance, sensor source signal Strong and weak also different, processing signal passes to microprocessor after analog-to-digital conversion, and identifies sensor source signal by microprocessor Magnitude numerical value or big minizone, so that the distance of sense object is determined with this, thus by original with and without binary allelopathic It should control and change in order to comprising the ternary parameter induction control including distance identification.In the present embodiment, the amplification of level-one amplification Multiple switching, the passband gain switching of bandpass filtering are to select different arithmetic elements to realize by analog switch, for example set Multiple feedback resistances relevant to amplification factor are set, the resistance value of each feedback resistance is different, and microprocessor passes through analog switch Selection, switch corresponding feedback resistance be linked into across resistance amplifying circuit or bandwidth-limited circuit in.
Microprocessor output signal of adjacent analog-to-digital conversion twice before and after switch-over control signal sending is read in above-mentioned steps D Time interval is taken to be no more than 10ms, even if object is kept in motion as a result, during this period of time received by microprocessor Signal is still regarded as by reflection infrared sensor to the same sensing apart from object.
Microprocessor output signal participates in the second level enhanced processing process in step A as feedback signal or input signal; The microprocessor output signal for participating in second level enhanced processing process in step A has carried out digital-to-analogue conversion processing.In the present embodiment, two Grade enhanced processing is the differential amplification based on operational amplifier, and wherein non-inverting input terminal is connected with the output of bandpass filtering, reverse phase The feedback signal of input terminal output corresponding with microprocessor is connected, and feedback signal can be handled by independent digital analog converter, portion Point microprocessor includes digital-to-analogue conversion interface, and having the microprocessor of digital-to-analogue conversion interface, then to be directly connected to reverse phase defeated for the interface Enter end.The adjacent time interval for issuing switch-over control signal twice of microprocessor or between 30ms-500ms in step D, or not More than 5ms, when the object of which movement of reflection infrared sensor induction, the object which can ensure to move generates one Determine move distance, and have larger difference by the signal strength or weakness that reflection infrared sensor senses, by across resistance amplification, band logical It is more preferable for the identity of identity, movement tendency apart from section after filtering.
Comprising multiple, the working condition of each reflection infrared sensor can be opened the quantity of the reflection infrared sensor It opens, close conversion, changeover control signal should be controlled by each output phase of microprocessor, common microprocessor to sensor Control is required to be drivingly connected by sensor, and in the present embodiment, sensor, which drives, can be used several transistor switching circuits, and one Reflection infrared sensor, reflection infrared sensor pass through transistor switch electricity to the corresponding driving of road transistor switching circuit all the way Road connects current supply circuit, and the control terminal of transistor switching circuit is connected with the output of microprocessor.It is multiple reflective infrared The output-parallel of sensor connects, and multiple reflection infrared sensors carry out conversion output in a time multiplexed way.With two in Fig. 1 Road reflection infrared sensor in actual use, can increase the quantity of reflection infrared sensor as signal;By multiple anti- The setting of formula infrared sensor is penetrated, the displacement of object can be identified, in conjunction with distance identification above-mentioned, extreme enrichment control The means of identification, to further have more easily control to the variation of multimode light.
The reflection infrared sensor and the lamp source of corresponding control or the neighbouring installation of lamp body, in the case where using of turning on light Under, user is difficult to discover the setting position of sensor, helps to promote usage experience.
Finally, it is stated that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although referring to compared with Good embodiment describes the invention in detail, those skilled in the art should understand that, it can be to skill of the invention Art scheme is modified or replaced equivalently, and without departing from the objective and range of technical solution of the present invention, should all be covered at this In the scope of the claims of invention.

Claims (9)

1. a kind of light control method, the signal feedback based on reflection infrared sensor, the reflection infrared sensor warp It is transmitted to microprocessor after crossing signal processing, and issues the trigger signal of control light status variation, feature by microprocessor It is: comprises the steps of or method:
A, the signal sequence acquired in reflection infrared sensor turns by level-one amplification, bandpass filtering, second level amplification and modulus Microprocessor is passed to after changing processing;
B, microprocessor repeat read analog-to-digital conversion process after signal and handled;
C, the passband gain of level-one is amplified in step A amplification factor and/or bandpass filtering can actively switch, and what is actively switched cuts Control signal is changed from microprocessor;After switching the amplification factor of level-one amplification and/or the passband gain of bandpass filtering, in institute The signal strength or weakness that analog-to-digital conversion process receives is stated to change;
D, microprocessor issues one or many switchings after wherein once reading the signal that reflection infrared sensor is transmitted Signal is controlled, the passband gain switching of amplification factor and/or bandpass filtering to control level-one amplification, and believe in switching control Number issue after read again the signal that analog-to-digital conversion is transmitted;
E, microprocessor continuously reads the output signal of analog-to-digital conversion, identifies signal intensity difference, and the signal fed back with this Difference or signal strength or weakness determine the distance of reflection infrared sensor institute detectable substance or apart from sections.
2. a kind of light control method as described in claim 1, it is characterised in that: the level-one amplification in step A is comprising across resistance Amplification or programmable automation controller;Second level amplification in step A includes differential amplification.
3. a kind of light control method as claimed in claim 2, it is characterised in that: microprocessor output signal is as feedback letter Number or input signal participate in step A in second level enhanced processing process;Participate in the micro process of second level enhanced processing process in step A Device output signal has carried out digital-to-analogue conversion processing.
4. a kind of light control method as claimed in claim 1 or 2, it is characterised in that: the reflection infrared sensor Quantity includes multiple.
5. a kind of light control method as claimed in claim 4, it is characterised in that: the work shape of each reflection infrared sensor State can open, close conversion, and changeover control signal should be controlled by the output phase of microprocessor.
6. a kind of light control method as claimed in claim 5, it is characterised in that: the output of multiple reflection infrared sensors It is connected in parallel, multiple reflection infrared sensors carry out conversion output in a time multiplexed way.
7. a kind of light control method as described in claim 1, it is characterised in that: microprocessor is in switching control in step D The output signal read access time interval that signal issues the adjacent analog-to-digital conversion twice in front and back is no more than 10ms.
8. a kind of light control method as described in claim 1, it is characterised in that: microprocessor is adjacent in step D sends out twice The time interval of switch-over control signal or between 30ms-500ms out, or it is no more than 5ms.
9. a kind of light control method as described in claim 1, it is characterised in that: the reflection infrared sensor with it is corresponding The neighbouring installation of the lamp source or lamp body of control.
CN201811590283.4A 2018-12-25 2018-12-25 Light control method Active CN109688671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811590283.4A CN109688671B (en) 2018-12-25 2018-12-25 Light control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811590283.4A CN109688671B (en) 2018-12-25 2018-12-25 Light control method

Publications (2)

Publication Number Publication Date
CN109688671A true CN109688671A (en) 2019-04-26
CN109688671B CN109688671B (en) 2020-04-10

Family

ID=66189271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811590283.4A Active CN109688671B (en) 2018-12-25 2018-12-25 Light control method

Country Status (1)

Country Link
CN (1) CN109688671B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201910800U (en) * 2010-12-14 2011-07-27 无锡华润矽科微电子有限公司 Infrared receiving circuit with code self-adaptation function
US9068949B2 (en) * 2013-02-04 2015-06-30 Purdue Research Foundation System and method for multiplex spectroscopic imaging
CN206208391U (en) * 2016-08-05 2017-05-31 深圳市创荣发电子有限公司 A kind of infrared ray Distance Test circuit
CN107271055A (en) * 2016-04-20 2017-10-20 中国科学技术大学 A kind of infrared single photon detectorses system of parallel avalanche photodiode array structure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201910800U (en) * 2010-12-14 2011-07-27 无锡华润矽科微电子有限公司 Infrared receiving circuit with code self-adaptation function
US9068949B2 (en) * 2013-02-04 2015-06-30 Purdue Research Foundation System and method for multiplex spectroscopic imaging
CN107271055A (en) * 2016-04-20 2017-10-20 中国科学技术大学 A kind of infrared single photon detectorses system of parallel avalanche photodiode array structure
CN206208391U (en) * 2016-08-05 2017-05-31 深圳市创荣发电子有限公司 A kind of infrared ray Distance Test circuit

Also Published As

Publication number Publication date
CN109688671B (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US5374854A (en) Automatic switch for controlling electric appliances
CA2075544C (en) Remote control device for controlling apparatuses carried on the body, in particular hearing aids
WO2002056145A3 (en) Circuit simulation
CN105159105A (en) Work method and device of intelligent electric appliance
CN106765977A (en) Air-conditioner and its door-plate control method, device
CN105593772A (en) Methods for consolidating module types for industrial control systems
CN206749649U (en) A kind of automobile atmosphere lamp control device and system
US20150208487A1 (en) Lighting switch apparatus and lighting switching method
CN205830108U (en) A kind of LED control system of automatic sensing
CN107422973A (en) A kind of control device and control method
CN109688671A (en) A kind of light control method
CN105554977A (en) Switch, control method thereof and control device
CN109669577A (en) A kind of underwater gesture interaction method
CN105928144A (en) Remote control device for air conditioner, air conditioning system and parameter setting method
CN203563230U (en) On-off control system
CN205247084U (en) Electrical interconnection control system of family
CN105180927B (en) Magnetic navigation sensor
CN202372818U (en) Multi-mode infrared control switch
US10834804B1 (en) Light display control system with remote control
CN106374880A (en) Self-adaptive bandwidth filter based on switch capacitor
CN209846962U (en) Modular control system on sandwich machine
CN209343232U (en) The input Acquisition Circuit of compatible resistor-type signal and voltage mode signals
CN109669543A (en) A kind of contactless interactive mirror
CN104994614A (en) Universal remote switch
CN106939455B (en) Yarn breakage detection circuit of ring spinning frame

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
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 401147 Room 405, 4th floor, building 4, No. 106, west section of Jinkai Avenue, Kangmei street, Liangjiang New District, Chongqing

Patentee after: CHONGQING MINE TECHNOLOGIES Co.,Ltd.

Address before: 401120 No.99, Xinji Avenue, Yubei District, Chongqing

Patentee before: CHONGQING MINE TECHNOLOGIES Co.,Ltd.

CP02 Change in the address of a patent holder