[go: up one dir, main page]

CN109743807B - Anti-interference infrared dimming control system and infrared dimming control method - Google Patents

Anti-interference infrared dimming control system and infrared dimming control method Download PDF

Info

Publication number
CN109743807B
CN109743807B CN201811496100.2A CN201811496100A CN109743807B CN 109743807 B CN109743807 B CN 109743807B CN 201811496100 A CN201811496100 A CN 201811496100A CN 109743807 B CN109743807 B CN 109743807B
Authority
CN
China
Prior art keywords
infrared
signal
level
control
dimming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811496100.2A
Other languages
Chinese (zh)
Other versions
CN109743807A (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.)
Shenzhen Sendis Semiconductor Co Ltd
Original Assignee
Shenzhen Sendis Semiconductor 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 Shenzhen Sendis Semiconductor Co Ltd filed Critical Shenzhen Sendis Semiconductor Co Ltd
Priority to CN201811496100.2A priority Critical patent/CN109743807B/en
Publication of CN109743807A publication Critical patent/CN109743807A/en
Application granted granted Critical
Publication of CN109743807B publication Critical patent/CN109743807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses an anti-interference infrared dimming control system and an infrared dimming control method, wherein the infrared dimming control system comprises a control device and a remote controller, the control device outputs a periodic control level signal according to a line voltage and a lighting voltage of a controlled lamp, the control level signal is a first level when the controlled lamp is lighted, the control level signal is a second level when the controlled lamp is not lighted, and the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level; and the remote controller sends the infrared dimming instruction input by the user to the control device at the preset time after the infrared trigger signal is received, so that the control device starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, and the working parameters of the controlled lamp are controlled according to the infrared dimming instruction. By receiving and transmitting the infrared signals when the lamp is not lighted, the influence of light interference on the infrared signal communication distance is effectively eliminated.

Description

