NFC programmable DALI-2 and d4i constant current led power supply

CN224843549UActive Publication Date: 2026-10-09ZHEJIANG KAIYAO LIGHTING
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202521464887.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-07-14
Publication Date
2026-10-09
Estimated Expiration
2035-07-14

AI Technical Summary

Technical Problem

上述技术方案依赖多档拨码(SW2、SW301)实现色温和电流调节,配置方式机械且灵活性有限,需手动操作拨码开关,无法支持远程或非接触式参数修改;且其仅提及支持DALI调光和0-10V调光,未明确兼容DALI-2与D4i

Benefits of technology

1)智能化配置高效便捷:通过NFC模块与MCU的I2C直连,实现无线参数读写,支持时钟延展和CRC校验,配置过程无需物理接触,错误数据可触发NACK反馈,提升参数配置的准确性和效率;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224843549U_ABST
    Figure CN224843549U_ABST
Patent Text Reader

Abstract

The utility model provides a kind of NFC programmable DALI-2 and D4i constant-current LED power supply, comprising: input voltage / current sampling circuit connects MCU module and isolation constant voltage circuit;Isolation constant voltage circuit connects constant-current output circuit, and constant-current output circuit connects MCU module and feedback signal;DALI interface circuit is connected MCU module by UART photo-coupler isolation circuit;DALI bus power supply control module connects DALI interface circuit;Auxiliary power supply module is connected DALI bus power supply control module and MCU module respectively;NFC module is directly connected MCU module.This power supply has integrated DALI bus power supply, energy consumption report, drive diagnosis and maintenance, and can be configured by NFC to the function that power storage data and output current, with intelligent configuration, strong protocol compatibility, power supply stable and safety isolation etc. Characteristics, suitable for the precise control scene of intelligent lighting system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of LED dimming power supply products, specifically to an NFC programmable DALI-2 and D4i constant current LED power supply. Background Technology

[0002] In recent years, DALI dimming solutions have been widely used in the field of LED driver power supplies. With the continuous development of DALI technology, it has been upgraded from DALI-2 to D4i. D4i has functions such as integrated bus power supply, memory expansion, energy consumption reporting, diagnostics and maintenance. It can also configure the power supply stored data and output current through NFC. Therefore, it is necessary to develop a simple NFC-programmable DALI-2 and D4i constant current LED power supply solution.

[0003] Currently, LED power supplies supporting DALI-2 and D4i have three major pain points: complex configuration, requiring physical interfaces (such as UART / USB) to connect debugging tools, necessitating disassembly and reassembly of the lamps for maintenance, resulting in low efficiency and susceptibility to environmental influences; poor protocol compatibility, with traditional solutions unable to simultaneously meet the triple requirements of DALI-2 control, D4i diagnostics, and bus power supply, requiring external modules that increase costs by 30%; and a conflict between accuracy and cost, with constant current control often employing open-loop topologies (accuracy ±5%), while closed-loop solutions require the addition of dedicated ADC chips, leading to a 25% increase in BOM costs.

[0004] Chinese patent document CN119584376A discloses "A Multi-Level DIP Switch for Color Temperature and Current Adjustment in a DALI and 0-10V Integrated Constant Current Drive Power Supply," which includes an EMI circuit, a rectifier circuit, an active and passive discharge circuit, a single-stage PFC flyback circuit, a low-power high-voltage startup circuit, a BUCK circuit, a color temperature control circuit, a DALI and 0-10V dimming circuit, and a multi-level DIP switch circuit for color temperature and current adjustment. By toggling the DIP switch SW2, the duty cycle of the input PWM signal of MO301 on the DALI and 0-10V dimming circuit can be adjusted to regulate the emission ratio of the two LED light sources, thereby achieving color adjustment. The complementary DIP switch for the output current of the two LEDs can adjust eight color temperatures, and the total current remains constant during color adjustment, equal to the current of the constant current source. The DIP switch SW301 is connected to the CS pin of the current adjustment circuit U201 for current sampling to achieve precise multi-level current control. The above technical solution relies on multiple DIP switches (SW2, SW301) to achieve color temperature and current adjustment. The configuration method is mechanical and has limited flexibility. It requires manual operation of the DIP switches and cannot support remote or non-contact parameter modification. Furthermore, it only mentions support for DALI dimming and 0-10V dimming, without explicitly stating compatibility with DALI-2 and D4i. Summary of the Invention

[0005] This invention proposes an NFC-programmable DALI-2 and D4i constant current LED power supply. By integrating an NFC module, it enables contactless parameter configuration. Combined with the DALI-2 and D4i compatible design, it improves the intelligent control level, communication reliability, and configuration flexibility of the constant current LED power supply, meeting the needs of intelligent lighting systems for precise dimming, configurable parameters, fault feedback, and safety isolation.

[0006] The purpose of this utility model also includes providing an integrated, low-cost, and high-precision LED power supply that achieves: wireless contactless programming, direct connection to the MCU via an NFC module, eliminating physical interfaces; full protocol compatibility, single-chip integration of DALI-2 control + D4i diagnostics + bus power supply; high-precision constant current, closed-loop feedback control (±3%) and direct-connect power architecture (efficiency 92.1%).

[0007] To achieve the above objectives, this invention proposes an NFC programmable DALI-2 and D4i constant current LED power supply, comprising an MCU module and peripheral circuitry: an input voltage / current sampling circuit connected to the MCU module and an isolated constant voltage circuit; the isolated constant voltage circuit connected to a constant current output circuit, which in turn connects to the MCU module and provides feedback signals; a DALI interface circuit connected to the MCU module via a UART optocoupler isolation circuit; a DALI bus power supply control module connected to the DALI interface circuit to provide power to external devices; an auxiliary power supply module connected to both the DALI bus power supply control module and the MCU module; and an NFC module directly connected to the MCU module to read and write configuration parameters.

[0008] The core of the MCU module is the US13 microcontroller chip, which is responsible for the control and data processing functions of the entire circuit. It interacts with peripheral circuits through various pins, such as receiving sampling signals, outputting control commands, and performing data communication, serving as the system's control center. The PB0 pin of the US13 chip is multiplexed for PWM output and DALI bus power enable signal, while the PA1 pin is multiplexed for ADC current sampling input and DALI data receive flag. This pin multiplexing design improves the functional integration of the MCU module and optimizes the circuit layout without increasing hardware costs.

[0009] Preferably, the core component of the NFC module is the US15 chip, which directly connects to the MCU module via the I2C bus to read and write configuration parameters and supports clock extension. Before writing configuration parameters, a CRC check is performed; valid parameters are stored in the internal Flash sector, and erroneous data triggers the MCU to return a NACK. The UC_RF pin of the US15 chip connects to the NFC antenna, responsible for transmitting and receiving RF signals with external devices, enabling contactless data interaction. This design ensures wireless, accurate, and secure parameter configuration; the clock extension function adapts to low-speed devices; and the verification mechanism prevents erroneous data from being written.

