Color temperature adjusting circuit for setting color temperature of LED lamp through toggle switch
By using technical means such as resistor network circuits and R-P conversion circuits in the LED lamp color temperature adjustment circuit, the current time-sharing connection of the LED light emitting circuit is controlled, which solves the problem of mixed light color temperature deviation caused by operating voltage deviation, and improves the accuracy of color temperature setting.
Patent Information
- Application Number
- CN202421580848.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2034-07-05
AI Technical Summary
In the existing color temperature adjustment circuit that sets the color temperature of the LED lamp by turning the switch, the color temperature of the mixed light is deviated due to the operating voltage deviation of the high color temperature LED circuit and the low color temperature LED circuit, which affects the accuracy of the color temperature setting.
Using resistor network circuit, R-P conversion circuit, first switching circuit and second switching circuit, the PWM signal generated by the R-P conversion circuit is controlled to turn on the switching circuit in time, so that the high color temperature LED circuit and the low color temperature LED circuit are connected to the current in time, ensuring that the proportion of the current is independent of the working voltage.
The mixed light color temperature deviation caused by the operating voltage deviation of the LED light emitting circuit is reduced, and the accuracy of the mixed light color temperature setting of the adjustable color temperature LED lamp circuit is improved.
Smart Images

Figure CN223024610U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a color temperature adjustment circuit, in particular to a color temperature adjustment circuit for setting the color temperature of an LED lamp through a toggle switch. Background Technique
[0002] An adjustable color temperature LED lamp circuit generally includes two LED lighting circuits with the same working voltage. Among the two LED lighting circuits, one is a high color temperature LED circuit that can emit high color temperature light, and the other is a low color temperature LED circuit that can emit low color temperature light. Whether it is the high color temperature LED circuit or the low color temperature LED circuit, its luminous intensity is proportional to the magnitude of the current it accesses. Thus, in an adjustable color temperature LED lamp circuit, the color temperature of the mixed light generated by the simultaneous lighting of the two LED lighting circuits corresponds to the ratio of the luminous intensities of the two LED lighting circuits.
[0003] An adjustable color temperature LED lamp circuit usually uses a color temperature adjustment circuit to generate a DC current for driving the two LED lighting circuits to emit light for color temperature setting. A color temperature adjustment circuit for setting the color temperature of an LED lamp through a toggle switch is a relatively widely used color temperature adjustment circuit at present.
[0004] The existing color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch has a positive input terminal and a negative input terminal. A direct current is connected between the positive input terminal and the negative input terminal. The color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch further includes a toggle switch, which is used to set whether to connect the high-color-temperature LED circuit and the low-color-temperature LED circuit to the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the switch. When the toggle switch connects the high-color-temperature LED circuit to the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and does not connect the low-color-temperature LED circuit to the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch all flows through the high-color-temperature LED circuit, and the high-color-temperature LED circuit emits light, while the low-color-temperature LED circuit does not emit light because no current passes through it. At this time, the color temperature of the light emitted by the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch is the color temperature of the light emitted by the high-color-temperature LED circuit; when the toggle switch connects the low-color-temperature LED circuit to the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and does not connect the high-color-temperature LED circuit to the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch all flows through the low-color-temperature LED circuit, and the low-color-temperature LED circuit emits light, while the high-color-temperature LED circuit does not emit light because no current passes through it. At this time, the color temperature of the light emitted by the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch is the color temperature of the light emitted by the low-color-temperature LED circuit; when the toggle switch connects both the high-color-temperature LED circuit and the low-color-temperature LED circuit to the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, since the operating voltage of the high-color-temperature LED circuit is the same as that of the low-color-temperature LED circuit, the magnitude of the current flowing through the high-color-temperature LED circuit is equal to the magnitude of the current flowing through the low-color-temperature LED circuit, and both the high-color-temperature LED circuit and the low-color-temperature LED circuit emit light. At this time, the color temperature of the light emitted by the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch is the color temperature of the mixed light emitted by the two LED circuits.
[0005] In the existing color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch, since the toggle switch only sets the state of whether the two LED lighting circuits are connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, when precisely setting the color temperature of the mixed light generated when both LED lighting circuits emit light, the operating voltages of the high-color-temperature LED circuit and the low-color-temperature LED circuit need to be the same to make the currents flowing through the high-color-temperature LED circuit and the low-color-temperature LED circuit equal. However, in actual use, due to process deviations, there are inevitably deviations in the operating voltages of the high-color-temperature LED circuit and the low-color-temperature LED circuit. When there are deviations in the operating voltages of the high-color-temperature LED circuit and the low-color-temperature LED circuit, the LED lighting circuit with a lower operating voltage will occupy a larger proportion of the current, thereby causing deviations in the color temperature of the mixed light, and the greater the deviation in the operating voltages of the high-color-temperature LED circuit and the low-color-temperature LED circuit, the greater the deviation in the color temperature of the mixed light. Summary of the Invention
[0006] The technical problem to be solved by the present utility model is to provide a color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch, which can reduce the deviation of the color temperature of the mixed light caused by the deviation of the operating voltages of the two LED lighting circuits.
[0007] The technical solution adopted by the present utility model to solve the above technical problem is: a color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch, having a positive input terminal and a negative input terminal for accessing a direct current, and including a toggle switch. The toggle switch has n setting states, where n is an integer greater than or equal to 3. It also includes a resistor network circuit, an R-P conversion circuit, a first switch circuit, and a second switch circuit. The resistor network circuit has n resistance states, and the resistance values of its n resistance states are all different. The n setting states of the toggle switch correspond one-to-one with the n resistance states of the resistor network circuit. The toggle switch can set the resistor network circuit to any one of its resistance states. The R-P conversion circuit is used to generate two PWM signals that are complementary signals according to the resistance state set by the resistor network circuit. The first PWM signal is used to control the conduction or disconnection of the first switch circuit, and the second PWM signal is used to control the conduction or disconnection of the second switch circuit. The first switch circuit is used to control whether the high-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit is connected to the direct current accessed between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch. The second switch circuit is used to control whether the low-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit is connected to the direct current accessed between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch.
[0008] The color temperature adjustment circuit for setting the color temperature of the LED lamp by means of a toggle switch further has a first control end and a second control end. The toggle switch is a multi-position setting switch, having a common end and n connection ends. Its n setting states correspond to its n connection ends. When a certain connection end is connected to the common end, at this time, the toggle switch is in the setting state corresponding to this connection end, and there is a disconnection between its other connection ends and the common end; the resistance network circuit has a common end and n connection ends, and the resistance value between each of its connection ends and the common end is different. Its n connection ends correspond one by one to its n resistance states. When the resistance network circuit is set in a certain resistance state, the resistance value between a connection end corresponding to this resistance state and the common end is connected to the color temperature adjustment circuit for setting the color temperature of the LED lamp by means of a toggle switch; the R-P conversion circuit has a positive pole, a negative pole, an input end, a first output end and a second output end. When the resistance value between the input end and the negative pole of the R-P conversion circuit is different, a first path of PWM signal with a corresponding duty cycle is generated between its first output end and the negative pole, and a second path of PWM signal with a corresponding duty cycle is generated between its second output end and the negative pole; the first switch circuit has a control end, a first end and a second end. When a high level is connected between its control end and the second end, it is turned on between its first end and the second end. When a low level is connected between its control end and the second end, it is cut off between its first end and the second end; the second switch circuit has a control end, a first end and a second end. When a high level is connected between its control end and the second end, it is turned on between its first end and the second end. When a low level is connected between its control end and the second end, it is cut off between its first end and the second end;The n connection terminals of the described resistor network circuit are connected to the n connection terminals of the described toggle switch one by one. The common terminal of the resistor network circuit is connected to the input terminal of the R-P conversion circuit. The first output terminal of the R-P conversion circuit is connected to the control terminal of the first switch circuit. The second output terminal of the R-P conversion circuit is connected to the control terminal of the second switch circuit. The positive pole of the R-P conversion circuit is the positive input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch, and is used to connect to the positive pole of the high-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit and the positive pole of the low-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit. The common terminal of the toggle switch, the negative pole of the R-P conversion circuit, the second terminal of the first switch circuit, and the second terminal of the second switch circuit are connected, and its connection terminal is the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch. The first terminal of the first switch circuit is the first control terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch, and is used to connect to the negative pole of the high-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit. The first terminal of the second switch circuit is the second control terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch, and is used to connect to the negative pole of the low-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit.;
[0009] The described multi-stage setting switch is composed of a four-bit coding switch. Each coding switch has two connection terminals and can independently set its two states of conduction and disconnection. Its two connection terminals are respectively called its first connection terminal and second connection terminal. The four-bit coding switches are respectively called the first switch, the second switch, the third switch, and the fourth switch. The first connection terminal of the first switch is the 1st connection terminal of the toggle switch. The first connection terminal of the second switch is the 2nd connection terminal of the toggle switch. The first connection terminal of the third switch is the 3rd connection terminal of the toggle switch. The first connection terminal of the fourth switch is the 4th connection terminal of the toggle switch. The second connection terminals of the first switch, the second switch, the third switch, and the fourth switch are connected, and its connection terminal is the common terminal of the toggle switch.
[0010] The number of connection terminals of the described resistor network circuit is 4, including a first resistor, a second resistor, a third resistor, and a fourth resistor. The resistance values of the first resistor, the second resistor, the third resistor, and the fourth resistor are all different. One end of the first resistor is the first connection terminal of the resistor network circuit, one end of the second resistor is the second connection terminal of the resistor network circuit, one end of the third resistor is the third connection terminal of the resistor network circuit, and one end of the fourth resistor is the fourth connection terminal of the resistor network circuit. The other ends of the first resistor, the second resistor, the third resistor, and the fourth resistor are connected, and the connection terminal is the common terminal of the resistor network circuit. The k-th connection terminal of the resistor network circuit is connected to the k-th connection terminal of the toggle switch, where k = 1, 2, 3, 4.
[0011] The described R-P conversion circuit includes a first integrated circuit of model BP5001D, a first capacitor, a second capacitor, a fifth resistor, a sixth resistor, a seventh resistor, and a first MOS transistor. The first pin of the first integrated circuit is the positive pole of the R-P conversion circuit, the fourth pin of the first integrated circuit is the input terminal of the R-P conversion circuit, the seventh pin of the first integrated circuit is connected to one end of the fifth resistor, the other end of the fifth resistor, one end of the sixth resistor, and the eighth pin of the first integrated circuit are connected, one end of the first capacitor is connected to the sixth pin of the first integrated circuit, one end of the second capacitor, one end of the seventh resistor, and the third pin of the first integrated circuit are connected, the other end of the seventh resistor is connected to the drain of the first MOS transistor, and the connection terminal is the second output terminal of the R-P conversion circuit. The gate of the first MOS transistor is connected to the fifth pin of the first integrated circuit, and the connection terminal is the first output terminal of the R-P conversion circuit. The source of the first MOS transistor, the other end of the first capacitor, the other end of the second capacitor, the other end of the sixth resistor, and the second pin of the first integrated circuit are connected, and the connection terminal is the negative pole of the R-P conversion circuit.
[0012] The described first switch circuit is implemented using a second MOS transistor. The gate of the second MOS transistor is the control terminal of the first switch circuit, the drain of the second MOS transistor is the first end of the first switch circuit, and the source of the second MOS transistor is the second end of the first switch circuit. The second switch circuit is implemented using a third MOS transistor. The gate of the third MOS transistor is the control terminal of the second switch circuit, the drain of the third MOS transistor is the first end of the second switch circuit, and the source of the third MOS transistor is the second end of the second switch circuit.
[0013] Compared with the prior art, the utility model has the advantages that by setting a resistor network circuit, an RP conversion circuit, a first switch circuit and a second switch circuit, the resistor network circuit has n resistance states, the resistance values of the n resistance states are all different, the n setting states of the toggle switch correspond one-to-one to the n resistance states of the resistor network circuit, the toggle switch can set the resistor network circuit to any one of its resistance states, the RP conversion circuit is used to generate two PWM signals that are complementary signals to each other according to the resistance state set by the resistor network circuit, wherein the first PWM signal is used to control the conduction or disconnection of the first switch circuit, and the second PWM signal is used to control the conduction or disconnection of the second switch circuit, the first switch circuit is used to control whether the high color temperature LED circuit of the adjustable color temperature LED lamp circuit is connected to the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and the second switch circuit is used to control whether the low color temperature LED circuit of the adjustable color temperature LED lamp circuit is The DC current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by a toggle switch is connected. Therefore, the two PWM signals generated by the RP conversion circuit control the first switch circuit and the second switch circuit to be turned on in time-sharing manner, so that the high color temperature LED circuit and the low color temperature LED circuit are connected to the current in time-sharing manner. The magnitude of the average current generated by the high color temperature LED circuit corresponds to the duty cycle of the PWM signal connected to the first switch circuit, and the magnitude of the average current generated by the low color temperature LED circuit corresponds to the duty cycle of the PWM signal connected to the second switch circuit. Therefore, in the color temperature adjustment circuit for setting the color temperature of the LED lamp by a toggle switch of the utility model, the ratio of the current magnitudes driving the high color temperature LED circuit and the low color temperature LED circuit is independent of the operating voltages of the high color temperature LED circuit and the low color temperature LED circuit, which can reduce the deviation of the color temperature of the mixed light caused by the operating voltage deviation of the two LED light-emitting circuits, and improve the color temperature setting accuracy of the mixed light of the LED lamp circuit with adjustable color temperature. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a structural diagram of a color temperature adjustment circuit for setting the color temperature of an LED lamp by toggling a switch according to the present invention;
[0015] Figure 2 The utility model is a circuit diagram of a color temperature adjustment circuit for setting the color temperature of an LED lamp by toggling a switch. DETAILED DESCRIPTION
[0016] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0017] Embodiment 1: Figure 1As shown, a color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch has a positive input terminal and a negative input terminal for connecting a direct current, and includes a toggle switch, the toggle switch has n setting states, n is an integer greater than or equal to 3, the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch also includes a resistor network circuit, an RP conversion circuit, a first switch circuit and a second switch circuit, the resistor network circuit has n resistance states, and the resistance values of the n resistance states are all different, the n setting states of the toggle switch correspond one-to-one to the n resistance states of the resistor network circuit, the toggle switch can set the resistor network circuit to any one of its resistance states, and the RP conversion circuit is used to adjust the color temperature of the LED lamp according to the resistance network circuit. The resistance state of the network circuit setting generates two PWM signals which are complementary signals to each other, wherein the first PWM signal is used to control the conduction or disconnection of the first switch circuit, and the second PWM signal is used to control the conduction or disconnection of the second switch circuit. The first switch circuit is used to control whether the high color temperature LED circuit of the LED lamp circuit with adjustable color temperature is connected to the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch, and the second switch circuit is used to control whether the low color temperature LED circuit of the LED lamp circuit with adjustable color temperature is connected to the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch.
[0018] In this embodiment, a resistor network circuit, an RP conversion circuit, a first switch circuit and a second switch circuit are set, and two PWM signals generated by the RP conversion circuit control the first switch circuit and the second switch circuit to be turned on in time-sharing manner, so that the high color temperature LED circuit and the low color temperature LED circuit are connected to the current in time-sharing manner, and the magnitude of the average current generated by the high color temperature LED circuit corresponds to the duty cycle of the PWM signal connected to the first switch circuit, and the magnitude of the average current generated by the low color temperature LED circuit corresponds to the duty cycle of the PWM signal connected to the second switch circuit. Therefore, in the color temperature adjustment circuit of the utility model for setting the color temperature of the LED lamp by toggle switch, the ratio of the current magnitudes driving the high color temperature LED circuit and the low color temperature LED circuit is independent of the operating voltages of the high color temperature LED circuit and the low color temperature LED circuit, which can reduce the deviation of the color temperature of the mixed light caused by the deviation of the operating voltages of the two LED light-emitting circuits, and improve the accuracy of setting the color temperature of the mixed light of the LED lamp circuit with adjustable color temperature.
[0019] Embodiment 2: This embodiment is basically the same as Embodiment 1, with the difference that: in this embodiment, the color temperature adjustment circuit for setting the color temperature of the LED lamp by a toggle switch further has a first control terminal and a second control terminal. The toggle switch is a multi-position setting switch, having a common terminal and n connection terminals. Its n setting states correspond to its n connection terminals. When a certain connection terminal is connected to the common terminal, at this time, the toggle switch is in the setting state corresponding to this connection terminal, and all other connection terminals are disconnected from its common terminal; the resistor network circuit has a common terminal and n connection terminals, and the resistance value between each connection terminal and its common terminal is different. Its n connection terminals correspond one-to-one to its n resistance states. When the resistor network circuit is set in a certain resistance state, the resistance value between the connection terminal corresponding to this resistance state and the common terminal is connected to the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch; the R-P conversion circuit has a positive electrode, a negative electrode, an input terminal, a first output terminal and a second output terminal. When the resistance value between the input terminal and the negative electrode of the R-P conversion circuit is different, a first PWM signal with a corresponding duty cycle is generated between its first output terminal and the negative electrode, and a second PWM signal with a corresponding duty cycle is generated between its second output terminal and the negative electrode; the first switch circuit has a control terminal, a first terminal and a second terminal. When a high level is applied between its control terminal and the second terminal, it conducts between its first terminal and the second terminal. When a low level is applied between its control terminal and the second terminal, it is cut off between its first terminal and the second terminal; the second switch circuit has a control terminal, a first terminal and a second terminal. When a high level is applied between its control terminal and the second terminal, it conducts between its first terminal and the second terminal. When a low level is applied between its control terminal and the second terminal, it is cut off between its first terminal and the second terminal; the n connection terminals of the resistor network circuit are connected one-to-one with the n connection terminals of the toggle switch. The common terminal of the resistor network circuit is connected to the input terminal of the R-P conversion circuit. The first output terminal of the R-P conversion circuit is connected to the control terminal of the first switch circuit. The second output terminal of the R-P conversion circuit is connected to the control terminal of the second switch circuit. The positive electrode of the R-P conversion circuit is the positive input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and is used to be connected to the positive electrode of the high-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit and the positive electrode of the low-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit. The common terminal of the toggle switch, the negative electrode of the R-P conversion circuit, the second terminal of the first switch circuit and the second terminal of the second switch circuit are connected, and its connection terminal is the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch. The first terminal of the first switch circuit is the first control terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and is used to be connected to the negative electrode of the high-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit. The first terminal of the second switch circuit is the second control terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and is used to be connected to the negative electrode of the low-color-temperature LED circuit of the adjustable-color-temperature LED lamp circuit.
[0020] In this embodiment, when a direct current with a constant magnitude is applied between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp by means of a toggle switch, and the toggle switch is set to one of the setting states, the resistance network circuit is in the corresponding resistance state at this time. A resistance value corresponding to this resistance state is connected between the input terminal and the negative terminal of the R-P conversion circuit, and PWM signals with corresponding duty cycles are respectively output at its first output terminal and second output terminal according to this resistance value, controlling the first terminal and the second terminal of the first switching circuit and the first terminal and the second terminal of the second switching circuit to be turned on in a time-sharing manner, so that the high-color-temperature LED circuit and the low-color-temperature LED circuit are connected to the current in a time-sharing manner. The magnitude of the average current generated by the high-color-temperature LED circuit corresponds to the duty cycle of the PWM signal connected to the first switching circuit, and the magnitude of the average current generated by the low-color-temperature LED circuit corresponds to the duty cycle of the PWM signal connected to the second switching circuit. Therefore, in the color temperature adjustment circuit for setting the color temperature of the LED lamp by means of a toggle switch of the present invention, the ratio of the magnitudes of the currents driving the high-color-temperature LED circuit and the low-color-temperature LED circuit is independent of the operating voltages of the high-color-temperature LED circuit and the low-color-temperature LED circuit, which can reduce the deviation of the color temperature of the mixed light caused by the deviation of the operating voltages of the two LED lighting circuits and improve the accuracy of the color temperature setting of the mixed light of the adjustable-color-temperature LED lamp circuit.
[0021] Embodiment 3: This embodiment is basically the same as Embodiment 2, except that: in this embodiment, as Figure 2 shown, the multi-stage setting switch is composed of a four-bit coding switch. Each coding switch has two connection terminals and can independently set its two states of conduction and disconnection. Its two connection terminals are respectively called its first connection terminal and second connection terminal. The four-bit coding switch is respectively called the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4. The first connection terminal of the first switch S1 is the first connection terminal of the toggle switch, the first connection terminal of the second switch S2 is the second connection terminal of the toggle switch, the first connection terminal of the third switch S3 is the third connection terminal of the toggle switch, the first connection terminal of the fourth switch S4 is the fourth connection terminal of the toggle switch, and the second connection terminals of the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 are connected. Its connection terminal is the common terminal of the toggle switch.
[0022] In this embodiment, a four - digit coding switch is used to implement a toggle switch. The toggle switch can have a smaller external dimension and can independently set 5 setting states. The first setting state is that the first switch S1 is turned on, and the second switch S2, the third switch S3, and the fourth switch S4 are all turned off; the second setting state is that the second switch S2 is turned on, and the first switch S1, the third switch S3, and the fourth switch S4 are all turned off; the third setting state is that the third switch S3 is turned on, and the first switch S1, the second switch S2, and the fourth switch S4 are all turned off; the fourth setting state is that the fourth switch S4 is turned on, and the first switch S1, the second switch S2, and the third switch S3 are all turned off; the fifth setting state is that the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 are all turned off.
[0023] Embodiment 4: This embodiment is basically the same as Embodiment 3, except that: in this embodiment, as Figure 2 shown, the number of connection terminals of the resistor network circuit is 4, including a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. The resistance values of the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 are all different. One end of the first resistor R1 is the first connection terminal of the resistor network circuit, one end of the second resistor R2 is the second connection terminal of the resistor network circuit, one end of the third resistor R3 is the third connection terminal of the resistor network circuit, one end of the fourth resistor R4 is the fourth connection terminal of the resistor network circuit. The other ends of the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 are connected, and this connection terminal is the common terminal of the resistor network circuit. The k - th connection terminal of the resistor network circuit is connected to the k - th connection terminal of the toggle switch, where k = 1, 2, 3, 4.
[0024] In this embodiment, the resistor network circuit has 5 resistance states: the resistance value is equal to the resistance value of the first resistor R1, the resistance value is equal to the resistance value of the second resistor R2, the resistance value is equal to the resistance value of the third resistor R3, the resistance value is equal to the resistance value of the fourth resistor R4, and an infinite resistance value.
[0025] Embodiment 5: This embodiment is basically the same as Embodiment 3, except that: in this embodiment, as Figure 2As shown in the figure, the R-P conversion circuit includes a first integrated circuit U1 of model BP5001D, a first capacitor C1, a second capacitor C2, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, and a first MOS transistor Q1. The first pin of the first integrated circuit U1 is the positive electrode of the R-P conversion circuit. The fourth pin of the first integrated circuit U1 is the input terminal of the R-P conversion circuit. The seventh pin of the first integrated circuit U1 is connected to one end of the fifth resistor R5. The other end of the fifth resistor R5, one end of the sixth resistor R6, and the eighth pin of the first integrated circuit U1 are connected. One end of the first capacitor C1 is connected to the sixth pin of the first integrated circuit U1. One end of the second capacitor C2, one end of the seventh resistor R7, and the third pin of the first integrated circuit U1 are connected. The other end of the seventh resistor R7 is connected to the drain of the first MOS transistor Q1, and the connection end is the second output terminal of the R-P conversion circuit. The gate of the first MOS transistor Q1 is connected to the fifth pin of the first integrated circuit U1, and the connection end is the first output terminal of the R-P conversion circuit. The source of the first MOS transistor Q1, the other end of the first capacitor C1, the other end of the second capacitor C2, the other end of the sixth resistor R6, and the second pin of the first integrated circuit U1 are connected, and the connection end is the negative electrode of the R-P conversion circuit.
[0026] Embodiment 6: This embodiment is basically the same as Embodiment 3, except that: in this embodiment, as Figure 2 shown, the first switch circuit is implemented by a second MOS transistor Q2. The gate of the second MOS transistor Q2 is the control terminal of the first switch circuit. The drain of the second MOS transistor Q2 is the first terminal of the first switch circuit. The source of the second MOS transistor Q2 is the second terminal of the first switch circuit. The second switch circuit is implemented by a third MOS transistor Q3. The gate of the third MOS transistor Q3 is the control terminal of the second switch circuit. The drain of the third MOS transistor Q3 is the first terminal of the second switch circuit. The source of the third MOS transistor Q3 is the second terminal of the second switch circuit.
Claims
1. A color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch, having a positive input terminal and a negative input terminal for receiving a direct current, and comprising a toggle switch, wherein the toggle switch has n setting states, where n is an integer greater than or equal to 3, and wherein The invention also includes a resistor network circuit, an RP conversion circuit, a first switch circuit and a second switch circuit. The resistor network circuit has n resistance states, and the resistance values of the n resistance states are all different. The n setting states of the slide switch correspond to the n resistance states of the resistor network circuit one by one. The slide switch can set the resistor network circuit to any resistance state. The RP conversion circuit is used to generate two PWM signals that are complementary signals according to the resistance state set by the resistor network circuit, wherein the first PWM signal is used to control the conduction or disconnection of the first switch circuit, and the second PWM signal is used to control the conduction or disconnection of the second switch circuit. The first switch circuit is used to control whether the high color temperature LED circuit of the LED lamp circuit with adjustable color temperature is connected to the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the slide switch, and the second switch circuit is used to control whether the low color temperature LED circuit of the LED lamp circuit with adjustable color temperature is connected to the direct current connected between the positive input terminal and the negative input terminal of the color temperature adjustment circuit for setting the color temperature of the LED lamp through the slide switch.
2. A color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch according to claim 1, characterized in that The invention also has a first control terminal and a second control terminal. The toggle switch is a multi-speed setting switch, having a common terminal and n connection terminals, and its n setting states correspond to its n connection terminals. When a certain connection terminal is connected to the common terminal, the toggle switch is in the setting state corresponding to the connection terminal, and the other connection terminals are disconnected from the common terminal. The resistor network circuit has a common terminal and n connection terminals, and the resistance value between each connection terminal and the common terminal is different. The n connection terminals correspond to the n resistance states. When the resistor network circuit is set to a certain resistance state, the resistance value between a connection terminal corresponding to the resistance state and the common terminal is connected to the color temperature adjustment circuit for setting the color temperature of the LED lamp through the toggle switch. The RP conversion circuit has a positive pole, a negative pole, and a negative pole. a first output terminal and a second output terminal. When the resistance values between the input terminal and the negative terminal of the RP conversion circuit are different, a first PWM signal with a corresponding duty ratio is generated between the first output terminal and the negative terminal, and a second PWM signal with a corresponding duty ratio is generated between the second output terminal and the negative terminal; the first switch circuit has a control terminal, a first terminal and a second terminal. When a high level is connected between the control terminal and the second terminal, the first terminal and the second terminal are connected. When a low level is connected between the control terminal and the second terminal, the first terminal and the second terminal are disconnected; the second switch circuit has a control terminal, a first terminal and a second terminal. When a high level is connected between the control terminal and the second terminal, the first terminal and the second terminal are connected. When a low level is connected between the control terminal and the second terminal, the first terminal and the second terminal are disconnected;The n connection ends of the resistor network circuit and the n connection ends of the toggle switch are connected one by one, the common end of the resistor network circuit is connected to the input end of the RP conversion circuit, the first output end of the RP conversion circuit is connected to the control end of the first switch circuit, the second output end of the RP conversion circuit is connected to the control end of the second switch circuit, the positive pole of the RP conversion circuit is the positive input end of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, and is used to be connected to the positive pole of the high color temperature LED circuit of the LED lamp circuit with adjustable color temperature and the positive pole of the low color temperature LED circuit of the LED lamp circuit with adjustable color temperature, and the toggle switch is connected to the positive pole of the high color temperature LED circuit of the LED lamp circuit with adjustable color temperature. The common end of the switch, the negative electrode of the RP conversion circuit, the second end of the first switch circuit and the second end of the second switch circuit are connected, and the connection end is the negative input end of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch. The first end of the first switch circuit is the first control end of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, which is used to connect with the negative electrode of the high color temperature LED circuit of the LED lamp circuit with adjustable color temperature. The first end of the second switch circuit is the second control end of the color temperature adjustment circuit for setting the color temperature of the LED lamp by the toggle switch, which is used to connect with the negative electrode of the low color temperature LED circuit of the LED lamp circuit with adjustable color temperature. ; 3. A color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch according to claim 2, characterized in that The multi-speed setting switch is composed of a four-bit coding switch, each bit of the coding switch has two connection ends, and can independently set its on and off states. The two connection ends are respectively referred to as the first connection end and the second connection end, and the four-bit coding switches are respectively referred to as the first switch, the second switch, the third switch and the fourth switch. The first connection end of the first switch is the first connection end of the toggle switch, the first connection end of the second switch is the second connection end of the toggle switch, the first connection end of the third switch is the third connection end of the toggle switch, the first connection end of the fourth switch is the fourth connection end of the toggle switch, the second connection end of the first switch, the second connection end of the second switch, the second connection end of the third switch and the second connection end of the fourth switch are connected, and their connection ends are the common ends of the toggle switches.
4. A color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch according to claim 3, characterized in that The number of connection ends of the resistor network circuit is 4, including a first resistor, a second resistor, a third resistor and a fourth resistor. The resistance values of the first resistor, the second resistor, the third resistor and the fourth resistor are all different. One end of the first resistor is the first connection end of the resistor network circuit, one end of the second resistor is the second connection end of the resistor network circuit, one end of the third resistor is the third connection end of the resistor network circuit, and one end of the fourth resistor is the fourth connection end of the resistor network circuit. The other end of the first resistor, the other end of the second resistor, the other end of the third resistor and the other end of the fourth resistor are connected, and their connection ends are the common ends of the resistor network circuit. The kth connection end of the resistor network circuit is connected to the kth connection end of the toggle switch, k=1, 2, 3, 4.
5. A color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch according to claim 3, characterized in that The RP conversion circuit includes a first integrated circuit of model BP5001D, a first capacitor, a second capacitor, a fifth resistor, a sixth resistor, a seventh resistor and a first MOS tube. The first pin of the first integrated circuit is the positive electrode of the RP conversion circuit, the fourth pin of the first integrated circuit is the input end of the RP conversion circuit, the seventh pin of the first integrated circuit is connected to one end of the fifth resistor, the other end of the fifth resistor and one end of the sixth resistor are connected to the eighth pin of the first integrated circuit, one end of the first capacitor is connected to the sixth pin of the first integrated circuit, one end of the second capacitor and one end of the seventh resistor are connected to the third pin of the first integrated circuit, the other end of the seventh resistor is connected to the drain of the first MOS tube, and the connection end thereof is the second output end of the RP conversion circuit, the gate of the first MOS tube is connected to the fifth pin of the first integrated circuit, and the connection end thereof is the first output end of the RP conversion circuit, the source of the first MOS tube, the other end of the first capacitor, the other end of the second capacitor and the other end of the sixth resistor are connected to the second pin of the first integrated circuit, and the connection end thereof is the negative electrode of the RP conversion circuit.
6. A color temperature adjustment circuit for setting the color temperature of an LED lamp by a toggle switch according to claim 3, characterized in that The first switch circuit is implemented by a second MOS tube, the gate of the second MOS tube is the control end of the first switch circuit, the drain of the second MOS tube is the first end of the first switch circuit, and the source of the second MOS tube is the second end of the first switch circuit; the second switch circuit is implemented by a third MOS tube, the gate of the third MOS tube is the control end of the second switch circuit, the drain of the third MOS tube is the first end of the second switch circuit, and the source of the third MOS tube is the second end of the second switch circuit.