Starting time compensation method and device for DALI (Digital Addressable Lighting Interface) power supply

By adjusting the PWM signal output size of the DALI power supply, the consistency of the lighting time of the DALI power supply is ensured under different Power on level conditions, which solves the problem of inconsistent start-up time of the DALI power supply and improves the regional lighting experience and product competitiveness.

CN118540830AInactive Publication Date: 2024-08-23ジャン州立達信光電子科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410458809.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The start-up time of DALI power supply is inconsistent under different Power on level conditions, resulting in inconsistent time from when the lamp is powered on to when it lights up in the same area.

Method used

By determining the times T1, T2 and T3, where T1+T2=540ms and T1+T2+T3≥660ms, the PWM signal output size is adjusted to make the output voltage Vo reach the preset voltage V1, thereby keeping the light on under different conduction voltages VF. Lamp timing consistency. The specific method includes dividing the T3 time into the PWM adjustment area T31 and the PWM actual output area T32, adjusting the PWM signal output size in T31 to reach 0.7VF, and ensuring that the lights can be turned on in T32.

Benefits of technology

It realizes that lamps with different brightness can light up at the same time, improves the experience of regional lighting and product competitiveness, and ensures the consistency of the lighting time of DALI power supply under different conduction voltages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540830A
    Figure CN118540830A
Patent Text Reader

Abstract

The invention provides a DALI power supply starting time compensation method comprising the following steps: S1, time T1, T2 and T3 are determined, T1 + T2 = 540ms, and T1 + T2 + T3 is greater than or equal to 660ms; t1 is the power supply time from the alternating current power supply to the MCU; t2 is the time from the MCU to the PWM signal output; the T3 is the time from PWM signal output to lighting; and S2, the output size of the PWM signal is adjusted within the time T3, so that Vo is equal to V1, Vo is the output voltage, and V1 is the preset voltage. According to the invention, closed-loop compensation is carried out on the lighting starting time of the DALI power supply during power-on, so that lighting can be realized at the same time with different brightness in the same lighting area within the same power-on time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of providing power to a light source, and in particular to a method and device for compensating the startup time of a DALI power supply. Background Art

[0002] DALI (Digital Addressable Lighting Interface) protocol is a commonly used lighting dimming protocol that supports direct and inter-level dimming and can be widely used in intelligent lighting control systems such as hotels, shopping malls, and office buildings. With the continuous development of lighting technology, DALI communication is used in more and more industrial projects.

[0003] The DALIICE62386-102 standard defines the time requirements for DALI power supply power-on startup. DALI power supply is not allowed to light up before 540ms after AC power supply, and the light-on action is completed before the Power on level value is set. The minimum time for the Power on level value to be set is 660ms, and the maximum value is unlimited. Because there is no maximum value limit, the DALI startup time at different Power on levels is currently different, which will lead to a phenomenon that the time from power-on to light-on of lamps in the same area will be inconsistent when they are powered on at the same time. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a startup time compensation method for a DALI power supply.

[0005] First of all, it should be noted that lighting power products generally have an electrolytic capacitor at the output end, which will be charged after power is turned on. When the voltage value of the electrolytic capacitor reaches the conduction voltage V F When the light source starts to light up, there is a formula: dt = (C*du) / (i*pwm). When other values ​​remain unchanged, increasing the output of pwm will reduce the time of dt, and vice versa, reducing the output of pwm will increase the time of dt.

[0006] The first aspect of the present application proposes a DALI power supply startup time compensation method, including: S1, determining time T1, T2 and T3, wherein T1+T2=540ms, T1+T2+T3≥660ms; T1 is the time from AC power supply to MCU; T2 is the time from MCU to PWM signal output; T3 is the time from PWM signal output to lighting;

[0007] S2. Adjust the PWM signal output within T3 so that Vo=V1, where Vo is the output voltage and V1 is the preset voltage.

[0008] Through the above technical solution, at different conduction voltages V F And after setting the current coefficient, within the entire range of low-brightness startup and high-brightness startup, the time from AC power-on to the actual light turning on can be guaranteed to light up within a relatively consistent time.

[0009] Specifically, T3 includes a PWM adjustment area T31 and a PWM actual output area T32; the PWM adjustment area T31 = 0.8T3.

[0010] Specifically, S2 specifically adjusts the PWM signal output size according to the output voltage Vo and the preset voltage V1 in the PWM adjustment area T31, so that Vo=V1, and when T=T1+T2+T31, Vo=0.7V F , where V F is the on-state voltage; in the PWM actual output region T32, the output voltage Vo is output according to the actual voltage.

[0011] Specifically, the PWM signal output size is adjusted within the T3 time according to the formula:

