Dimming control circuit using switch for setting and switch dimming LED lamp circuit
By using a microcontroller circuit in the dimming control circuit to directly identify the switching operation, the circuit structure is simplified, the miniaturization problem caused by complex signal conversion in the existing technology is solved, and the circuit simplification and miniaturization of the switch-dimming LED lamp is realized.
Patent Information
- Application Number
- CN202323629510.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2033-12-29
AI Technical Summary
Existing dimming control circuits require additional signal conversion circuits when identifying switch operations, resulting in complex circuit structures and difficulty in miniaturization.
The microcontroller circuit is used as the signal processing circuit, and the switching operation is directly identified through the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold, simplifying the circuit structure and achieving dimming control.
The dimming control circuit structure is simplified, additional signal conversion steps are avoided, and the miniaturized design of switch-dimmable LED lights is achieved.
Smart Images

Figure CN221652812U
Abstract
Description
Technical Field
[0001] The utility model relates to a dimming control circuit, in particular to a dimming control circuit set by a switch and a switch dimming LED lamp circuit. Background Art
[0002] like Figure 1 As shown in the figure, a control switch is provided between the switch dimming LED lamp and the mains, and the switch dimming LED can be turned on, off and dimmed by operating the control switch. Therefore, the switch dimming LED lamp can not only meet the needs of different customers and reduce the variety and quantity of dealers' stock, but also users can adjust the switch dimming LED lamp to the appropriate brightness and color temperature according to their own preferences during use, and it is becoming more and more popular in the market.
[0003] The main circuit of the existing switch dimming LED lamp, that is, the switch dimming LED lamp circuit, mainly includes a dimming control circuit and a light-emitting main circuit, wherein the dimming control circuit indirectly detects the switch operation state of the control switch by detecting the change of the external voltage of the switch dimming LED lamp circuit, and converts the different switch operation states of the control switch into a dimming signal in the form of a 0 / 1 level signal or a PWM signal and outputs it to the light-emitting main circuit. The light-emitting main circuit sets the corresponding brightness or color temperature according to the received dimming signal, and emits light with the corresponding brightness or color temperature, thereby realizing the dimming of the switch dimming LED lamp.
[0004] like Figure 2As shown, the existing dimming control circuit usually includes a voltage stabilizing circuit, a signal conversion circuit and a signal processing circuit. The voltage stabilizing circuit has an input end, an output end and a negative electrode. The signal conversion circuit has an input end, an output end and a negative electrode. The signal processing circuit has a positive electrode, a negative electrode, an input end and an output end. The signal processing circuit is provided with a time threshold, several types of dimming signals and an output sequence of the dimming signals. The type of the dimming signal is determined by the designer according to the customer's usage requirements. The input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, the input end of the signal conversion circuit is the signal detection end of the dimming control circuit, the output end of the signal processing circuit is the output end of the dimming control circuit, the positive electrode of the signal processing circuit is connected to the output end of the voltage stabilizing circuit, the input end of the signal processing circuit is connected to the output end of the signal conversion circuit, the negative electrode of the signal processing circuit, the negative electrode of the signal conversion circuit and the negative electrode of the voltage stabilizing circuit are connected, and their connection end is the negative electrode of the dimming control circuit. The voltage stabilizing circuit is used to convert the voltage connected to its input end into the working voltage required for the signal processing circuit to output at its output end, so as to power the signal processing circuit. The signal detection end of the signal conversion circuit is connected to one end connected to the control switch and the switch dimming LED lamp. The signal conversion circuit is used to convert the AC power voltage detected by its signal detection end into a digital signal compatible with the signal processing circuit and output it at its output end. The signal processing circuit is used to obtain the state of the digital signal connected to its input end and the time of the state change, compare the time with the time threshold, and determine whether it is a dimming operation based on the comparison result. When it is determined to be a dimming operation, the dimming signal located one position after the current dimming signal is output at its output end according to the dimming signal output order preset therein.
[0005] When the input end of the voltage stabilizing circuit is connected to an external voltage, the output end thereof outputs a voltage to supply power to the signal processing circuit, and the signal processing circuit starts to work. When the input end of the signal conversion circuit is connected to a voltage other than 0, the output end thereof outputs a 1 level, and the signal processing circuit determines that the control switch is in the "on" state. When the voltage connected to the input end of the signal conversion circuit is 0, the output end thereof outputs a 0 level, and the signal processing circuit determines that the control switch is in the "off" state. The signal processing circuit determines whether the control switch is in a dimming operation by detecting the time interval when the output end of the signal conversion circuit is at a 0 level. If the output end of the signal conversion circuit changes from a 1 level to a 0 level, and changes to a 1 level again within a preset time threshold, then the signal processing circuit determines that it is a dimming operation. If the time from a 1 level to a 0 level is not within the time threshold, that is, greater than or equal to the time threshold, then the signal processing circuit determines that it is a normal light-off operation. Thereafter, when the output end of the signal conversion circuit changes from a 0 level to a 1 level, the signal processing circuit determines that it is a normal light-on operation, and the output end of the signal processing circuit outputs a default dimming signal or a dimming signal output during the last light-off operation. After detecting a dimming operation, the signal processing circuit outputs a dimming signal that is one position behind the current dimming signal at its output end according to the preset dimming signal output sequence. When different types of dimming signals are connected to the light-emitting main circuit of the switch dimming LED lamp circuit, the light-emitting main circuit emits light of corresponding brightness and color temperature under the setting of the dimming signal connected to it.
[0006] However, in the existing dimming control circuit, the signal processing circuit cannot identify the switch operation of the control switch, and an additional signal conversion circuit is required to convert the switch operation of the control switch into a digital signal that can be recognized by the signal processing circuit, and the signal processing circuit then implements the switch operation recognition of the control switch based on the digital signal. The setting of the signal conversion circuit inevitably increases the number of components of the dimming control circuit, resulting in an increase in the complexity of its circuit structure and difficulty in miniaturization. When the dimming control circuit is used for a switch dimming LED lamp, it will increase the difficulty of miniaturizing the switch dimming LED lamp. Utility Model Content
[0007] One of the technical problems to be solved by the utility model is to provide a dimming control circuit which has a simple circuit structure and can be miniaturized and set by using a switch.
[0008] The technical solution adopted by the utility model to solve one of the above-mentioned technical problems is: a dimming control circuit set by using a switch, including a voltage stabilizing circuit and a signal processing circuit, the voltage stabilizing circuit is used to convert an external voltage into a corresponding voltage and output it to the signal processing circuit, the signal processing circuit is provided with a time threshold, several dimming signals and several dimming signal output sequences, when the control switch is used to perform a dimming operation, the signal processing circuit can output a dimming signal according to the several dimming signal output sequences therein, the voltage output by the voltage stabilizing circuit corresponds to whether there is a mains voltage, the signal processing circuit is also provided with a voltage threshold, the signal processing circuit is used to determine whether to perform a dimming operation according to the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold, and the signal processing circuit is a single-chip microcomputer circuit.
[0009] The voltage stabilizing circuit has an input end, an output end and a negative electrode. The input end of the voltage stabilizing circuit is used to connect to an external voltage, and the output end of the voltage stabilizing circuit is used to output a corresponding voltage. The single-chip microcomputer circuit has a positive electrode, a negative electrode and an output end. The input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, and the output end of the single-chip microcomputer circuit is the output end of the dimming control circuit, which is used to output a dimming signal. The positive electrode of the single-chip microcomputer circuit is connected to the output end of the voltage stabilizing circuit, and the negative electrode of the single-chip microcomputer circuit is connected to the negative electrode of the voltage stabilizing circuit, and its connection end is the negative electrode of the dimming control circuit.
[0010] The output end of the single-chip microcomputer circuit is composed of m output ports, where m is an integer greater than or equal to 1, each dimming signal includes m dimming signals, and the m signals of each dimming signal correspond one-to-one to the m output ports of the single-chip microcomputer circuit.
[0011] The voltage stabilizing circuit includes a first resistor, a second resistor, a first capacitor and a first diode, the first capacitor is an electrolytic capacitor, the first diode is a voltage stabilizing diode, one end of the first resistor is the input end of the voltage stabilizing circuit, the other end of the first resistor, the negative electrode of the first diode, one end of the second resistor and the positive electrode of the first capacitor are connected, and the connection end thereof is the output end of the voltage stabilizing circuit, the positive electrode of the first diode, the other end of the second resistor and the negative electrode of the first capacitor are connected, and the connection end thereof is the negative electrode of the voltage stabilizing circuit.
[0012] The output end of the single-chip microcomputer circuit is composed of two output ports, which are respectively referred to as a first output port and a second output port. The single-chip microcomputer circuit includes a first integrated circuit and a second capacitor. The first integrated circuit is a HC18P015B0 single-chip microcomputer in a SOP8 package. The first pin of the first integrated circuit is connected to one end of the second capacitor, and its connection end is the positive electrode of the single-chip microcomputer circuit. The eighth pin of the first integrated circuit is connected to the other end of the second capacitor, and its connection end is the negative electrode of the single-chip microcomputer circuit. The fifth pin of the first integrated circuit is the first output port of the single-chip microcomputer circuit, and the sixth pin of the first integrated circuit is the second output port of the single-chip microcomputer circuit.
[0013] Compared with the prior art, the advantage of the dimming control circuit of the present invention is that the signal processing circuit is a single-chip microcomputer circuit. In addition to setting a time threshold, several dimming signals and several dimming signal output orders, the signal processing circuit is also additionally provided with a voltage threshold. After the voltage output by the voltage stabilizing circuit is matched with whether there is a mains voltage, the change in the voltage output by the voltage stabilizing circuit can reflect the switch operation of the control switch, so that the signal processing circuit can directly determine whether to perform a dimming operation through the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. According to the current dimming operation of the control switch, it is obvious that when the voltage output by the voltage stabilizing circuit drops from greater than the voltage threshold to less than the voltage threshold, and then rises from less than the voltage threshold to greater than the voltage threshold within the time threshold, it is a dimming operation. Therefore, the present invention adopts the current industry conventional simple single-chip microcomputer circuit to realize the dimming operation function of the dimming control circuit, and does not require an additional signal processing circuit for signal conversion. The circuit structure is simple and can be miniaturized.
[0014] The second technical problem to be solved by the utility model is to provide a switch dimming LED lamp circuit with a simple circuit structure and capable of realizing miniaturization.
[0015] The technical solution adopted by the utility model to solve the second technical problem mentioned above is: a switch dimming LED lamp circuit, including a dimming control circuit and a light-emitting main circuit, the light-emitting main circuit including a full-bridge rectifier circuit, a constant current conversion circuit and an LED light-emitting circuit, the LED light-emitting circuit including n LED light-emitting modules, n is an integer greater than or equal to 2, and the color temperatures of the n LED light-emitting modules are all different, the full-bridge rectifier circuit is used to convert the mains voltage into a corresponding DC voltage and output it to the dimming control circuit and the constant current conversion circuit respectively, the dimming control circuit is used to output a dimming signal to the constant current conversion circuit, and the constant current conversion circuit is used to convert the DC voltage connected to it into a corresponding current according to the dimming signal output thereto to set the brightness and color temperature of the n LED light-emitting modules, so that the The LED lighting circuit emits light according to the set brightness and color temperature. The dimming control circuit includes a voltage stabilizing circuit and a signal processing circuit. The voltage stabilizing circuit is used to convert an external voltage into a corresponding voltage and output it to the signal processing circuit. The signal processing circuit is provided with a time threshold, several dimming signals and several dimming signal output sequences. When the control switch performs a dimming operation, the signal processing circuit can output a dimming signal according to the several dimming signal output sequences therein. The external voltage connected to the voltage stabilizing circuit is the DC voltage output by the full-bridge rectifier circuit. The signal processing circuit is also provided with a voltage threshold. The signal processing circuit is used to determine whether to perform a dimming operation based on the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. The signal processing circuit is a single-chip microcomputer circuit.
[0016] The dimming control circuit has a positive electrode, a negative electrode, a first output port and a second output port, the voltage stabilizing circuit has an input end, an output end and a negative electrode, the single-chip circuit has a positive electrode, a negative electrode, a first output port and a second output port, the first output port and the second output port of the single-chip circuit are both used to output PWM signals, the input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, the first output port of the single-chip circuit is the first output port of the dimming control circuit, the second output port of the single-chip circuit is the second output port of the dimming control circuit, the positive electrode of the single-chip circuit is connected to the output end of the voltage stabilizing circuit, The negative electrode of the single-chip microcomputer circuit is connected to the negative electrode of the voltage stabilizing circuit, and the connection end is the negative electrode of the dimming control circuit. Each dimming signal is composed of a pair of PWM signals. The single-chip microcomputer circuit has a memory function. When the single-chip microcomputer circuit is powered on for the first time, its first output port and the second output port respectively output a default PWM signal. When powered on subsequently, the PWM signals output by the first output port and the second output port are respectively the PWM signals output before the previous power failure. The constant current conversion circuit has a positive electrode, a negative electrode, a positive output end, a first negative output end, a second negative output end, a first PWM end and a second PWM end, and the current output by the first negative output end is equal to the current output by the first negative output end. The first PWM terminal receives a PWM signal, and the current output by the second negative output terminal corresponds to the PWM signal received by the second PWM terminal. The LED light-emitting circuit includes two LED light-emitting modules with different light color temperatures, each LED light-emitting module has a positive electrode and a negative electrode, the positive electrodes of the two LED light-emitting modules are connected, and the connection end is the common positive electrode of the LED light-emitting circuit, and the negative electrodes of the two LED light-emitting modules are respectively used as the first negative electrode and the second negative electrode of the LED light-emitting circuit. The full-bridge rectifier circuit has a first input terminal, a second input terminal, a positive output terminal and a negative output terminal, and the positive electrode of the dimming control circuit, the positive electrode of the constant current conversion circuit and the The positive output end of the full-bridge rectifier circuit is connected, the common positive pole of the LED light-emitting circuit is connected to the positive output end of the constant current conversion circuit, the first negative pole of the LED light-emitting circuit is connected to the first negative output end of the constant current conversion circuit, the second negative pole of the LED light-emitting circuit is connected to the second negative output end of the constant current conversion circuit, the first output port of the dimming control circuit is connected to the first PWM end of the constant current conversion circuit, the second output port of the dimming control circuit is connected to the second PWM end of the constant current conversion circuit, and the negative pole of the dimming control circuit, the negative pole of the constant current conversion circuit and the negative output end of the full-bridge rectifier circuit are connected.
[0017] The voltage stabilizing circuit includes a first resistor, a second resistor, a first capacitor and a first diode, the first capacitor is an electrolytic capacitor, the first diode is a voltage stabilizing diode, one end of the first resistor is the input end of the voltage stabilizing circuit, the other end of the first resistor, the negative electrode of the first diode, one end of the second resistor and the positive electrode of the first capacitor are connected, and the connection end thereof is the output end of the voltage stabilizing circuit, the positive electrode of the first diode, the other end of the second resistor and the negative electrode of the first capacitor are connected, and the connection end thereof is the negative electrode of the voltage stabilizing circuit.
[0018] The single-chip microcomputer circuit includes a first integrated circuit and a second capacitor. The first integrated circuit is a HC18P015B0 single-chip microcomputer in a SOP8 package. The first pin of the first integrated circuit is connected to one end of the second capacitor, and its connection end is the positive electrode of the single-chip microcomputer circuit. The eighth pin of the first integrated circuit is connected to the other end of the second capacitor, and its connection end is the negative electrode of the single-chip microcomputer circuit. The fifth pin of the first integrated circuit is the first output port of the single-chip microcomputer circuit, and the sixth pin of the first integrated circuit is the second output port of the single-chip microcomputer circuit.
[0019] The constant current conversion circuit includes a second integrated circuit, a third resistor, a fourth resistor, a fifth resistor, a third capacitor, a second diode, a third diode and a fourth diode. The model of the second integrated circuit is BP5772D. The second diode, the third diode and the fourth diode are all rectifier diodes. The third capacitor is an electrolytic capacitor. The positive electrode of the second diode is the positive electrode of the constant current conversion circuit. The negative electrode of the second diode, the 8th pin of the second integrated circuit, one end of the fifth resistor and the positive electrode of the third capacitor are connected, and the connection end is the positive output end of the constant current conversion circuit. The other end of the fifth resistor, the negative electrode of the third capacitor, the positive electrode of the third diode and the positive electrode of the fourth diode are connected. The cathode of the three diodes is connected to the 5th pin of the second integrated circuit, one end of the third resistor is connected to the 3rd pin of the second integrated circuit, one end of the fourth resistor is connected to the 4th pin of the second integrated circuit, the 1st pin of the second integrated circuit is the first PWM end of the constant current conversion circuit, the 2nd pin of the second integrated circuit is the second PWM end of the constant current conversion circuit, the 7th pin of the second integrated circuit is the first negative output end of the constant current conversion circuit, the 6th pin of the second integrated circuit is the second negative output end of the constant current conversion circuit, the other end of the third resistor, the other end of the fourth resistor, and the anode of the fourth diode are connected to the bottom electrode of the second integrated circuit, and their connection ends are the negative electrode of the constant current conversion circuit.
[0020] Compared with the prior art, the advantage of the switch dimming LED lamp circuit of the utility model is that the signal processing circuit of the dimming control circuit is realized by adopting a single-chip microcomputer circuit. In addition to setting a time threshold, several dimming signals and several dimming signal output orders, the signal processing circuit is also additionally provided with a voltage threshold. After the voltage output by the voltage stabilizing circuit is matched with whether there is a mains voltage, the change of the voltage output by the voltage stabilizing circuit can reflect the switch operation of the control switch, so that the signal processing circuit can directly determine whether to perform a dimming operation through the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. According to the current dimming operation of the control switch, it is obvious that when the voltage output by the voltage stabilizing circuit drops from greater than the voltage threshold to less than the voltage threshold, and then rises from less than the voltage threshold to greater than the voltage threshold within the time threshold, it is a dimming operation. The dimming operation function of the dimming control circuit can be realized by adopting the conventional simple single-chip microcomputer circuit in the current industry, and there is no need to additionally set up a signal processing circuit for signal conversion. Therefore, the circuit structure of the switch dimming LED lamp circuit of the utility model is simplified and miniaturization is easy to achieve. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 Schematic diagram of connecting the switch dimming LED lamp circuit to the mains;
[0022] Figure 2 It is a structural diagram of an existing dimming control circuit;
[0023] Figure 3 It is a structural diagram of a dimming control circuit configured by a switch according to the present invention;
[0024] Figure 4 A circuit diagram of a voltage stabilizing circuit of a dimming control circuit configured using a switch according to the utility model;
[0025] Figure 5 A circuit diagram of a single-chip microcomputer circuit of a dimming control circuit that is set using a switch according to the utility model;
[0026] Figure 6 This is a structural diagram of the switch dimming LED lamp circuit of the utility model;
[0027] Figure 7 The utility model is a circuit diagram of a switch dimming LED lamp circuit. DETAILED DESCRIPTION
[0028] The utility model discloses a dimming control circuit which is set by using a switch. The dimming control circuit of the utility model is further described in detail below in conjunction with the embodiments of the drawings.
[0029] Embodiment 1: Figure 3 As shown, a dimming control circuit set by a switch includes a voltage stabilizing circuit and a signal processing circuit. The voltage stabilizing circuit is used to convert an external voltage into a corresponding voltage and output it to the signal processing circuit. The signal processing circuit is provided with a time threshold, several dimming signals, and several dimming signal output sequences. When the control switch is dimmed, the signal processing circuit can output a dimming signal according to the output sequence of several dimming signals therein. The voltage output by the voltage stabilizing circuit corresponds to whether there is a mains voltage. The signal processing circuit is also provided with a voltage threshold. The signal processing circuit is used to determine whether to perform a dimming operation according to the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. The signal processing circuit is a single-chip microcomputer circuit. Among them, the threshold voltage and the time threshold are set according to the actual use situation, and the type of dimming signal is determined by the designer according to the customer's use requirements.
[0030] In this embodiment, the voltage stabilizing circuit has an input end, an output end and a negative electrode. The input end of the voltage stabilizing circuit is used to connect to an external voltage, and the output end of the voltage stabilizing circuit is used to output a corresponding voltage. The single-chip microcomputer circuit has a positive electrode, a negative electrode and an output end. The input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, and the output end of the single-chip microcomputer circuit is the output end of the dimming control circuit, which is used to output a dimming signal. The positive electrode of the single-chip microcomputer circuit is connected to the output end of the voltage stabilizing circuit, and the negative electrode of the single-chip microcomputer circuit is connected to the negative electrode of the voltage stabilizing circuit, and the connection end thereof is the negative electrode of the dimming control circuit.
[0031] In this embodiment, when the input end of the voltage stabilizing circuit is connected to an external voltage, the voltage outputted from its output end is a normal voltage greater than the voltage threshold, and the single-chip microcomputer circuit maintains a working state. If the voltage of the positive electrode of the single-chip microcomputer circuit drops from greater than the voltage threshold to less than the voltage threshold, and then rises to greater than the voltage threshold within the time threshold, then the change of the positive electrode voltage of the single-chip microcomputer circuit is associated with a dimming operation. If the voltage of the positive electrode of the single-chip microcomputer circuit drops from greater than the voltage threshold to less than the voltage threshold, and then rises to greater than the voltage threshold without rising within the time threshold, then the change of the positive electrode voltage of the single-chip microcomputer circuit is associated with a normal light-off operation. After that, when the voltage of the positive electrode of the single-chip microcomputer circuit rises from less than the voltage threshold to greater than the voltage threshold, the single-chip microcomputer circuit determines that the change of its positive electrode voltage is a normal light-on operation. After detecting a dimming operation, the single-chip microcomputer circuit outputs a dimming signal at the output end that is one position behind the dimming signal currently output according to the internally set output order of several dimming signals.
[0032] In the present embodiment, the signal processing circuit is a single-chip microcomputer circuit. In addition to setting a time threshold, several types of dimming signals and several types of dimming signal output orders, the signal processing circuit is also additionally provided with a voltage threshold. After the voltage output by the voltage stabilizing circuit is matched with whether there is a mains voltage, the change in the voltage output by the voltage stabilizing circuit can reflect the switch operation of the control switch, so that the signal processing circuit can directly determine whether to perform a dimming operation through the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. According to the current dimming operation of the control switch, it is obvious that when the voltage output by the voltage stabilizing circuit drops from greater than the voltage threshold to less than the voltage threshold, and then rises from less than the voltage threshold to greater than the voltage threshold within the time threshold, it is a dimming operation. Therefore, the utility model adopts the current conventional simple single-chip microcomputer circuit in the industry to realize the dimming operation function of the dimming control circuit, and does not need to additionally set up a signal processing circuit for signal conversion. The circuit structure is simple and can be miniaturized.
[0033] Embodiment 2: This embodiment is basically the same as Embodiment 1, except that: in this embodiment, Figure 4As shown, the voltage stabilizing circuit includes a first resistor R1, a second resistor R2, a first capacitor C1 and a first diode D1, the first capacitor C1 is an electrolytic capacitor, the first diode D1 is a voltage stabilizing diode, one end of the first resistor R1 is the input end of the voltage stabilizing circuit, the other end of the first resistor R1, the cathode of the first diode D1, one end of the second resistor R2 and the positive electrode of the first capacitor C1 are connected, and the connection end thereof is the output end of the voltage stabilizing circuit, the anode of the first diode D1, the other end of the second resistor R2 and the negative electrode of the first capacitor C1 are connected, and the connection end thereof is the negative electrode of the voltage stabilizing circuit.
[0034] In this embodiment, Figure 5 As shown, the output end of the single-chip microcomputer circuit is composed of two output ports, which are respectively referred to as the first output port and the second output port. The single-chip microcomputer circuit includes a first integrated circuit U1 and a second capacitor C2. The first integrated circuit U1 is a HC18P015B0 single-chip microcomputer in a SOP8 package. The first pin of the first integrated circuit U1 is connected to one end of the second capacitor C2, and the connection end thereof is the positive electrode of the single-chip microcomputer circuit. The eighth pin of the first integrated circuit U1 is connected to the other end of the second capacitor C2, and the connection end thereof is the negative electrode of the single-chip microcomputer circuit. The fifth pin of the first integrated circuit U1 is the first output port of the single-chip microcomputer circuit, and the sixth pin of the first integrated circuit U1 is the second output port of the single-chip microcomputer circuit.
[0035] In this embodiment, each dimming signal includes two dimming signals, and the two signals of each dimming signal correspond one-to-one to the two output ports of the single-chip circuit.
[0036] The utility model also discloses a switch dimming LED lamp circuit implemented by the dimming control circuit. The switch dimming LED lamp circuit of the utility model is further described in detail below in conjunction with the embodiments of the drawings.
[0037] Embodiment 1: Figure 6As shown, a switch dimming LED lamp circuit includes a dimming control circuit and a light-emitting main circuit, the light-emitting main circuit includes a full-bridge rectifier circuit, a constant current conversion circuit and an LED light-emitting circuit, the LED light-emitting circuit includes n LED light-emitting modules, n is an integer greater than or equal to 2, and the color temperatures of the n LED light-emitting modules are all different. The full-bridge rectifier circuit is used to convert the mains voltage into a corresponding DC voltage and output it to the dimming control circuit and the constant current conversion circuit respectively, the dimming control circuit is used to output a dimming signal to the constant current conversion circuit, and the constant current conversion circuit is used to convert the DC voltage connected to it into a corresponding current according to the dimming signal output thereto to set the brightness and color temperature of the n LED light-emitting modules, so that the LED light-emitting circuit can be adjusted according to the dimming signal output thereto. The light is emitted according to the set brightness and color temperature. The dimming control circuit includes a voltage stabilizing circuit and a signal processing circuit. The voltage stabilizing circuit is used to convert the external voltage into a corresponding voltage and output it to the signal processing circuit. The signal processing circuit is provided with a time threshold, several dimming signals and several dimming signal output sequences. When the control switch is dimming, the signal processing circuit can output the dimming signal according to the several dimming signal output sequences therein. It is characterized in that the external voltage connected to the voltage stabilizing circuit is the DC voltage output by the full-bridge rectifier circuit. The signal processing circuit is also provided with a voltage threshold. The signal processing circuit is used to determine whether to perform the dimming operation according to the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. The signal processing circuit is a single-chip microcomputer circuit.
[0038] In this embodiment, the dimming control circuit has a positive electrode, a negative electrode, a first output port and a second output port, the voltage stabilizing circuit has an input end, an output end and a negative electrode, the single-chip microcomputer circuit has a positive electrode, a negative electrode, a first output port and a second output port, the first output port and the second output port of the single-chip microcomputer circuit are both used to output PWM signals, the input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, the first output port of the single-chip microcomputer circuit is the first output port of the dimming control circuit, the second output port of the single-chip microcomputer circuit is the second output port of the dimming control circuit, the positive electrode of the single-chip microcomputer circuit is connected to the output end of the voltage stabilizing circuit, and the negative electrode of the single-chip microcomputer circuit is connected to the voltage stabilizing circuit. The negative pole of the circuit is connected, and its connection end is the negative pole of the dimming control circuit. Each dimming signal is composed of a pair of PWM signals. The single-chip circuit has a memory function. When the single-chip circuit is powered on for the first time, its first output port and the second output port respectively output a default PWM signal. When powered on subsequently, the PWM signals output by the first output port and the second output port are respectively the PWM signals output before the previous power failure. The constant current conversion circuit has a positive pole, a negative pole, a positive output end, a first negative output end, a second negative output end, a first PWM end and a second PWM end, and the current output by the first negative output end is connected to the current output by the first PWM end. The current outputted by the second negative output terminal corresponds to the PWM signal inputted thereto, the current size outputted by the second negative output terminal corresponds to the PWM signal connected thereto, the LED light emitting circuit comprises two LED light emitting modules LED1 and LED2 with different light emitting color temperatures, each LED light emitting module has a positive electrode and a negative electrode, the positive electrodes of the two LED light emitting modules LED1 and LED2 are connected, and the connection end thereof is the common positive electrode of the LED light emitting circuit, the negative electrodes of the two LED light emitting modules LED1 and LED2 are respectively used as the first negative electrode and the second negative electrode of the LED light emitting circuit, the full-bridge rectifier circuit comprises a first input terminal, a second input terminal, a positive output terminal and a negative output terminal, The positive pole of the dimming control circuit, the positive pole of the constant current conversion circuit and the positive output end of the full-bridge rectifier circuit are connected, the common positive pole of the LED light-emitting circuit and the positive output end of the constant current conversion circuit are connected, the first negative pole of the LED light-emitting circuit and the first negative output end of the constant current conversion circuit are connected, the second negative pole of the LED light-emitting circuit and the second negative output end of the constant current conversion circuit are connected, the first output port of the dimming control circuit is connected to the first PWM end of the constant current conversion circuit, the second output port of the dimming control circuit is connected to the second PWM end of the constant current conversion circuit, and the negative pole of the dimming control circuit, the negative pole of the constant current conversion circuit and the negative output end of the full-bridge rectifier circuit are connected.
[0039] In this embodiment, the first input terminal and the second input terminal of the full-bridge rectifier circuit are connected to the live wire and the neutral wire of the mains through the control switch; when the control switch is closed and the normal light-on operation is performed, the first input terminal and the second input terminal of the full-bridge rectifier circuit are connected to the mains voltage, and the mains voltage is converted into a corresponding DC voltage and output at its positive output terminal. At this time, the output terminal of the voltage stabilizing circuit outputs a voltage corresponding to the mains voltage, and the voltage is greater than the voltage threshold, and the voltage is called a normal voltage. The first output port and the second output port of the single-chip microcomputer circuit respectively output a default PWM signal, or a PWM signal before the last normal light-off operation, and the first negative output port of the constant current conversion circuit is The positive output terminal and the negative output terminal of the voltage regulator circuit respectively output currents of corresponding magnitudes, and the two LED light-emitting modules LED1 and LED2 emit light correspondingly under the control of the currents connected thereto, so that the LED light-emitting circuit emits mixed light of corresponding brightness and color temperature; when the control switch is closed, a switch operation is performed in which the switch is first opened and then closed within a time less than the time threshold. At this time, the switch operation is a dimming operation, and the voltage at the output terminal of the voltage regulator circuit will first drop to less than the voltage threshold, and then rise to the normal voltage within the time threshold. After the single-chip microcomputer circuit detects the voltage change at the output terminal of the voltage regulator circuit, it outputs the dimming signal in the first order according to the preset dimming signal output sequence. The output port and the second output port output a dimming signal located one position behind the current dimming signal, that is, the latter pair of PWM signals. At this time, the first negative input terminal and the second negative output terminal of the constant current conversion circuit respectively output currents of corresponding magnitudes, and the two LED light-emitting modules LED1 and LED2 emit light correspondingly under the control of the current they are connected to, so that the LED light-emitting circuit emits light of corresponding brightness and color temperature; when the control switch is disconnected after closing and is not closed again within the time threshold, at this time, the switch operation is a normal light-off operation, then the voltage at the output terminal of the voltage stabilizing circuit will appear after dropping to less than the voltage threshold, and will not rise to the normal voltage within the time threshold. Phenomenon, the single-chip microcomputer circuit saves the PWM signals currently output by its first output port and the second output port after the time threshold, the positive electrode access voltage of the constant current conversion circuit is 0, the current output by the first negative input terminal and the second negative output terminal of the constant current conversion circuit are both 0, and the two LED light-emitting modules LED1 and LED2 do not emit light. At this time, the LED light-emitting circuit does not emit light. After that, if the control switch is closed again, it is recognized as a normal light-on operation, and the first output port and the second output port of the single-chip microcomputer circuit output the corresponding saved PWM signals, so that the color temperature and brightness of the light emitted by the LED light-emitting circuit are the same as before the last normal light-off operation.
[0040] Embodiment 2: This embodiment is basically the same as Embodiment 1, except that: Figure 7As shown, in this embodiment, the voltage stabilizing circuit includes a first resistor R1, a second resistor R2, a first capacitor C1 and a first diode D1, the first capacitor C1 is an electrolytic capacitor, the first diode D1 is a voltage stabilizing diode, one end of the first resistor R1 is the input end of the voltage stabilizing circuit, the other end of the first resistor R1, the cathode of the first diode D1, one end of the second resistor R2 and the positive electrode of the first capacitor C1 are connected, and the connection end thereof is the output end of the voltage stabilizing circuit, the anode of the first diode D1, the other end of the second resistor R2 and the negative electrode of the first capacitor C1 are connected, and the connection end thereof is the negative electrode of the voltage stabilizing circuit.
[0041] like Figure 7 As shown, in this embodiment, the single-chip microcomputer circuit includes a first integrated circuit U1 and a second capacitor C2. The first integrated circuit U1 is a HC18P015B0 single-chip microcomputer in a SOP8 package. The first pin of the first integrated circuit U1 is connected to one end of the second capacitor C2, and the connection end thereof is the positive electrode of the single-chip microcomputer circuit. The eighth pin of the first integrated circuit U1 is connected to the other end of the second capacitor C2, and the connection end thereof is the negative electrode of the single-chip microcomputer circuit. The fifth pin of the first integrated circuit U1 is the first output port of the single-chip microcomputer circuit, and the sixth pin of the first integrated circuit U1 is the second output port of the single-chip microcomputer circuit.
[0042] like Figure 7 As shown, in this embodiment, the constant current conversion circuit includes a second integrated circuit U2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a third capacitor C3, a second diode D2, a third diode D3 and a fourth diode D4, the model of the second integrated circuit U2 is BP5772D, the second diode D2, the third diode D3 and the fourth diode D4 are all rectifier diodes, the third capacitor C3 is an electrolytic capacitor, the positive electrode of the second diode D2 is the positive electrode of the constant current conversion circuit, the negative electrode of the second diode D2, the 8th foot of the second integrated circuit U2, one end of the fifth resistor R5 and the positive electrode of the third capacitor C3 are connected, and the connection end is the positive output end of the constant current conversion circuit, the other end of the fifth resistor R5, the negative electrode of the third capacitor C3, the positive electrode of the third diode D3 and the fourth The anode of the diode D4 is connected, the cathode of the third diode D3 is connected to the 5th pin of the second integrated circuit U2, one end of the third resistor R3 is connected to the 3rd pin of the second integrated circuit U2, one end of the fourth resistor R4 is connected to the 4th pin of the second integrated circuit U2, the 1st pin of the second integrated circuit U2 is the first PWM end of the constant current conversion circuit, the 2nd pin of the second integrated circuit U2 is the second PWM end of the constant current conversion circuit, the 7th pin of the second integrated circuit U2 is the first negative output end of the constant current conversion circuit, the 6th pin of the second integrated circuit U2 is the second negative output end of the constant current conversion circuit, the other end of the third resistor R3, the other end of the fourth resistor R4, and the anode of the fourth diode D4 are connected to the bottom electrode of the second integrated circuit U2, and their connection ends are the negative electrode of the constant current conversion circuit.
Claims
1. A dimming control circuit configured by a switch, comprising a voltage stabilizing circuit and a signal processing circuit, wherein the voltage stabilizing circuit is used to convert an external voltage into a corresponding voltage and output it to the signal processing circuit, wherein the signal processing circuit is provided with a time threshold, several dimming signals and several dimming signal output sequences, and when the control switch is used to perform a dimming operation, the signal processing circuit can output a dimming signal according to the several dimming signal output sequences therein, characterized in that The voltage output by the voltage stabilizing circuit corresponds to whether there is a mains voltage. A voltage threshold is also provided at the signal processing circuit. The signal processing circuit is used to determine whether to perform a dimming operation based on the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. The signal processing circuit is a single-chip microcomputer circuit.
2. A dimming control circuit using a switch for setting according to claim 1, characterized in that The voltage stabilizing circuit has an input end, an output end and a negative electrode. The input end of the voltage stabilizing circuit is used to connect to an external voltage, and the output end of the voltage stabilizing circuit is used to output a corresponding voltage. The single-chip microcomputer circuit has a positive electrode, a negative electrode and an output end. The input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, and the output end of the single-chip microcomputer circuit is the output end of the dimming control circuit, which is used to output a dimming signal. The positive electrode of the single-chip microcomputer circuit is connected to the output end of the voltage stabilizing circuit, and the negative electrode of the single-chip microcomputer circuit is connected to the negative electrode of the voltage stabilizing circuit, and its connection end is the negative electrode of the dimming control circuit.
3. A dimming control circuit using a switch for setting according to claim 2, characterized in that The output end of the single-chip microcomputer circuit is composed of m output ports, where m is an integer greater than or equal to 1, each dimming signal includes m dimming signals, and the m signals of each dimming signal correspond one-to-one to the m output ports of the single-chip microcomputer circuit.
4. A dimming control circuit using a switch for setting according to claim 3, characterized in that The voltage stabilizing circuit includes a first resistor, a second resistor, a first capacitor and a first diode, the first capacitor is an electrolytic capacitor, the first diode is a voltage stabilizing diode, one end of the first resistor is the input end of the voltage stabilizing circuit, the other end of the first resistor, the negative electrode of the first diode, one end of the second resistor and the positive electrode of the first capacitor are connected, and the connection end thereof is the output end of the voltage stabilizing circuit, the positive electrode of the first diode, the other end of the second resistor and the negative electrode of the first capacitor are connected, and the connection end thereof is the negative electrode of the voltage stabilizing circuit.
5. A dimming control circuit using a switch for setting according to claim 3, characterized in that The output end of the single-chip microcomputer circuit is composed of two output ports, which are respectively referred to as a first output port and a second output port. The single-chip microcomputer circuit includes a first integrated circuit and a second capacitor. The first integrated circuit is a HC18P015B0 single-chip microcomputer in a SOP8 package. The first pin of the first integrated circuit is connected to one end of the second capacitor, and its connection end is the positive electrode of the single-chip microcomputer circuit. The eighth pin of the first integrated circuit is connected to the other end of the second capacitor, and its connection end is the negative electrode of the single-chip microcomputer circuit. The fifth pin of the first integrated circuit is the first output port of the single-chip microcomputer circuit, and the sixth pin of the first integrated circuit is the second output port of the single-chip microcomputer circuit.
6. A switch dimming LED lamp circuit, comprising a dimming control circuit and a light-emitting main circuit, wherein the light-emitting main circuit comprises a full-bridge rectifier circuit, a constant current conversion circuit and an LED light-emitting circuit, wherein the LED light-emitting circuit comprises n LED light-emitting modules, wherein n is an integer greater than or equal to 2, and the color temperatures of the n LED light-emitting modules are all different, wherein the full-bridge rectifier circuit is used to convert the mains voltage into a corresponding DC voltage and output it to the dimming control circuit and the constant current conversion circuit respectively, wherein the dimming control circuit is used to output a dimming signal to the constant current conversion circuit, and wherein the constant current conversion circuit is used to output a dimming signal to the constant current conversion circuit according to the output to the constant current conversion circuit. The dimming signal converts the DC voltage connected to it into a corresponding current to set the brightness and color temperature of n LED light-emitting modules, so that the LED light-emitting circuit emits light according to the set brightness and color temperature. The dimming control circuit includes a voltage stabilizing circuit and a signal processing circuit. The voltage stabilizing circuit is used to convert the external voltage into a corresponding voltage and output it to the signal processing circuit. The signal processing circuit is provided with a time threshold, several dimming signals and several dimming signal output sequences. When the control switch performs a dimming operation, the signal processing circuit can output a dimming signal according to the output sequence of several dimming signals therein, characterized in that The external voltage connected to the voltage stabilizing circuit is the DC voltage output by the full-bridge rectifier circuit. A voltage threshold is also provided at the signal processing circuit. The signal processing circuit is used to determine whether to perform a dimming operation based on the relationship between the voltage output by the voltage stabilizing circuit and the voltage threshold. The signal processing circuit is a single-chip microcomputer circuit.
7. A switch dimming LED lamp circuit according to claim 6, characterized in that The dimming control circuit has a positive electrode, a negative electrode, a first output port and a second output port, the voltage stabilizing circuit has an input end, an output end and a negative electrode, the single-chip circuit has a positive electrode, a negative electrode, a first output port and a second output port, the first output port and the second output port of the single-chip circuit are both used to output PWM signals, the input end of the voltage stabilizing circuit is the positive electrode of the dimming control circuit, the first output port of the single-chip circuit is the first output port of the dimming control circuit, the second output port of the single-chip circuit is the second output port of the dimming control circuit, the positive electrode of the single-chip circuit is connected to the output end of the voltage stabilizing circuit, The negative electrode of the single-chip microcomputer circuit is connected to the negative electrode of the voltage stabilizing circuit, and the connection end is the negative electrode of the dimming control circuit. Each dimming signal is composed of a pair of PWM signals. The single-chip microcomputer circuit has a memory function. When the single-chip microcomputer circuit is powered on for the first time, its first output port and the second output port respectively output a default PWM signal. When powered on subsequently, the PWM signals output by the first output port and the second output port are respectively the PWM signals output before the previous power failure. The constant current conversion circuit has a positive electrode, a negative electrode, a positive output end, a first negative output end, a second negative output end, a first PWM end and a second PWM end, and the current output by the first negative output end is equal to the current output by the first negative output end. The first PWM terminal receives a PWM signal, and the current output by the second negative output terminal corresponds to the PWM signal received by the second PWM terminal. The LED light-emitting circuit includes two LED light-emitting modules with different light color temperatures, each LED light-emitting module has a positive electrode and a negative electrode, the positive electrodes of the two LED light-emitting modules are connected, and the connection end is the common positive electrode of the LED light-emitting circuit, and the negative electrodes of the two LED light-emitting modules are respectively used as the first negative electrode and the second negative electrode of the LED light-emitting circuit. The full-bridge rectifier circuit has a first input terminal, a second input terminal, a positive output terminal and a negative output terminal, and the positive electrode of the dimming control circuit, the positive electrode of the constant current conversion circuit and the The positive output end of the full-bridge rectifier circuit is connected, the common positive pole of the LED light-emitting circuit is connected to the positive output end of the constant current conversion circuit, the first negative pole of the LED light-emitting circuit is connected to the first negative output end of the constant current conversion circuit, the second negative pole of the LED light-emitting circuit is connected to the second negative output end of the constant current conversion circuit, the first output port of the dimming control circuit is connected to the first PWM end of the constant current conversion circuit, the second output port of the dimming control circuit is connected to the second PWM end of the constant current conversion circuit, and the negative pole of the dimming control circuit, the negative pole of the constant current conversion circuit and the negative output end of the full-bridge rectifier circuit are connected.
8. The switch dimming LED lamp circuit according to claim 7, characterized in that The voltage stabilizing circuit includes a first resistor, a second resistor, a first capacitor and a first diode, the first capacitor is an electrolytic capacitor, the first diode is a voltage stabilizing diode, one end of the first resistor is the input end of the voltage stabilizing circuit, the other end of the first resistor, the negative electrode of the first diode, one end of the second resistor and the positive electrode of the first capacitor are connected, and the connection end thereof is the output end of the voltage stabilizing circuit, the positive electrode of the first diode, the other end of the second resistor and the negative electrode of the first capacitor are connected, and the connection end thereof is the negative electrode of the voltage stabilizing circuit.
9. The switch dimming LED lamp circuit according to claim 7, characterized in that The single-chip microcomputer circuit includes a first integrated circuit and a second capacitor. The first integrated circuit is a HC18P015B0 single-chip microcomputer in a SOP8 package. The first pin of the first integrated circuit is connected to one end of the second capacitor, and its connection end is the positive electrode of the single-chip microcomputer circuit. The eighth pin of the first integrated circuit is connected to the other end of the second capacitor, and its connection end is the negative electrode of the single-chip microcomputer circuit. The fifth pin of the first integrated circuit is the first output port of the single-chip microcomputer circuit, and the sixth pin of the first integrated circuit is the second output port of the single-chip microcomputer circuit.
10. The switch dimming LED lamp circuit according to claim 7, characterized in that The constant current conversion circuit includes a second integrated circuit, a third resistor, a fourth resistor, a fifth resistor, a third capacitor, a second diode, a third diode and a fourth diode. The model of the second integrated circuit is BP5772D. The second diode, the third diode and the fourth diode are all rectifier diodes. The third capacitor is an electrolytic capacitor. The positive electrode of the second diode is the positive electrode of the constant current conversion circuit. The negative electrode of the second diode, the 8th pin of the second integrated circuit, one end of the fifth resistor and the positive electrode of the third capacitor are connected, and the connection end is the positive output end of the constant current conversion circuit. The other end of the fifth resistor, the negative electrode of the third capacitor, the positive electrode of the third diode and the positive electrode of the fourth diode are connected. The cathode of the three diodes is connected to the 5th pin of the second integrated circuit, one end of the third resistor is connected to the 3rd pin of the second integrated circuit, one end of the fourth resistor is connected to the 4th pin of the second integrated circuit, the 1st pin of the second integrated circuit is the first PWM end of the constant current conversion circuit, the 2nd pin of the second integrated circuit is the second PWM end of the constant current conversion circuit, the 7th pin of the second integrated circuit is the first negative output end of the constant current conversion circuit, the 6th pin of the second integrated circuit is the second negative output end of the constant current conversion circuit, the other end of the third resistor, the other end of the fourth resistor, and the anode of the fourth diode are connected to the bottom electrode of the second integrated circuit, and their connection ends are the negative electrode of the constant current conversion circuit.
