Switch segmented color temperature control circuit and method
By designing a switch segmented color temperature control circuit in LED lamps, the coordinated work of the rectifier module, the discharge module, the logic control module and the constant current control module is solved, and the problem of LED light flashing slightly when switching is switched is improved. User experience.
Patent Information
- Application Number
- CN202211138531.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-19
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2042-09-19
AI Technical Summary
Existing LED lamps are prone to flashing and light flashing when switching switches, resulting in poor user experience.
A switch segmented color temperature control circuit is designed, including a rectifier module, a discharge module, a logic control module and a constant current control module. Through the coordinated work of these modules, the effective discharge of the rectifier module when the system switch is turned off. voltage to prevent the LED light from flashing back and slightly lit.
It effectively solves the situation where the LED light flashes slightly when the switch is switched off and closed, improving the user experience.
Smart Images

Figure CN115633422B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of LED color temperature control, and in particular to a switch segmented color temperature control circuit and method. Background Art
[0002] At present, there are lamps on the market that are made of LED constant current driver power supplies with the function of adjusting color temperature by switching on and off the wall. When the wall switch is disconnected, one of the color temperature lamp strings goes out. At this time, there is a certain amount of energy in the LED constant current driver power supply of the lamp, causing the other color temperature lamp beads of the LED lamp to flash back and light up slightly. Summary of the invention
[0003] The main purpose of the present invention is to provide a switch segmented color temperature control circuit and method, aiming to solve the technical problem of LED lights flashing back and brightening slightly when switching on and off in the prior art.
[0004] To achieve the above object, the present invention provides a switch segmented color temperature control circuit, the switch segmented color temperature control circuit comprises a rectifier module, a discharge module, a logic control module and a constant current control module connected in sequence, the discharge module is connected to the logic control module through a power-off detection module, the discharge module is connected to the constant current control module through a shutdown detection module, the rectifier module is also connected to the system switch, and the constant current control module is also connected to the LED lamp group;
[0005] The rectifier module is used to generate a changing power signal when the system switch is disconnected, and generate a shutdown command to the shutdown detection module according to the changing power signal;
[0006] The shutdown detection module is used to generate a first control signal to the discharge module when the shutdown instruction is detected;
[0007] The discharge module is used to work according to the first control signal to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module;
[0008] The power-off detection module is used to detect the update voltage of the rectifier module, and when the update voltage of the rectifier module is less than a preset voltage value, generate a second control signal to the discharge module and the logic control module;
[0009] The discharge module is further used to stop working according to the second control signal;
[0010] The logic control module is used to control the constant current control module according to the second control signal, so that the constant current control module outputs a corresponding driving current, and drives the LED lamp group to light up according to the driving current.
[0011] Optionally, the discharge module includes: a discharge unit and a discharge controller;
[0012] The discharge controller is respectively connected to the discharge unit, the shutdown detection module and the power-off detection module, and the discharge unit is connected to the rectifier module and the discharge controller;
[0013] The discharge controller is used to control the discharge unit according to the first control signal or the second control signal;
[0014] The discharge unit is used to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module.
[0015] The discharge unit in the discharge module includes: a first resistor, a first reference voltage, a first operational amplifier, and a first switch MOS tube;
[0016] A first end of the first resistor is connected to the source of the first MOS tube and the negative input end of the first operational amplifier, and a second end of the first resistor is grounded;
[0017] The gate of the first switch MOS tube is connected to the output end of the first operational amplifier, and the drain of the first switch MOS tube is connected to the rectifier module.
[0018] Optionally, the power-off detection module is also connected to the rectification module or the constant current control module;
[0019] The power-off detection module is also used to collect the voltage signal output by the constant current control module or the updated voltage signal output by the rectifier module, and judge whether the updated voltage of the rectifier module is less than a preset voltage value according to the voltage signal output by the constant current control module or the updated voltage signal output by the rectifier module, thereby generating a second control signal to the logic control module and the discharge module.
[0020] Optionally, the switch segmented color temperature control circuit further includes: a power supply module, the power supply module is connected to the rectifier module;
[0021] The power supply module is used to supply power to the discharge module, the logic control module, the power-off detection module, the shutdown detection module and the constant current control module.
[0022] Optionally, the shutdown detection module is also connected to the rectifier module;
[0023] The shutdown detection module is also used to collect the voltage signal output by the constant current control module or directly collect the voltage signal output by the rectifier module, and obtain the shutdown instruction according to the voltage signal output by the constant current control module or the voltage signal output by the rectifier module, thereby generating a first control signal to the discharge module.
[0024] Optionally, the logic control module is further used to receive a second control signal generated by the power-off detection module, and generate a corresponding logic control signal according to the second control signal;
[0025] The constant current control module is also used to output a corresponding driving current according to a corresponding logic control signal.
[0026] Optionally, the constant current control module includes: a first constant current drive circuit and a second constant current drive circuit; the first constant current drive circuit and the second constant current drive circuit respectively receive corresponding logic signals output by the logic control module, and are turned on or off according to the corresponding logic signals.
[0027] Optionally, the LED light group includes: a first LED light string and a second LED light string;
[0028] The first LED light string is connected to the first constant current drive circuit, the second LED light string is connected to the second constant current drive circuit, the first LED light string and the second LED light string are connected in parallel, wherein the color temperatures of the first LED light string and the second LED light string are inconsistent;
[0029] The first LED light string and the second LED light string are used to change the color temperature to different levels according to the driving current.
[0030] In addition, to achieve the above object, the present invention also proposes a switch segmented color temperature control method, the switch segmented color temperature control method is applied to the switch segmented color temperature control circuit described above, and the method comprises the following steps:
[0031] When the system switch is disconnected, the rectifier module generates a changing power signal, and generates a shutdown command to the shutdown detection module according to the changing power signal;
[0032] The shutdown detection module generates a first control signal to the discharge module when detecting the shutdown instruction;
[0033] The discharge module operates according to the first control signal to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module;
[0034] The power-off detection module detects the update voltage of the rectifier module, and generates a second control signal to the discharge module and the logic control module when the update voltage of the rectifier module is less than a preset voltage value;
[0035] The logic control module controls the constant current control module according to the second control signal, so that the constant current control module outputs a corresponding driving current, and drives the LED lamp group to light up according to the driving current.
[0036] The present invention provides a rectifier module, a discharge module, a logic control module and a constant current control module which are connected in sequence in a switch segmented color temperature control circuit; the discharge module is connected to the logic control module via a power-off detection module; the discharge module is connected to the constant current control module via a shutdown detection module; the rectifier module is also connected to a system switch; the constant current control module is also connected to an LED lamp group; the rectifier module is used to generate a changing power signal when the system switch is disconnected, and generate a shutdown command to the shutdown detection module according to the changing power signal; the shutdown detection module is used to generate a first control signal to the discharge module when the shutdown command is detected; the discharge module is used to generate a shutdown command according to the first control signal The signal is used to work, discharge the voltage of the rectifier module, and obtain the updated voltage of the rectifier module; the power-off detection module is used to detect the updated voltage of the rectifier module, and when the updated voltage of the rectifier module is less than the preset voltage value, generate a second control signal to the discharge module and the logic control module; the discharge module is also used to stop working according to the second control signal; the logic control module is used to generate a logic signal with a certain rule according to the second control signal, so as to control the constant current control module, so that the constant current control module outputs the corresponding driving current according to the received logic signal, so that the LED lamp group can be lit, which solves the problem of the LED lamp flashing back and brightening slightly when the switch is opened and closed, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a schematic diagram of the overall framework structure of the first embodiment of the switch segmented color temperature control circuit of the present invention;
[0038] Figure 2 It is a circuit structure diagram of a second embodiment of a switch segmented color temperature control circuit of the present invention;
[0039] Figure 3 It is a circuit structure diagram of a third embodiment of a switch segmented color temperature control circuit of the present invention;
[0040] Figure 4 It is a flow chart of the first embodiment of the switch segmented color temperature control method of the present invention;
[0041] Figure 5 It is a schematic diagram of the overall flow of an embodiment of the switch segmented color temperature control method of the present invention;
[0042] Figure 6 This is a schematic diagram of logic waveforms corresponding to the operation of the constant current source, electrolytic voltage and discharge module in an embodiment of the switch segmented color temperature control method of the present invention.
[0043] Description of Figure Numbers:
[0044] Label name Label name 1 Switch segmented color temperature control circuit 40 Constant current control module 10 Rectifier module 401 The first constant current driving circuit 20 Bleeding module 402 The second constant current driving circuit Vref1 First reference voltage 50 Power-off detection module S1 First operational amplifier 60 Shutdown detection module A1 Bleeding controller 70 Power supply module B1 Discharge unit 2 System switch M1 The first switch MOS tube 3 LED Light Set R1 First resistor 301 The first LED string light 30 Logic control module 302 Second LED string
[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0047] Reference Figure 1 , Figure 1 It is a schematic diagram of the overall framework structure of the first embodiment of the switch segmented color temperature control circuit of the present invention.
[0048] In this embodiment, the switch segmented color temperature control circuit 1 includes: a rectifier module 10, a discharge module 20, a logic control module 30 and a constant current control module 40 connected in sequence, the discharge module 20 and the logic control module 30 are connected via a power-off detection module 50, the discharge module 20 and the constant current control module 40 are connected via a shutdown detection module 60, the rectifier module 10 is also connected to the system switch 2, and the constant current control module 40 is also connected to the LED lamp group 3.
[0049] It should be understood that a power-off detection module 50 is connected between the discharge module 20 and the logic control module 30, and the position of the power-off detection module 50 is not restricted. A shutdown detection module 60 is connected between the discharge module 20 and the constant current control module 40, and the position of the shutdown detection module 60 is not restricted.
[0050] In a specific implementation, the rectifier module 10 is used to generate a changing power signal when the system switch 2 is disconnected, and generate a shutdown instruction to the shutdown detection module 60 according to the changing power signal.
[0051] Since the rectifier module 10 is connected to the system switch 2, the state of the system switch 2 can be detected, and the state of the system switch 2 includes a closed state and an open state. The other side of the system switch 2 is connected to the L end of the mains. When the system switch 2 is closed, the mains can be transmitted to the rectifier module 10 connected to the system switch 2, and the rectifier module 10 can rectify and filter the input mains. When the system switch 2 is closed to open, the AC signal transmitted through the system switch 2 is changed through the rectifier module 10, thereby generating a changed power signal, and generating a shutdown command according to the changed power signal. The shutdown command represents the disconnection of the system switch 2. The shutdown command can be transmitted to the constant current control module 40 through the LED light string 3 connected to the rectifier module 10, and transmitted to the shutdown detection module 60 through the shutdown detection module 60 connected to the constant current control module 40.
[0052] In this embodiment, the shutdown detection module 60 is used to generate a first control signal to the discharge module 20 when the shutdown instruction is detected; the discharge module 20 is used to work according to the first control signal, discharge the voltage of the rectifier module 10, and obtain the updated voltage of the rectifier module 10.
[0053] It should be understood that when the shutdown command is transmitted to the shutdown detection module 60 through the rectifier module 10, the shutdown detection module 60 detects the shutdown command, and the shutdown detection module 60 generates a first control signal to the discharge module 20 when detecting the shutdown command, and the first control signal includes a voltage signal for controlling the discharge module 20 to work. When the discharge module 20 receives the first control signal transmitted by the shutdown detection module 60, it starts working according to the first control signal, discharges the voltage in the rectifier module 10, and obtains the updated voltage of the rectifier module 10, and the updated voltage of the rectifier module 10 refers to the voltage of the rectifier module 10 after the discharge module 20 discharges.
[0054] In this embodiment, the power-off detection module 50 is used to detect the updated voltage of the rectifier module 10, and when the updated voltage of the rectifier module 10 is less than a preset voltage value, generates a second control signal to the discharge module 20 and the logic control module 30; the discharge module 20 is also used to stop working according to the second control signal.
[0055] It can be understood that the power-off detection module 50 is connected between the discharge module 20 and the logic control module 30. The power-off detection module 50 can detect the updated voltage of the rectifier module 10 in real time through the constant current module 40, and when the updated voltage of the rectifier module 10 is less than the preset voltage value, a second control signal is generated. The preset voltage value can be set according to user needs, such as 2V, 4V, etc., which is not limited in this embodiment. After the power-off detection module 50 generates the second control signal, the second control signal is sent to the discharge module 20 and the logic control module 30. After receiving the second control signal, the discharge module 20 stops working.
[0056] In this embodiment, the switch segmented color temperature control circuit 1 further includes: a power supply module 70 , and the power supply module 70 is connected to the rectifier module 10 .
[0057] It should be noted that the power supply module 70 is used to provide power and to supply power to the discharge module 20 , the logic control module 30 , the constant current control module 40 , the power failure detection module 50 and the shutdown detection module 60 .
[0058] When the logic control module 30 receives the second control signal, it outputs a corresponding current control signal to the constant current control module 40, so that after the corresponding constant current source in the constant current control module 40 receives the current control signal, the corresponding constant current source outputs a corresponding current, thereby changing the constant current output mode. After the constant current source output is changed, the current combination reaching the LED lamp group changes the lighting effect produced by the LED lamp group 3, thereby achieving the purpose of adjusting the color temperature. When the system switch 2 is closed again, the LED lamp will not flash back and become slightly bright, thereby improving the user experience.
[0059] In this embodiment, a rectifier module, a discharge module, a logic control module and a constant current control module are sequentially connected in a switch segmented color temperature control circuit. The discharge module is connected to the logic control module via a power-off detection module, and the discharge module is connected to the constant current control module via a shutdown detection module. The rectifier module is also connected to a system switch, and the constant current control module is also connected to an LED lamp group. The rectifier module is used to generate a changing power signal when the system switch is disconnected, and generate a shutdown command to the shutdown detection module according to the changing power signal; the shutdown detection module is used to generate a first control signal to the discharge module when the shutdown command is detected; the discharge module is used to generate a first control signal to the discharge module according to the first control The signal is used to discharge the voltage of the rectifier module to obtain the updated voltage of the rectifier module; the power-off detection module is used to detect the updated voltage of the rectifier module, and when the updated voltage of the rectifier module is less than the preset voltage value, generate a second control signal to the discharge module and the logic control module; the discharge module is also used to stop working according to the second control signal; the logic control module is used to generate a logic signal with a certain rule according to the second control signal, so as to control the constant current control module, so that the constant current control module outputs the corresponding driving current according to the received logic signal, so that the LED lamp group can be lit, which solves the problem of the LED lamp flashing back and brightening slightly when the switch is opened and closed, and improves the user experience.
[0060] Reference Figure 2 , Figure 2 Schematic diagram of the circuit structure of the first embodiment of the switch segmented color temperature control circuit of the present invention.
[0061] Based on the overall framework of the first embodiment described above, the discharge module 20 in the switch segmented color temperature control circuit described in this embodiment includes: a discharge controller A1 and a discharge unit B1; the discharge controller A1 is respectively connected to the discharge unit B1, the shutdown detection module 60 and the power-off detection module 50, and the discharge unit B1 is connected to the rectifier module 10 and the discharge controller A1; the discharge controller A1 is used to control the discharge unit B1 according to the first control signal or the second control signal; the discharge unit B1 is used to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module.
[0062] In a specific implementation, the discharge controller A1 may receive a first control signal and a second control signal, and may control the discharge unit B1 to start or stop working through the first control signal and the second control signal.
[0063] In this embodiment, the discharge unit includes a first reference voltage Vref1, a first operational amplifier S1, a first resistor R1, and a first switch MOS tube M1.
[0064] The first reference voltage Vref1 is used to provide a first constant current reference; the first reference voltage Vref1 is connected to the positive input terminal of the first operational amplifier S1
[0065] A first end of the first resistor R1 is connected to the source of the first MOS tube M1 and the negative input end of the first operational amplifier S1, and a second end of the first resistor R1 is grounded; a gate of the first switch MOS tube M1 is connected to the output end of the first operational amplifier S1, and a drain of the first switch MOS tube M1 is connected to the rectifier module 10.
[0066] It should be noted that the discharge module 20 includes a first reference voltage Vref1, which may be 5V, 8V, etc., and the present embodiment does not limit this. The positive input terminal of the first operational amplifier S1 is connected to the first reference voltage Vref1, the negative input terminal of the first operational amplifier S2 is connected to the source of the first switch tube M1 and the first end of the first resistor R1, and the output terminal of the first operational amplifier S1 is connected to the gate of the first switch tube M1.
[0067] It should be noted that the first switch MOS tube M1 is a field effect tube, which is connected to the positive end of the rectifier module 10; the first input end of the rectifier module 10 is connected to the system switch 2, the second input end of the rectifier module 10 is connected to the mains N end, the output positive end of the rectifier module 10 is connected to the discharge module 20, the power supply module 70 and the LED lamp group 3, and the output negative end of the rectifier module 10 is grounded.
[0068] Since the positive output terminal of the rectifier module 10 is connected to the input terminal of the first switch MOS tube M1 in the discharge module 20, when the voltage of the rectifier module 10 drops to a preset voltage value, the discharge module 20 is controlled to shut down and stop working through the second control signal.
[0069] This embodiment sets a discharge controller and a discharge unit in the discharge module, wherein the discharge unit is provided with a first reference voltage, a first operational amplifier, a discharge controller, a first switch tube and a first resistor; the first reference voltage is connected to the positive input end of the first operational amplifier, the negative input end of the first operational amplifier is respectively connected to the source of the first switch MOS tube and the first end of the first resistor, and the output end of the first operational amplifier is connected to the gate of the first switch tube; the discharge controller is respectively connected to the discharge unit, the shutdown detection module and the power-off detection module; the drain of the first switch MOS tube is connected to the rectifier module, and the second end of the first resistor is grounded. The discharge unit can be controlled to work according to the discharge controller in the discharge module, and the remaining energy in the rectifier module can be quickly discharged, thereby ensuring that the system switch will not flash back when shutting down, thereby improving the user experience.
[0070] Reference Figure 3 , Figure 3 Schematic diagram of the circuit structure of the third embodiment of the switch segmented color temperature control circuit of the present invention.
[0071] Based on the above-mentioned first and second embodiments, the constant current control module 40 in this embodiment includes a first constant current drive circuit 401 and a second constant current drive circuit 402; the first constant current drive circuit 401 and the second constant current drive circuit 402 respectively receive the corresponding logic signals output by the logic control module 30, and are turned on or off according to the corresponding logic signals.
[0072] In a specific implementation, the first constant current driving circuit 401 and the second constant current driving circuit 402 are two different constant current sources, which can output a current of 0 to 30 mA and transmit the output current to the LED light group 3. After receiving the current, the light brightness generated by the LED light group 3 is proportional to the current intensity, that is, the driving current of the LED light group 3 is changed. Each constant current source receives the switch signal of the system switch 2 independently, and the current signal output by the constant current source is combined differently and transmitted to the LED light group to achieve different color temperature and brightness display effects.
[0073] In this embodiment, the LED light group 3 includes: a first LED light string 301 and a second LED light string 302; the first LED light string 301 and the second LED light string 302 are both connected to the constant current control module 40, the first LED light string 301 and the second LED light string 302 are also connected to the rectifier module 10, the first LED light string 301 and the second LED light string 302 are connected in parallel; the first LED light string 301 and the second LED light string 302 are used to change different color temperatures or brightness according to the driving current.
[0074] The first LED light string 301 is connected to the first constant current driving circuit 401 , and the second LED light string 302 is connected to the second constant current driving circuit 402 , wherein the color temperatures of the first LED light string 301 and the second LED light string 302 are inconsistent.
[0075] The first LED light string 301 and the second LED light string 302 both include a plurality of LED lamp beads, which are connected in series. The first LED light string 301 can be a 6000k color temperature light string or a 3000k color temperature light string, and the second LED light string 302 can be a 6000k color temperature light string or a 3000k color temperature light string. This embodiment does not limit this. This embodiment is described by taking the first LED light string 301 as a 6000k color temperature light string and the second LED light string 302 as a 3000k color temperature light string as an example.
[0076] In this embodiment, a first constant current drive circuit 401 and a second constant current drive circuit 402 are set in the constant current control module. The first constant current drive circuit and the second constant current drive circuit respectively receive corresponding logic signals output by the logic control module, and are turned on or off according to the corresponding logic signals. The corresponding drive current can be output to drive the LED light group to light up, which solves the problem of the LED light flashing back when the switch is opened and closed, thereby improving the user experience.
[0077] The embodiment of the present invention provides a switch segmented color temperature control method, referring to Figure 4 , Figure 4 Schematic diagram of the flow chart of the first embodiment of the switch segmented color temperature control method of the present invention.
[0078] In this embodiment, the switch segmented color temperature control method is applied to the switch segmented color temperature control circuit described above, and the switch segmented color temperature control method includes the following steps:
[0079] Step S10: When the system switch is turned off, the rectifier module generates a changing power signal, and generates a shutdown instruction to the shutdown detection module according to the changing power signal.
[0080] It should be understood that a power failure detection module 50 is connected between the discharge module 20 and the logic control module 30, and the position of the power failure detection module 50 is not restricted. The discharge module 20 is connected to the shutdown detection module 60, and the position of the shutdown detection module 60 is not restricted.
[0081] Step S20: When the shutdown detection module detects the shutdown instruction, the shutdown detection module generates a first control signal to the discharge module.
[0082] Since the rectifier module is connected to the system switch, the state of the system switch can be detected, and the state of the system switch includes closed and open states. The other side of the system switch is connected to the L end of the AC power. When the system switch is closed, the AC power can be transmitted to the rectifier module connected to the system switch, and the rectifier module can rectify and filter the input AC power. When the system switch is closed to open, the AC signal transmitted through the system switch is changed through the rectifier module, thereby generating a changed power signal, and generating a shutdown command based on the changed power signal. The shutdown command represents the disconnection status of the system switch. The shutdown command can be transmitted to the discharge module through the discharge module connected to the rectifier module, and transmitted to the shutdown detection module through the shutdown detection module connected to the discharge module.
[0083] Step S30: the discharge module operates according to the first control signal to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module.
[0084] It should be understood that when the shutdown command is transmitted to the shutdown detection module through the rectifier module, the shutdown detection module detects the shutdown command, and the shutdown detection module generates a first control signal to the discharge module when detecting the shutdown command, and the first control signal includes a voltage signal for controlling the discharge module to work. When the discharge module receives the first control signal transmitted by the shutdown detection module, it starts working according to the first control signal, discharges the voltage in the rectifier module, and thus obtains the updated voltage of the rectifier module, and the updated voltage of the rectifier module refers to the voltage of the rectifier module after the discharge module discharges.
[0085] Step S40: the power-off detection module detects the update voltage of the rectifier module, and generates a second control signal to the discharge module and the logic control module when the update voltage of the rectifier module is less than a preset voltage value.
[0086] It can be understood that the power-off detection module is connected between the discharge module, the constant current control module and the logic control module. The power-off detection module can detect the update voltage of the rectifier module in real time through the discharge module, and when the update voltage of the rectifier module is less than the preset voltage value, a second control signal is generated. The preset voltage value can be set according to user needs, such as 2V, 4V, etc., which is not limited in this embodiment. The second control signal includes a voltage signal that the discharge module stops working.
[0087] After the power failure detection module generates the second control signal, the second control signal is sent to the discharge module and the logic control module. After the discharge module receives the second control signal, the discharge module stops working.
[0088] Step S50: the logic control module generates a corresponding logic control signal according to the second control signal, thereby controlling the constant current control module so that the constant current control module outputs a corresponding driving current, and drives the LED lamp group to light up according to the driving current.
[0089] When the logic control module receives the second control signal, it outputs a corresponding logic control signal to the constant current control module, so that after the corresponding constant current source in the constant current control module receives the logic control signal, the corresponding constant current source outputs a corresponding current, changes the constant current output mode, and after the constant current source output changes, the current combination reaching the LED lamp group changes the lighting effect produced by the LED lamp group, thereby achieving the purpose of adjusting the color temperature. At the same time, when the system switch is closed again, the LED light will not flash back and become slightly bright, thereby improving the user experience.
[0090] like Figure 5 As shown, Figure 5 This is a schematic diagram of the overall flow of the switch segmented color temperature control method of this embodiment. When the system switch is closed for the first time, the constant current control module works, the discharge module is turned off, and the first color temperature light string A lights up. When the system switch is closed for the first time, the shutdown detection module detects the shutdown command, and the first color temperature light string is turned off. The discharge module is turned on by the shutdown command to discharge the voltage of the electrolytic capacitor in the rectifier module, and at the same time, it is detected by the power-off detection module to determine whether the rectifier output voltage is lower than the preset voltage value. When it is lower than the preset voltage value, a control signal is generated to control the discharge module to turn off, and the control signal is sent to the logic control module. The constant current control module is controlled by the logic control module, and the constant current source turns on and off. When the system switch is closed for the second time, the constant current drive circuit works, the discharge module is turned off, and the second color temperature light string B is controlled to light up. Figure 6 As shown, Figure 6 Schematic diagram of logic waveforms corresponding to the operation of the constant current source, electrolytic voltage and discharge module in this embodiment. It can be seen that when the system switch is closed for the first time, the voltage of the electrolytic capacitor E1 is constantly fluctuating. When the system switch is disconnected, the discharge module is turned on to discharge the voltage of the electrolytic capacitor E1, and the voltage gradually decreases. When the voltage decreases to a preset voltage value, the discharge module is controlled to stop working, and the constant current source 1 or the constant current source 2 is controlled to be turned on or off.
[0091] As shown in Table 1, Table 1 is a functional truth table of a switch segmented control unit in a switch color temperature adjustment mode in this embodiment. At the initial power-on, the constant current source 1 is turned on. When the switch is disconnected and the rectifier module voltage is greater than the preset voltage, the constant current source 1 and the discharge module are turned on, and the constant current source 2 is turned off; when the switch is disconnected and the rectifier module voltage is less than the preset voltage, the constant current source 1 and the discharge module are turned off, and the constant current source 2 is turned on. When the switch is closed again, the constant current source 1 and the discharge module are turned off, and the constant current source 2 is turned on.
[0092] Table 1
[0093]
[0094] As shown in Table 2, Table 2 is a function table of the switch color temperature adjustment mode, which outputs different control signals through the switch state, thereby controlling the constant current control module to output different currents, so that the LED lamp presents different color temperatures.
[0095] Table 2
[0096]
[0097]
[0098] In this embodiment, when the system switch is disconnected, the rectifier module generates a changing power signal, and generates a shutdown command to the shutdown detection module according to the changing power signal; when the shutdown detection module detects the shutdown command, it generates a first control signal to the discharge module; the discharge module works according to the first control signal, discharges the voltage of the rectifier module, and obtains the updated voltage of the rectifier module; the power-off detection module detects the updated voltage of the rectifier module, and when the updated voltage of the rectifier module is less than a preset voltage value, generates a second control signal to the discharge module and the logic control module; the logic control module generates a corresponding logic signal according to the second control signal, thereby controlling the constant current control module, so that the constant current control module outputs the corresponding driving current, and drives the LED lamp group to light up according to the driving current, thereby solving the problem of the LED lamp flashing back and slightly brightening when the switch is opened and closed, and improving the user experience.
[0099] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0100] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0101] In addition, for technical details not fully described in this embodiment, reference may be made to the switch segmented color temperature control method provided in any embodiment of the present invention, and will not be repeated here.
[0102] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0103] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0105] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A switch segmented color temperature control circuit, characterized in that: The switch segmented color temperature control circuit includes: a rectifier module, a discharge module, a logic control module and a constant current control module connected in sequence, the discharge module and the logic control module are connected through a power-off detection module, the discharge module and the constant current control module are connected through a shutdown detection module, the rectifier module is also connected to the system switch, and the constant current control module is also connected to the LED lamp group; The rectifier module is used to generate a changing power signal when the system switch is disconnected, and generate a shutdown command to the shutdown detection module according to the changing power signal; The shutdown detection module is used to generate a first control signal to the discharge module when the shutdown instruction is detected; The discharge module is used to work according to the first control signal, discharge the voltage of the rectifier module, and obtain an updated voltage of the rectifier module, where the updated voltage is the voltage of the rectifier module after being discharged by the discharge module; The power-off detection module is used to detect the update voltage of the rectifier module in real time, and generate a second control signal to the discharge module and the logic control module when the update voltage of the rectifier module is less than a preset voltage value; The discharge module is further used to stop working according to the second control signal; The logic control module is used to control the constant current control module according to the second control signal, so that the constant current control module outputs a corresponding driving current, and drives the LED lamp group to light up according to the driving current.
2. The switch segmented color temperature control circuit according to claim 1, characterized in that: The discharge module includes: a discharge unit and a discharge controller; The discharge controller is respectively connected to the discharge unit, the shutdown detection module and the power-off detection module, and the discharge unit is connected to the rectifier module and the discharge controller; The discharge controller is used to control the discharge unit according to the first control signal or the second control signal; The discharge unit is used to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module.
3. The switch segmented color temperature control circuit according to claim 2, characterized in that: The discharge unit in the discharge module includes: a first resistor, a first reference voltage, a first operational amplifier, and a first switch MOS tube; The first end of the first resistor is connected to the source of the first switch MOS tube and the negative input end of the first operational amplifier, and the second end of the first resistor is grounded; The gate of the first switch MOS tube is connected to the output end of the first operational amplifier, and the drain of the first switch MOS tube is connected to the rectifier module.
4. The switch segmented color temperature control circuit according to claim 1, characterized in that: The power failure detection module is also connected to the rectification module or the constant current control module; The power-off detection module is also used to collect the voltage signal output by the constant current control module or the updated voltage signal output by the rectifier module, and judge whether the updated voltage of the rectifier module is less than a preset voltage value according to the voltage signal output by the constant current control module or the updated voltage signal output by the rectifier module, thereby generating a second control signal to the logic control module and the discharge module.
5. The switch segmented color temperature control circuit according to claim 1, characterized in that: The switch segmented color temperature control circuit further includes: a power supply module, the power supply module is connected to the rectifier module; The power supply module is used to supply power to the discharge module, the logic control module, the power-off detection module, the shutdown detection module and the constant current control module.
6. The switch segmented color temperature control circuit according to claim 1, characterized in that: The shutdown detection module is also connected to the rectifier module; The shutdown detection module is also used to collect the voltage signal output by the constant current control module or directly collect the voltage signal output by the rectifier module, and obtain the shutdown instruction according to the voltage signal output by the constant current control module or the voltage signal output by the rectifier module, thereby generating a first control signal to the discharge module.
7. The switch segmented color temperature control circuit according to claim 1, characterized in that: The logic control module is further used to receive the second control signal generated by the power-off detection module, and generate a corresponding logic control signal according to the second control signal; The constant current control module is also used to output a corresponding driving current according to a corresponding logic control signal.
8. The switch segmented color temperature control circuit according to claim 1, characterized in that: The constant current control module includes: a first constant current drive circuit and a second constant current drive circuit; the first constant current drive circuit and the second constant current drive circuit respectively receive corresponding logic signals output by the logic control module, and are turned on or off according to the corresponding logic signals.
9. The switch segmented color temperature control circuit according to claim 8, characterized in that: The LED light group comprises: a first LED light string and a second LED light string; The first LED light string is connected to the first constant current drive circuit, the second LED light string is connected to the second constant current drive circuit, the first LED light string and the second LED light string are connected in parallel, wherein the color temperatures of the first LED light string and the second LED light string are inconsistent; The first LED light string and the second LED light string are used to change the color temperature to different levels according to the driving current.
10. A method for controlling color temperature by switching segmented adjustment, characterized in that: The switch segmented color temperature control method is applied to the switch segmented color temperature control circuit described in any one of claims 1 to 9, and the switch segmented color temperature control method includes: When the system switch is disconnected, the rectifier module generates a changing power signal, and generates a shutdown command to the shutdown detection module according to the changing power signal; The shutdown detection module generates a first control signal to the discharge module when detecting the shutdown instruction; The discharge module operates according to the first control signal to discharge the voltage of the rectifier module to obtain an updated voltage of the rectifier module; The power-off detection module detects the update voltage of the rectifier module, and generates a second control signal to the discharge module and the logic control module when the update voltage of the rectifier module is less than a preset voltage value; The logic control module controls the constant current control module according to the second control signal, so that the constant current control module outputs a corresponding driving current, and drives the LED lamp group to light up according to the driving current.
Citation Information
Patent Citations
Current conduction mode switching regulation voltage limiting circuit for current source power supply system of circuit breaker
CN102420537A
LED drive control method and circuit
CN112004283A
Switch segmented dimming and color adjusting control circuit and LED lighting device
CN212992655U