[0010] Preferably, the DALI interface circuit includes a chip US14, an optocoupler isolation unit, and a rectifier bridge DB2. The HV pin of US14 detects the high-voltage status of the bus; the VS pin monitors the bus voltage; the data transceiver pins RX / TX are connected to the optocoupler isolation unit and control the bus power supply through the DRAIN pin. The optocoupler isolation unit uses four-stage optocouplers US7B, US8A, US10B, and US11A to work collaboratively: US7B takes power signals from the DALI bus and transmits them to the chip in isolation; US8A isolates and amplifies the control signals output by the chip and drives the DALI bus; US10B isolates and transmits bus fault signals to the MCU; US11A works with US8A to amplify and isolate signals; and the rectifier bridge DB2 rectifies the DALI + / - input bus signals and outputs them to external devices. Optocoupler isolation ensures safe signal transmission, and the rectifier bridge ensures effective processing of bus signals, enabling reliable interaction with external DALI systems.

[0011] Preferably, the core component of the auxiliary power supply module is chip US3. The DRAIN pin is the high-voltage input terminal, receiving high-voltage DC input from the main power supply VBUS; the SEL pin is the enable control, receiving the MCU enable signal; the CS pin realizes current detection; the power supply module is controlled by the MCU's SEL enable signal: US3 works when it is high and immediately shuts off when it is low, meeting the programmable management requirements of the D4i protocol for bus power supply.

[0012] Preferably, the auxiliary power supply module converts the 40-60V DC input from the main power supply VBUS into +24V required by the DALI bus and +15V for the control chip's operation. The high-voltage VBUS input, after reverse-connection protection by the Schottky diode DS4, is connected to the DRAIN pin of US3. Based on the enable signal from the SEL pin, chip US3 controls the energy storage and release of the power inductor L11B by switching its internal transistor on and off: when the transistor is on, current flows through L11B to store energy; when the transistor is off, the energy stored in L11B is released through the freewheeling diode DS11. After filtering by L11A and smoothing by a capacitor, the final stable output is VCC 15V rectified by diode DS10 and +24V rectified by DS5. The reverse-connection protection and energy transfer path design ensure stable and safe power supply.

[0013] Preferably, the core components of the DALI bus power supply control module include an N-MOSFET QS1 and optocouplers US1A and US8B. The MOSFET QS1 is controlled by the output signals of optocouplers US1A / US8B: when the gate voltage of QS1 is >4V, it conducts, supplying +24V to the DALI bus; when the gate voltage is <1V, it turns off, cutting off the bus power supply. The optocoupler US1A is a bus voltage isolation feedback device, used for real-time voltage monitoring and isolated transmission. When the DALI+ voltage is >10V, the internal LED of US1A is turned on, the optocoupler output is turned on, and the MCU-ADC detects a low level; when the DALI+ voltage is <8V, US1A is turned off, and the pull-up resistor makes the MCU-ADC high. The optocoupler US8B is an MCU enable signal isolator, used for electrical isolation and level conversion, converting the 3.3V logic signal of the MCU's UC_DALI_PSU pin into a 15V drive signal SEL; the isolation withstand voltage is 3750Vrms, protecting the MCU from high-voltage bus interference. Voltage feedback enables real-time monitoring, isolation design ensures MCU safety, and guarantees reliable and accurate bus power supply control.

[0014] Preferably, the +24V power supply is output from the auxiliary power supply module and enters the DALI bus power supply control module circuit. It is then current-limited by the current-limiting resistor RS9 and connected to the input side of the optocoupler components US1A / US8B. The output side of the optocoupler is connected to the gate of QS1, controlling QS1's on / off state. The DALI+ signal, after passing through diode DS7, forms a power supply loop with components such as QS1, LS4, and RS13. RS23, US9, and RS20 provide auxiliary voltage regulation and protection. When the optocoupler receives a control signal, the gate of QS1 conducts, and the +24V voltage powers subsequent circuits through the power supply loop. Power is transferred to the UC_DALI_PSU pin and the MCU module, processed, and then output to the DALI bus. The optocoupler switches between on and off states according to the control signal, changing the conduction status of QS1, thereby controlling the on / off state of the DALI bus power supply and achieving intelligent control of the DALI bus power supply. Precise control of power supply on / off is achieved through the cooperation of the optocoupler and MOSFET, while auxiliary components ensure circuit stability and safety.

[0015] Preferably, the UART optocoupler isolation circuit connects the DALI interface circuit and the MCU module. The entire circuit constructs a bidirectional UART signal isolation channel through optocouplers, optimizes signal driving using MOSFETs, and ensures component safety and level stability using resistors. This achieves electrical isolation and bidirectional transmission of UART signals between the MCU and external devices, adapting to communication scenarios with high anti-interference requirements. The core components of the circuit include optocouplers US6 / US7 and MOSFETs QS3 / QS4. Optocoupler US6 receives the signal from TX and transmits it to MCU-RX, while US7 receives the signal from RX and transmits it to MCU-TX, completing the bidirectional isolated signal transmission. MOSFET QS3 is controlled by the output of US7; its on / off state determines the transmission of the RX signal to the optocoupler. MOSFET QS4 is controlled by the output of US6; its on / off state affects the signal transmission from the optocoupler to MCU-RX. The isolation design enhances anti-interference capabilities, and the optimized signal driving using MOSFETs ensures the stability and security of UART communication.

[0016] Preferably, the core components of the isolated constant voltage circuit include chip US5, rectifier bridge DB1, and transformers L8A / L8D. Chip US5 controls the conduction and cutoff of MOSFET QS6 by detecting the output voltage and current and adjusting the output signal of the Out pin: when QS6 is on, current flows through the primary winding L8A of the transformer to store energy; when QS6 is off, the magnetic field energy of the primary winding L8A is released through the secondary winding L8D. Simultaneously, chip US5 also provides overcurrent / overvoltage protection. The rectifier bridge DB1, composed of four diodes, performs full-wave rectification of the AC input from the L and N terminals to convert it to DC. Transformers L8A / L8D provide electrical isolation and voltage conversion. Stable voltage output is achieved through chip control and transformer energy conversion, the rectifier bridge completes AC-DC conversion, and the protection functions enhance circuit safety.

[0017] Preferably, the isolated constant voltage circuit connects the constant current output circuit and the input voltage / current sampling circuit; the constant current output circuit mainly includes chip US2 and MOSFET QS8, and receives a 60V DC voltage processed by the isolated constant voltage circuit: one path directly supplies power to the load-side circuit; the other path samples the current through a resistor network, feeding back a voltage signal proportional to the output current to the ISNS pin of chip US2; chip US2 acts as the constant current control core, and based on the current signal fed back from the ISNS pin, combined with an internal algorithm, sends a control signal from the output pin to drive MOSFET QS8 to turn on / off; Q When S8 is on, current flows through inductor L1, which stores energy through electromagnetic induction. When QS8 is off, L1 releases energy, which flows through diode DS12 to maintain current continuity. The input voltage / current sampling circuit is connected in parallel with the isolation constant voltage circuit, mainly including operational amplifier US4 and Zener diode ZS1. US4, together with multiple feedback and gain resistors, forms a negative feedback network, determining the amplification factor of the operational amplifier. ZS1 is connected in parallel with the UC_MAIN sampling circuit. When the sampling voltage is too high, the Zener diode breaks down in reverse, clamping the UC_MAIN voltage to a stable value and protecting subsequent circuits from overvoltage damage. Constant current control achieves output stability through feedback adjustment, and the protection design of the sampling circuit ensures system safety.