Anti-interference infrared dimming control system and infrared dimming control method
Technical Field
The invention relates to the field of intelligent illumination, in particular to an anti-interference infrared dimming control system and an infrared dimming control method.
Background
In modern society with more and more diversified lighting requirements, the traditional lighting technology cannot meet the requirements of modern people on light, more and more intelligent dimming products with different wireless communication technologies appear in the market, such as wifi, bluetooth, zigbee, infrared and other wireless technologies, and the infrared technology is widely applied due to high market acceptance, low cost and other reasons.
In the lamp using the infrared technology, the remote controller is used as a sending end and consists of a coding chip or an MCU and an infrared light emitting diode, the LED lamp is used as a receiving end and consists of a coding chip or an MCU and an infrared receiving diode or a triode, infrared light emitted by the remote controller is converted into corresponding electric signals, and the electric signals are amplified by an amplifier and then are subjected to data processing on a rear-end MCU to realize dimming. However, in practical use, the infrared signal is interfered by the light emitted by the LED lamp, so that the remote control distance is shortened.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide an anti-interference infrared dimming control system and an infrared dimming control method, by outputting a control level signal corresponding to the lighting state of a controlled lamp, cooperative control between a remote controller and a control device is realized according to the control level signal, so that signal transceiving between the remote controller and the control device is always performed when the controlled lamp is not lit, the transceiving of infrared signals is realized under the condition of no light interference, and the interference of light of the lamp on the infrared signals is effectively eliminated.
In order to achieve the purpose, the invention adopts the following technical scheme:
an anti-interference infrared dimming control system comprises a control device and a remote controller, wherein the control device is connected with an alternating current power supply and a controlled lamp, the control device outputs a periodic control level signal according to a line voltage obtained after input alternating current rectification output and a lighting voltage of the controlled lamp, the control level signal is a first level when the controlled lamp is lighted, and is a second level when the controlled lamp is not lighted, and the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level; and the remote controller sends the infrared dimming instruction input by the user to the control device at the preset time after the infrared trigger signal is received, so that the control device starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, and the working parameters of the controlled lamp are controlled according to the infrared dimming instruction.
In the anti-interference infrared dimming control system, the control device comprises a power supply module, a line voltage detection module, a control module and a first infrared transceiving module; the power supply module rectifies the input alternating current and outputs the line voltage to the line voltage detection module, and simultaneously outputs the power supply voltage to the control module and the first infrared transceiving module; the line voltage detection module converts the detected line voltage into a periodic detection voltage signal and outputs the periodic detection voltage signal to the control module; the control module outputs a control level signal with the same period as the detection voltage signal according to the received detection voltage signal and the lighting voltage of the current controlled lamp, controls the first infrared transceiver module to send an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level, and starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again.
In the anti-interference infrared dimming control system, the remote controller comprises an input module, a data processing module and a second infrared transceiving module; the input module receives dimming information input by a user and sends the dimming information to the data processing module; the second infrared receiving and transmitting module receives the infrared trigger signal and outputs the infrared trigger signal to the data processing module; the data processing module decodes the infrared trigger signal to acquire the period of a control level signal and the receiving time of the infrared trigger signal, and controls the second infrared receiving and transmitting module to convert dimming information into an infrared dimming instruction and transmit the infrared dimming instruction to the control device at the preset time after the infrared trigger signal is received according to the period of the control level signal and the receiving time of the infrared trigger signal.
In the anti-interference infrared dimming control system, the control module comprises a receiving unit and a comparison unit, the receiving unit receives the periodic detection voltage signal, the comparison unit compares the detection voltage signal with the preset voltage, when the detection voltage signal is greater than or equal to the preset voltage, a first level is output, and when the detection voltage signal is less than the preset voltage, a second level is output.
In the anti-interference infrared dimming control system, the first infrared transceiver module comprises a first infrared transmitting unit and a first infrared receiving unit; the first infrared sending unit converts the period of the control level signal into an infrared trigger signal at the moment that the control level signal is converted from the first level to the second level and sends the infrared trigger signal to the remote controller; and the first infrared receiving unit starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, converts the infrared dimming instruction into a digital coding signal and outputs the digital coding signal to the control module.
In the anti-interference infrared dimming control system, the data processing module comprises a decoding unit, a calculating unit, a timing unit and an output unit, and the decoding unit decodes the received infrared trigger signal to acquire the period of a control level signal and the receiving time of the infrared trigger signal; the calculation unit calculates and outputs preset time to the timing unit according to the period of the control level signal and the receiving duration of the infrared trigger signal; the timing unit starts timing at the moment when the infrared trigger signal is received, and outputs a sending instruction to the output unit when the timing time reaches the preset time; the output unit receives the dimming information sent by the input module and sends the dimming information to the second infrared transceiving module when receiving the sending instruction.
In the anti-interference infrared dimming control system, the second infrared transceiver module comprises a second infrared transmitting unit and a second infrared receiving unit; the second infrared receiving unit receives the infrared trigger signal, converts the infrared trigger signal into a digital coding signal and outputs the digital coding signal to the data processing module; and the second infrared sending unit converts the dimming information into an infrared dimming instruction and then sends the infrared dimming instruction to the control device.
In the anti-interference infrared dimming control system, the preset time is N x T-Tr, wherein N is a positive integer, T is the period of a control level signal, and Tr is the receiving duration of an infrared trigger signal.
An anti-interference infrared dimming control method comprises the following steps:
outputting a periodic control level signal according to the line voltage rectified and output by the input alternating current and the lighting voltage of the controlled lamp, wherein the control level signal is a first level when the controlled lamp is lighted and is a second level when the controlled lamp is not lighted;
the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level;
the remote controller sends the infrared dimming instruction input by the user to the control device within the preset time after the infrared trigger signal is received;
and the control device starts to receive the infrared dimming command at the moment when the control level signal is converted from the first level to the second level again, and controls the working parameters of the controlled lamp according to the infrared dimming command.
In the anti-interference infrared dimming control, the step that the remote controller sends the infrared dimming instruction input by the user to the control device within the preset time after the infrared trigger signal is received completely comprises the following steps:
receiving dimming information input by a user and sending the dimming information to a data processing module;
the second infrared receiving and transmitting module receives the infrared trigger signal and outputs the infrared trigger signal to the data processing module;
the data processing module decodes the infrared trigger signal to acquire the period of a control level signal and the receiving time of the infrared trigger signal;
and controlling the second infrared receiving and transmitting module to convert dimming information into an infrared dimming instruction and transmit the infrared dimming instruction to the control device at the preset time after the infrared trigger signal is received according to the period of the control level signal and the receiving time of the infrared trigger signal.
Compared with the prior art, in the anti-interference infrared dimming control system and the infrared dimming control method provided by the invention, the anti-interference infrared dimming control system comprises a control device and a remote controller, the control device is connected with an alternating current power supply and a controlled lamp, the control device outputs a periodic control level signal according to a line voltage output by rectifying input alternating current and a lighting voltage of the controlled lamp, the control level signal is a first level when the controlled lamp is lighted, and is a second level when the controlled lamp is not lighted, and the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level; and the remote controller sends the infrared dimming instruction input by the user to the control device at the preset time after the infrared trigger signal is received, so that the control device starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, and the working parameters of the controlled lamp are controlled according to the infrared dimming instruction. By outputting the control level signal corresponding to the lighting state of the controlled lamp and realizing the cooperative control between the remote controller and the control device according to the control level signal, the signal receiving and sending between the remote controller and the control device are always carried out when the controlled lamp is not lighted, the receiving and sending of the infrared signal are realized under the condition of no light interference, and the interference of the light of the lamp to the infrared signal is effectively eliminated.
Drawings
Fig. 1 is a block diagram of an anti-interference infrared dimming control system provided in the present invention;
fig. 2 is a block diagram of a control device in the anti-interference infrared dimming control system provided by the present invention;
fig. 3 is a block diagram of a remote controller in the anti-interference infrared dimming control system provided by the present invention;
fig. 4 is a block diagram of a data processing module in the anti-interference infrared dimming control system according to the present invention;
fig. 5 is a circuit diagram of a control device in the anti-jamming infrared dimming control system provided by the present invention;
fig. 6 is a voltage waveform diagram of the line in the anti-interference infrared dimming control system, a timing diagram of a control level signal and a remote controller transmitting and receiving signal;
FIG. 7 is a flow chart of the anti-jamming infrared dimming control method provided by the present invention;
fig. 8 is a flowchart of step S300 in the anti-jamming infrared dimming control method provided in the present invention.
Detailed Description
In view of the defects that the communication distance is shortened due to light interference in the prior art, the invention provides an anti-interference infrared dimming control system and an infrared dimming control method.
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the anti-interference infrared dimming control system provided by the present invention includes a control device 10 and a remote controller 20, the control device 10 is connected to an ac power supply and a controlled lamp 30, the control device 10 and the remote controller 20 perform remote control through an infrared signal, the control device 10 outputs a periodic control level signal according to a line voltage rectified and output by an input ac and a lighting voltage of the controlled lamp 30, the control level signal is a first level when the controlled lamp 30 is lit, and is a second level when the controlled lamp 30 is not lit, the control device 10 sends an infrared trigger signal to the remote controller 20 when the control level signal is changed from the first level to the second level; the remote controller 20 sends the infrared dimming instruction input by the user to the control device 10 at the preset time after the infrared trigger signal is received, so that the control device 10 starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, and controls the working parameters of the controlled lamp 30 according to the infrared dimming instruction.
The present invention outputs a periodic control level signal according to the lighting voltage of the controlled lamp 30, that is, the control level signal corresponds to the lighting state of the controlled lamp 30, when the controlled lamp 30 is lit, the control level signal is at a first level, when the controlled lamp 30 is not lit, the control level signal is at a second level, the cooperative control between the remote controller 20 and the control device 10 is realized according to the control level signal, so that the signal transmission and reception between the remote controller 20 and the control device 10 are always performed when the controlled lamp 30 is not lit, specifically, an infrared trigger signal is sent to the remote controller 20 at the time when the control level signal is changed from the first level to the second level, that is, an infrared trigger signal is output to the remote controller 20 when the controlled lamp 30 is turned from on to off, the remote controller 20 sends an infrared dimming command to the control device 10 at the preset time after the reception is completed, so that the control device 10 starts to receive the infrared trigger signal at the time when the control level signal is changed from the first level to the second level again The dimming instruction, that is, the preset time after the remote controller 20 receives the dimming instruction is just the time when the control level signal is converted from the first level to the second level again, at this time, the controlled lamp 30 is also in the unlighted state, and as long as the unlighted time of the controlled lamp 30 is set to be longer than the transceiving time of the infrared trigger signal and the infrared dimming instruction, the signal transceiving between the control device 10 and the remote controller 20 can be always performed when the controlled lamp 30 is unlighted, the transceiving of the infrared signal is completed under the condition of no light interference, the interference of the light of the lamp to the infrared signal is effectively eliminated, and the anti-interference performance of the infrared dimming control system is improved.
Specifically, please refer to fig. 2, the control device 10 includes a power supply module 11, a line voltage detection module 12, a control module 13, and a first infrared transceiver module 14, wherein ac power is input to an output end of the power supply module 11, an output end of the power supply module 11 is connected to the line voltage detection module 12, the control module 13, and the first infrared transceiver module 14, the line voltage detection module 12, the control module 13, and the controlled lamp 30 are sequentially connected, the control module 13 is further connected to the first infrared transceiver module 14, and the first infrared transceiver module 14 communicates with the remote controller 20 by transceiving infrared signals. The power supply module 11 rectifies the input alternating current and outputs the alternating current to the line voltage detection module 12, and simultaneously outputs the power supply voltage to the control module 13 and the first infrared transceiver module 14; the line voltage detection module 12 converts the detected line voltage into a periodic detection voltage signal and outputs the periodic detection voltage signal to the control module 13; the control module 13 outputs a control level signal having the same period as the detection voltage signal according to the received detection voltage signal and the lighting voltage of the current controlled lamp 30, controls the first infrared transceiver module 14 to send an infrared trigger signal to the remote controller 20 at the time when the control level signal is changed from the first level to the second level, and starts to receive the infrared dimming instruction at the time when the control level signal is changed from the first level to the second level again.
In this embodiment, the power supply module 11 rectifies the input ac power and outputs two paths of voltages, one path of which is used as a detection source and outputs the voltage to the line voltage detection module 12, in addition, in this embodiment, the line voltage rectified by the power supply module 11 may also be output to the controlled lamp 30 to supply power to the controlled lamp 30, and of course, the line voltage may also be supplied to the controlled lamp 30 after being connected to the ac power through an independent rectifier bridge, which may be specifically selected according to actual requirements; the other path outputs a power supply voltage to the control module 13 and the first infrared transceiver module 14 to supply power to the control module 13, the line voltage detection module 12 converts the detected line voltage into a periodic detection voltage signal and outputs the periodic detection voltage signal to the control module 13, the period of the detection voltage signal is consistent with the period of the line voltage, the control module 13 outputs a control level signal with the same period as the detection voltage signal according to the detection unit signal and the lighting voltage of the controlled lamp 30, when the line voltage is smaller than the lighting voltage of the controlled lamp 30, the lamp is in a non-lighting state, since the detection voltage signal reflects the change of the line voltage, a control level signal corresponding to the working state of the lamp can be output according to the change of the detection voltage signal, according to the change of the control level signal, the first infrared transceiver module 14 is controlled to send an infrared trigger signal to the remote controller 20 at the moment that the control level signal is changed from the first level to the second level, the time synchronization with the remote controller 20 is realized, so that the control level is converted from the first level to the second level again at the preset time after the subsequent remote controller 20 receives the signal, at this time, the first infrared transceiver module 14 starts to receive the infrared dimming instruction output by the remote controller 20, the cooperative control between the remote controller 20 and the control device 10 is realized by controlling the level signal, and then the infrared dimming instruction is output to the controlled lamp 30 through the control module 13, and the working parameter of the controlled lamp 30 is adjusted and controlled to realize the infrared dimming.
Further, the control module 13 includes a receiving unit and a comparing unit, the receiving unit is connected to the line voltage detecting module 12 and the comparing unit, the comparing unit is further connected to the first infrared transceiver module 14, the receiving unit receives the periodic detection voltage signal, the comparing unit compares the detection voltage signal with a preset voltage, when the detection voltage signal is greater than or equal to the preset voltage, a first level is output, and when the detection voltage signal is less than the preset voltage, a second level is output. In specific implementation, the control module 13 may be implemented by a microcontroller, and receive a periodic detection voltage signal from the line voltage detection module 12 through an IO with an analog comparator function, compare the periodic voltage signal with a preset voltage, to obtain a square wave signal with a period equal to the period output by the line voltage detection module 12, that is, a control level signal, specifically, output a first level when the detection voltage signal is greater than or equal to the preset voltage, and output a second level when the detection voltage signal is less than the preset voltage, where the control level signal corresponds to a working state of the lamp, that is, the preset voltage is an output voltage corresponding to the line voltage detection module 12 when the line voltage is less than a lighting voltage of the controlled lamp 30, and is used for subsequent cooperative control with the remote controller 20 by corresponding to the working state of the lamp through the control level signal, the synchronous trigger reference signal is provided for the infrared signal receiving and transmitting time control, and the receiving and transmitting process is prevented from being interfered by external lamplight.
Furthermore, the first infrared transceiver module 14 includes a first infrared transmitting unit and a first infrared receiving unit, both of which are connected to the control module 13, wherein the first infrared transmitting unit converts the period of the control level signal into an infrared trigger signal at the time when the control level signal is converted from the first level to the second level, and transmits the infrared trigger signal to the remote controller 20, that is, at the time when the controlled lamp 30 is turned on and off, the first infrared transmitting unit converts the period of the control level signal into an infrared trigger signal and transmits the infrared trigger signal to the remote controller 20, so as to implement synchronous calibration with the remote controller 20; the first infrared receiving unit starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, converts the infrared dimming instruction into a digital coding signal and outputs the digital coding signal to the control module 13, that is, after the infrared trigger signal is sent, the infrared dimming instruction sent by the remote controller 20 is received at the moment when the subsequent controlled lamp 30 is turned on and off again and is converted into a digital coding signal and output to the control module 13, the control module 13 outputs a corresponding dimming signal to the controlled lamp 30 according to the converted digital coding signal, adjusts the working parameters of the controlled lamp 30, and sends the infrared dimming instruction after the infrared trigger signal is sent and the remote controller 20 are synchronously calibrated first, so that the moment of infrared signal transmission can be controlled at the moment when the lamp is not turned on, and the time controllability of the infrared dimming signal is realized, and the anti-interference performance of infrared dimming is improved.
Correspondingly, please refer to fig. 3 together, the remote controller 20 includes an input module 21, a data processing module 22 and a second infrared transceiver module 23, the second infrared transceiver module 23 communicates with the first infrared transceiver module 14 by transceiving infrared signals, the input module 21, the data processing module 22 and the second infrared transceiver module 23 are connected in sequence, the dimming information input by the user is received by the input module 21 and is sent to the data processing module 22, specifically, the input module 21 is used as a man-machine interaction interface to receive the dimming information input by the user, the input module 21 may be a key, a touch screen or other input modes, the data processing module 22 receives the dimming information on one hand and also receives the infrared trigger signal received by the second infrared transceiver module 23 on the other hand, the data processing module 22 decodes the infrared trigger signal to obtain the period of the control level signal and the receiving time of the infrared trigger signal The infrared trigger signal includes the period information of the control level signal, the data module decodes the infrared trigger signal to obtain the period information, and calculates the receiving time length when the second infrared transceiver module 23 receives the infrared trigger signal, and controls the second infrared transceiver module 23 to convert the dimming information into the infrared dimming command and send the infrared dimming command to the control device 10 to realize the receiving and sending of the infrared signal according to the period of the control level signal and the receiving time length of the infrared trigger signal, and the remote controller 20 receives the infrared trigger signal output by the control module 13 to realize the period synchronization with the control level signal, so that the infrared dimming command output by the remote controller 20 can be sent to the control device 10 when the control level signal is converted from the first level to the second level, the infrared dimming control is realized under the condition that the lamp is not lightened, and the influence of lamplight on infrared signal transmission is avoided.
Further, the data processing module 22 includes a decoding unit 221, a calculating unit 222, a timing unit 223, and an output unit 224, where the decoding unit 221, the calculating unit 222, the timing unit 223, and the output unit 224 are sequentially connected, the second infrared transceiver module 23 includes a second infrared transmitting unit and a second infrared receiving unit, the second infrared transmitting unit is connected with the output unit 224, and the second infrared receiving unit is connected with the decoding unit 221.
In this embodiment, the second infrared receiving unit receives the infrared trigger signal at the time when the control level signal is converted from the first level to the second level, and converts the infrared trigger signal into a digital encoded signal, and outputs the digital encoded signal to the decoding unit 221, the decoding unit 221 decodes the digital encoded signal to obtain the period of the control level signal and the receiving duration of the infrared trigger signal, and then calculates and outputs the preset time to the timing unit 223 through the calculating unit 222 according to the period of the control level signal and the receiving duration of the infrared trigger signal, the timing unit 223 starts timing at the time when the infrared trigger signal is received, and outputs a sending instruction to the output unit 224 when the timing time reaches the preset time, the output unit 224 receives the dimming information sent by the input module 21, and sends the dimming information to the second infrared sending unit when the sending instruction is received, the second infrared transmitting unit converts the dimming information into an infrared dimming instruction and transmits the infrared dimming instruction to the control device 10 to realize infrared dimming control.
In specific implementation, the preset time is N × T-Tr, where N is a positive integer, T is a period of the control level signal, and Tr is a receiving duration of the infrared trigger signal, because the remote controller 20 starts to receive the infrared trigger signal when the control level signal is converted from the first level to the second level, and starts to time at a time when the infrared trigger signal is received, at this time, a synchronous communication duration between the remote controller 20 and the control device 10 is Tr, when the preset time after the infrared trigger signal is received, that is, N × T-Tr, the control level signal just passes through N periods, and is also at a time when the first level is converted to the second level, at this time, the infrared dimming command is sent to the control device 10 to complete the infrared signal transceiving process, the sending and receiving processes are both performed when the control level signal is at the second level, that is, the controlled lamp 30 is in an unlighted state, the infrared signal receiving and transmitting process is not interfered by the light of the lamp, and the influence of the infrared signal receiving and transmitting process on the infrared dimming communication distance is eliminated.
In order to better understand the working process of the anti-interference infrared dimming control system provided by the present invention, the following describes the working process of the infrared dimming control system by referring to fig. 5 and fig. 6 as specific application embodiments:
as shown in fig. 5, which is a circuit diagram of the control device 10 in the infrared dimming control system with interference resistance provided by the present invention, wherein the power supply module 11 includes a rectifier bridge, a first resistor R1, a first diode D1, a zener diode DZ1, a first capacitor C1, a second capacitor C2, and a voltage regulator LDO; the input end of the rectifier bridge is connected with the alternating current input end, and the output end of the rectifier bridge is connected with one end of the first resistor R1, the line voltage detection module 12 and the controlled lamp 30; the other end of the first resistor R1 is connected with the anode of a first diode D1 and the cathode of a voltage stabilizing diode DZ 1; the negative electrode of the first diode D1 is connected with one end of the first capacitor C1 and the input end of the voltage regulator LDO; the output end of the voltage regulator LDO is connected to one end of the second capacitor C2, the control module 13, the first infrared transmitting unit 141, and the first infrared receiving unit 142; the anode of the zener diode DZ1, the other end of the first capacitor C1, the GND terminal of the regulator LDO, and the other end of the second capacitor C2 are all grounded.
In specific implementation, after high-voltage alternating current, for example, 220V/50Hz alternating current voltage is rectified by the rectifier bridge, one path of output line voltage is sent to the line voltage detection module 12 and the controlled lamp 30, so as to provide a detection source for the line voltage detection module 12 and supply power to the controlled lamp 30; the other path of the voltage is to convert the high-voltage alternating current into 18V direct current through a first resistor R1 and a voltage stabilizing diode DZ1, charge a first capacitor C1 after being isolated by a first diode D1, then step down the 18V direct current into stable 3.3V direct current through a voltage stabilizer LDO, and output the stable 3.3V direct current to the control module 13, the first infrared transmitting unit 141 and the first infrared receiving unit 142 to supply power to the control module 13, the first infrared transmitting unit 141 and the first infrared receiving/transmitting module 14, so that the control module 13 and the first infrared receiving/transmitting module 14 have stable working voltages, and the working stability of the whole control device 10 is improved.
Furthermore, the line voltage detection module 12 is a voltage reduction circuit composed of a second resistor R2, a third resistor R3 and a third capacitor C3, one end of the second resistor R2 is connected to the power supply module 11, the other end of the second resistor R2 is connected to one end of the third resistor R3, one end of the third capacitor C3 and the control module 1313, and the other end of the third resistor R3 and the other end of the third capacitor C3 are both grounded. The rectified periodic voltage signal is converted into a periodic voltage signal with the highest voltage of 3.3V by a voltage reduction circuit composed of a second resistor R2, a third resistor R3 and a third capacitor C3, and the voltage signal is compared with the polarity of a preset voltage, so that the control module 13 obtains a square wave signal with a period equal to the period of the detection voltage signal, wherein the preset voltage is the output voltage corresponding to the line voltage detection module 12 when the line voltage is smaller than the lighting voltage of the controlled lamp 30.
Specifically, the control module 13 is implemented by the microcontroller U1, receives the periodic detection voltage signal from the line voltage detection module 12 through an IO with an analog comparator function, compares the periodic voltage signal with a preset voltage to obtain a square wave signal with a period equal to the output period of the line voltage detection module 12, obtains a period time of the square wave signal as T and a second level (in this embodiment, a low level) time Tl of the square wave signal by calculation, where Tl represents an unlighted time of the controlled lamp 30 within the period time T and also determines a maximum time required for sending or receiving an infrared instruction, in this embodiment, the time for receiving and sending the infrared trigger signal and the infrared dimming instruction is equal to and less than T1, as shown in fig. 6, when the square wave signal with an even number period falls, the infrared trigger signal is sent by the first infrared sending unit 141, specifically, the first infrared transmitting unit 141 is composed of an infrared emitting diode D2 and a sixth resistor R6, converts the period of a control level signal into an infrared trigger signal, that is, the infrared trigger signal contains the period time T of a square wave signal, the second infrared receiving unit in the remote controller 20 transmits the received infrared trigger signal to the data processing module 22, the data processing module 22 receives the dimming information from the input module 21 on one hand, calculates the time Tr used for receiving the infrared trigger signal on the other hand, starts timing after the period T of a convenience signal is decoded from the infrared trigger signal, and converts the dimming information into an infrared dimming instruction through the second infrared transmitting unit and transmits the infrared dimming instruction when the timing time is equal to T-Tr and current dimming information which is not transmitted is detected, that is, the first infrared receiving unit 142 in the control device 10 receives the infrared dimming instruction at the next falling edge of the square wave signal The first infrared receiving unit 142 receives the infrared dimming command through the infrared receiving head IR, and outputs the infrared dimming command to the control module 13 after performing filtering and amplifying processing on the infrared dimming command through a filter circuit composed of the fourth resistor R4, the fifth resistor R5 and the sixth resistor R6, and the control module 13 outputs a corresponding dimming signal to the controlled lamp 30 to adjust working parameters of the controlled lamp 30, such as sensing parameters, brightness parameters, and the like.
In this embodiment, since the controlled lamp 30 is not turned on within the time Tl, the infrared trigger signal is sent at the falling edge of the even period of the square wave signal, the remote controller 20 decodes the received infrared trigger signal to obtain the period time T, and calculates the time Tr occupied by receiving the infrared trigger signal, or the control module 13 calculates the time Tr and sends the infrared trigger signal to the remote controller 20 together with the period time T, which can be obtained from the time relationship, the remote controller 20 starts timing after receiving the infrared trigger signal, and when the timing reaches T-Tr, it is exactly the time of the falling edge of the odd period of the square wave signal, at this time, the controlled lamp 30 is also in the non-turned state, the remote controller 20 sends the infrared dimming command to the control device 10, so that the sending or receiving of the infrared signal is completed within the non-turned-on time T1 of the lamp in each period, the infrared signal transmitting or receiving action is finished under the condition of no light interference, and the problem that the communication distance of the infrared signal is shortened under the condition of light interference is solved.
Based on the above anti-interference infrared dimming control device, the present invention also provides an anti-interference infrared dimming control method, as shown in fig. 7, which includes the following steps:
s100, outputting a periodic control level signal according to the line voltage rectified and output by the input alternating current and the lighting voltage of the controlled lamp, wherein the control level signal is a first level when the controlled lamp is lighted and is a second level when the controlled lamp is not lighted;
s200, the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level;
s300, the remote controller sends an infrared dimming instruction input by a user to a control device within a preset time after the infrared trigger signal is received;
and S400, the control device starts to receive the infrared dimming command at the moment when the control level signal is converted from the first level to the second level again, and controls the working parameters of the controlled lamp according to the infrared dimming command.
As shown in fig. 8, the step S300 includes:
s301, receiving dimming information input by a user and sending the dimming information to a data processing module;
s302, the second infrared receiving and transmitting module receives the infrared trigger signal and outputs the infrared trigger signal to the data processing module;
s303, the data processing module decodes the infrared trigger signal to acquire the period of a control level signal and the receiving time of the infrared trigger signal;
and S304, controlling the second infrared receiving and transmitting module to convert dimming information into an infrared dimming instruction and transmit the infrared dimming instruction to the control device at the preset time after the infrared trigger signal is received according to the period of the control level signal and the receiving time of the infrared trigger signal.
In summary, in the anti-interference infrared dimming control system and the infrared dimming control method provided by the present invention, the anti-interference infrared dimming control system includes a control device and a remote controller, the control device is connected to an ac power supply and a controlled lamp, the control device outputs a periodic control level signal according to a line voltage rectified and output by an input ac power and a lighting voltage of the controlled lamp, the control level signal is a first level when the controlled lamp is turned on, and is a second level when the controlled lamp is not turned on, and the control device sends an infrared trigger signal to the remote controller at a time when the control level signal is converted from the first level to the second level; and the remote controller sends the infrared dimming instruction input by the user to the control device at the preset time after the infrared trigger signal is received, so that the control device starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, and the working parameters of the controlled lamp are controlled according to the infrared dimming instruction. By outputting the control level signal corresponding to the lighting state of the controlled lamp and realizing the cooperative control between the remote controller and the control device according to the control level signal, the signal receiving and sending between the remote controller and the control device are always carried out when the controlled lamp is not lighted, the receiving and sending of the infrared signal are realized under the condition of no light interference, and the interference of the light of the lamp to the infrared signal is effectively eliminated.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (10)

