Self-adaptive driving circuit and lamp
By designing an adaptive drive circuit in the lamp, detecting the light source status signal and automatically switching the color temperature control mode, the problem of poor compatibility between the lamp and the light source is solved, the compatibility and plug-and-play function of the lamp with different light sources are realized, and the cost is reduced User cost of use.
Patent Information
- Application Number
- CN202322557727.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2033-09-19
AI Technical Summary
The poor compatibility between existing lamps and light sources causes users to make mismatches when purchasing, resulting in dimming function failure and increasing user costs.
An adaptive drive circuit is designed, including a switching power supply, a light source connection terminal and an adaptive module. It detects the status signal of the light source through the detection unit and processing unit, automatically switches the color temperature control mode, and is actively compatible with light sources of different color temperature control modes, including extremely Polarity conversion circuit to handle wrong polarity problem.
It improves the compatibility of lamps with light sources, reduces user costs, enables lamps to be seamlessly matched between different manufacturers and models, and achieves plug-and-play functionality.
Smart Images

Figure CN221633986U
Abstract
Description
Technical Field
[0001] The present application relates to the field of lamp control, and in particular to an adaptive driving circuit and a lamp. Background Art
[0002] In order to adapt to more usage scenarios, existing lamps now provide dimming functions, through which users can set different brightness on the lamps and even control the light source to emit different color temperatures.
[0003] In order to achieve different dimming effects, light sources are usually divided into single-color temperature light sources and dual-color temperature light sources, and the access and control methods will also differ due to the use of 2-core or 3-core power connection methods. The manufacturers and models of lamps or light sources are varied, resulting in poor matching between power supplies and light sources from different manufacturers. Users may match the power supply and light source incorrectly when purchasing lamps and light sources. For example, the positive and negative poles of the power supply are connected in reverse, resulting in the light source not lighting up, or the dimming and color adjustment lamps of 2-core and 3-core wires cannot match each other, resulting in the lack of dimming function, etc., which makes the lamp unable to be used normally.
[0004] Usually, in order to achieve dimming adaptation, users can only use lamps or light sources from the same manufacturer or with the same adaptation specifications, which requires a lot of purchase costs. Obviously, the poor compatibility between existing light sources and lamps can easily cause unnecessary losses to customers and increase user costs. Utility Model Content
[0005] The present application provides an adaptive driving circuit and a lamp. The circuit and the lamp using the circuit can improve the hardware compatibility of the lamp and reduce the user's usage cost.
[0006] An adaptive driving circuit disclosed in the present application comprises:
[0007] Switching power supply, used for constant current power output;
[0008] A light source connection terminal, connected to the switching power supply, and used for connecting an external light source, wherein the light source is a single-color temperature light source or a dual-color temperature light source; and
[0009] An adaptive module, including a detection unit and a processing unit;
[0010] The detection unit is connected to the light source connection end, and generates a corresponding status signal by detecting whether the light source is single color temperature or dual color temperature;
[0011] The processing unit is connected to the switching power supply and the detection unit, and is used to control the switching power supply to execute a corresponding color temperature control mode according to a state signal of the detection unit; the processing unit includes a first state terminal and a second state terminal;
[0012] The first switch is provided between the light source connection terminal and the first state terminal of the processing unit, and is used to output a high level or a low level to the first state terminal according to the voltage value at both ends of the first current direction of the light source connection terminal;
[0013] The second switch is disposed between the light source connection terminal and the second state terminal of the processing unit, and is used to output a high level or a low level to the second state terminal according to the voltage value at both ends of the second current direction of the light source connection terminal.
[0014] In one embodiment, the adaptive module further includes a polarity conversion circuit, and the polarity conversion circuit is arranged between the switching power supply and the light source connection terminal.
[0015] In one embodiment, the detection unit includes a first switch and a second switch;
[0016] The input ends of the first switch and the second switch are connected between the output end of the polarity conversion circuit and the light source connection end, and the first switch and the second switch are reversely connected relative to each other.
[0017] In one embodiment, the first switch includes a first voltage regulator tube and a first optical coupler;
[0018] The first voltage regulator is connected between the input end of the first optical coupler and the light source connection end, and the voltage regulation value of the first voltage regulator is between the voltage value at both ends of the light source connection end after being turned on and the voltage value at both ends after being opened; the input end of the first optical coupler is connected to the light source connection end, and the output end is connected to the first state end of the processing unit; and / or
[0019] The second switch includes a second voltage regulator tube and a second optical coupler;
[0020] The second voltage regulator is connected between the input end of the second optocoupler and the light source connection end, and the voltage regulation value of the second voltage regulator is between the voltage value at both ends of the light source connection end after being turned on and the voltage value at both ends after being opened; the input end of the second optocoupler is connected to the light source connection end, and the output end is connected to the second state end of the processing unit.
[0021] In one embodiment, a first end of the output end of the first optical coupler is connected to a first state end of the processing unit, and is connected to the switching power supply through a first pull-up resistor; a second end of the output end of the first optical coupler is grounded;
[0022] A first end of the output end of the second optocoupler is connected to the second state end of the processing unit, and is connected to the switching power supply through a second pull-up resistor; a second end of the output end of the second optocoupler is grounded.
[0023] In one embodiment, the processing unit includes a first control end and a second control end, and the first control end and the second control end are both PWM output ends.
[0024] In one embodiment, the first control end is a color adjustment signal output end, and the second control end is a dimming signal output end.
[0025] In one embodiment, the polarity conversion circuit includes:
[0026] A first control unit comprises a first controlled end and a first driving end, wherein the first controlled end is connected to the first control end of the processing unit; and the first driving end is connected to the detection unit;
[0027] The second control unit includes a second controlled end and a second driving end, wherein the second controlled end is connected to the second control end of the processing unit; and the second driving end is connected to the detection unit.
[0028] In one embodiment, the switching power supply is a flyback constant current output switching power supply.
[0029] The present application also provides a lamp, the lamp comprising:
[0030] Light source; and
[0031] An adaptive driving circuit, connected to the light source driver;
[0032] Wherein, the adaptive driving circuit is the adaptive driving circuit as described in any one of the above items.
[0033] From the above, it can be seen that the adaptive driving circuit and lamp in the present application, by setting an adaptive module and using the adaptive module to detect the status signal of the light source, can control the switching power supply according to the status signal to perform the corresponding adaptive driving action, thereby realizing automatic switching of different color temperature control modes, so as to actively be compatible with light sources of different color temperature control modes, improve the compatibility of the lamp with the light source, and thus reduce the user's usage cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a first circuit principle block diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0035] Figure 2 A second circuit principle block diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0036] Figure 3 This is a third circuit principle block diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0037] Figure 4A circuit application schematic diagram of an adaptive drive circuit provided in an embodiment of the present application.
[0038] Figure 5 A color temperature control method for an adaptive driving circuit is provided in an embodiment of the present application.
[0039] Figure 6 A schematic diagram of the module structure of the lamp provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The preferred embodiments of the present application are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present application can be more easily understood by those skilled in the art, thereby making a clearer definition of the protection scope of the present application.
[0041] Please refer to the drawings, where the same component symbols represent the same components, and the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.
[0042] See also Figure 1 , the figure shows a first circuit principle block diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0043] like Figure 1 As shown, the circuit includes a switching power supply 1, a light source connection terminal 2 and an adaptive module 3.
[0044] Among them, the switching power supply 1 is used for constant current power output. The switching power supply 1 can adopt a common constant current switching power supply 1, such as a flyback constant current output switching power supply 1, or other types of constant current switching power supplies 1. The present application is not limited to the form of the constant current switching power supply 1.
[0045] The light source connection terminal 2 is connected to the switching power supply 1 for an external light source, which can be a single-color temperature light source or a dual-color temperature light source. Specifically, the light source can be detachably connected to the light source connection terminal 2, and can be installed by means of interfaces or pin lead-outs of the same specifications. In some embodiments, the light source can include two light sources with different color temperatures, wherein the different light sources can be relatively reversely connected, or the dual color temperatures can be individually controlled by means of independent circuits. It can be understood that the connection method of the light source can be determined according to actual conditions.
[0046] The adaptive module 3 includes a detection unit 31 and a processing unit 32. The detection unit 31 is connected to the light source connection terminal 2, and generates a corresponding state signal by detecting whether the light source is single color temperature or dual color temperature. The processing unit 32 is connected to the switching power supply 1 and the detection unit 31, and is used to control the switching power supply 1 to execute a corresponding color temperature control mode according to the state signal of the detection unit 31.
[0047] Among them, the detection unit 31 can be connected to the circuits of the different color temperature lamp beads in the light source through at least one switching circuit, so as to detect the working state of the circuits of the different color temperature lamp beads in the light source through the switching circuit, and the working state may include being lit after being turned on or being suspended and not lit. Specifically, the detection unit 31 can detect the change in the working voltage value of the different color temperature lamp beads in the light source to determine the working state of the different color temperature lamp beads, and send it as a status signal by generating different voltage or level values. It can be understood that the specific working mode of the detection unit 31 and the selection of the type, parameters or models of the components to be implemented can be set as needed.
[0048] The processing unit 32 can be implemented by using a corresponding logic control chip, such as a PWM drive chip with a signal input function, or other single-chip microcomputers, FPGA chips, X86 architecture chips and other logic control chips. The processing unit 32 is connected to the detection unit 31, and determines the working state of the light source by obtaining the state signal sent by the detection unit 31. For example, when there are two lamp beads with different color temperatures that are reversely connected to each other in the power supply and both are in working state, the detection unit 31 sends a high level through two switch circuits as the state signal of the lamp beads with different color temperatures. At this time, the processing circuit can determine that the current light source is a dual-color temperature light source through the level values sent by the two switch circuits, and then control the switch power supply 1 to switch to the corresponding dual-color temperature control mode, completing the automatic detection and switching of the color temperature control mode.
[0049] In one embodiment, when the light source only includes single-color temperature lamp beads, the detection unit 31 detects that the working state of the lamp beads is the working state of the single-color temperature lamp beads, and generates a state signal corresponding to the single-color temperature lamp beads, such as the corresponding level value. The processing unit 32 detects the corresponding level value and can determine whether the current light source is a single-color temperature light source or a dual-color temperature light source.
[0050] The adaptive driving circuit in the present application, by setting an adaptive module 3 and using the adaptive module 3 to detect the status signal of the light source, can control the switching power supply 1 according to the status signal to perform the corresponding adaptive driving action, thereby realizing automatic switching of different color temperature control modes, actively being compatible with light sources of different color temperature control modes, improving the compatibility of the lamp with the light source, and thereby reducing the user's usage cost.
[0051] See also Figure 2 , the figure shows a second circuit principle block diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0052] like Figure 2 As shown, the adaptive drive circuit, relative to Figure 1 The difference is that the adaptive module 3 further includes a polarity conversion circuit 33 , and the polarity conversion circuit 33 is arranged between the switching power supply 1 and the light source connection terminal 2 .
[0053] Among them, the polarity conversion circuit 33 is used when the light source and the switching power supply 1 are reversely connected. The switching power supply 1 can automatically switch the polarity through the polarity conversion circuit 33 to provide normal driving capability for the light source, thereby adapting to light sources with different polarity access methods to avoid malfunction of the light source due to wrong polarity connection.
[0054] Specifically, the detection unit 31 can be connected between the polarity conversion circuit 33 and the light source connection terminal 2 to ensure that the working state of the light source can be detected. By providing the polarity conversion circuit 33 between the switching power supply 1 and the light source connection terminal 2, not only can the adaptive module 3 be used to automatically detect the color temperature of the light source and switch the control mode, but also the characteristics of the polarity conversion circuit 33 can be used to achieve the situation that the polarity and color temperature of the light source do not need to be considered. The user only needs to install the light source into the driving circuit to plug and play, and realize a complete adaptive function.
[0055] See also Figure 3 , the figure shows a third circuit principle block diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0056] like Figure 3 As shown, the adaptive drive circuit, relative to Figure 1 , 2 , the difference is that the detection unit 31 in the adaptive module 3 includes a first switch 31a and a second switch 31b. The input ends of the first switch 31a and the second switch 31b are connected between the output end of the polarity conversion circuit 33 and the light source connection end 2, and the first switch 31a and the second switch 31b are relatively reversely connected. In one embodiment, the first switch 31a and the second switch 31b can be a transistor, a MOS tube, an optical coupler element, or other switch circuits commonly used in switch elements.
[0057] In one embodiment, the processing unit 32 includes a first state end and a second state end, and the first switch 31a is provided between the light source connection end 2 and the first state end of the processing unit 32, and is used to output a high level or a low level to the first state end according to the voltage value of both ends of the light source connection end 2 in the first current direction. The second switch 31b is provided between the light source connection end 2 and the second state end of the processing unit 32, and is used to output a high level or a low level to the second state end according to the voltage value of both ends of the light source connection end 2 in the second current direction.
[0058] Among them, the first current direction and the second current direction can be different circuits of lamp beads with different color temperatures in the light source or different flow directions of lamp beads with different color temperatures, so that the detection unit 31 can detect the working status of lamp beads with different color temperatures in the light source through the first switch 31a and the second switch 31b respectively, and output corresponding signals to the processing unit 32.
[0059] It can be seen that the voltage values of the first current direction and the second current direction of the light source connection terminal 2 are detected by the first switch 31a and the second switch 31b, and the corresponding level values are output to the first state terminal JC1 and the second state terminal JC2 of the processing unit 32, so that the processing unit 32 can understand the working status of the lamp beads with different color temperatures in the current light source through the first state terminal JC1 and the second state terminal JC2. For example, if the state signal includes two types of high level and low level, the high level corresponds to the lamp bead being turned on and can be marked as 1; the low level corresponds to the lamp bead being suspended and can be marked as 0. Among them, when the two state terminals of the processing unit 32 are (1,0) or (0,1), the current light source only has a lamp bead with a single color temperature, and then the switch power supply 1 is controlled to switch to a single color temperature control mode; when the two state terminals of the processing unit 32 are (1,1), the current light source is a lamp bead with dual color temperatures, and then the switch power supply 1 is controlled to switch to a dual color temperature control mode.
[0060] The above circuit structure enables the processing unit 32 to quickly obtain the working state of the light source, and then adaptively switch the driving mode of the switching power supply 1 in a very short time.
[0061] See also Figure 4 , the figure shows a circuit application schematic diagram of the adaptive driving circuit provided in an embodiment of the present application.
[0062] exist Figure 1-3 On the basis of Figure 4 As shown, the adaptive driving circuit includes a switching power supply 1, a light source connection terminal and an adaptive module, wherein the switching power supply 1 is a flyback constant current output switching power supply 1, and the adaptive module includes a polarity conversion circuit 33, a detection unit 31 and a processing unit.
[0063] The light source 4 connected to the light source connection end may include lamp beads (D6, D8) of a first color temperature and lamp beads (D9, D7) of a second color temperature connected in reverse, and the color temperature values of the first color temperature and the second color temperature are different, for example, the first color temperature is warm light, and the second color temperature is cold light, or vice versa. The lamp beads of the above two color temperatures constitute a dual-color temperature light source 4.
[0064] The processing unit adopts a PWM control chip U3, which can be a wireless or wired control chip and can include a first state end and a second state end. The processing unit can also include two PWM output ends (PWM1, PWM2), wherein in one embodiment, the first control end PWM1 is a color adjustment signal output end, and the second control end PWM2 is a dimming signal output end. The switching power supply 1 can also include a voltage stabilizing module LDO, which outputs a stable 3.3V power supply to the processing unit. The processing unit transmits the PWM1 dimming signal to the third pin (DIM) of the power driver chip U1 of the switching power supply 1 through the optical coupler U2 for dimming control, thereby controlling the output current of the constant current switching power supply 1.
[0065] The processing unit includes a first control end and a second control end, the polarity conversion circuit 33 includes a first control unit and a second control unit, the first control unit includes a first controlled end and a first driving end, the first controlled end is connected to the first control end of the processing unit; the first driving end is connected to the detection unit 31; the second control unit includes a second controlled end and a second driving end, the second controlled end is connected to the second control end of the processing unit; the second driving end is connected to the detection unit 31. The control method of the above-mentioned polarity conversion circuit 33 and the processing unit and the detection unit 31 can realize the integration of polarity conversion and color temperature detection functions through a relatively simple circuit design method, thereby reducing the complexity of the circuit and improving the circuit reliability. Specifically, the first control unit can be composed of transistors QN1, Q2, Q3 and QN2, and the second control unit can be composed of transistors QN3, Q1, Q4 and Q6. The controlled end of the first control unit and the second control unit can be the base of the transistor used for control, and the driving end can be the output end composed of the emitter and the collector. It can be understood that the above control circuit structure can be designed according to actual needs.
[0066] The detection unit 31 includes a first switch and a second switch. Specifically, the first switch includes a first voltage regulator tube D12 and a first optocoupler U4. The first voltage regulator tube D12 is connected between the input end of the first optocoupler U4 and the light source connection end, and the voltage regulation value of the first voltage regulator tube D12 is between the voltage value at both ends of the light source connection end after conduction and the voltage value at both ends after opening. The input end of the first optocoupler U4 is connected to the light source connection end, and the output end is connected to the first state end of the processing unit U3. In addition, the second switch may include a second voltage regulator tube D13 and a second optocoupler U5. The second voltage regulator tube D13 is connected between the input end of the second optocoupler U5 and the light source connection end, and the voltage regulation value of the second voltage regulator tube D13 is between the voltage value at both ends of the light source connection end after conduction and the voltage value at both ends after opening. The input end of the second optocoupler U5 is connected to the light source connection end, and the output end is connected to the second state end of the processing unit U3.
[0067] The first voltage regulator tube D12 and the second voltage regulator tube D13 can be controlled to be turned on or off by different conduction states of the light source 4, and then cooperate with the first optical coupler U4 and the second optical coupler U5 to generate corresponding state signals, which can avoid the false triggering of the optical coupler caused by the working current of the light source 4. It can be understood that there are many specific implementation methods of the first switch and the second switch, such as using a triode or a MOS tube as a switch, etc., and this application does not limit this.
[0068] Further, a first end of the output end of the first optical coupler U4 is connected to the first state end JC1 of the processing unit U3, and is connected to the switching power supply 1 through a first pull-up resistor R23, and a second end of the output end of the first optical coupler U4 is grounded. A first end of the output end of the second optical coupler U5 is connected to the second state end JC2 of the processing unit U3, and is connected to the switching power supply 1 through a second pull-up resistor R24, and a second end of the output end of the second optical coupler U5 is grounded.
[0069] By providing the first pull-up resistor R23 and the second pull-up resistor R24 , the processing unit U3 can obtain a relatively stable state signal generated by the detection unit 31 , thereby ensuring the accuracy of detecting the working state of the light source 4 .
[0070] During the working process of this embodiment, when the switching power supply 1 is connected to the mains, the switching power supply 1 enters the working state and outputs a constant current to the voltage stabilizing module LDO. The voltage stabilizing module LDO outputs a stable 3.3V voltage to the processing unit U3. The processing unit U3 outputs two PWM signals. The first control terminal PWM1 outputs a low level, the transistor QN4 is turned off, the optocoupler U2 is turned off, and the third pin (DIM) of the power driver chip U1 is a high level. The maximum current of the flyback constant current switching power supply 1 is output and flows through the emitters of the transistors Q2 and Q1. At this time, if the first control terminal PWM1 outputs a low level, QN1 is turned off, causing Q3, Q2, and QN2 to be turned off. At the same time, because the first control terminal PWM1 is a low level, Q6 is turned on, causing Q4 to be turned on, and Q4 is turned on, causing Q1 and QN3 to be turned on. At this time, the current of the switching power supply 1 flows through Q1 to the lamp beads (D6, D8) of the first color temperature and then through QN3 to the ground to form a loop, and the lamp beads (D6, D8) of the first color temperature are lit. Since the lamp beads (D7, D9) of the second color temperature are not conducting in the reverse direction and are in the cut-off state, the lamp is now emitting warm light. On the contrary, if the output of the first control terminal PWM1 is high level, Q6, Q4, Q1, QN3 are cut off, QN1, Q3, Q2, QN2 are turned on, and the current flows through Q2 through the lamp beads (D7, D9) of the second color temperature and then through QN2 to the ground to form a loop, and the lamp beads (D7, D9) of the second color temperature are lit. Since the lamp beads (D6, D8) of the first color temperature are not conducting in the reverse direction and are in the cut-off state, the lamp is now emitting cold light. By adjusting the duty cycle of the second control terminal PWM2, the conduction time of the two light sources 4 can be controlled, thereby controlling the brightness ratio of the two light sources 4, and matching different color temperature values.
[0071] As for the working principle of the output polarity and single and double color temperature control circuit, firstly, two PWM signals are output. The low level of PWM output causes QN4 to be turned off, and the optocoupler U2 is turned off, causing the DIM pin of the power driver chip U1 to maintain a high level through the pull-up resistor. At this time, the output circuit is maximum. When the first control terminal PWM1 outputs a low level, the transistor QN4 is turned off, the optocoupler U2 is turned off, and the third pin (DIM) of the power driver chip U1 is a high level. The maximum current output of the flyback constant current switch power supply 1 flows through the emitters of Q2 and Q1. At this time, if the first control terminal PWM1 outputs a low level, QN1 is turned off, causing Q3, Q2, and QN2 to be turned off. At the same time, because the first control terminal PWM1 is a low level, Q6 is turned on, causing Q4 to be turned on, and Q4 turning on causes Q1 and QN3 to be turned on. The current of the switch power supply 1 flows through Q1 to the lamp bead of the first color temperature (D6, D8) is connected to the ground through QN3 to form a loop, and the lamp beads (D6, D8) of the first color temperature are lit. Since the lamp beads (D6, D8) of the first color temperature are lit, the voltage value at both ends is less than the voltage value of the voltage regulator D13, and the voltage regulator D13 is not turned on, resulting in the optocoupler U5 not being turned on and the current being cut off, causing the second state terminal JC2 of the processing unit U3 to maintain a high level through the pull-up resistor R24. If the power supply is externally suspended and the lamp beads (D6, D8) of the first color temperature are not connected (no-load state), the voltage at the A pole of the voltage regulator D13 is higher than 42V and turns on, causing the optocoupler U5 to turn on, causing the processing unit The second state terminal JC2 of U3 is at a low level. At this time, U3 records the current state of the second state terminal JC2. After recording, the first control terminal PWM1 is output to a high level. Q6, Q4, Q1, and QN3 are turned off, and QN1, Q3, Q2, and QN2 are turned on. The current flows through Q2 through the lamp beads (D7, D9) of the second color temperature and then through QN2 to the ground to form a loop. The lamp beads (D7, D9) of the second color temperature are lit. Since the lamp beads (D6, D8) of the first color temperature are lit, the voltage value at both ends is less than the voltage value of the voltage regulator D12, and the voltage regulator D12 is not turned on. The optocoupler U4 is cut off from conducting current, causing the first state terminal JC1 of the processing unit U3 to maintain a high level through the pull-up resistor R23. If the external power supply is suspended and no lamp beads (D7, D9) of the second color temperature are connected (no-load state), the voltage at the A pole of the voltage regulator D12 is higher than 42V and turns on, causing the optocoupler U4 to turn on, causing the first state terminal JC1 of the processing unit U3 to be a low level. At this time, the processing unit U3 records the current state of the first state terminal JC1. The processing unit U3 determines the load of the output light source 4 by recording the state of the first state terminal JC1 and the second state terminal JC2.
[0072] At this time, if in the initial state of power-on, the states of the first state terminal JC1 and the second state terminal JC2 recorded by the processing unit U3 are both 1 and 1, then it is judged that the external light source 4 is a dual-color temperature lamp, and the processing unit U3 switches to the dual-color temperature mode. If the states of the first state terminal JC1 and the second state terminal JC2 recorded by the processing unit U3 are 0 and 1 or 1 and 0, then it is judged that the external lamp is a single-color temperature lamp, and the processing unit U3 switches to the single-color lamp mode. At the same time, the processing unit U3 will set the high and low levels of the PWM1 output according to the state values of the first state terminal JC1 and the second state terminal JC2, thereby realizing automatic identification of the lamp polarity. If the states of the first state terminal JC1 and the second state terminal JC2 recorded by the processing unit U3 are both 0, then it is judged that no lamp is connected at this time, it is in no-load state, and the power output is turned off.
[0073] As can be seen from the above, the adaptive driving circuit in the present application, by setting an adaptive module and using the adaptive module to detect the state signal of the light source, can control the switching power supply according to the state signal to perform the corresponding adaptive driving action, thereby realizing automatic switching of different color temperature control modes, actively compatible with light sources of different color temperature control modes, improving the compatibility of the lamp with the light source, and thus reducing the user's use cost. In addition to color temperature, the polarity and dimming and color adjustment control of the adaptive light source can also be realized to achieve complete plug-and-play, strong compatibility, and reduce the user's use cost.
[0074] See also Figure 5 , the figure shows the color temperature control method of the adaptive driving circuit provided in an embodiment of the present application.
[0075] like Figure 5 As shown, the color temperature control method is applied to an adaptive driving circuit, and the adaptive driving circuit can be as follows Figure 1-4 The structure of the adaptive driving circuit described in any one of the embodiments. The color temperature control method may include the following steps:
[0076] 101. Detect a working state of a light source by using a detection unit, where the working state includes the light source being in a single-color temperature working state or a dual-color temperature working state.
[0077] Among them, the detection unit can respectively connect the circuits of the different color temperature lamp beads in the light source through at least one switching circuit, so as to detect the working state of the circuits of the different color temperature lamp beads in the light source through the switching circuit, and the working state may include being lit after being turned on or being suspended and not lit. Specifically, the detection unit can detect the change in the working voltage value of the different color temperature lamp beads in the light source to determine the working state of the different color temperature lamp beads, and send it as a status signal by generating different voltage or level values. It can be understood that the specific working mode of the detection unit and the selection of the type, parameters or models of the components to be implemented can be set as needed.
[0078] 102. The detection unit generates a status signal corresponding to the working state of the light source according to the working state of the light source, and transmits the status signal to the processing unit.
[0079] In one embodiment, when the light source only includes single-color temperature lamp beads, the detection unit detects that the working state of the lamp beads is the working state of single-color temperature lamp beads, and generates a state signal corresponding to the single-color temperature lamp beads, such as a corresponding level value. The processing unit detects the corresponding level value and can determine whether the current light source is a single-color temperature light source or a dual-color temperature light source. In addition, the state signal can also include a pulse signal, a different voltage signal, or other regular signals, as long as it can express whether the light source only includes single-color temperature lamp beads or dual-color temperature lamp beads.
[0080] 103. The processing unit determines whether the current working state of the light source is a single-color temperature light source or a dual-color temperature light source according to the state signal generated by the detection unit.
[0081] For example, if the state signal includes a high level and a low level, the high level corresponds to the detected lamp bead being in the on state and can be marked as 1; the low level corresponds to the detected lamp bead being in the suspended state and can be marked as 0. When the two state ends of the processing unit are (1,0) or (0,1), the current light source has only a lamp bead with a single color temperature, and the switch power supply is controlled to switch to a single color temperature control mode; when the two state ends of the processing unit are (1,1), the current light source has a lamp bead with dual color temperatures, and the switch power supply is controlled to switch to a dual color temperature control mode.
[0082] 104. Adaptively switch the color temperature control mode of the light source to a single color temperature mode or a dual color temperature mode according to the working state of the light source.
[0083] Among them, the single color temperature mode or the dual color temperature mode can first use the processing unit to judge whether the light source is single color temperature or dual color temperature based on the current state signal, and call the corresponding control program according to the judgment result to perform corresponding color temperature control on the switching power supply, thereby realizing adaptive switching of color temperature control mode.
[0084] In one embodiment, the adaptive module further comprises a polarity conversion circuit, which is arranged between the switching power supply and the light source connection terminal;
[0085] The detection unit includes a first switch and a second switch; the input ends of the first switch and the second switch are connected between the output end of the polarity conversion circuit and the light source connection end, and the first switch and the second switch are relatively reversely connected; the processing unit includes a first state end and a second state end; the processing unit is also used for:
[0086] The polarity of the light source is determined according to the state signals of the first state end and the second state end to control the driving action related to the polarity of the light source. Specifically, the state signals received corresponding to the first state end and the second state end are generally related to the working state of the light source. For example, if the state signal includes a high level and a low level, the high level corresponds to the detected lamp bead being in the on state and can be marked as 1, and the low level corresponds to the detected lamp bead being in the suspended state and can be marked as 0. At this time, if the first state end of the processing unit is 1 and the second state end is 0, it can be considered that the light source lamp bead at the first state end is lit, and the second state end in the reverse current direction is suspended, and then it is determined that the external light source is a monochrome temperature lamp, and the processing unit switches to the monochrome lamp mode. At the same time, the processing unit will set the PWM output high and low levels, thereby realizing automatic identification of the polarity of the light source.
[0087] The above-mentioned method for determining the polarity of the light source can be combined with the circuit structure to achieve polarity adaptation.
[0088] It can be understood that the specific implementation of the above steps can refer to Figure 1-4 The specific implementation method of the description in any embodiment can be adjusted according to actual conditions, and this application does not limit this.
[0089] From the above, it can be seen that the color temperature control method is applied to an adaptive driving circuit, an adaptive module is set on the adaptive driving circuit, and the state signal of the light source is detected by the adaptive module. The switching power supply can be controlled according to the state signal to perform the corresponding adaptive driving action, thereby realizing automatic switching of different color temperature control modes, actively being compatible with light sources of different color temperature control modes, improving the compatibility of the lamp with the light source, and thereby reducing the user's usage cost.
[0090] See also Figure 6 , the figure shows a structural block diagram of the lamp provided in an embodiment of the present application.
[0091] like Figure 6 As shown, the lamp 100 includes a light source 110 and an adaptive driving circuit 120. The adaptive driving circuit 120 may include a switching power supply. The switching power supply may be a power adapter separately provided compared to the load, or may be a power module integrated with the load. Specifically, the switching power supply may also include functional circuits in the form of a dimming circuit, a power rectifier bridge, a filtering circuit, a boost / buck circuit, or a DC-DC circuit. The above functional circuits together constitute the switching power supply protected by the present application.
[0092] The light source 110 may be a light source 110 that only includes single-color temperature LED lamp beads, or may be a light source 110 that includes dual-color temperature LED lamp beads. Of course, in addition to this, the lamp 100 may also include physical structural parts such as a housing and a heat sink, which may enable the switching power supply to work normally, and the specific structural form may be determined according to requirements. In addition, it may also include external functional modules such as a Bluetooth / WIFI communication module and an infrared module.
[0093] After the above-mentioned lamp 100 applies the adaptive driving circuit 120, it can actively be compatible with light sources 110 of different color temperature control modes, thereby improving the compatibility of the lamp 100 with the light source 110, thereby reducing the user's use cost. In addition, it can achieve full adaptation of polarity, dimming and color temperature control modes, further reducing the user's use cost.
[0094] The term "module" as used herein may be a software or hardware object executed on the computing system. The different components, modules, engines, and services described herein may be implementation objects on the computing system. The apparatus and methods described herein may be implemented in software, or in hardware, and all are within the scope of protection of this application.
[0095] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0096] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0097] The implementation modes of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present application.
Claims
1. An adaptive driving circuit, characterized in that: The circuit comprises: Switching power supply, used for constant current power output; A light source connection terminal, connected to the switching power supply, and used for connecting an external light source, wherein the light source is a single-color temperature light source or a dual-color temperature light source; and An adaptive module, including a detection unit and a processing unit; The detection unit is connected to the light source connection end, and generates a corresponding status signal by detecting whether the light source is single color temperature or dual color temperature; The processing unit is connected to the switching power supply and the detection unit, and is used to control the switching power supply to execute a corresponding color temperature control mode according to a state signal of the detection unit; the processing unit includes a first state end and a second state end; the detection unit includes a first switch and a second switch; The first switch is provided between the light source connection terminal and the first state terminal of the processing unit, and is used to output a high level or a low level to the first state terminal according to the voltage value at both ends of the first current direction of the light source connection terminal; The second switch is disposed between the light source connection terminal and the second state terminal of the processing unit, and is used to output a high level or a low level to the second state terminal according to the voltage value at both ends of the second current direction of the light source connection terminal.
2. The adaptive driving circuit according to claim 1, characterized in that: The adaptive module further comprises a polarity conversion circuit, and the polarity conversion circuit is arranged between the switching power supply and the light source connection end.
3. The adaptive driving circuit according to claim 2, characterized in that: The input ends of the first switch and the second switch are connected between the output end of the polarity conversion circuit and the light source connection end, and the first switch and the second switch are reversely connected relative to each other.
4. The adaptive driving circuit according to claim 3, wherein: The first switch includes a first voltage regulator tube and a first optical coupler; The first voltage regulator is connected between the input end of the first optical coupler and the light source connection end, and the voltage regulation value of the first voltage regulator is between the voltage value at both ends of the light source connection end after being turned on and the voltage value at both ends after being opened; the input end of the first optical coupler is connected to the light source connection end, and the output end is connected to the first state end of the processing unit; and / or The second switch includes a second voltage regulator tube and a second optical coupler; The second voltage regulator is connected between the input end of the second optocoupler and the light source connection end, and the voltage regulation value of the second voltage regulator is between the voltage value at both ends of the light source connection end after being turned on and the voltage value at both ends after being opened; the input end of the second optocoupler is connected to the light source connection end, and the output end is connected to the second state end of the processing unit.
5. The adaptive driving circuit according to claim 4, characterized in that: A first end of the output end of the first optical coupler is connected to a first state end of the processing unit, and is connected to the switching power supply through a first pull-up resistor; a second end of the output end of the first optical coupler is grounded; A first end of the output end of the second optocoupler is connected to the second state end of the processing unit, and is connected to the switching power supply through a second pull-up resistor; a second end of the output end of the second optocoupler is grounded.
6. The adaptive driving circuit according to claim 2, characterized in that: The processing unit includes a first control end and a second control end, and both the first control end and the second control end are PWM output ends.
7. The adaptive driving circuit according to claim 6, characterized in that: The first control end is a color adjustment signal output end, and the second control end is a dimming signal output end.
8. The adaptive driving circuit according to claim 6, characterized in that: The polarity conversion circuit comprises: A first control unit comprises a first controlled end and a first driving end, wherein the first controlled end is connected to the first control end of the processing unit; and the first driving end is connected to the detection unit; The second control unit includes a second controlled end and a second driving end, wherein the second controlled end is connected to the second control end of the processing unit; and the second driving end is connected to the detection unit.
9. The adaptive driving circuit according to any one of claims 1 to 8, characterized in that: The switching power supply is a flyback constant current output switching power supply.
10. A lamp, characterized in that: The lamp comprises: Light source; and An adaptive driving circuit, connected to the light source driver; Wherein, the adaptive driving circuit is the adaptive driving circuit as described in any one of claims 1-9.