[0018] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: 1) Intelligent configuration is efficient and convenient: Wireless parameter reading and writing is achieved through the I2C direct connection between the NFC module and the MCU. Clock extension and CRC verification are supported. No physical contact is required during the configuration process. Error data can trigger NACK feedback, which improves the accuracy and efficiency of parameter configuration. 2) Strong DALI protocol compatibility: The DALI interface circuit integrates the US14 chip, multi-level optocoupler isolation and rectifier bridge, adapts to DALI-2 and D4i, supports bus power supply control, fault isolation feedback and bidirectional communication, and meets the strict requirements of industry standards. 3) Stable and reliable power supply and control: The auxiliary power supply module realizes wide-range DC-DC conversion, providing +24V bus power and +15V control voltage. With the help of TVS tube surge protection and filtering design, the power supply stability is guaranteed; the isolated constant voltage and constant current output circuit ensures accurate and stable output voltage / current through closed-loop feedback and isolation design. 4) Excellent safety isolation and anti-interference capabilities: The UART optocoupler isolation circuit and the multi-level optocoupler isolation of the DALI interface (such as US11A, US8A, etc.) achieve electrical isolation, avoid high voltage interference, protect the MCU and control circuit, and improve system safety and anti-interference performance. Attached Figure Description

[0019] Figure 1This is a circuit block diagram of an NFC programmable DALI-2 and D4i constant current LED power supply provided in Embodiment 1 of this utility model.

[0020] Figure 2 It is an MCU module.

[0021] Figure 3 It is the DALI bus power supply control module and auxiliary power supply module.

[0022] Figure 4 It is an isolated constant voltage circuit.

[0023] Figure 5 It is a constant current output circuit.

[0024] Figure 6 It is an input voltage / current sampling circuit.

[0025] Figure 7 It is a DALI interface circuit.

[0026] Figure 8 It is a UART optocoupler isolation circuit.

[0027] Figure 9 It is an NFC module.

[0028] Figure 10 This is the output voltage / current characteristic curve provided in Embodiment 2 of this utility model.

[0029] Figure 11 This is the efficiency-output power curve provided in Embodiment 2 of this utility model. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be further described in detail below through embodiments and in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only one preferred embodiment of the present invention and are only used to explain the technical solutions of the present invention. They do not limit the scope of protection of the present invention. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0031] Example 1: like Figure 1-9 As shown, the internal circuit schematic of the NFC programmable DALI-2 and D4i constant current LED power supply proposed in this utility model is shown in the figure. Figure 1The entire power supply system revolves around the MCU module, which is connected to peripheral circuits: an input voltage / current sampling circuit, an isolation constant voltage circuit, a constant current output circuit, a DALI interface circuit, a UART optocoupler isolation circuit, a DALI bus power supply control module, an auxiliary power supply module, and an NFC module. The input voltage / current sampling circuit connects to the MCU module and the isolation constant voltage circuit; the isolation constant voltage circuit connects to the constant current output circuit, which in turn connects to the MCU module and provides feedback signals; the DALI interface circuit connects to the MCU module via the UART optocoupler isolation circuit; the DALI bus power supply control module connects to the DALI interface circuit, providing power to external devices; the auxiliary power supply module connects to both the DALI bus power supply control module and the MCU module; and the NFC module directly connects to the MCU module to read and write configuration parameters.

[0032] like Figure 2 As shown, in this embodiment, the MCU module is the control center of the entire circuit. The core of this module is the microcontroller chip US13, which undertakes the control and data processing functions of the entire circuit. It interacts with peripheral circuits through its pins, such as receiving sampling signals, outputting control commands, and performing data communication, making it the control hub of the system. The externally connected resistor RS41 may serve as a current limiter or voltage divider, protecting relevant chip pins and ensuring that input or output signals are within a safe range, thus guaranteeing stable chip operation. Capacitor CS17 participates in the reset circuit, working with the reset pin to achieve the chip reset function. CS21 and CS28 mainly serve a filtering function, filtering out noise in the power supply or signal, stabilizing the voltage, and providing a stable operating environment for the chip.

[0033] Pins PB0, PB1, and PB2 of chip US13 are used for PWM output and control signal output. Pin PB0 is multiplexed as PWM output and DALI bus power enable signal; pin PA1 is multiplexed as ADC current sampling input and DALI data receive flag, connected to the sampling circuit, and associated with signals such as UC_MAIN to achieve input voltage / current sampling. Pin VDD (pin 17) is connected to the output of the auxiliary power supply module. The voltage connected to this pin is adapted to the chip's operating requirements to ensure normal startup and operation; pin VSS (pin 33) is connected to GND, forming a loop. The PF0-OSC_IN (pin 2) and PF1-OSC_OUT (pin 3) pins of the US13 chip are clock input / output pins, used to connect to an external clock source to provide a stable clock signal for the chip, ensuring that the internal circuitry operates at the set frequency. PA2 (TX) and PA3 (RX) serve as the MCU's transmit and receive pins, corresponding to DTX and DRX, respectively, to achieve serial data communication. PB6 (UC_SCL) and PB7 (UC_SDA) may serve as I2C interface pins for communication with peripherals such as NFC modules. The reset pin NRST (pin 4) is connected to an external RC reset circuit (including components such as CS17). When the circuit is powered on or an abnormality occurs, this pin resets the chip and restores it to its initial state. The debug pins SWDIO (pin 23) and SWCLK (pin 24) are used for in-circuit debugging and program downloading, facilitating development and troubleshooting.

[0034] Specifically, the circuits of each module connected to the MCU module are as follows: Figure 3 The diagram shows the DALI bus power supply control module and auxiliary power supply module. The circuit above is the auxiliary power supply module, and the circuit below is the DALI bus power supply control module. The auxiliary power supply module converts the 40-60VDC input from the main power supply VBUS to the +24V required by the DALI bus and the +15V operating voltage of the control chip. Its core component is the US3 chip, which serves as the core control chip for the auxiliary power supply module and has a DC-DC step-down conversion function: the DRAIN pin (pin 4) is the high-voltage input terminal, receiving the high-voltage DC input from the main power supply VBUS; the SEL pin (pin 2) is the enable control terminal, receiving external control signals (such as the enable signal from the MCU) to determine whether the chip operates; the CS pin (pin 5) is used for current detection, providing feedback on the circuit's operating current information and implementing overcurrent protection functions; the GND pin (pin 1) is the ground terminal, forming a current loop.

[0035] The circuit layout of the auxiliary power supply module can be described as follows: The high-voltage input VBUS voltage is connected to the DRAIN pin (pin 4) of US3 after being protected against reverse polarity by the Schottky diode DS4. Based on the enable signal (high level for operation, low level for shutdown) of the SEL pin (pin 2), chip US3 drives and controls the energy storage and release of the power inductor L11B through the on / off state of its internal switching transistor: when the switching transistor is on, current flows through L11B to store energy; when the switching transistor is off, the energy stored in L11B is released through the freewheeling diode DS11, filtered by L11A, and smoothed by capacitors such as CD1, finally outputting a stable VCC 15V (rectified by diode DS10) and +24V (rectified by DS5 and filtered by capacitors such as CD2). Resistor RS30B samples the current in real time and feeds it back to the CS pin (pin 5) of chip US3 to achieve overcurrent protection and other functions, ensuring stable circuit operation; input filter capacitor CD4 and output energy storage capacitor CS14 are respectively set at the input / output terminals to suppress ripple. The power supply module is controlled by the MCU's SEL enable signal: US3 operates when the level is high and immediately shuts off the output when the level is low, meeting the D4i protocol's programmable management requirements for bus power.