1. An anti-interference infrared dimming control system is characterized by comprising a control device and a remote controller, wherein the control device is connected with an alternating current power supply and a controlled lamp, the control device outputs a periodic control level signal according to a line voltage obtained after input alternating current rectification output and a lighting voltage of the controlled lamp, the control level signal is a first level when the controlled lamp is lighted, and is a second level when the controlled lamp is not lighted, and the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level; and the remote controller sends the infrared dimming instruction input by the user to the control device at the preset time after the infrared trigger signal is received, so that the control device starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, and the working parameters of the controlled lamp are controlled according to the infrared dimming instruction.
2. The tamper-resistant infrared dimming control system of claim 1, wherein the control means comprises a power module, a line voltage detection module, a control module and a first infrared transceiver module; the power supply module rectifies the input alternating current and outputs the line voltage to the line voltage detection module, and simultaneously outputs the power supply voltage to the control module and the first infrared transceiving module; the line voltage detection module converts the detected line voltage into a periodic detection voltage signal and outputs the periodic detection voltage signal to the control module; the control module outputs a control level signal with the same period as the detection voltage signal according to the received detection voltage signal and the lighting voltage of the current controlled lamp, controls the first infrared transceiver module to send an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level, and starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again.
3. The tamper-resistant infrared dimming control system of claim 1, wherein the remote control comprises an input module, a data processing module, and a second infrared transceiver module; the input module receives dimming information input by a user and sends the dimming information to the data processing module; the second infrared receiving and transmitting module receives the infrared trigger signal and outputs the infrared trigger signal to the data processing module; the data processing module decodes the infrared trigger signal to acquire the period of a control level signal and the receiving time of the infrared trigger signal, and controls the second infrared receiving and transmitting module to convert dimming information into an infrared dimming instruction and transmit the infrared dimming instruction to the control device at the preset time after the infrared trigger signal is received according to the period of the control level signal and the receiving time of the infrared trigger signal.
4. The tamper resistant infrared dimming control system of claim 2, wherein the control module comprises a receiving unit and a comparing unit, wherein the receiving unit receives the periodic detection voltage signal, the comparing unit compares the detection voltage signal with a predetermined voltage, and outputs a first level when the detection voltage signal is greater than or equal to the predetermined voltage and a second level when the detection voltage signal is less than the predetermined voltage.
5. The tamper-resistant infrared dimming control system of claim 2, wherein the first infrared transceiver module comprises a first infrared transmitting unit and a first infrared receiving unit; the first infrared sending unit converts the period of the control level signal into an infrared trigger signal at the moment that the control level signal is converted from the first level to the second level and sends the infrared trigger signal to the remote controller; and the first infrared receiving unit starts to receive the infrared dimming instruction at the moment when the control level signal is converted from the first level to the second level again, converts the infrared dimming instruction into a digital coding signal and outputs the digital coding signal to the control module.
6. The anti-jamming infrared dimming control system of claim 3, wherein the data processing module comprises a decoding unit, a calculating unit, a timing unit and an output unit, the decoding unit decodes the received infrared trigger signal to obtain a period of the control level signal and a receiving time of the infrared trigger signal; the calculation unit calculates and outputs preset time to the timing unit according to the period of the control level signal and the receiving duration of the infrared trigger signal; the timing unit starts timing at the moment when the infrared trigger signal is received, and outputs a sending instruction to the output unit when the timing time reaches the preset time; the output unit receives the dimming information sent by the input module and sends the dimming information to the second infrared transceiving module when receiving the sending instruction.
7. The tamper-resistant infrared dimming control system of claim 6, wherein the second infrared transceiver module comprises a second infrared transmitting unit and a second infrared receiving unit; the second infrared receiving unit receives the infrared trigger signal, converts the infrared trigger signal into a digital coding signal and outputs the digital coding signal to the data processing module; and the second infrared sending unit converts the dimming information into an infrared dimming instruction and then sends the infrared dimming instruction to the control device.
8. The tamper-resistant infrared dimming control system of any one of claims 1-7, wherein the preset time is N x T-Tr, where N is a positive integer, T is a period of the control level signal, and Tr is a receiving duration of the infrared trigger signal.
9. An anti-interference infrared dimming control method is characterized by comprising the following steps:
outputting a periodic control level signal according to the line voltage rectified and output by the input alternating current and the lighting voltage of the controlled lamp, wherein the control level signal is a first level when the controlled lamp is lighted and is a second level when the controlled lamp is not lighted;
the control device sends an infrared trigger signal to the remote controller at the moment when the control level signal is converted from the first level to the second level;
the remote controller sends the infrared dimming instruction input by the user to the control device within the preset time after the infrared trigger signal is received;
and the control device starts to receive the infrared dimming command at the moment when the control level signal is converted from the first level to the second level again, and controls the working parameters of the controlled lamp according to the infrared dimming command.
10. The method of claim 9, wherein the step of sending the infrared dimming command inputted by the user to the control device by the remote controller at a predetermined time after the infrared trigger signal is received comprises:
receiving dimming information input by a user and sending the dimming information to a data processing module;
the second infrared receiving and transmitting module receives the infrared trigger signal and outputs the infrared trigger signal to the data processing module;
the data processing module decodes the infrared trigger signal to acquire the period of a control level signal and the receiving time of the infrared trigger signal;
and controlling the second infrared receiving and transmitting module to convert dimming information into an infrared dimming instruction and transmit the infrared dimming instruction to the control device at the preset time after the infrared trigger signal is received according to the period of the control level signal and the receiving time of the infrared trigger signal.
CN201811496100.2A 2018-12-07 2018-12-07 Anti-interference infrared dimming control system and infrared dimming control method Active CN109743807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811496100.2A CN109743807B (en) 2018-12-07 2018-12-07 Anti-interference infrared dimming control system and infrared dimming control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811496100.2A CN109743807B (en) 2018-12-07 2018-12-07 Anti-interference infrared dimming control system and infrared dimming control method

