Color temperature adjusting method, color temperature adjusting circuit and PCB
By obtaining and confirming the initial heating and cooling duty cycle and adjusting it in real time according to the status of the mode switch, the problem that existing lighting systems are difficult to achieve the color temperature gradient adjustable function, and personalized color temperature adjustment of the lamp in different scenarios is realized, improving the user experience.
Patent Information
- Application Number
- CN202510257636.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-04-15
AI Technical Summary
The existing lighting systems are difficult to achieve the color temperature gradient adjustable function, and cannot adapt to a variety of dimming signals and personalized users.
By obtaining the preset gear duty cycle information and the initial gear of the color temperature switch, confirm the initial cooling and heating duty cycle, and adjust the color temperature state of the lamp in real time according to the state of the mode switch, and process analog and digital signals to accurately adjust the cooling and heating duty cycle.
It realizes personalized color temperature adjustment of lamps in different scenarios and environments, improving user experience and flexibility of lighting systems.
Smart Images

Figure CN119835831A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lighting drive technology, and in particular to a color temperature adjustment method, an adjustment circuit and a PCB board. Background Art
[0002] In the field of modern lighting technology, realizing the function of color temperature gradient adjustment is an important direction to improve user experience and the flexibility of lighting systems; however, the realization of this function faces many technical challenges, one of the most critical issues is how to accurately and stably detect and process various types of dimming signals; the diversity of dimming signals stems from the different needs of users for lighting environments and the compatibility issues between different lighting devices.
[0003] Traditional dual dimming drive systems, although they meet basic dimming needs to a certain extent, are usually designed to support only one dimming protocol or signal format, such as analog dimming or digital dimming; this limitation leads to a limited application scope of the lighting system and cannot adapt to the complex needs of color temperature gradient adjustment; the color temperature gradient adjustment function requires the lighting system to be able to respond to and analyze multiple dimming signals, and to adjust the color temperature of the output light according to the received signals, thereby achieving a smooth transition from cold light to warm light.
[0004] It can be seen that the existing technology still needs to be improved and enhanced. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a color temperature adjustment method that can meet the personalized needs of users for color temperature changes in various scenarios and environments.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A color temperature adjustment method comprises: obtaining preset gear duty cycle information and obtaining the initial gear of a color temperature switch, confirming the initial cold and warm duty cycle corresponding to the initial gear based on the obtained initial gear and the preset gear duty cycle information; controlling a lamp to start working based on the initial cold and warm duty cycle, and obtaining the switch state of a mode switching switch; if the mode switching switch is in an off state, adjusting the color temperature state of the lamp based on the real-time gear information of the color temperature switch; if the switching switch is in an on state, obtaining analog information and digital information, confirming the adjustment of the cold and warm duty cycle based on the analog information and the digital information, and adjusting the color temperature state of the lamp based on the adjusted cold and warm duty cycle.
[0008] In the color temperature adjustment method, the step of obtaining preset gear duty cycle information and obtaining the initial gear of the color temperature switch, and confirming the initial cold and warm duty cycle corresponding to the initial gear based on the obtained initial gear and the preset gear duty cycle information, specifically includes: obtaining preset gear duty cycle information, the preset gear duty cycle information includes a set voltage value, a set color temperature gear corresponding to the set voltage value, and a set cold and warm duty cycle corresponding to the set color temperature gear, the set cold and warm duty cycle includes a set cold light duty cycle and a set warm light duty cycle, and the sum of the cold light duty cycle and the warm light duty cycle is 100%; obtaining the initial gear of the color temperature switch, and confirming the initial voltage value based on the initial gear; based on the confirmed initial voltage value, matching the initial cold and warm duty cycle corresponding to the initial voltage value from the preset gear duty cycle information, the initial cold and warm duty cycle includes an initial cold light duty cycle and an initial warm light duty cycle.
[0009] In the color temperature adjustment method, if the mode switching switch is in the off state, the color temperature state of the lamp is adjusted based on the real-time gear information of the color temperature switch, specifically including: when the mode switching switch is in the off state, according to the preset periodic detection time interval, the real-time gear information of the color temperature switch is obtained; if the real-time gear information of the color temperature switch does not change within the adjacent periodic detection time interval, the working state of the lamp is controlled to remain unchanged; if the real-time gear information of the color temperature switch changes within the adjacent periodic detection time interval, the color temperature state of the lamp is adjusted based on the real-time gear information of the color temperature switch.
[0010] In the color temperature adjustment method, if the switching switch is in the on state, analog information and digital information are obtained, the adjustment gear is confirmed based on the analog information and digital information, and the adjustment cold and warm duty ratio corresponding to the adjustment gear is obtained, and then the color temperature state of the lamp is adjusted based on the adjustment cold and warm duty ratio, which specifically includes: when the mode switching switch is in the on state, analog information and digital information are obtained according to a preset periodic detection time interval, the analog information is a voltage dimming signal, and the digital information is a thyristor dimming signal; if in adjacent periodic detection time intervals, neither the analog information nor the digital information has changed, or the change value of the analog information is less than the preset analog change amount and the change value of the digital information is less than the preset digital change amount, then the working state of the lamp is controlled to remain unchanged; if in adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to the preset analog change amount or the change value of the digital information is greater than or equal to the preset digital change amount, then the adjustment cold and warm duty ratio is confirmed based on the analog information and the digital information, and the color temperature state of the lamp is adjusted based on the adjustment cold and warm duty ratio.
[0011] In the color temperature adjustment method, if the change value of the analog information is greater than or equal to the preset analog change amount or the change value of the digital information is greater than or equal to the preset digital change amount within adjacent periodic detection time intervals, then the adjustment of the cold and warm duty ratio is confirmed based on the analog information and the digital information, and the color temperature state of the lamp is adjusted based on the adjusted cold and warm duty ratio, specifically including: if the change value of the analog information is greater than or equal to the preset analog change amount or the change value of the digital information is greater than or equal to the preset digital change amount within adjacent periodic detection time intervals, then the analog duty ratio corresponding to the analog information and the digital duty ratio corresponding to the digital information are obtained; the analog duty ratio is compared with the digital duty ratio, and the duty ratio with a lower value is taken as the adjusted cold and warm duty ratio; the adjustment method is confirmed based on the adjusted cold and warm duty ratio, and the color temperature state of the lamp is adjusted based on the confirmed adjustment method.
[0012] The present invention also provides a color temperature adjustment circuit accordingly, which adopts any of the color temperature adjustment methods described above to achieve working control; the color temperature adjustment circuit includes a high-voltage unit, a low-voltage unit, an analog signal detection unit, a digital signal detection unit, a control unit and a switch unit, the input end of the high-voltage unit is used to connect to an external power supply device, the output end of the high-voltage unit is respectively inductively connected to the input end of the low-voltage unit and the input end of the analog signal detection unit, the output end of the low-voltage unit is connected to the power supply end of the control unit, the input end of the digital signal detection unit is connected to the low-voltage unit, the output end of the digital signal detection unit, the output end of the analog signal detection unit and the output end of the switch unit are respectively connected to the signal input end of the control unit, and the output end of the control unit is used to connect to a lamp.
[0013] In the color temperature adjustment circuit, the switch unit includes a mode switching switch and a color temperature switch, and the color temperature switch and the mode switching switch are respectively connected to the signal input end of the control unit.
[0014] In the color temperature adjustment circuit, the analog signal detection unit includes the quaternary side of the transformer T1, the analog-to-digital conversion chip U4 and the isolation part. The quaternary side of the transformer T1 is inductively connected to the output end of the high-voltage unit, the quaternary side of the transformer T1 is connected to the input end of the analog-to-digital conversion chip U4, the output end of the analog-to-digital conversion chip U4 is connected to the input end of the isolation part, and the output end of the isolation part is connected to the signal input end of the control unit.
[0015] In the color temperature adjustment circuit, the digital signal detection unit includes a voltage divider and a comparison chip U1, the input end of the voltage divider is connected to the low voltage unit, the output end of the voltage divider is connected to the input end of the comparison chip U1, and the output end of the comparison chip U1 is connected to the signal input end of the control unit.
[0016] The present invention also provides a PCB board accordingly, on which the color temperature adjustment circuit as described above is printed.
[0017] Beneficial effects:
[0018] The present invention provides a color temperature adjustment method. Firstly, the preset gear duty cycle information is combined with the initial gear of the color temperature switch to confirm the initial cold and warm duty cycle corresponding to the initial gear, so as to ensure that the color temperature state of the lamp at startup is consistent with the initial state expected by the user, thereby improving the user experience; secondly, the color temperature adjustment method can intelligently adjust the working mode of the lamp according to the state of the mode switching switch, and when the mode switching switch is in the on state, the adjustment circuit can capture and process the analog signal and the digital signal in real time to accurately adjust the cold and warm duty cycle, thereby meeting the user's personalized needs for color temperature changes in various scenarios and environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A logic flow chart of the color temperature adjustment method provided by the present invention;
[0020] Figure 2 A circuit block diagram of the color temperature adjustment circuit provided by the present invention;
[0021] Figure 3 A circuit schematic diagram of a high voltage unit, a low voltage unit, an analog signal detection unit and a digital signal detection unit provided by the present invention;
[0022] Figure 4 This is a circuit schematic diagram of the control unit and the switch unit provided by the present invention.
[0023] Explanation of main component symbols: 1-high voltage unit, 11-rectifier unit, 12-first filter unit, 2-low voltage unit, 21-second filter unit, 3-analog signal detection unit, 31-isolation unit, 4-digital signal detection unit, 41-voltage divider unit, 5-control unit, 51-voltage stabilization unit, 6-switch unit. DETAILED DESCRIPTION
[0024] The present invention provides a color temperature adjustment method, an adjustment circuit and a PCB board. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples.
[0025] In the description of the present invention, it should be understood that the terms "installation", "connection" and the like should be understood in a broad sense, and a person skilled in the art can understand the specific meanings of the above terms in the present invention according to specific circumstances.
[0026] See also Figure 1The present invention provides a color temperature adjustment method, comprising:
[0027] 101. Obtain preset gear duty cycle information and obtain an initial gear of the color temperature switch, and confirm an initial cooling and heating duty cycle corresponding to the initial gear based on the obtained initial gear and the preset gear duty cycle information;
[0028] 102. Control the lamp to start working based on the initial cooling and heating duty cycle, and obtain the switch state of the mode switching switch;
[0029] In this embodiment, the mode switching switch is a 2CCT switch, including two gears, corresponding to an on state and an off state respectively. When the mode switching switch is in the off state, the color temperature of the lamp does not change with the brightness; when the mode switching switch is in the on state, the color temperature of the lamp changes with the brightness.
[0030] 103. If the mode switch is in the off state, the color temperature state of the lamp is adjusted based on the real-time gear information of the color temperature switch;
[0031] 104. If the switch is in the on state, analog information and digital information are obtained, and adjustment of the cold and warm duty ratio is confirmed based on the analog information and the digital information, and the color temperature state of the lamp is adjusted based on the adjustment of the cold and warm duty ratio.
[0032] The present application discloses a color temperature adjustment method. Firstly, the preset gear duty cycle information is combined with the initial gear of the color temperature switch to confirm the initial cold and warm duty cycle corresponding to the initial gear, so as to ensure that the color temperature state of the lamp at startup is consistent with the initial state expected by the user, thereby improving the user experience; secondly, the color temperature adjustment method can intelligently adjust the working mode of the lamp according to the state of the mode switching switch, and when the mode switching switch is in the on state, the adjustment circuit can capture and process analog signals and digital signals in real time to accurately adjust the cold and warm duty cycle, thereby meeting the user's personalized needs for color temperature changes in various scenarios and environments.
[0033] Further, the obtaining of preset gear duty cycle information and obtaining the initial gear of the color temperature switch, and confirming the initial cooling and heating duty cycle corresponding to the initial gear based on the obtained initial gear and the preset gear duty cycle information, specifically includes:
[0034] 201. Obtain preset gear duty cycle information, wherein the preset gear duty cycle information includes a set voltage value, a set color temperature gear corresponding to the set voltage value, and a set cold and warm duty cycle corresponding to the set color temperature gear, wherein the set cold and warm duty cycle includes a set cold light duty cycle and a set warm light duty cycle, and the sum of the cold light duty cycle and the warm light duty cycle is 100%;
[0035] In this embodiment, the color temperature switch may be a 5CCT switch, and the color temperature switch corresponds to five set voltage values, five set color temperature gears corresponding to the set voltage values, and five set cold and warm duty ratios corresponding to the set color temperature gears; for example, the gear duty ratio information may be:
[0036] 4.3V corresponds to 5000K color temperature, where the cold light duty cycle is set to 100% and the warm light duty cycle is set to 0%;
[0037] 3.6V corresponds to 4000K color temperature, where the cold light duty cycle is set to 75% and the warm light duty cycle is set to 25%;
[0038] 2.9V corresponds to 3500K color temperature, in which the cold light duty cycle is set to 62.5% and the warm light duty cycle is set to 37.5%;
[0039] 2.2V corresponds to 3000K color temperature, in which the cold light duty cycle is set to 45% and the warm light duty cycle is set to 55%;
[0040] 1.5V corresponds to the 2700K color temperature position, in which the cold light duty cycle is set to 35% and the warm light duty cycle is set to 65%.
[0041] 202. Acquire an initial gear position of the color temperature switch, and confirm an initial voltage value based on the initial gear position;
[0042] In this embodiment, the control unit 5 can directly read the voltage value of the color temperature switch through ADC conversion to obtain the initial voltage value and the real-time voltage value, that is, the corresponding initial gear position and the real-time gear position.
[0043] 203. Based on the confirmed initial voltage value, match an initial cooling and warming duty cycle corresponding to the initial voltage value from the preset gear duty cycle information, where the initial cooling and warming duty cycle includes an initial cold light duty cycle and an initial warm light duty cycle.
[0044] Furthermore, if the mode switching switch is in the off state, adjusting the color temperature state of the lamp based on the real-time gear information of the color temperature switch specifically includes:
[0045] 301. When the mode switch is in the off state, obtaining real-time gear information of the color temperature switch according to a preset periodic detection time interval;
[0046] 302. If the real-time gear information of the color temperature switch does not change within the adjacent periodic detection time intervals, the working state of the control lamp remains unchanged;
[0047] 303. If the real-time gear position information of the color temperature switch changes within adjacent periodic detection time intervals, adjust the color temperature state of the lamp based on the real-time gear position information of the color temperature switch.
[0048] In this embodiment, the periodic detection mechanism of the scheme in which the color temperature does not follow the brightness change is triggered by the off state of the mode switching switch, which can intelligently monitor the real-time gear information of the color temperature switch without continuous manual operation, thereby improving the convenience of use; when the real-time gear information of the color temperature switch remains stable within adjacent periodic detection time intervals, the working state of the lamp is automatically maintained unchanged, thereby avoiding unnecessary color temperature adjustment, extending the service life of the lamp, and also reducing energy consumption; if the real-time gear information of the color temperature switch changes, it responds quickly and automatically adjusts the color temperature state of the lamp based on the new gear information, thereby ensuring that the lighting effect matches the user's needs and improving the user experience.
[0049] Further, if the switch is in the on state, analog information and digital information are obtained, the adjustment gear is confirmed based on the analog information and the digital information, and the adjustment cold and warm duty ratio corresponding to the adjustment gear is obtained, and then the color temperature state of the lamp is adjusted based on the adjustment cold and warm duty ratio, specifically including:
[0050] 401. When the mode switching switch is in an on state, analog information and digital information are acquired according to a preset periodic detection time interval, wherein the analog information is a voltage dimming signal and the digital information is a thyristor dimming signal;
[0051] In this embodiment, the analog information is a 1-10V dimming signal, and the 0-10V dimming signal is converted into a 0-100% PWM signal through the digital-to-analog conversion chip U4 and then input into the control unit 5 through the isolation unit 31; the thyristor dimming signal detects the average value of the input voltage through the voltage divider 41 and inputs it into the input end of the comparison chip U1, the comparison chip U1 compares the input voltage with the reference voltage, and then outputs a PWM signal to the control unit 5; the control unit 5 determines the dimming mode and dimming depth by detecting these two dimming signals.
[0052] 402. If, within the adjacent periodic detection time intervals, neither the analog information nor the digital information changes, or the change value of the analog information is less than the preset analog change amount and the change value of the digital information is less than the preset digital change amount, the working state of the control lamp remains unchanged;
[0053] In this embodiment, the color temperature state of the lamp will be adjusted only when the change of the 0-10V dimming signal is greater than 5% within adjacent time intervals; the color temperature state of the lamp will be adjusted only when the change of the thyristor dimming signal is greater than 3% within adjacent time intervals; by setting the change threshold corresponding to the analog dimming signal and the change threshold corresponding to the digital dimming signal, frequent color temperature adjustments caused by slight fluctuations in the signal can be effectively avoided, thereby improving the stability of the system and the user's experience; and ensuring that the adjustment of the color temperature of the lamp is based on actual needs, reducing unnecessary color temperature changes, and extending the service life of the lamp; at the same time, it also enables the lamp to respond more accurately to the user's dimming needs and provide a more comfortable lighting environment.
[0054] 403. If, within adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to the preset analog change amount or the change value of the digital information is greater than or equal to the preset digital change amount, then the adjustment of the cold and warm duty cycle is confirmed based on the analog information and the digital information, and the color temperature state of the lamp is adjusted based on the adjustment of the cold and warm duty cycle.
[0055] Further, if within adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to a preset analog change amount or the change value of the digital information is greater than or equal to a preset digital change amount, then based on the analog information and the digital information, confirming to adjust the cold and warm duty ratio, and adjusting the color temperature state of the lamp based on the adjusted cold and warm duty ratio, specifically includes:
[0056] 501. If, within adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to a preset analog change amount or the change value of the digital information is greater than or equal to a preset digital change amount, then obtain an analog duty cycle corresponding to the analog information and a digital duty cycle corresponding to the digital information;
[0057] 502. Compare the analog duty cycle with the digital duty cycle, and take the duty cycle with a lower value as the duty cycle for adjusting the cooling and heating; that is, when the value of the analog duty cycle is lower, the corresponding adjustment method is obtained based on the value of the analog duty cycle, and when the value of the digital duty cycle is lower, the corresponding adjustment method is obtained based on the value of the digital duty cycle.
[0058] In this embodiment, by comparing the values of the analog duty cycle and the digital duty cycle, a lower duty cycle is selected as the basis for color temperature adjustment; this method ensures the efficiency and accuracy of the adjustment process; when the value of the analog duty cycle is low, the corresponding adjustment method is determined according to the specific value of the analog duty cycle to achieve the best color temperature adjustment effect; similarly, if the value of the digital duty cycle is low, a suitable adjustment strategy will be adopted according to the value of the digital duty cycle; this flexible selection mechanism helps to optimize the color temperature adjustment process and improve the lighting effect of the lamp and the user experience.
[0059] 503. Confirming an adjustment method based on adjusting the cold and warm duty ratio, and adjusting the color temperature state of the lamp based on the confirmed adjustment method;
[0060] In this embodiment, each type of duty cycle corresponds to three adjustment methods; for the analog duty cycle, when the duty cycle is 85% to 100%, the current CCT color temperature value is maintained; when the duty cycle is 15% to 85%, the color temperature value decreases linearly with the duty cycle; when the duty cycle is ≤15%, the color temperature drops to 0%, at this time, the brightness of the lamp is 1800K; for the digital duty cycle, when the duty cycle is 60% to 100%, the current CCT color temperature value is maintained; when the duty cycle is 20% to 60%, the color temperature value decreases linearly with the duty cycle; when the duty cycle is ≤20%, the color temperature drops to 0%, at this time, the brightness of the lamp is 1800K.
[0061] Furthermore, in this embodiment, during the color temperature adjustment process, when the color temperature value changes with the linear decrease of the duty cycle, the control unit 5 will finely adjust the output duty cycle with a cycle of every 2 milliseconds; the amplitude of each adjustment is set to ±0.25%, and such a small change ensures that the color temperature adjustment process is both smooth and uniform; through this continuous and regular adjustment, until the output duty cycle is completely equal to the adjusted cold and warm duty cycle, that is, the target duty cycle, the uniform change and linear transition of the color temperature are achieved, ensuring the natural and comfortable lighting effect.
[0062] The effect achieved by the color temperature adjustment method to be protected by the present application is illustrated by an example that, when the ambient brightness is high at night, the color temperature of the light source is set to a cool tone, thereby making the surrounding environment appear brighter; conversely, when the user is preparing to go to bed, the brightness of the light source is adjusted to the lowest, and the color temperature is automatically converted to a warm tone, creating a warmer ambient atmosphere; in the process of light source adjustment, compared with the traditional single adjustment method that can only adjust the brightness or color temperature, the present application can intelligently realize the transition from bright to warm ambient atmosphere, which is closer to actual life needs and provides users with a more superior user experience.
[0063] See also Figures 2 to 4The present invention also provides a color temperature adjustment circuit accordingly, and the color temperature adjustment circuit adopts any of the color temperature adjustment methods described above to realize working control; the color temperature adjustment circuit includes a high voltage unit 1, a low voltage unit 2, an analog signal detection unit 3, a digital signal detection unit 4, a control unit 5 and a switch unit 6, the input end of the high voltage unit 1 is used to connect to an external power supply device, the output end of the high voltage unit 1 is inductively connected to the input end of the low voltage unit 2 and the input end of the analog signal detection unit 3 respectively, the output end of the low voltage unit 2 is connected to the power supply end of the control unit 5, the input end of the digital signal detection unit 4 is connected to the low voltage unit 2, the output end of the digital signal detection unit 4, the output end of the analog signal detection unit 3 and the output end of the switch unit 6 are respectively connected to the signal input end of the control unit 5, and the output end of the control unit 5 is used to connect to a lamp.
[0064] The color temperature adjustment circuit of the present invention realizes precise adjustment of color temperature by integrating a high-voltage unit 1, a low-voltage unit 2, an analog signal detection unit 3, a digital signal detection unit 4, a control unit 5 and a switch unit 6; wherein the high-voltage unit 1 is responsible for receiving electric energy from an external power supply device, and providing the required voltage to the low-voltage unit 2 and the analog signal detection unit 3 through an inductive connection; the low-voltage unit 2 is responsible for providing a stable power supply voltage to the control unit 5 to ensure the stable operation of the circuit; the switch unit 6 is used to confirm the working mode required by the user. When the working mode is that the color temperature changes with the brightness, the analog signal detection unit 3 and the digital signal detection unit 4 are responsible for detecting the analog signal and the digital signal in the circuit. The signal reflects the current working state of the adjustment circuit, so that the control unit 5 can process and analyze the received signal using a preset algorithm and logic, thereby obtaining the color temperature value that needs to be adjusted; finally, the output end of the control unit 5 is connected to the lamp, and the adjusted color temperature signal is transmitted to the lamp, thereby realizing precise adjustment of the color temperature.
[0065] In this embodiment, the external power supply device may be mains power.
[0066] For further information, see Figure 2 and Figure 4 The switch unit 6 includes a mode switching switch and a color temperature switch, and the color temperature switch and the mode switching switch are respectively connected to the signal input end of the control unit 5.
[0067] In this example, see Figure 4The control unit 5 includes a seventh control chip U7, a voltage stabilizing unit 51, a fourth field effect transistor Q4 and a fifth field effect transistor Q5, and the model of the seventh control chip U7 is STC8H1K08T; the output end of the mode switching switch is connected to the pin P1.3 of the seventh control chip U7, and the output end of the color temperature switch is connected to the pin 14 of the seventh control chip U7; the output end of the low voltage unit 2 is connected to the pin VCC and the pin ADC of the seventh control chip U7 through the voltage stabilizing unit 51; the pin P1.1 of the seventh control chip U7 is connected to the gate of the fourth field effect transistor Q4, and the fourth field effect transistor Q4 is used to output a PWM signal to adjust the cold light duty cycle of the lamp; the pin P1.0 of the seventh control chip U7 is connected to the gate of the fifth field effect transistor Q5, and the fifth field effect transistor Q5 is used to output a PWM signal to adjust the warm light duty cycle of the lamp.
[0068] In this example, see Figure 3 The high-voltage unit 1 includes a rectifier 11, a first filter 12, a feedback unit, a third control chip U3, and the primary and tertiary sides of a transformer T1. The low-voltage unit 2 includes a secondary side of a transformer T1 and a second filter 21; the model of the third control chip U3 is SY5889; the input end of the rectifier 11 is used to connect an external power supply device, and the output end of the rectifier 11 is connected to the pin COMP and pin 7 of the third control chip U3 and the primary side of the transformer T1 through the first filter 12; the primary side of the transformer T1 is inductively connected to its secondary side, tertiary side and quaternary side respectively; the tertiary side of the transformer T1 is connected to the pin OVP of the third control chip U1 through the feedback unit; the pin 8 of the third control chip U3 is connected to the isolation unit 31; the secondary side of the transformer T1 is connected to the power supply end of the control unit 5 through the second filter 21.
[0069] For further information, see Figure 2 and Figure 3 The analog signal detection unit 3 includes the quaternary side of the transformer T1, an analog-to-digital conversion chip U4 and an isolation unit 31. The quaternary side of the transformer T1 is inductively connected to the output end of the high-voltage unit 1, the quaternary side of the transformer T1 is connected to the input end of the analog-to-digital conversion chip U4, the output end of the analog-to-digital conversion chip U4 is connected to the input end of the isolation unit 31, and the output end of the isolation unit 31 is connected to the signal input end of the control unit 5.
[0070] In this embodiment, the model of the analog-to-digital conversion chip U4 is SY5867, the isolation part 31 includes an optocoupler U5 and an optocoupler U6, the pin 6 of the analog-to-digital conversion chip U4 is connected to the transmitting end of the optocoupler U5, and the transmitting end of the optocoupler U5 is connected to the transmitting end of the optocoupler U6; the transmitting end of the optocoupler U6 is connected to the pin 16 of the seventh control chip U7.
[0071] For further information, see Figure 2 and Figure 3 The digital signal detection unit 4 includes a voltage divider 41 and a comparison chip U1. The input end of the voltage divider 41 is connected to the low voltage unit 2, the output end of the voltage divider 41 is connected to the input end of the comparison chip U1, and the output end of the comparison chip U1 is connected to the signal input end of the control unit 5.
[0072] In this embodiment, the input end of the voltage divider part 41 is connected to the second filter part 21, the voltage divider part 41 includes a third transistor Q2 and a second voltage regulator U2, and the output end of the voltage divider part 41 is connected to pin 6 of the comparison chip U1; the model of the comparison chip U1 is LMV331-TR, and the pin OUT of the comparison chip U1 is connected to pin 12 of the seventh control chip U7.
[0073] The present invention also provides a PCB board accordingly, on which the color temperature adjustment circuit as described above is printed.
[0074] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the present invention.
Claims
1. A color temperature adjustment method, characterized in that: The color temperature adjustment method comprises: Obtaining preset gear duty cycle information and obtaining an initial gear of the color temperature switch, and confirming an initial cooling and heating duty cycle corresponding to the initial gear based on the obtained initial gear and the preset gear duty cycle information; Controlling the lamp to start working based on the initial cooling and heating duty cycle, and obtaining the switch state of the mode switching switch; If the mode switch is in the off state, the color temperature state of the lamp is adjusted based on the real-time gear information of the color temperature switch; If the switch is in the on state, analog information and digital information are obtained, and the adjustment of the cold and warm duty ratio is confirmed based on the analog information and the digital information, and the color temperature state of the lamp is adjusted based on the adjustment of the cold and warm duty ratio.
2. A color temperature adjustment method according to claim 1, characterized in that: The step of obtaining preset gear duty cycle information and obtaining the initial gear of the color temperature switch, and confirming the initial cooling and heating duty cycle corresponding to the initial gear based on the obtained initial gear and the preset gear duty cycle information, specifically includes: Obtaining preset gear duty cycle information, wherein the preset gear duty cycle information includes a set voltage value, a set color temperature gear corresponding to the set voltage value, and a set cold and warm duty cycle corresponding to the set color temperature gear, wherein the set cold and warm duty cycle includes a set cold light duty cycle and a set warm light duty cycle, and the sum of the cold light duty cycle and the warm light duty cycle is 100%; Acquiring an initial gear position of the color temperature switch, and confirming an initial voltage value based on the initial gear position; Based on the confirmed initial voltage value, an initial cooling and warming duty cycle corresponding to the initial voltage value is matched from the preset gear duty cycle information, wherein the initial cooling and warming duty cycle includes an initial cold light duty cycle and an initial warm light duty cycle.
3. The color temperature adjustment method according to claim 1, characterized in that: If the mode switch is in the off state, adjusting the color temperature state of the lamp based on the real-time gear information of the color temperature switch specifically includes: When the mode switch is in the off state, the real-time gear position information of the color temperature switch is obtained according to the preset periodic detection time interval; If the real-time gear information of the color temperature switch does not change within the adjacent periodic detection time interval, the working state of the controlled lamp remains unchanged; If the real-time gear position information of the color temperature switch changes within adjacent periodic detection time intervals, the color temperature state of the lamp is adjusted based on the real-time gear position information of the color temperature switch.
4. The color temperature adjustment method according to claim 1, characterized in that: If the switch is in the on state, analog information and digital information are obtained, the adjustment gear is confirmed based on the analog information and the digital information, and the adjustment cold and warm duty ratio corresponding to the adjustment gear is obtained, and then the color temperature state of the lamp is adjusted based on the adjustment cold and warm duty ratio, specifically including: When the mode switching switch is in the on state, analog information and digital information are obtained according to a preset periodic detection time interval, wherein the analog information is a voltage dimming signal and the digital information is a thyristor dimming signal; If, within the adjacent periodic detection time intervals, neither the analog information nor the digital information changes, or the change value of the analog information is less than the preset analog change amount and the change value of the digital information is less than the preset digital change amount, the working state of the control lamp remains unchanged; If, within adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to the preset analog change amount or the change value of the digital information is greater than or equal to the preset digital change amount, the adjustment of the cold and warm duty cycle is confirmed based on the analog information and the digital information, and the color temperature state of the lamp is adjusted based on the adjusted cold and warm duty cycle.
5. A color temperature adjustment method according to claim 4, characterized in that: If, within adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to a preset analog change amount or the change value of the digital information is greater than or equal to a preset digital change amount, then confirming to adjust the cold and warm duty ratio based on the analog information and the digital information, and adjusting the color temperature state of the lamp based on the adjusted cold and warm duty ratio, specifically includes: If, within adjacent periodic detection time intervals, the change value of the analog information is greater than or equal to a preset analog change amount or the change value of the digital information is greater than or equal to a preset digital change amount, then the analog duty cycle corresponding to the analog information and the digital duty cycle corresponding to the digital information are obtained; Compare the analog duty cycle with the digital duty cycle, and take the duty cycle with the lower value as the duty cycle for adjusting the cooling and heating; The adjustment method is confirmed based on adjusting the cold and warm duty ratio, and the color temperature state of the lamp is adjusted based on the confirmed adjustment method.
6. A color temperature adjustment circuit, characterized in that: The color temperature adjustment circuit adopts the color temperature adjustment method described in any one of claims 1 to 5 to realize working control; the color temperature adjustment circuit includes a high-voltage unit, a low-voltage unit, an analog signal detection unit, a digital signal detection unit, a control unit and a switch unit, the input end of the high-voltage unit is used to connect to an external power supply device, the output end of the high-voltage unit is respectively inductively connected to the input end of the low-voltage unit and the input end of the analog signal detection unit, the output end of the low-voltage unit is connected to the power supply end of the control unit, the input end of the digital signal detection unit is connected to the low-voltage unit, the output end of the digital signal detection unit, the output end of the analog signal detection unit and the output end of the switch unit are respectively connected to the signal input end of the control unit, and the output end of the control unit is used to connect to a lamp.
7. A color temperature adjustment circuit according to claim 6, characterized in that: The switch unit includes a mode switching switch and a color temperature switch, and the color temperature switch and the mode switching switch are respectively connected to the signal input end of the control unit.
8. The color temperature adjustment circuit according to claim 7, characterized in that: The analog signal detection unit includes a quaternary side of a transformer T1, an analog-to-digital conversion chip U4 and an isolation unit. The quaternary side of the transformer T1 is inductively connected to the output end of the high-voltage unit, the quaternary side of the transformer T1 is connected to the input end of the analog-to-digital conversion chip U4, the output end of the analog-to-digital conversion chip U4 is connected to the input end of the isolation unit, and the output end of the isolation unit is connected to the signal input end of the control unit.
9. The color temperature adjustment circuit according to claim 7, characterized in that: The digital signal detection unit includes a voltage divider and a comparison chip U1, the input end of the voltage divider is connected to the low voltage unit, the output end of the voltage divider is connected to the input end of the comparison chip U1, and the output end of the comparison chip U1 is connected to the signal input end of the control unit.
10. A PCB board, characterized in that: The color temperature adjustment circuit as claimed in claim 6 is printed on the PCB board.