[0036] The core components of the DALI bus power supply control module include MOSFET QS1 and optocouplers US1A and US8B. MOSFET QS1 acts as a power switch actuator, controlled by the output signals of optocouplers US1A / US8B. When the gate voltage of QS1 is greater than 4V, it conducts, supplying +24V to the DALI bus; when the gate voltage is less than 1V, it turns off, cutting off the bus power supply. Optocoupler US1A is a bus voltage isolation feedback circuit, providing real-time voltage monitoring and isolated transmission. When the DALI+ voltage is greater than 10V, the internal LED of US1A conducts, the optocoupler output is conducted, and the MCU-ADC detects a low level. When the DALI+ voltage is less than 8V, US1A is cut off, and the pull-up resistor keeps the MCU-ADC at a high level. Optocoupler US8B is an MCU enable signal isolator, used for electrical isolation and level conversion, converting the 3.3V logic signal of the MCU's UC_DALI_PSU pin into a 15V drive signal SEL; it has an isolation withstand voltage of 3750Vrms, protecting the MCU from high-voltage bus interference.

[0037] The circuit layout of the DALI bus power supply control module can be described as follows: +24V power is output from the auxiliary power supply module and enters this circuit. After current limiting by current-limiting resistor RS9, one path connects to the input side of optocoupler components US1A / US8B. The output side of the optocoupler is connected to the gate of QS1, controlling QS1's on / off state. The DALI+ signal, after passing through diode DS7, forms a power supply loop with components such as QS1, LS4, and RS13. RS23, US9, and RS20 assist in voltage regulation and protection functions. When the optocoupler receives a control signal, the gate of QS1 receives a driving voltage and conducts. The +24V voltage powers subsequent circuits through the power supply loop. Power is transmitted to the UC_DALI_PSU pin and the MCU module, processed, and output to the DALI bus. Optocouplers US1A and US8B switch between on and off states according to the control signal, changing the conduction status of QS1, thereby controlling the on / off state of the DALI bus power supply, achieving intelligent management of the DALI bus power supply, and ensuring that DALI bus devices are powered on or off as needed. The voltage and current signals of each node in the circuit can provide feedback on the circuit's operating status and be used for fault detection. The fault signal is then fed back to the MCU module.

[0038] Figure 4 An isolated constant voltage circuit is presented. The core components of this circuit include a chip US5, a rectifier bridge DB1, and transformers L8A / L8D. The chip US5 is a power control chip that integrates various control logic and protection circuits. By detecting the output voltage and current (sampled and fed back to the 1ns pin via resistors such as RS51), it adjusts the output signal on the Out pin to control the conduction and cutoff of the MOSFET QS6, achieving stable control of the output voltage. When QS6 is on, current flows through the primary winding L8A of the transformer to store energy; when QS6 is off, the magnetic field energy of the primary winding L8A is released through the secondary winding L8D. Simultaneously, the chip US5 also has overcurrent / overvoltage protection functions to ensure the safe operation of the circuit. The rectifier bridge DB1 consists of four diodes that convert the AC input from the L and N terminals into DC power through full-wave rectification. Regardless of whether it is the positive or negative half-cycle of the AC power, the diodes inside the rectifier bridge guide the current to flow unidirectionally, outputting a DC voltage with ripple, providing the DC power foundation for subsequent circuits. The L8A / L8D transformers provide electrical isolation and voltage transformation: on one hand, they isolate the electrical connections between the input and output sides, improving circuit safety and anti-interference capabilities; on the other hand, they transform the input voltage into a suitable output voltage based on the transformer's turns ratio to meet load requirements. Stable voltage output is achieved through chip control and transformer energy conversion, while the rectifier bridge performs AC / DC conversion, and protection functions enhance circuit safety.

[0039] The circuit layout of the isolated constant voltage circuit can be described as follows: AC power is input from the L and N terminals of the mains grid and enters the rectifier bridge DB1 for full-wave rectification, converting the AC power into pulsating DC power. The rectified pulsating DC power is filtered by capacitor CB1. CB1 utilizes its charging and discharging characteristics to smooth the voltage waveform, reduce ripple, and output a relatively stable DC voltage (labeled VBUS), preparing for power supply to the primary side of the transformer and the chip. The VBUS voltage is directly connected to one end of the primary winding of transformer L8A; on the other hand, it is connected to the Vin pin of chip US5 through components such as resistor RS2A to provide operating power to the chip. Chip US5 integrates control logic and protection circuitry. It receives output voltage feedback through the FB pin (related to secondary side voltage regulation), obtains current sampling signals through the Isns pin (monitoring primary side current), and outputs PWM control signals from the Out pin to drive MOSFET QS6 to periodically turn on / off. When QS6 is turned on, current flows through the primary winding of transformer L8A, and electrical energy is converted into magnetic field energy and stored in the winding. When QS6 is turned off, the magnetic field energy of the primary winding is transferred to the secondary winding L8D through electromagnetic induction, achieving electrical isolation and preliminary voltage transformation (the turns ratio determines the voltage transformation relationship). During this process, diode DS8 acts as a freewheeling diode, providing a path for the primary winding of the transformer to release magnetic field energy when QS6 is turned off, preventing back electromotive force from damaging components.

[0040] Figure 5 A constant current output circuit is presented. The circuit mainly consists of chip US2 and MOSFET QS8. Chip US2 is a constant current control chip, integrating current control logic and communication interfaces (RX and TX pins). It detects the output current through the 1SNS pin and adjusts the output control signal based on the detection result and internal algorithm to drive MOSFET QS8 to turn on / off. When QS8 is on, current flows through inductor L1, which stores energy through electromagnetic induction. When QS8 is off, L1 releases energy, which freewheels through diode DS12, maintaining current continuity. Simultaneously, the RX and TX pins can communicate with external devices (such as an MCU) to receive control commands or feedback on operating status. MOSFET QS8 acts as a switching element, controlled by the output signal of chip US2. Under the control of chip US2, it periodically turns on and off, adjusting the output current by controlling the on-time (duty cycle) to meet the load's demand for constant current.

[0041] The circuit layout of the constant current output circuit can be described as follows: The constant current output circuit and the isolated constant voltage circuit are connected through transformers L8A / L8D. The secondary winding of transformer L8D induces an AC voltage, which is rectified by diode DS1 (utilizing unidirectional conduction characteristics to convert AC to DC), outputting a DC voltage VSEC. This voltage is then filtered by capacitor CD5 to further smooth the ripple, resulting in a relatively stable 60V DC voltage, which serves as the input power supply for the constant current output circuit. This 60V DC voltage is directly connected to the load side circuit for power supply; additionally, it is sampled through a resistor network (such as RS25), and the sampled voltage signal, proportional to the output current, is fed back to pin 1SNS of chip US2. Based on its internally set constant current control algorithm and the received feedback signal, chip US2 processes the internal logic and outputs control signals from the corresponding pins to control the on / off state of MOSFET QS8. When the output current is detected to be lower than the set value, chip US2 increases the on-time of MOSFET QS8; when the output current is higher than the set value, it decreases the on-time of MOSFET QS8. When MOSFET QS8 is turned on, the current is further filtered by inductor L1 and capacitor CD7 before being output as a constant current to the load from the CON3 interface. During the off-state of MOSFET QS8, inductor L1 releases its stored energy, and the current freewheels through diode DS12, maintaining a stable output current. Simultaneously, DS12 protects circuit components from damage caused by excessive back electromotive force. Throughout this process, chip US2 can communicate with external devices via the RX and TX pins to remotely control and monitor the constant current output circuit. If the output current deviates from the set value, the chip will quickly respond and correct it, forming a closed-loop current control.