Publications (2)

Publication Number Publication Date
CN109743807A CN109743807A (en) 2019-05-10
CN109743807B true CN109743807B (en) 2020-11-06

Family

ID=66359281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811496100.2A Active CN109743807B (en) 2018-12-07 2018-12-07 Anti-interference infrared dimming control system and infrared dimming control method

Country Status (1)

Country Link
CN (1) CN109743807B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000600A (en) * 2020-07-29 2020-11-27 深圳市智微智能软件开发有限公司 Method, system, device and storage medium for realizing infrared protocol through IO simulation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782224B (en) * 2009-01-20 2012-01-04 海洋王照明科技股份有限公司 Lamp remote-control controlling method
CN201475859U (en) * 2009-07-02 2010-05-19 厦门冠宇科技有限公司 Intelligent remote control system of solar LED light
GB201115546D0 (en) * 2011-09-08 2011-10-26 Rotolight Ltd Lighting system
CN105323003A (en) * 2014-06-10 2016-02-10 深圳市达特照明股份有限公司 Optical communication system and optical communication method
US9526152B1 (en) * 2014-06-25 2016-12-20 Off Grid Technologies, LLC Rock landscape lighting system
CN106018899A (en) * 2016-07-08 2016-10-12 华立科技股份有限公司 Infrared wake-up intelligent electric meter processing method