[0012] dt=(C*du) / (i*pwm)

[0013] Wherein, C represents capacitance, dt is the differential of time, du is the differential of voltage, and i is current; when the output voltage Vo is lower than the preset voltage V1, the duty cycle of the PWM signal is increased, otherwise the duty cycle of the PWM signal is reduced.

[0014] Through the above technical solution, by adjusting the duty cycle of the PWM signal, lamps with different brightness can meet the condition that the output voltage Vo=0.7VF when the time reaches 0.8T3 at the same time.

[0015] Specifically, the preset voltage V1 is based on Calculate, where T1+T2≤T≤T31.

[0016] Through the above technical solution, the time T3 from PWM signal output to lighting is divided into PWM adjustment area T31 and PWM actual output area T32, so that different lamps can all meet Vo=0.7VF at 0.8*T3, so that they can all light up when entering the PWM actual output area T32. At this time, PWM does not need to be specially adjusted as long as it is output according to the actual voltage value.

[0017] In a second aspect of the present application, a DALI power supply startup time compensation device is proposed, comprising:

[0018] The power module is configured to provide power;

[0019] The PWM output module is configured to output a PWM signal;

[0020] The MCU module is configured to control the PWM output module to output the PWM signal size;

[0021] The on-voltage closed-loop control module is configured to detect the output voltage Vo and output a control signal to the MCU module according to a pre-stored algorithm;

[0022] The pre-stored algorithm includes: determining the time T1, T2 and T3, where T1+T2=540ms, T1+T2+T3≥660ms; T1 is the time from AC power supply to MCU; T2 is the time from MCU to PWM signal output; T3 is the time from PWM signal output to lighting; adjusting the PWM signal output size within T3 time so that Vo=V1, where Vo is the output voltage and V1 is the preset voltage;

[0023] and a light source module.

[0024] Specifically, the power module is connected to the MCU module, the MCU module is connected to the PWM output module, the PWM output module is connected to the light source module, and the on-voltage closed-loop control module is connected to the PWM output module and the MCU module.

[0025] Specifically, the PWM signal output size is adjusted within T3 as follows:

[0026] According to the formula dt=(C*du) / (i*pwm), C represents capacitance, dt is the differential of time, du is the differential of voltage, and i is current; T3 includes a PWM adjustment area T31 and a PWM actual output area T32; the PWM adjustment area T31=0.8T3; within the PWM adjustment area T31, the PWM signal output size is adjusted according to the output voltage Vo and the preset voltage V1, so that Vo=V1, and when T=T1+T2+T31, Vo=0.7VF, wherein VF is the on-state voltage; within the PWM actual output area T32, the output voltage Vo is output according to the actual voltage.

[0027] Through the above technical solution, the firmware closed-loop compensation is performed on the DALI power supply lighting start-up time when powered on, so that different DALI power supplies have different conduction voltages V F The same lighting time can be maintained under different conduction voltages V F Inconsistent power-on and power-off times can improve the regional lighting experience and increase product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and are used together with the description to explain the principles of the present application. It will be easy to recognize other embodiments and many expected advantages of the embodiments because they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with each other. The same reference numerals refer to corresponding similar parts.

[0029] Figure 1 It is a flow chart of a method for compensating the startup time of a DALI power supply according to an embodiment of the present application;

[0030] Figure 2 is a structural schematic diagram of a DALI power supply startup time compensation device according to an embodiment of the present application;

[0031] Figure 3 It is a diagram showing the effect of PWM adjustment control voltage output according to a startup compensation method of a DALI power supply in an embodiment of the present application.

[0032] The meanings of the numbers in the figure are: 201, power module; 202, MCU module; 203, PWM output module; 204, conduction voltage closed-loop control module; 205, light source module. DETAILED DESCRIPTION

[0033] In the following detailed description, reference is made to the accompanying drawings, which form a part of the detailed description and are shown by illustrative specific embodiments in which the present application can be practiced. To this end, directional terms, such as "top", "bottom", "left", "right", "up", "down", etc., are used with reference to the orientation of the figures described. Because the components of the embodiments can be positioned in several different orientations, directional terms are used for the purpose of illustration and are by no means limiting. It should be understood that other embodiments may be utilized or logical changes may be made without departing from the scope of the present application. Therefore, the following detailed description should not be adopted in a limiting sense, and the scope of the present application is defined by the appended claims.

[0034] This application proposes a DALI power supply startup time compensation method. Figure 1 is a flow chart of a method for compensating the startup time of a DALI power supply according to an embodiment of the present application, such as Figure 1 As shown, it includes: S1, determining the time T1, T2 and T3, where T1+T2=540ms, T1+T2+T3≥660ms; T1 is the time from AC power supply to MCU; T2 is the time from MCU to PWM signal output; T3 is the time from PWM signal output to lighting;