[0042] The isolated constant voltage circuit provides an isolated and stable voltage foundation for subsequent stages through "rectification-filtering-transformer energy transfer (including switching transistor control)". The constant current output circuit, based on this voltage, undergoes "secondary rectification-current sampling-chip-controlled MOSFET-inductor / diode freewheeling filtering" to finally output a constant current. Transformers L8A / L8D serve as the core connection point, achieving both electrical isolation and initial voltage transformation. Together with the preceding and following stage chips, switching transistors, and passive components, they construct a complete energy conversion and precise control link from "isolated constant voltage to constant current output," meeting the load's requirements for safe and stable power.

[0043] Figure 6An input voltage / current sampling circuit is presented, connected in parallel with resistor RS2 in an isolation constant voltage circuit. This circuit mainly includes an operational amplifier US4 and a Zener diode ZS1. US4, as the core signal conditioning element, possesses high gain and high input impedance characteristics. Together with multiple feedback and gain resistors, it forms a negative feedback network, determining the amplification factor of the operational amplifier. It amplifies weak voltage / current sampling signals, converting small voltage differences on the input side into output signals that meet subsequent processing requirements. Simultaneously, through external resistors and capacitors, a feedback network is constructed to adjust the signal amplification factor and frequency characteristics, ensuring accurate conditioning of the sampling signal. The Zener diode ZS1 is connected in parallel in the UC_MAIN sampling circuit. When the sampling voltage is too high, the Zener diode breaks down in reverse, clamping the UC_MAIN voltage to a stable value, protecting subsequent circuits (such as US4) from overvoltage damage and improving circuit reliability. Constant current control achieves output stability through feedback adjustment, and the protection design of the sampling circuit ensures system safety.

[0044] The circuit layout of the input voltage / current sampling circuit can be described as follows: The AC mains voltage L1 is divided and current-limited via RS16 and RS17 in series; N1 is divided and current-limited via RS22, RS21, and RS19 in series, forming a sampling voltage related to the AC mains voltage and current at the UC_MAIN node. Current sampling utilizes the voltage drop across the RS17-RS22 resistor (the larger the current, the larger the voltage drop), while voltage sampling is achieved through a resistor divider network. Together, they construct the sampling signal for the AC mains electrical parameters. The UC_IIN control signal is current-limited by RS6 and input to the non-inverting input (pin 1) of US4; the UC_MAIN sampling signal is current-limited by RS8 and input to the inverting input (pin 4) of US4. US4 uses an external resistor RS7 (negative feedback resistor) to build an amplifier circuit. Based on the voltage difference between the non-inverting and inverting inputs, the signal is amplified internally and output as a conditioning signal from pin 3. CS6 is connected in parallel on the input side to filter high-frequency interference; the +5V power supply is decoupled by CS15 and supplies power to US4, ensuring stable operation. The output signal of US4 is current-limited by RS19 and then transmitted to subsequent circuits (such as the MCU analog-to-digital converter interface). At the same time, the ZS1 Zener diode in the UC_MAIN circuit breaks down in reverse when the sampling voltage is abnormally high, clamping the voltage and protecting US4 and subsequent circuits, ensuring that the system can still operate safely when the mains power fluctuates.

[0045] The mains power flows sequentially through the input voltage / current sampling circuit (monitoring raw parameters) → isolation constant voltage circuit (rectification, isolation, voltage transformation) → constant current output circuit (precise constant current control). Each module is electrically isolated by transformers L8A / L8D, and achieves coordinated regulation through sampling signals and feedback networks. Input sampling provides data for system monitoring and protection, isolation constant voltage establishes a safe and stable voltage foundation, and constant current output precisely adapts to load requirements, collectively creating a complete power supply chain of "monitoring-isolation transformation-precise power supply".

[0046] Figure 7 The DALI interface circuit is described, comprising a chip US14, an optocoupler isolation unit, and a rectifier bridge DB2. The chip US14, as the core control chip of the DALI interface circuit, integrates multiple functional pins: the RX pin (pin 2) receives the optocoupler-isolated DALI bus input signal; the DRAIN pin (pin 3) participates in bus power supply control logic, controlling the on / off state of the bus power supply; the HV pin (pin 3, associated with high-voltage detection, etc.) detects the high-voltage status of the bus; the VS pin (pin 4) monitors the bus voltage; the TX pin (pin 5) outputs the processed signal to be sent to the DALI bus; the CS pin (pin 7) may be used for chip enable or status control; the VCC pin (pin 6) provides operating power to the chip; and the GND pin (pin 8) forms a ground loop. The rectifier bridge DB2 consists of four diodes, which perform full-wave rectification of the input DALI+ and DALI- bus AC signals, converting them into DC signals for output to external devices, providing a DC operating basis for subsequent circuits, while ensuring unidirectional signal transmission.

[0047] The optocoupler isolation unit comprises four optocouplers: US7B, US8A, US10B, and US11A. Through the division of labor among these four optocouplers, the DALI interface circuit achieves electrical isolation of the three core links: bus signal reception, control signal transmission, and fault feedback. This ensures safe isolation between the high-voltage side of the DALI bus and the low-voltage side of the MCU, while also accurately transmitting signals through the switching characteristics of the optocouplers, adapting to the communication reliability and anti-interference requirements of the DALI-2 & D4i protocols. US7B is positioned as the primary isolation in the DALI bus signal "reception link," responsible for taking power signals from the DALI bus and transmitting them to the chip in isolation. Its input side is connected to the output of the rectifier bridge DB2 and the DALI bus (DALI+ and DALI- rectified nodes). The AC signal of the DALI bus is rectified into DC by DB2 and then input to the LED side of the US7B optocoupler. The phototransistor side of the output optocoupler is connected to the RX pin (pin 2) of the chip US14, transmitting the isolated bus signal to the control chip. US8A is positioned as the isolated driver for the DALI signal "transmission link," responsible for isolating and amplifying the control signals output by the chip to drive the DALI bus. Its input side connects to the TX pin (pin 5) of chip US14 to receive the DALI transmission signals from the chip. The optocoupler output connects to the drive circuit of transistor QS9 (in conjunction with RS35, RS36, etc.), controlling the transistor's switching state through the optocoupler's on / off state. US10B is positioned as the isolated transmission for the DALI bus "fault feedback link," isolating and transmitting bus fault signals (such as overvoltage and overcurrent) to the MCU to ensure control-side safety. Its input side connects to the DALI bus voltage monitoring node (in conjunction with RS30, VCC, etc.), triggering conduction when the bus voltage is abnormal (such as overvoltage). The optocoupler output connects to the MCU's fault detection pin (in conjunction with RS30, DRX, etc.), transmitting the isolated fault signal to the MCU. The US11A is positioned as the secondary isolation in the DALI signal "transmission link," working with the US8A to amplify and isolate signals, ensuring signal safety on the MCU side. Its input side connects to the DTX signal terminal of the MCU module (in conjunction with RS30, US10B, etc.) to receive DALI transmission commands from the MCU. The optocoupler output connects to the base drive circuit of transistor QS9 (in conjunction with RS37, RS39, etc.), controlling the transistor's conduction through the optocoupler's status. Optocoupler isolation ensures secure signal transmission, while the rectifier bridge ensures effective processing of bus signals, enabling reliable interaction with external DALI systems.

