CN109688671B - Light control method - Google Patents
Light control method Download PDFInfo
- Publication number
- CN109688671B CN109688671B CN201811590283.4A CN201811590283A CN109688671B CN 109688671 B CN109688671 B CN 109688671B CN 201811590283 A CN201811590283 A CN 201811590283A CN 109688671 B CN109688671 B CN 109688671B
- Authority
- CN
- China
- Prior art keywords
- microprocessor
- amplification
- signal
- reflective 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
Abstract
The invention provides a light control method, which is based on signal feedback of a reflective infrared sensor, wherein the reflective infrared sensor is transmitted to a microprocessor after signal processing, the microprocessor sends a trigger signal for controlling light state change, and light control modes are enriched by different signal processing methods. Compared with the prior art, the method simplifies hardware design, reduces power consumption and cost, and improves the use experience of light interaction.
Description
Technical Field
The invention relates to a light control technology, in particular to a light control method based on infrared feedback control.
Background
With the progress of technology, more and more interactive products appear in the life of people, wherein the infrared technology is used more, but in the existing infrared transmitting and receiving circuit, the received signal is often only amplified, the dualization judgment of whether the infrared ray is received or not is realized, the requirement on filtering processing is lower, or the multipoint infrared transmitting and receiving tubes are utilized to carry out combined judgment so as to achieve directional identification; in addition, the existing infrared distance measurement technology is based on high-frequency infrared pulse transmission and reception, and the measured distance is calculated through time difference, so that the infrared distance measurement technology is inconvenient for multi-point infrared application, and the corresponding hardware structure is complicated and high in cost. With the abundance of application modes, not only the limitation of factors such as temperature and power supply voltage change needs to be broken through, but also the perception of distance needs to be increased in the multipoint infrared transmitting and receiving circuit, so as to realize richer combined identification and application of a plurality of infrared transmitting and receiving circuits, and in order to solve the problem, deep research needs to be carried out.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a light control method, aiming at optimizing the triggering and processing of light control.
In order to achieve the purpose, the invention adopts the following technical scheme:
a light control method is based on signal feedback of a reflective infrared sensor, the reflective infrared sensor is transmitted to a microprocessor after signal processing, and the microprocessor sends out a trigger signal for controlling light state change, and the light control method comprises the following steps or methods:
A. signals acquired by the reflective infrared sensor are sequentially subjected to primary amplification, band-pass filtering, secondary amplification and analog-to-digital conversion and then transmitted to the microprocessor;
B. the microprocessor repeatedly reads and processes the signals after the analog-digital conversion;
C. in the step A, the amplification factor of the primary amplification and/or the passband gain of the bandpass filtering can be actively switched, and a switching control signal for the active switching comes from the microprocessor; after the amplification factor of the first-stage amplification and/or the passband gain of the bandpass filtering are switched, the strength of the received signal is changed after the analog-to-digital conversion processing;
D. the microprocessor sends out one or more switching control signals after reading the signals transmitted by the reflective infrared sensor for one time, so as to control the amplification factor of the primary amplification and/or the passband gain switching of the bandpass filtering, and reads the signals transmitted by the analog-to-digital conversion again after sending out the switching control signals;
E. the microprocessor continuously reads the output signals of the analog-digital conversion, identifies the signal change difference, and judges the distance between the objects detected by the reflective infrared sensor or the distance interval according to the feedback signal difference or the signal strength;
further, the first-stage amplification comprises transimpedance amplification or programmable gain amplification; the second amplification in step a comprises differential amplification.
Further, the output signal of the microprocessor is used as a feedback signal or an input signal to participate in the secondary amplification processing process in the step A; and D/A conversion processing is carried out on the output signal of the microprocessor participating in the secondary amplification processing in the step A.
Further, the number of the reflective infrared sensors includes a plurality.
Furthermore, the working state of each reflective infrared sensor can be switched on and off, and the switching control signal is correspondingly controlled through the output of the microprocessor.
Furthermore, the outputs of the plurality of reflective infrared sensors are connected in parallel, and the plurality of reflective infrared sensors perform conversion output in a time division multiplexing mode.
Furthermore, in the step D, the time interval between reading the output signals of two adjacent analog-to-digital conversions before and after sending out the switching control signal by the microprocessor does not exceed 10 ms.
Further, in the step D, the time interval between two adjacent times of sending out the switching control signal by the microprocessor is between 50ms and 500 ms.
Furthermore, the reflective infrared sensor is arranged adjacent to the correspondingly controlled lamp source or lamp body.
The invention utilizes the gesture interaction action time which is far longer than the processing time of the microprocessor, and the microprocessor actively adjusts the signal processing parameters or selects the signal processing mode (such as switching the amplification factor of the primary amplification processing) to distinguish the strength and/or frequency of the sensing signal; in addition, the invention is different from the passive use of sensing detection transmission signals, realizes the time division multiplexing of a plurality of reflective infrared sensors by using conversion control signals sent by a microprocessor, simplifies the hardware design and reduces the power consumption and the cost.
Compared with the prior art, the invention has the following beneficial effects:
⑴, the sensing signal is processed into ternary parameter or multivariate parameter with distance or distance interval from the traditional on-off binary parameter, the combination mode is far higher than the traditional infrared sensing trigger combination, thereby enriching the light control mode;
⑵, signal processing channels of a plurality of reflective infrared sensors are greatly reduced, and the integrated design is facilitated;
⑶, the sensor can be hidden to a certain extent by the adjacent installation of reflective infrared sensor and the lamp source or the lamp body of corresponding control, and the experience of light control is improved.
Drawings
Fig. 1 is a signal processing flow chart of a reflective infrared sensor in an embodiment.
Detailed Description
The technical solution of the present invention is further explained with reference to the drawings and the embodiments.
As shown in fig. 1, a light control method based on signal feedback of a reflective infrared sensor, where the reflective infrared sensor is processed by a signal and then transmitted to a microprocessor, and the microprocessor sends a trigger signal for controlling a light state change, includes the following steps or methods:
A. signals acquired by the reflective infrared sensor are sequentially subjected to primary amplification, band-pass filtering, secondary amplification and analog-to-digital conversion and then transmitted to the microprocessor;
B. the microprocessor repeatedly reads and processes the signals after the analog-digital conversion;
C. in the step A, the amplification factor of the primary amplification and/or the passband gain of the bandpass filtering can be actively switched, and a switching control signal for the active switching comes from the microprocessor; after the amplification factor of the first-stage amplification and/or the passband gain of the bandpass filtering are switched, the strength of the received signal is changed after the analog-to-digital conversion processing;
D. the microprocessor sends out one or more switching control signals after reading the signals transmitted by the reflective infrared sensor for one time, so as to control the amplification factor of the primary amplification and/or the passband gain switching of the bandpass filtering, and reads the signals transmitted by the analog-to-digital conversion again after sending out the switching control signals;
E. the microprocessor continuously reads the output signals of the analog-digital conversion, identifies the signal change difference, and judges the distance between the objects detected by the reflective infrared sensor or the distance interval according to the feedback signal difference or the signal strength.
In the step a, the first-stage amplification includes transimpedance amplification or programmable gain amplification; the two-stage amplification includes differential amplification. The amplification factor of the feedback signal of the reflective infrared sensor can be effectively increased through two-stage amplification, the output of processing signals with different intensities can be realized for the signals sensed by the reflective infrared sensor for objects or human bodies at the same distance through the switching of the amplification factor of the first-stage amplification and/or the switching of the passband gain of the bandpass filtering, and the microprocessor can identify the size of the processing signals through the switching of the amplification factor after the parameters of the corresponding amplification ratio are set in a program due to the active control of the switching trigger of the amplification factor, thereby being beneficial to the elimination of interference signals; and for the sensing signals with different distances, the strength of the sensing signal source is different, the processed signals are transmitted to the microprocessor after analog-to-digital conversion, and the microprocessor identifies the magnitude value or the magnitude interval of the sensing signal source, so that the distance of the sensing object is judged. In this embodiment, the switching of the amplification factor of the first-stage amplification and the switching of the pass band gain of the band-pass filtering are implemented by selecting different operational elements through analog switches, for example, a plurality of feedback resistors related to the amplification factor are provided, the resistance values of the feedback resistors are different, and the microprocessor switches the corresponding feedback resistors to be connected to the transimpedance amplification circuit or the band-pass filtering circuit through the selection of the analog switches.
In the step D, the time interval between the reading of the output signals of the two adjacent analog-to-digital conversions before and after the sending of the switching control signal by the microprocessor does not exceed 10ms, so that even if the object is in a moving state, the signals received by the microprocessor in the time period can still be considered as the sensing of the object at the same distance by the reflective infrared sensor.
The output signal of the microprocessor is used as a feedback signal or an input signal to participate in the secondary amplification processing process in the step A; and D/A conversion processing is carried out on the output signal of the microprocessor participating in the secondary amplification processing in the step A. In this embodiment, the second-stage amplification is differential amplification based on an operational amplifier, in which the non-inverting input terminal is connected to the output of the band-pass filter, the inverting input terminal is connected to the feedback signal correspondingly output by the microprocessor, the feedback signal may be processed by an independent digital-to-analog converter, and part of the microprocessors include a digital-to-analog conversion interface, and the microprocessor having the digital-to-analog conversion interface is directly connected to the inverting input terminal. And D, the time interval of the microprocessor sending the switching control signals twice in the adjacent time is 50-500 ms, when the object sensed by the reflective infrared sensor moves, the time interval can ensure that the moving object generates a certain movement distance, the strength of the signals sensed by the reflective infrared sensor is greatly different, and the identification performance of the distance interval and the identification performance of the movement trend are better after trans-impedance amplification and band-pass filtering.
The number of the reflective infrared sensors comprises a plurality of reflective infrared sensors, the working states of the reflective infrared sensors can be switched on and off, conversion control signals are correspondingly controlled through outputs of the microprocessor, and the common control from the microprocessor to the sensors needs to be connected through sensor driving. The outputs of the plurality of reflective infrared sensors are connected in parallel, and the plurality of reflective infrared sensors perform conversion output in a time division multiplexing manner. In fig. 1, two reflective infrared sensors are taken as an illustration, and the number of reflective infrared sensors can be increased in practical use; through the setting of a plurality of reflective infrared sensor, can discern the displacement of object, combine aforementioned distance discernment, greatly richened the means of control discernment to further change to many states light has had more convenient control.
Reflective infrared sensor and the adjacent installation of lamp source or the lamp body that corresponds control, under the condition of turning on the light and using, the user is difficult to perceive the position that sets up of sensor, helps promoting to use and experiences.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.
Claims (9)
1. The light control method is based on signal feedback of a reflective infrared sensor, the reflective infrared sensor is transmitted to a microprocessor after signal processing, and the microprocessor sends out a trigger signal for controlling light state change, and is characterized in that: comprising the steps or methods of:
A. signals acquired by the reflective infrared sensor are sequentially subjected to primary amplification, band-pass filtering, secondary amplification and analog-to-digital conversion and then transmitted to the microprocessor;
B. the microprocessor repeatedly reads and processes the signals after the analog-digital conversion;
C. in the step A, the amplification factor of the primary amplification and/or the passband gain of the bandpass filtering can be actively switched, and a switching control signal for the active switching comes from the microprocessor; after the amplification factor of the first-stage amplification and/or the passband gain of the bandpass filtering are switched, the strength of the received signal is changed after the analog-to-digital conversion processing;
D. the microprocessor sends out one or more switching control signals after reading the signals transmitted by the reflective infrared sensor for one time, so as to control the amplification factor of the primary amplification and/or the passband gain switching of the bandpass filtering, and reads the signals transmitted by the analog-to-digital conversion again after sending out the switching control signals;
E. the microprocessor continuously reads the output signals of the analog-digital conversion, identifies the signal change difference, and judges the distance between the objects detected by the reflective infrared sensor or the distance interval according to the feedback signal difference or the signal strength.
2. The light control method as claimed in claim 1, wherein the first stage amplification in step A comprises transimpedance amplification or programmable gain amplification; the second amplification in step a comprises differential amplification.
3. A light management method as claimed in claim 2, wherein: the output signal of the microprocessor is used as a feedback signal or an input signal to participate in the secondary amplification processing process in the step A; and D/A conversion processing is carried out on the output signal of the microprocessor participating in the secondary amplification processing in the step A.
4. A light management method according to claim 1 or 2, wherein: the number of the reflective infrared sensors includes a plurality.
5. A light management method according to claim 4, wherein: the working state of each reflective infrared sensor can be switched on and off, and the switching control signal is correspondingly controlled through the output of the microprocessor.
6. A light management method according to claim 5, wherein: the outputs of the plurality of reflective infrared sensors are connected in parallel, and the plurality of reflective infrared sensors perform conversion output in a time division multiplexing manner.
7. A light management method according to claim 1, wherein: in the step D, the time interval for reading the output signals of the adjacent two analog-to-digital conversions before and after the switching control signal is sent by the microprocessor is not more than 10 ms.
8. A light management method according to claim 1, wherein: in step D, the time interval between two adjacent times of sending out the switching control signals by the microprocessor is either between 30ms and 500ms or not more than 5 ms.
9. A light management method according to claim 1, wherein: the reflective infrared sensor is arranged adjacent to the correspondingly controlled lamp source or lamp body.
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 CN109688671A (en) | 2019-04-26 |
CN109688671B true 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)
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 |
-
2018
- 2018-12-25 CN CN201811590283.4A patent/CN109688671B/en active Active
Patent Citations (4)
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 |
---|---|
CN109688671A (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7880394B2 (en) | Lighting system to facilitate remote modification of a light fixture modifiable operating parameter | |
US20070182581A1 (en) | Acoustic occupancy sensor | |
CA2366258A1 (en) | A system for the control and monitoring of functional devices for the disabled with energy from outside the body and a method for the remote control thereof | |
AU2003208974A1 (en) | Manufacturing design and process analysis system | |
CN109688671B (en) | Light control method | |
US9380681B2 (en) | Lighting switch apparatus and lighting switching method | |
CN107112966A (en) | The radio receiver based on packet with automatic growth control | |
EP1265368A3 (en) | A method and system for multi-channel RF digitization with analog selectivity | |
EP3318186B1 (en) | An internal device of brain-machine interface system including noise reduction technique, and method of controlling the internal device | |
US20100207548A1 (en) | Linking sequence for wireless lighting control | |
EP3407322B1 (en) | Driver system | |
CN109669577B (en) | Underwater gesture interaction method | |
Akshay et al. | Low cost smart glove for remote control by the physically challenged | |
CN108809289A (en) | A kind of Intelligent gesture switch | |
KR101871924B1 (en) | Smart table | |
JP7054707B2 (en) | Communication system, receiver and communication method | |
CN110664386B (en) | Acquisition device and method for pulse wave signals | |
CN216121195U (en) | Multi-channel optical fiber amplifier | |
EP1418445A2 (en) | Photoelectric sensor | |
CN112071053A (en) | Gesture recognition device with infrared remote control receiving function and recognition method | |
KR101412866B1 (en) | Radio frequency receiving apparatus and thereof power consumption reducing method | |
WO2022138042A1 (en) | Wireless communication device and wireless communication system | |
KR100847062B1 (en) | Infrared receiving apparatus and method thereof | |
CN113328333A (en) | Multi-channel optical fiber amplifier | |
CN211478982U (en) | Multichannel greenhouse environment autonomous adjusting device |
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 |