[0035] S2. Adjust the PWM signal output within T3 so that Vo=V1, where Vo is the output voltage and V1 is the preset voltage.

[0036] Through the above technical solution, at different conduction voltages V F And after setting the current coefficient, within the entire range of low-brightness startup and high-brightness startup, the time from AC power-on to the actual light turning on can be guaranteed to light up within a relatively consistent time.

[0037] Specifically, T3 includes a PWM adjustment area T31 and a PWM actual output area T32; the PWM adjustment area T31 = 0.8T3.

[0038] Specifically, S2 specifically adjusts the PWM signal output size according to the output voltage Vo and the preset voltage V1 in the PWM adjustment area T31, so that Vo=V1, and when T=T1+T2+T31, Vo=0.7V F , where V F is the on-state voltage; in the PWM actual output region T32, the output voltage Vo is output according to the actual voltage.

[0039] Specifically, the PWM signal output size is adjusted within the T3 time according to the formula:

[0040] dt=(C*du) / (i*pwm)

[0041] Wherein, C represents capacitance, dt is the differential of time, du is the differential of voltage, and i is current; when the output voltage Vo is lower than the preset voltage V1, the duty cycle of the PWM signal is increased, otherwise the duty cycle of the PWM signal is reduced.

[0042] Through the above technical solution, by adjusting the duty cycle of the PWM signal, lamps with different brightness can meet the condition that the output voltage Vo=0.7VF when the time reaches 0.8T3 at the same time.

[0043] Specifically, the preset voltage V1 is based on Calculate, where T1+T2≤T≤T31.

[0044] Through the above technical solution, the time T3 from PWM signal output to lighting is divided into PWM adjustment area T31 and PWM actual output area T32, so that different lamps can all meet Vo=0.7VF at 0.8*T3, so that they can all light up when entering the PWM actual output area T32. At this time, PWM does not need to be specially adjusted as long as it is output according to the actual voltage value.

[0045] Figure 2 is a structural diagram of a DALI power supply startup time compensation device according to an embodiment of the present application, such as Figure 2 As shown, a DALI power supply startup time compensation device includes:

[0046] The power module 201 is configured to provide power;

[0047] The PWM output module 203 is configured to output a PWM signal;

[0048] The MCU module 202 is configured to control the magnitude of the PWM signal output by the PWM output module;

[0049] The on-voltage closed-loop control module 204 is configured to detect the output voltage Vo and output a control signal to the MCU module according to a pre-stored algorithm;

[0050] The pre-stored algorithm includes: determining the time T1, T2 and T3, where T1+T2=540ms, T1+T2+T3≥660ms; T1 is the time from AC power supply to MCU; T2 is the time from MCU to PWM signal output; T3 is the time from PWM signal output to lighting; adjusting the PWM signal output size within T3 time so that Vo=V1, where Vo is the output voltage and V1 is the preset voltage;

[0051] and a light source module 205 .

[0052] Specifically, the power module 201 is connected to the MCU module, the MCU module 202 is connected to the PWM output module, the PWM output module 203 is connected to the light source module 205 , and the on-voltage closed-loop control module 204 is connected to the PWM output module 203 and the MCU module 202 .

[0053] Specifically, the PWM signal output size is adjusted within T3 as follows:

[0054] According to the formula dt=(C*du) / (i*pwm), C represents capacitance, dt is the differential of time, du is the differential of voltage, and i is current; T3 includes a PWM adjustment area T31 and a PWM actual output area T32; the PWM adjustment area T31=0.8T3; within the PWM adjustment area T31, the PWM signal output size is adjusted according to the output voltage Vo and the preset voltage V1, so that Vo=V1, and when T=T1+T2+T31, Vo=0.7VF, wherein VF is the on-state voltage; within the PWM actual output area T32, the output voltage Vo is output according to the actual voltage.

[0055] Figure 3 : is a diagram showing the effect of PWM adjustment control of electrolysis voltage output according to a startup compensation method of a DALI power supply in an embodiment of the present application, such as Figure 3As shown, T3 is divided into two areas, the PWM adjustment area and the PWM output area according to the actual LEVEL. The time in the PWM adjustment area is 80% of the total T3 time. The goal is to make the output Vo reach a voltage value of 0.7*VF during this period (the light source is about to be lit at this value). In the PWM adjustment area, PWM needs to be adjusted according to the actual output Vo value. If the Vo value is lower than the original preset value, the PWM duty cycle should be increased, otherwise the PWM duty cycle should be reduced, so that at the time point of 0.8*T3, the Vo output of 0.7*VF can be achieved, and the deviation is not too large. Then, in the PWM output area according to the actual LEVEL value, the output is based on the actual POWER ON LEVEL value.