[0048] The circuit layout of the DALI interface circuit can be described as follows: 1) Receive link process: ① The differential signals (DALI+, DALI-) of the DALI bus are rectified by the full-wave rectifier bridge DB2 and converted into DC signals; ② The rectified signals are input to the LED side of the optocoupler US7B (current flows through the LED to make it light up); ③The phototransistor side of US7B is turned on by light sensing, transmitting the isolated signal to the RX pin (pin 2) of chip US14; ④After decoding and verifying the signal, the US14 processes the signal through internal logic and transmits the valid data to the MCU via the DRX link (including US11A, etc.); The optocoupler US7B disconnects the electrical connection between the high voltage (there may be pulse voltage on the bus side) of the DALI bus and the low voltage side of the chip to prevent interference from entering the control circuit.

[0049] 2) Transmission link process: ① The DALI control signal (such as dimming command) issued by the MCU is input to the LED side of the optocoupler US11A via the DTX link; ②When the phototransistor side of US11A is turned on, the signal drives the transistor QS9 through resistor RS37; ③ After QS9 is turned on, it triggers the LED side of optocoupler US8A (current flows through the LED to make it light up); ④When the phototransistor side of US8A is turned on, the signal is processed by the TX pin (pin 5) of chip US14 and then output to the DALI bus; The synergistic effect of optocouplers US11A and US8A is as follows: US11A achieves isolation between the MCU side and the driver side, protecting the MCU from bus interference; US8A achieves isolation between the driver side and the bus side, ensuring signal driving capability (in conjunction with transistor amplification).

[0050] 3) Fault feedback chain process: ①When an abnormality such as overvoltage or overcurrent occurs on the DALI bus, the bus voltage is divided by resistor RS30, which triggers the LED side of optocoupler US10B to conduct. ②When the phototransistor side of US10B is turned on, the isolated fault signal is transmitted to the MCU via the DRX link; ③ MCU triggers protection logic (such as shutting off bus power supply, reporting faults); Among them, the optocoupler US10B isolates the bus from abnormal high voltage to prevent fault signals from damaging the MCU, while accurately transmitting the fault status.

[0051] Figure 8A UART optocoupler isolation circuit is presented. This circuit connects the DALI interface circuit and the MCU module. The entire circuit constructs a bidirectional UART signal isolation channel through optocouplers, optimizes signal driving using MOSFETs, and ensures component safety and level stability using resistors. This achieves electrical isolation and bidirectional transmission of UART signals between the MCU and external devices, making it suitable for communication scenarios with high anti-interference requirements. The core components of the circuit include optocouplers US6 / US7 and MOSFETs QS3 / QS4. The optocouplers (US6, US7) provide electrical isolation, cutting off the electrical connection between the input and output sides to prevent interference. Simultaneously, they transmit signals: optocoupler US6 receives the signal from TX and transmits it to MCU-RX, while US7 receives the signal from RX and transmits it to MCU-TX, completing the bidirectional isolated signal transmission. MOSFET QS3 is controlled by the output of US7; its on / off state determines the transmission of the RX signal to the optocoupler. MOSFET QS4 is controlled by the output of US6; its on / off state affects the signal transmission from the optocoupler to MCU-RX, amplifying the optocoupler control signal and enhancing the driving capability. The circuit constructs a bidirectional UART signal isolation channel through optocouplers US6 and US7, optimizes signal driving using MOSFETs, and ensures component safety and level stability with resistors, thereby achieving electrical isolation and bidirectional transmission of UART signals between the MCU and external devices, making it suitable for communication scenarios with high anti-interference requirements.

[0052] The circuit layout of the UART optocoupler isolation circuit can be described as follows: In the transmitting direction, the TX signal enters the circuit, is current-limited by RS31, and then reaches the input side of the US6 optocoupler (pins 1 and 2; VDD goes to pin 1 via RS31, and the TX signal goes to pin 2). The internal LED of the optocoupler conducts, and the output side (pins 3 and 4) is activated. +5V goes to the drain of QS4 via RS15. The gate of QS4 receives the drive signal due to the optocoupler's conduction and conducts. The signal is transmitted to the MCU-RX via QS4, completing the TX-to-MCU-RX signal transmission. The optocoupler achieves signal isolation, and the MOSFET enhances the driving capability. In the receiving direction, the RX signal goes to the gate of QS3 via RS12, controlling QS3 to conduct. VDD goes to the input side of the US7 optocoupler via RS35 (pins 3 and 4; pin 4 is connected to VDD, and pin 3 goes to ground via RS35 and QS3). The internal LED of the optocoupler conducts, and the output side (pins 1 and 2) is activated. +5V is transmitted to pin 1 of US7 via RS34. The signal is then transmitted to MCU-TX via the on-state output side (pin 2), completing the signal reception from RX to MCU-TX. Optocoupler isolation ensures that the signal is not affected by external interference, and components such as MOSFETs ensure stable signal transmission.

[0053] Figure 9An NFC module is provided, with the core component being the US15 chip. This chip directly connects to the corresponding pins of the MCU module via an I2C bus (clock line SCL, data line SDA) to achieve data communication and control command transmission with the MCU. SCL is used for the clock signal for synchronous data transmission, and SDA is used for bidirectional data transmission, enabling the MCU to configure the NFC module and read NFC interaction data. The NFC module implements configuration parameter reading and writing, supports clock extension, and performs CRC verification before writing configuration parameters. Valid parameters are stored in the internal Flash sector, and erroneous data triggers the MCU to return a NACK. This design ensures wireless, accurate, and secure parameter configuration. The clock extension function adapts to low-speed devices, and the verification mechanism prevents erroneous data from being written. The NFC RF pin (7UC_RF) connects to the NFC antenna and is responsible for transmitting and receiving RF signals with external NFC devices, enabling contactless data interaction. It converts the internal electrical signals of the chip into RF signals for transmission and simultaneously receives RF signals returned by external NFC devices and converts them back into electrical signals for chip processing.

[0054] The circuit layout of the NFC module can be described as follows: The external power supply (VCC) is filtered by capacitor CS26 and then connected to the VCC pin of chip US15 to provide a stable operating voltage for the chip. The VSS pin is grounded to form a power supply loop, ensuring that the chip can start and operate normally. The MCU sends a clock signal to the NFC module through the SCL pin to synchronize the data transmission rhythm. At the same time, it sends control commands to the NFC module through the SDA pin, such as configuring the NFC module's operating mode and setting communication parameters. After receiving the commands, the NFC module processes them accordingly. When it interacts with an external NFC device to obtain data or needs to provide feedback on the communication status, it sends the data or status information back to the MCU through the SDA pin, realizing the MCU's control over the NFC module and data interaction. When NFC communication is required, chip US15 transmits the internally processed electrical signal to the NFC antenna through the RF pin (7UC_RF) as a radio frequency signal. The external NFC device receives the radio frequency signal, responds, and returns a corresponding radio frequency signal. After receiving the radio frequency signal returned from the outside, the NFC antenna transmits it back to the US15 chip through the RF pin. The chip processes the received signal, extracts the valid data, and feeds it back to the MCU through the SDA pin as needed, thus completing the contactless data interaction with the external NFC device.