Also Published As

Publication number Publication date
CN109743807A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
US9313855B1 (en) Intelligent lighting system and integrated circuit for determining ambient light intensity
CN105379424B (en) System and method for wirelessly controlling LED lighting
CN104285384B (en) Electric line communication system
CN101330784A (en) Radiotelecontrol intelligent light control system capable of setting control light hint map
US11917740B2 (en) Systems and methods for providing power and data to devices
KR200189854Y1 (en) Remote control unit for incandescent electric lamps
CN108156690A (en) A kind of LED light-dimming methods and system based on ambient brightness
CN111970783A (en) Intelligent lamplight brightness controller
CN203537628U (en) LED bulb intelligent driving control power supply
CN109743807B (en) Anti-interference infrared dimming control system and infrared dimming control method
CN104093255A (en) Intelligent LED illuminating control system and control method thereof
CN211297065U (en) PWM isolation dimming driving power circuit with NFC function
CN110602853A (en) Scene interaction energy-saving illuminating lamp and illuminating method
US9226367B1 (en) Method and apparatus for light control and ambient light detection using an LED light fixture
CN200997711Y (en) Self-adaptive energy-saving controllable sub-system for illuminating network
CN210405713U (en) Illumination control system
CN211240202U (en) Light detection circuit of LED lamp and LED lamp
CN204425709U (en) Lighting apparatus, intelligent terminal, lighting apparatus group network system
US20120169248A1 (en) Smart dimmable power supply apparatus for energy saving lamp and method for the same
CN110798942A (en) Induction lamp control equipment and system thereof
KR101735638B1 (en) Control apparatus of dc power load
CN202918296U (en) Visible light communication system and its transmitting device and receiving device
US20180287665A1 (en) Power line-based communication method and device
CN217770429U (en) Zero-line-free dimming system power supply
TWM527525U (en) Intelligent lighting device capable of reducing power consumption in standby

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