[0056] Compared with the case without the firmware compensation, the light will last longer when started at low brightness, and shorter when started at high brightness. By comparing the two groups, when multiple lights are lit at different brightnesses in the same area, it is obvious that the time consistency of the brightness of the lamps with firmware compensation is better than that of the lamps without firmware compensation.

[0057] Through the above technical solution, after the above firmware compensation at power-on, at different power on level values ​​and after setting the current coefficient, in the entire range of low-brightness startup and high-brightness startup, the time from AC power-on to the actual light turning on can be guaranteed to be lit within a relatively consistent time. Compared with the case without adding the above firmware compensation, the light turns on for a longer time at low-brightness startup and for a shorter time at high-brightness startup.

[0058] Obviously, those skilled in the art can make various modifications and changes to the embodiments of the present application without departing from the spirit and scope of the present application. In this way, if these modifications and changes are within the scope of the claims of the present application and their equivalents, the present application is also intended to cover these modifications and changes. The word "comprising" does not exclude the presence of other elements or steps not listed in the claims. The simple fact that certain measures are recorded in mutually different dependent claims does not indicate that the combination of these measures cannot be used to profit. Any figure mark in the claims should not be considered to limit the scope.

Claims

1. A method for compensating the startup time of a DALI power supply, characterized in that: include: S1, determine the time T1, T2 and T3, wherein T1+T2=540ms, T1+T2+T3≥660ms; T1 is the time it takes for the AC power supply to supply power to the MCU; T2 is the time from MCU to PWM signal output; T3 is the time from PWM signal output to light on; S2. Adjust the PWM signal output within the time T3 so that Vo=V1, wherein Vo is the output voltage and V1 is the preset voltage.

2. A DALI power supply startup time compensation method according to claim 1, characterized in that: The T3 includes a PWM adjustment area T31 and a PWM actual output area T32; the PWM adjustment area T31 = 0.8T3.

3. A DALI power supply startup time compensation method according to claim 2, characterized in that: The S2 is specifically to adjust the PWM signal output size according to the output voltage Vo and the preset voltage V1 in the PWM adjustment area T31, so that Vo=V1, and when T=T1+T2+T31, Vo=0.7V F , where V F is the on-state voltage; within the PWM actual output region T32, the output voltage Vo is output according to the actual voltage.

4. A DALI power supply startup time compensation method according to claim 3, characterized in that: The PWM signal output size is adjusted within the T3 period according to the formula: dt=(C*du) / (i*pwm) Wherein, C represents capacitance, dt is the differential of time, du is the differential of voltage, and i is current; when the output voltage Vo is lower than the preset voltage V1, the duty cycle of the PWM signal is increased, otherwise the duty cycle of the PWM signal is reduced.

5. A DALI power supply startup time compensation method according to claim 2, wherein the preset voltage V1 is based on Calculate, where T1+T2≤T≤T31.

6. A DALI power supply startup time compensation device, characterized in that: include: The power module is configured to provide power; The PWM output module is configured to output a PWM signal; The MCU module is configured to control the size of the PWM signal output by the PWM output module; The on-voltage closed-loop control module is configured to detect the output voltage Vo and output a control signal to the MCU module according to a pre-stored algorithm; The pre-stored algorithm includes: determining the time T1, T2 and T3, wherein T1+T2=540ms, and T1+T2+T3≥660ms; T1 is the time from the AC power supply to the MCU; T2 is the time from the MCU to the PWM signal output; T3 is the time from the PWM signal output to the light on; adjusting the PWM signal output size within the T3 time so that Vo=V1, wherein Vo is the output voltage and V1 is the preset voltage; and a light source module.

7. A DALI power supply startup time compensation device according to claim 6, characterized in that: The power supply module is connected to the MCU module, the MCU module is connected to the PWM output module, the PWM output module is connected to the light source module, and the on-voltage closed-loop control module is connected to the PWM output module and the MCU module.

8. The DALI power supply startup time compensation device according to claim 6, characterized in that: The specific adjustment of the PWM signal output size during the T3 period is: According to the formula dt=(C*du) / (i*pwm), C represents capacitance, dt is the differential of time, du is the differential of voltage, and i is current; T3 includes a PWM adjustment area T31 and a PWM actual output area T32; the PWM adjustment area T31=0.8T3; within the PWM adjustment area T31, the PWM signal output size is adjusted according to the output voltage Vo and the preset voltage V1, so that Vo=V1, and when T=T1+T2+T31, Vo=0.7VF, wherein VF is the on-state voltage; within the PWM actual output area T32, the output voltage Vo is output according to the actual voltage.