[0055] Example 2: In modern intelligent lighting control systems, DALI (Digital Addressable Lighting Interface) dimming technology plays a crucial role, and understanding the wiring logic of its core component—the DALI dimming power supply—is fundamental to mastering the system's operating principles. This invention proposes an NFC programmable DALI-2&D4i constant current LED power supply, which is the "heart" of the entire DALI dimming lighting system. It undertakes the critical missions of power conversion, signal reception, and execution. One end connects to the mains power supply providing basic power, while the other end connects to the LEDs that provide lighting functions. Simultaneously, it interacts with the upper-level control system via the DALI bus, becoming the core hub coordinating power supply and dimming commands.

[0056] The DALI bus uses digital communication, enabling the simultaneous transmission of control commands and limited status feedback information over a single twisted-pair cable. This includes sending brightness adjustment commands (digital codes corresponding to 0-100% brightness adjustment), on / off control commands, and scene recall commands. When an upper-level DALI controller (possibly a central controller or scene panel in an intelligent lighting control system) issues a dimming command, the command is transmitted via the DALI bus as a differential signal to the "DA" port of the dimming power supply. The DALI communication module inside the power supply decodes and verifies these digital signals, then converts them into execution signals to control the power supply output, thereby precisely adjusting parameters such as LED brightness. Inside the DALI dimming power supply, after receiving the AC mains input and processing the DALI bus commands, a complex power conversion process is performed. First, the AC mains power is converted to DC mains power suitable for LEDs, a process involving rectification, filtering, and voltage regulation circuitry. The rectifier circuit typically consists of a diode bridge rectifier, converting both the positive and negative half-cycles of alternating current into unidirectional pulsating direct current. The filter circuit, using components such as capacitors and inductors, filters out the ripple in the pulsating direct current, making the output direct current smoother. The voltage regulator circuit (which may be linear or switching; modern DALI dimming power supplies often use switching regulation to improve efficiency) ensures a stable output DC voltage and current despite fluctuations in mains voltage or changes in load. The power supply output is connected to the LED, and the processed DC current is precisely output according to the LED's electrical characteristics (such as rated voltage and rated current). Furthermore, due to the existence of DALI dimming commands, the power supply can adjust the output current or voltage amplitude in real time (different dimming technologies have slightly different principles; common ones include PWM dimming and analog dimming integrated into the DALI control logic). In summary, the entire DALI dimming system operates as a closed-loop process of "command reception - power regulation - lighting output." The mains power provides basic energy, the DALI bus transmits intelligent control commands, and the DALI dimming power supply acts as an "intelligent relay station," handling power conversion while responding to control commands, ultimately driving the LEDs to emit light as needed.

[0057] Under 230VAC input conditions, this embodiment 2 verifies the performance advantages of the patented solution through load adjustment testing: Figure 11 The efficiency-output power curves provided in Embodiment 2 of this utility model are shown. In the medium-to-high power range (Pout>10W), the efficiency of each curve is stable at around 90%, far exceeding the average level of low-power power supplies. This reduces energy loss and lowers long-term operating costs (significant energy-saving benefits in commercial lighting and large-scale LED projects). The efficiency rapidly climbs and stabilizes with increasing power, indicating that the internal conversion circuitry (such as DC-DC conversion and feedback control) is well optimized, enabling efficient operation under different loads, ensuring stable system operation, and reducing the risk of overheating and malfunctions due to low efficiency. When the output power increases from a light load of 4.4W to a rated 44W (corresponding to...)... Figure 11 (Horizontal axis) The overall efficiency increased from 85.2% to a peak of 92.1% (94.3% at 35W load), significantly better than the 78%-89% efficiency range of traditional two-stage architectures. This energy efficiency improvement is directly due to the direct power connection design between the isolated constant voltage circuit and the constant current output circuit—the secondary rectified output of the flyback transformer (60V DC from the DS1 cathode) directly drives the power inductor L8D of the Buck constant current circuit, eliminating the intermediate DC-DC conversion stage and reducing switching losses by 3.1%. High-efficiency synchronous support ensures the reliability of D4i energy consumption reports: the real-time power collected by the MCU module through the input sampling circuit (RS29A / B voltage divider + CT1 transformer) has an error of <5% with the actual output power, meeting the mandatory data accuracy requirements of D4i protocol Clause 7.3.

[0058] Figure 10The output voltage / current characteristic curve of Embodiment 2 of this utility model is shown. The rated operating range covers 200-1000mA current and a stable 50V output, adapting to various LED loads (different power and number of lamp groups), meeting the needs of conventional lighting to medium-to-high intensity lighting. The dimming range supports low current and low voltage output, realizing fine dimming control and improving the flexibility of lighting scenarios (such as ambient dimming in home scenarios and brightness adjustment in office scenarios). The constant current output characteristic test further verifies the control accuracy, avoids light decay and flickering problems caused by voltage fluctuations, and extends the load life: under a full range of loads of 150-1050mA, the output voltage is stable at 52-60V (400-1000mA fluctuation in the rated operating range <±1%), and the load regulation rate is better than ±3%. This performance is attributed to the closed-loop constant current control link—the current sampling resistor RS32A / B (±1% accuracy) feeds back the real-time signal to the FB pin of the constant current chip US5, and the MCU dynamically adjusts the PWM duty cycle, overcoming the ±5% accuracy defect of the traditional open-loop solution. Especially in the dimming zone (150-400mA extremely light load), the output voltage smoothly rises to 60V, proving the adaptability of the flyback direct drive architecture to a wide range of loads (220-240VAC input compatibility); when the load exceeds 1050mA, the curve slope suddenly triggers the US5 overcurrent protection, and the MCU reports the D4i fault code E0x2C (bus fault detection function) through the DALI interface circuit, with a response time of <10ms.

[0059] This power supply, through precise voltage and current control, efficient energy conversion, and reliable protection mechanisms, achieves advantages such as wide applicability, excellent energy-saving effect, and stable and safe operation in lighting applications. It meets the stringent requirements of intelligent lighting systems for power supply performance, enhancing the lighting experience and system reliability.

[0060] In summary, this utility model proposes an NFC programmable DALI-2 and D4i constant current LED power supply, including an MCU module and peripheral circuits: an input voltage / current sampling circuit connected in parallel with an isolated constant voltage circuit to monitor input parameters in real time; the isolated constant voltage circuit connected to a constant current output circuit to output a stable current through closed-loop control; a DALI interface circuit connected to the MCU via optocoupler isolation to support signal transmission and reception and fault feedback for DALI-2 and D4i; a DALI bus power supply control module to power external devices, controlled by the MCU; an auxiliary power supply module to provide multiple stable voltage levels; and an NFC module directly connected to the MCU via I2C to achieve wireless parameter reading, writing, verification, and storage. This power supply integrates DALI bus power supply, energy consumption reporting, driver diagnostics and maintenance, and can configure power storage data and output current via NFC. It features intelligent configuration, strong protocol compatibility, stable power supply, and secure isolation, making it suitable for precise control scenarios in intelligent lighting systems.

[0061] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. It should be noted that for those skilled in the art, any changes or substitutions that can be easily conceived without departing from the technical principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. An NFC programmable DALI-2 and D4i constant current LED power supply, characterized in that, Includes an MCU module and peripheral circuits: an input voltage / current sampling circuit connects to the MCU module and an isolation constant voltage circuit; the isolation constant voltage circuit connects to a constant current output circuit, which in turn connects to the MCU module and provides feedback signals; the DALI interface circuit connects to the MCU module via a UART optocoupler isolation circuit; the DALI bus power supply control module connects to the DALI interface circuit; the auxiliary power supply module connects to both the DALI bus power supply control module and the MCU module; and the NFC module is directly connected to the MCU module.

2. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1, characterized in that, The core component of the NFC module is the US15 chip, which is directly connected to the MCU module via the I2C bus. Before the configuration parameters are written, a CRC check is performed. Valid parameters are stored in the internal Flash sector, and erroneous data triggers the MCU to return NACK. The UC_RF RF pin of chip US15 is connected to the NFC antenna.

3. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1, characterized in that, The DALI interface circuit includes a chip US14, an optocoupler isolation unit, and a rectifier bridge DB2; the HV pin of US14 detects the high voltage status of the bus; the VS pin monitors the bus voltage; the data transceiver pins RX / TX are connected to the optocoupler isolation unit and control the power supply on / off of the bus through the DRAIN pin; The optocoupler isolation unit works collaboratively through four optocouplers: US7B, US8A, US10B, and US11A. US7B takes the power signal from the DALI bus and transmits it to the chip in isolation. US8A isolates and amplifies the control signal output by the chip and drives the DALI bus. US10B isolates and transmits bus fault signals to the MCU; The US11A works in conjunction with the US8A for signal amplification and isolation; the rectifier bridge DB2 rectifies the bus signals input to DALI+ / - and outputs them to external devices.

4. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1, characterized in that, The core component of the auxiliary power supply module is chip US3. The DRAIN pin is the high-voltage input terminal, which receives the high-voltage DC input from the main power supply VBUS; the SEL pin is the enable control, which receives the MCU enable signal. The CS pin enables current detection; the power supply module is controlled by the MCU's SEL enable signal: US3 operates when high and immediately shuts off when low.

5. An NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1 or 4, characterized in that, The auxiliary power supply module converts the 40-60V DC input from the main power supply VBUS into +24V required by the DALI bus and +15V for the control chip's operating voltage. The high-voltage input VBUS voltage is connected to the DRAIN pin of US3 after being protected against reverse polarity by the Schottky diode DS4. Based on the enable signal of the SEL pin, chip US3 drives the power inductor L11B to store and release energy by turning its internal switching transistor on and off: when the switching transistor is on, current flows through L11B to store energy; when the switching transistor is off, the energy stored in L11B is released through the freewheeling diode DS11. After being filtered by L11A and smoothed by a capacitor, the final stable output is VCC 15V rectified by diode DS10 and +24V rectified by DS5.

6. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1, characterized in that, The core components of the DALI bus power supply control module include MOSFET QS1 and optocouplers US1A and US8B. MOSFET QS1 is controlled by the output signals of optocouplers US1A / US8B: it conducts when the gate voltage of QS1 > 4V, supplying +24V to the DALI bus; it turns off when the gate voltage < 1V, cutting off the bus power supply. Optocoupler US1A is a bus voltage isolation feedback circuit. When the DALI+ voltage > 10V, the internal LED of US1A is turned on, the optocoupler output is turned on, and the MCU-ADC detects a low level; when the DALI+ voltage < 8V, US1A is turned off, and the pull-up resistor makes the MCU-ADC high. Optocoupler US8B is an MCU enable signal isolator, converting the 3.3V logic signal of the MCU's UC_DALI_PSU pin into a 15V drive signal SEL.

7. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 6, characterized in that, The +24V power supply is output from the auxiliary power supply module and enters the DALI bus power supply control module. It is then current-limited by the current-limiting resistor RS9 and connected to the input side of the optocoupler US1A / US8B. The output side is connected to the gate of QS1, controlling QS1's on / off state. The DALI+ signal, after passing through diode DS7, forms a power supply loop with QS1, LS4, and RS13. RS23, US9, and RS20 provide auxiliary voltage regulation and protection. When the optocoupler receives a control signal, the gate of QS1 is turned on, and the +24V voltage powers subsequent circuits through the power supply loop. The power is transferred to the UC_DALI_PSU pin and the MCU module, processed, and then output to the DALI bus. The optocoupler switches between on and off states according to the control signal, changing the conduction status of QS1, thereby controlling the on / off state of the DALI bus power supply.

8. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1, characterized in that, The UART optocoupler isolation circuit connects the DALI interface circuit and the MCU module. The circuit constructs a bidirectional UART signal isolation channel through the optocoupler, providing electrical isolation and bidirectional transmission of UART signals between the MCU and external devices. The core components of the circuit include optocouplers US6 / US7 and MOSFETs QS3 / QS4. Optocoupler US6 receives the signal from TX and transmits it to the MCU-RX, while US7 receives the signal from RX and transmits it to the MCU-TX. MOSFET QS3 is controlled by the output of US7, and its on / off state determines the transmission of the RX signal to the optocoupler. MOSFET QS4 is controlled by the output of US6, and its on / off state affects the signal transmission from the optocoupler to the MCU-RX.

9. The NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1, characterized in that, The core components of the isolated constant voltage circuit include chip US5, rectifier bridge DB1, and transformers L8A / L8D. Chip US5 controls the conduction and turn-off of MOSFET QS6 by detecting the output voltage and current and adjusting the output signal of the Out pin: when QS6 is on, the current passes through the primary winding L8A of the transformer to store energy; when QS6 is off, the magnetic field energy of the primary winding L8A of the transformer is released through the secondary winding L8D. The rectifier bridge DB1 consists of four diodes, which convert the AC power input from the L and N terminals into DC power through full-wave rectification.

10. An NFC programmable DALI-2 and D4i constant current LED power supply according to claim 1 or 9, characterized in that, The constant current output circuit mainly includes chip US2 and MOSFET QS8. The 60V DC voltage output from the input isolation constant voltage circuit is sampled by a resistor network, and the voltage signal proportional to the output current is fed back to the ISNS pin of chip US2. US2 drives MOSFET QS8 to turn on / off according to the current signal fed back from the ISNS pin. When QS8 is on, inductor L1 stores energy; when QS8 is off, L1 releases energy and freewheels through diode DS12. The input voltage / current sampling circuit is connected in parallel with the isolation constant voltage circuit, mainly including operational amplifier US4 and Zener diode ZS1. US4, together with multiple feedback and gain resistors, forms a negative feedback network. ZS1 is connected in parallel with the UC_MAIN sampling circuit, and reverse breakdown occurs when the sampling voltage is too high.

Citation Information

Patent Citations

  • Multi-gear dial color temperature and current adjusting DALI and 0-10V integrated constant current driving power supply

    CN119584376A