DALI (Digital Addressable Lighting Interface) port communication rate switching circuit and method and LED (Light Emitting Diode) driving power supply

By designing the DALI port communication rate switching circuit, using digital isolation chips to replace optocoupler transmission, and switching the switching rate of the DALI bus switch according to the communication protocol, the problems of existing DALI bus communication efficiency and speed limitation are solved, more efficient and reliable communication is achieved, and the cost of firmware program upgrade is reduced.

CN120018357APending Publication Date: 2025-05-16GUANGDONG SOSEN POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510089382.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The existing DALI bus communication has efficiency and speed limitations, which affects the firmware program upgrade application of LED driver power supply, and there are problems with delay and temperature influence of optocouple isolation signal transmission.

Method used

A DALI port communication rate switching circuit is designed, including a DALI bus interface module, a digital isolation chip, a control unit, an isolation control module, a DALI bus driver module and a DALI bus switch. It replaces the optical coupling transmission through a digital isolation chip, and switches the switching rate of the DALI bus switch according to the communication protocol.

Benefits of technology

It improves the transmission rate and reliability of DALI bus communication, solves the cost and resource investment problems in firmware program upgrade applications, and reduces the delay and temperature impact of optocoupler transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018357A_ABST
    Figure CN120018357A_ABST
Patent Text Reader

Abstract

The invention relates to a DALI port communication rate switching circuit and method and an LED driving power supply. The DALI port communication rate switching circuit comprises a DALI bus interface module, a digital isolation chip, a control unit, an isolation control module, a DALI bus driving module and a DALI bus switch. The DALI bus interface module is used for executing DALI data sending and receiving; the digital isolation chip transmits DALI data; the control unit analyzes and identifies the DALI data and outputs a first driving control signal according to an identification result; or a first driving control signal and a first switching control signal; the isolation control module adjusts the impedance of the DALI bus driving module according to the first switching control signal so as to meet different switching rates. According to the invention, the problem of existing DALI bus communication can be solved, and the transmission rate and reliability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of LED driving power supplies, and more specifically, to a DALI port communication rate switching circuit, method and LED driving power supply. Background Art

[0002] The DALI standard for digital dimming interface of LED driver has a standard communication baud rate of 1200bps, a pulse width of 366us to 466us, and a rise and fall time requirement of 3 to 25us for forward and backward frames. These requirements have severely limited the communication efficiency and speed of the DALI bus at the physical hardware layer.

[0003] At present, the methods to improve the firmware upgrade time of LED driver power supply are mostly optimized from the software or private protocol level, and the physical hardware layer is rarely considered. Therefore, the existing DALI bus communication limits the upgrade application of the underlying firmware program, causing users to spend more costs and invest more resources. In addition, the existing DALI communication is used as an isolated signal transmission, and the optical coupler has a delay and is affected by temperature, which affects the reliability of DALI communication. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a DALI port communication rate switching circuit, method and LED driving power supply in view of the problems existing in the prior art.

[0005] The technical solution adopted by the present invention to solve the technical problem is: construct a DALI port communication rate switching circuit, including: a DALI bus interface module, a digital isolation chip, a control unit, an isolation control module, a DALI bus driver module and a DALI bus switch;

[0006] The DALI bus interface module performs DALI data transmission and reception;

[0007] The digital isolation chip is connected to the DALI bus interface module for transmitting DALI data;

[0008] The control unit is connected to the digital isolation chip, and is used to parse and identify the DALI data, and output a first drive control signal according to the identification result; or output a first drive control signal and a first switching control signal according to the identification result;

[0009] The isolation control module is connected to the control unit and the DALI bus driver module, and the isolation control module is used to adjust the impedance of the DALI bus driver module according to the first switching control signal to meet different switching rates.

[0010] In the DALI port communication rate switching circuit of the present invention, the different switching rates include: a high switching rate and a low switching rate;

[0011] At the low switching rate, the DALI bus driver module is used to control the DALI bus switch to operate at a switching rate of the DALI standard communication protocol according to the first drive control signal; or the DALI bus driver module controls the DALI bus switch to operate at a switching rate of a private protocol or an upgrade of the underlying firmware program according to the first drive control signal and the regulation of the isolation control module;

[0012] At the high switching rate, the DALI bus driver module controls the DALI bus switch to operate at the switching rate of the DALI standard communication protocol according to the first drive control signal and the adjustment of the isolation control module; or the DALI bus driver module causes the DALI bus switch to operate at the switching rate of the private protocol or the underlying firmware program upgrade according to the first drive control signal.

[0013] In the DALI port communication rate switching circuit of the present invention, the DALI bus driving module includes: a switch control loop and a driving circuit;

[0014] The input end of the switch control loop is connected to the digital isolation chip, the output end of the switch control loop is connected to the input end of the drive circuit, and the output end of the drive circuit is connected to the DALI bus switch;

[0015] The switch control circuit outputs a driving signal according to the first driving control signal transmitted by the digital isolation chip;

[0016] The driving circuit drives and controls the DALI bus switch to operate based on the driving signal.

[0017] In the DALI port communication rate switching circuit of the present invention, the switch control loop includes: a seventh resistor, a ninth resistor, a fifth resistor, an eleventh resistor, a fourth drive switch and a sixth drive switch;

[0018] The input end of the fifth resistor is connected to the DALI bus interface module for receiving a power supply signal, and the output end of the fifth resistor is connected to the second end of the fourth drive switch, the second end of the seventh resistor and the first end of the ninth resistor in sequence; the first end of the seventh resistor is connected to the third end of the fourth drive switch and the first end of the sixth drive switch, the third end of the sixth drive switch is connected to the second end of the ninth resistor and the first end of the eleventh resistor, the second end of the sixth drive switch and the second end of the eleventh resistor are connected to the digital isolation chip, and the first end of the fourth drive switch is connected to the input end of the drive circuit.

[0019] In the DALI port communication rate switching circuit of the present invention, the driving circuit includes: a driving resistor;

[0020] The input end of the driving resistor is connected to the first end of the fourth driving switch, and the output end of the driving resistor is connected to the control end of the DALI bus switch.

[0021] In the DALI port communication rate switching circuit of the present invention, the isolation control module includes: a switching circuit and a regulating circuit;

[0022] The switching circuit is connected to the control unit, the input end of the regulating circuit is connected to the switching circuit, the output end of the regulating circuit is connected to the DALI bus switch, and the switching circuit is connected in series with the regulating circuit and then connected in parallel with the driving circuit;

[0023] Alternatively, the switching circuit is connected to the control unit, the input end of the regulating circuit is connected to the switching circuit, and the output end of the regulating circuit is grounded.

[0024] In the DALI port communication rate switching circuit of the present invention, the switching circuit includes: a switching control switch; the regulating circuit includes: an eighth resistor;

[0025] The input end of the switching control switch is connected to the input end of the driving circuit, the output end of the switching control switch is connected to the input end of the eighth resistor, the output end of the eighth resistor is connected to the control end of the DALI bus switch, and the control end of the switching control switch is connected to the control unit;

[0026] Alternatively, the switching circuit includes: a switching control switch; the regulating circuit includes: a second capacitor;

[0027] The input end of the switching control switch is connected to the input end of the driving circuit, the output end of the switching control switch is connected to the input end of the second capacitor, and the output end of the second capacitor is grounded.

[0028] In the DALI port communication rate switching circuit of the present invention, the DALI bus interface module includes: a rectifier circuit, a DALI communication data receiving circuit, a power supply circuit and a voltage divider circuit;

[0029] The input end of the rectifier circuit receives the DALI data, and the output end of the rectifier circuit is connected to the DALI communication data receiving circuit, the power supply circuit and the voltage divider circuit in sequence; the power supply circuit and the voltage divider circuit are respectively connected to the digital isolation chip.

[0030] In the DALI port communication rate switching circuit of the present invention, the rectifier circuit includes: a rectifier bridge; the DALI communication data receiving circuit includes: a first resistor, a fourth resistor, a first transistor and a third transistor; the power supply circuit includes: a first diode, a second diode, a second resistor, a second transistor, a first voltage regulator and a first capacitor; the voltage divider circuit includes: a third resistor and a fifth resistor;

[0031] The input end of the rectifier bridge receives the DALI data, the output end of the rectifier bridge is connected to the input end of the first resistor, the emitter of the third transistor and the drain of the DALI bus switch, the output end of the first resistor is connected to the base of the third transistor and the emitter of the first transistor, the collector of the third transistor is connected to the base of the first transistor and the input end of the fourth resistor, the output end of the fourth resistor is grounded, and the collector of the first transistor is connected to the anode of the first diode;

[0032] The cathode of the first diode is connected to the input end of the second resistor and the emitter of the second transistor, the output end of the second resistor is connected to the base of the second transistor and the anode of the second diode, the collector of the second transistor is connected to the input end of the third resistor, the cathode of the second diode is grounded through the first capacitor, the cathode of the first voltage regulator is connected to the second power supply voltage, the anode of the first voltage regulator is grounded, the output end of the third resistor is connected to the input end of the fifth resistor and the input end of the digital isolation chip, and the output end of the fifth resistor is grounded.

[0033] The present invention also provides a DALI port communication rate switching method, which is applied to the DALI port communication rate switching circuit described above, and comprises the following steps:

[0034] DALI bus interface module receives / sends DALI data;

[0035] The digital isolation chip transmits the DALI data to the control unit;

[0036] The control unit parses and identifies the DALI data and determines the current communication protocol;

[0037] If the current communication protocol is the DALI standard communication protocol, the control unit outputs a first drive control signal to control the DALI bus driver module, so as to control the DALI bus switch to operate at a switch rate of the DALI standard communication protocol through the DALI bus driver module;

[0038] If the current communication protocol is a private protocol or an underlying firmware program upgrade, the control unit outputs a first switching control signal to control the isolation control module and outputs the first drive control signal to control the DALI bus drive module, and adjusts the drive of the DALI bus drive module through the isolation control module to control the DALI bus switch to operate at a switching rate of the private protocol or the underlying firmware program upgrade.

[0039] The present invention also provides an LED driving power supply, comprising the above-mentioned DALI port communication rate switching circuit.

[0040] The DALI port communication rate switching circuit, method and LED driver power supply of the present invention have the following beneficial effects: including: DALI bus interface module, digital isolation chip, control unit, isolation control module, DALI bus driver module and DALI bus switch; DALI bus interface module performs DALI data transmission and reception; digital isolation chip transmits DALI data; control unit parses and identifies DALI data, and outputs a first drive control signal according to the identification result; or a first drive control signal and a first switching control signal; isolation control module adjusts the impedance of DALI bus driver module according to the first switching control signal to meet different switching rates. The present invention can solve the problems of existing DALI bus communication and improve transmission rate and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0042] Figure 1 It is a principle block diagram of a DALI port communication rate switching circuit provided by the present invention;

[0043] Figure 2 1 is a circuit diagram of a first embodiment of a DALI port communication rate switching circuit provided by the present invention;

[0044] Figure 3 1 is a circuit diagram of a second embodiment of a DALI port communication rate switching circuit provided by the present invention;

[0045] Figure 4It is a flow chart of the DALI port communication rate switching method provided by the present invention. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] refer to Figure 1 , Figure 1 This is a principle block diagram of a preferred embodiment of the DALI port communication rate switching circuit 41 provided by the present invention.

[0048] Specifically, Figure 1 As shown, the DALI port communication rate switching circuit 41 includes: a DALI bus interface module 10, a digital isolation chip 20, a control unit 30, an isolation control module 40, a DALI bus driving module 50 and a DALI bus switch.

[0049] Among them, the DALI bus interface module 10 performs DALI data transmission and reception; the digital isolation chip 20 is connected to the DALI bus interface module 10 for transmitting DALI data; the control unit 30 is connected to the digital isolation chip 20 for parsing and identifying the DALI data, and outputting a first drive control signal according to the identification result; or outputting a first drive control signal and a first switching control signal according to the identification result; the isolation control module 40 is connected to the control unit 30 and the DALI bus driver module 50, and the isolation control module 40 is used to adjust the impedance of the DALI bus driver module 50 according to the first switching control signal to meet different switching rates. Among them, different switching rates include high switching rates and low switching rates. Among them, at a low switching rate, the DALI bus driver module 50 is used to control the DALI bus switch to work at the switching rate of the DALI standard communication protocol according to the first drive control signal; or the DALI bus driver module 50 controls the DALI bus switch to work at the switching rate of the private protocol or the underlying firmware program upgrade according to the adjustment of the first drive control signal and the isolation control module 40. At a high switching rate, the DALI bus driver module 50 controls the DALI bus switch to operate at a switching rate of the DALI standard communication protocol according to the first drive control signal and the regulation of the isolation control module 40; or the DALI bus driver module 50 causes the DALI bus switch to operate at a switching rate of the private protocol or the underlying firmware program upgrade according to the first drive control signal.

[0050] Optional, such as Figure 1 As shown, in this embodiment, the DALI bus interface module 10 includes: a rectifier circuit 11, a DALI communication data receiving circuit 12, a power supply circuit 13 and a voltage divider circuit 14. Among them, the input end of the rectifier circuit 11 receives DALI data, and the output end of the rectifier circuit 11 is connected to the DALI communication data receiving circuit 12, the power supply circuit 13 and the voltage divider circuit 14 in sequence; the power supply circuit 13 and the voltage divider circuit 14 are respectively connected to the digital isolation chip 20.

[0051] Specifically, the rectifier circuit 11 is used to rectify the input signal. The DALI communication data receiving circuit 12 is used to receive the DALI data and form a 2mA constant current source. The power supply circuit 13 is used to provide a power supply voltage. The voltage divider circuit 14 is used to connect the signal of the main controller on the DALI bus (i.e., DALI data) to the digital isolation chip 20, and transmit the DALI data to the control unit 30 through the digital isolation chip 20, and the control unit 30 completes the interpretation of the DALI protocol, private protocol or underlying firmware program upgrade.

[0052] like Figure 1 As shown, in this embodiment, the DALI bus driver module 50 includes: a switch control loop 51 and a drive circuit 52. Among them, the input end of the switch control loop 51 is connected to the digital isolation chip 20, the output end of the switch control loop 51 is connected to the input end of the drive circuit 52, and the output end of the drive circuit 52 is connected to the DALI bus switch; the switch control loop 51 outputs a drive signal according to the first drive control signal transmitted by the digital isolation chip 20; the drive circuit 52 drives and controls the DALI bus switch to work based on the drive signal.

[0053] like Figure 1 As shown, in this embodiment, the isolation control module 40 includes: a switching circuit 41 and a regulating circuit 42; the switching circuit 41 is connected to the control unit 30, the input end of the regulating circuit 42 is connected to the switching circuit 41, the output end of the regulating circuit 42 is connected to the DALI bus switch, and the switching circuit 41 and the regulating circuit 42 are connected in series and then connected in parallel with the driving circuit 52. Alternatively, in other embodiments, the switching circuit 41 is connected to the control unit 30, the input end of the regulating circuit 42 is connected to the switching circuit 41, and the output end of the regulating circuit 42 is grounded.

[0054] In the embodiment of the present invention, the use of a digital isolation chip 20 for signal / data transmission can effectively solve the problems existing in the existing DALI communication using optocouplers as isolated signal transmission, which can avoid the delay effect of optocoupler transmission and have no temperature drift, and can effectively improve the lifespan and extend the service life of the power supply. Furthermore, in the embodiment of the present invention, the digital isolation chip 20 is an ultra-low power digital chip, and its power consumption is only about 100uA, which can significantly reduce power consumption compared to ordinary digital isolation chips 20 (power consumption is at the milliampere level).

[0055] At the same time, the present invention parses and identifies the communication protocol through the control unit 30, so that switching control can be performed according to the communication protocol, so that when the currently used communication protocol is the DALI standard communication protocol, the DALI bus switch is controlled to work according to the requirements of the DALI standard communication protocol; when the currently used communication protocol is a private protocol or the underlying firmware program is upgraded, the switching rate of the DALI bus switch is increased, thereby achieving the purpose of increasing the DALI bus communication rate, effectively solving the problem that the existing DALI bus communication limits the upgrade application of the underlying firmware program, reducing user costs, and avoiding unnecessary investment and waste of resources.

[0056] refer to Figure 2 , Figure 2 This is a schematic diagram of a preferred embodiment of the DALI port communication rate switching circuit 41 provided by the present invention.

[0057] Specifically, Figure 2 As shown, in this embodiment, the rectifier circuit 11 includes: a rectifier bridge BD1; the DALI communication data receiving circuit 12 includes: a first resistor RP1, a fourth resistor RP4, a first transistor QP1 and a third transistor QP3; the power supply circuit 13 includes: a first diode DP1, a second diode DP2, a second resistor RP2, a second transistor QP2, a first voltage regulator ZP1 and a first capacitor CP1; the voltage divider circuit 14 includes: a third resistor RP3 and a fifth resistor RP5. The control unit 30 is an MCU, wherein the MCU can be implemented using a 32-bit or 8-bit single-chip microcomputer.

[0058] The input end of the rectifier bridge BD1 receives DALI data, the output end of the rectifier bridge BD1 is connected to the input end of the first resistor RP1, the emitter of the third transistor QP3 and the drain of the DALI bus switch, the output end of the first resistor RP1 is connected to the base of the third transistor QP3 and the emitter of the first transistor QP1, the collector of the third transistor QP3 is connected to the base of the first transistor QP1 and the input end of the fourth resistor RP4, the output end of the fourth resistor RP4 is grounded, the collector of the first transistor QP1 is connected to the anode of the first diode DP1; the cathode of the first diode DP1 is connected The input end of the second resistor RP2 and the emitter of the second triode QP2, the output end of the second resistor RP2 is connected to the base of the second triode QP2 and the anode of the second diode DP2, the collector of the second triode QP2 is connected to the input end of the third resistor RP3, the cathode of the second diode DP2 is grounded through the first capacitor CP1, the cathode of the first voltage regulator tube ZP1 is connected to the second power supply voltage, the anode of the first voltage regulator tube ZP1 is grounded, the output end of the third resistor RP3 is connected to the input end of the fifth resistor RP5 and the input end of the digital isolation chip 20, and the output end of the fifth resistor RP5 is grounded.

[0059] Specifically, Figure 2 As shown, the second power supply voltage (VCC2) can be powered by the DALI bus or directly by an external power supply, and its voltage is ensured to be 6V to adapt to the DALI bus voltage being greater than 6.5V to transmit data to the subsequent stage. The first power supply voltage VCC1 can also be directly powered by an external power supply, which is not specifically limited in the present invention.

[0060] like Figure 2 As shown, after voltage division by the third resistor RP3 and the fifth resistor RP5, the DALI data on the DALI bus is connected to the digital isolation chip 20, and the DALI data is transmitted to the control unit 30 through the digital isolation chip 20, and the control unit 30 completes the interpretation of the DALI protocol or the custom protocol (proprietary protocol or underlying firmware program upgrade).

[0061] like Figure 2 As shown, in this embodiment, the switch control loop 51 includes: a seventh resistor RP7, a ninth resistor RP9, a fifth resistor RP5, an eleventh resistor RP11, a fourth drive switch QP4 and a sixth drive switch QP6. The drive circuit 52 includes: a drive resistor RP6.

[0062] Among them, the input end of the fifth resistor RP5 is connected to the DALI bus interface module 10 for receiving the power supply signal, the output end of the fifth resistor RP5 is connected to the second end of the fourth drive switch QP4, the second end of the seventh resistor RP7 and the first end of the ninth resistor RP9 in sequence; the first end of the seventh resistor RP7 is connected to the third end of the fourth drive switch QP4 and the first end of the sixth drive switch QP6, the third end of the sixth drive switch QP6 is connected to the second end of the ninth resistor RP9 and the first end of the eleventh resistor RP11, the second end of the sixth drive switch QP6 and the second end of the eleventh resistor RP11 are connected to the digital isolation chip 20, and the first end of the fourth drive switch QP6 is connected to the input end of the drive circuit 52. The input end of the drive resistor RP6 is connected to the first end of the fourth drive switch QP6, and the output end of the drive resistor RP6 is connected to the control end of the DALI bus switch.

[0063] Optionally, in the embodiment of the present invention, the fourth drive switch QP4 and the sixth drive switch QP6 may be MOS transistors.

[0064] like Figure 2 As shown, in this embodiment, the switching circuit 41 includes: a switching control switch SW1; and the regulating circuit 42 includes: an eighth resistor RP8. The input end of the switching control switch SW1 is connected to the input end of the driving circuit 52, the output end of the switching control switch SW1 is connected to the input end of the eighth resistor RP8, the output end of the eighth resistor RP8 is connected to the control end of the DALI bus switch, and the control end of the switching control switch SW1 is connected to the control unit 30.

[0065] Optionally, in the embodiment of the present invention, the switching control switch SW1 may be implemented in various forms, including but not limited to a device, a MOS tube, etc.

[0066] Specifically, Figure 2As shown, when the control unit 30 identifies that the current communication protocol is the DALI standard communication protocol, the switch control loop 51 composed of the fourth drive switch QP4, the sixth drive switch QP6, the seventh resistor RP7, the ninth resistor RP9 and the eleventh resistor RP11 sends the first drive control signal transmitted by the control unit 30 through the digital isolation chip 20 to the DALI bus switch through the drive resistor RP6 to complete the response to the main controller. At this time, since the resistance value of the drive resistor RP6 is relatively large, the switching speed dv / dt of the DALI bus switch is reduced, so that the DALI bus communication can meet the forward frame and the backward frame. The rise and fall time, that is, the time requirement of 3 to 25us. When the control unit 30 identifies that the current communication protocol is a private protocol or the underlying firmware program is upgraded, the switch control loop 51 composed of the fourth drive switch QP4, the sixth drive switch QP6, the seventh resistor RP7, the ninth resistor RP9 and the eleventh resistor RP11 sends the first drive control signal transmitted by the control unit 30 through the digital isolation chip 20 to the DALI bus switch through the drive resistor RP6 to complete the response to the main controller. At the same time, the control unit 30 outputs a first switching control signal to the switching control switch SW1 to close the switching control switch SW1. At this time, the eighth resistor RP8 is connected in parallel with the driving resistor RP6. Since the resistance of the eighth resistor RP8 is very small, the switching rate dv / dt of the DALI bus switch is increased, thereby achieving the purpose of improving the DALI bus communication rate.

[0067] Alternatively, in this embodiment, the switching control switch SW1 is in a normally closed state. When the switching control switch SW1 is in a normally closed state, the specific principle is as follows:

[0068] When the control unit 30 identifies that the current communication protocol is the DALI standard communication protocol, the switch control loop 51 composed of the fourth drive switch QP4, the sixth drive switch QP6, the seventh resistor RP7, the ninth resistor RP9 and the eleventh resistor RP11 sends the first drive control signal transmitted by the control unit 30 through the digital isolation chip 20 to the DALI bus switch through the drive resistor RP6 to complete the response to the main controller. At this time, since the switching control switch SW1 is in a normally closed state, the eighth resistor RP8 is kept in parallel with the drive resistor RP6. Since the resistance value of the eighth resistor RP8 is very small, the switching rate dv / dt of the DALI bus switch can be increased, thereby achieving the purpose of improving the DALI bus communication rate.

[0069] When the control unit 30 identifies that the current communication protocol is a private protocol or the underlying firmware program is upgraded, the switch control loop 51 composed of the fourth drive switch QP4, the sixth drive switch QP6, the seventh resistor RP7, the ninth resistor RP9 and the eleventh resistor RP11 sends the first drive control signal transmitted by the control unit 30 through the digital isolation chip 20 to the DALI bus switch through the drive resistor RP6 to complete the response to the main controller. At the same time, the control unit 30 outputs the first switching control signal to the switching control switch SW1 to disconnect the switching control switch SW1. At this time, since the resistance value of the driving resistor RP6 is relatively large, the switching speed dv / dt of the DALI bus switch is reduced, so that the DALI bus communication can meet the rise and fall time of the forward frame and the backward frame, that is, the time requirement of 3 to 25us is met.

[0070] In this embodiment, the present invention uses a baud rate of 1200bps when DALI is used for normal application communication, and uses a large driving resistor RP6 for the DALI bus switching device MOS tube (i.e., DALI bus switch); when DALI upgrades the underlying firmware program communication, a baud rate greater than 9600bps is used, and a small resistance drive (i.e., a small resistance is incorporated) is used for the DALI bus switching device MOS tube; for the recognition of DALI normal communication and upgrading the underlying firmware program, the DALI standard protocol or a custom private protocol is used.

[0071] refer to Figure 3 , Figure 3 A circuit diagram of another preferred embodiment of the DALI port communication rate switching circuit provided by the present invention.

[0072] This embodiment and Figure 2 The difference between the embodiments is that the regulating circuits are different. Specifically, Figure 3 As shown, in this embodiment, the switching circuit includes: a switching control switch; the regulating circuit includes: a second capacitor. Among them, the input end of the switching control switch is connected to the input end of the driving circuit, the output end of the switching control switch is connected to the input end of the second capacitor, and the output end of the second capacitor is grounded. It should be noted that, in this embodiment, the positions of the switching control switch and the second capacitor can be interchanged. At the same time, in this embodiment, the resistance value of the driving resistor RP6 is relatively small, that is, the resistance value of the driving power supply RP6 of this embodiment is smaller than the resistance value of Example 2.

[0073] Specifically, Figure 3As shown, in this embodiment, when the control unit 30 identifies that the current communication protocol is the DALI standard communication protocol, the switch control loop 51 composed of the fourth drive switch QP4, the sixth drive switch QP6, the seventh resistor RP7, the ninth resistor RP9 and the eleventh resistor RP11 sends the first drive control signal transmitted by the control unit 30 through the digital isolation chip 20 to the DALI bus switch through the drive resistor RP6 to complete the response to the main controller. At this time, the control unit 30 outputs the first switching control signal to the switching control switch SW1, so that the switching control switch SW1 is closed, so that the second capacitor CP2 is connected to the circuit. Due to the effect of the second capacitor CP2, the switching speed dv / dt of the DALI bus switch is reduced, so that the DALI bus communication can meet the rise and fall time of the forward frame and the backward frame, that is, the time requirement of 3 to 25us is met. When the control unit 30 identifies that the current communication protocol is a private protocol or the underlying firmware program is upgraded, the switch control loop 51 composed of the fourth drive switch QP4, the sixth drive switch QP6, the seventh resistor RP7, the ninth resistor RP9 and the eleventh resistor RP11 sends the first drive control signal transmitted by the control unit 30 through the digital isolation chip 20 to the DALI bus switch through the drive resistor RP6 to complete the response to the main controller. At the same time, the control unit 30 outputs the first switching control signal to the switching control switch SW1, so that the switching control switch SW1 is disconnected, and the second capacitor CP2 exits the circuit. At this time, since the resistance value of the driving resistor RP6 is relatively small, the switching rate dv / dt of the DALI bus switch increases, thereby achieving the purpose of improving the DALI bus communication rate.

[0074] The present invention adopts a digital isolation chip 20 to replace the traditional optical coupler transmission, which can not only improve the isolated communication rate, but also solve the problem that the optical coupler is sensitive to temperature. At the same time, the present invention adjusts or switches the size of the driving power supply of the DALI bus switch to achieve the purpose of switching the switching rate of the DALI bus switch, thereby achieving the requirement of standard DALI communication during standard DALI communication and improving the communication rate during non-standard DALI communication (such as private protocol or underlying firmware program upgrade).

[0075] The present invention improves the transmission rate of the DALI bus from the perspective of the physical hardware layer, reduces the difficulty of software design, and improves the user experience.

[0076] refer to Figure 4 The present invention further provides a DALI port communication rate switching method. The DALI port communication rate switching method is applied to the DALI port communication rate switching circuit 41 disclosed in the embodiment of the present invention.

[0077] like Figure 4As shown, the DALI port communication rate switching method includes the following steps:

[0078] Step S301: the DALI bus interface module 10 receives / sends DALI data.

[0079] Step S302 : the digital isolation chip 20 transmits the DALI data to the control unit 30 .

[0080] Step S303: the control unit 30 analyzes and identifies the DALI data and determines the current communication protocol.

[0081] Step S304 : If the current communication protocol is the DALI standard communication protocol, the control unit 30 outputs a first driving control signal to control the DALI bus driving module 50 , so as to control the DALI bus switch to operate at a switching rate of the DALI standard communication protocol through the DALI bus driving module 50 .

[0082] Step S305: If the current communication protocol is a private protocol or an underlying firmware program upgrade, the control unit 30 outputs a first switching control signal to control the isolation control module 40 and outputs a first driving control signal to control the DALI bus driving module 50, and adjusts the driving of the DALI bus driving module 50 through the isolation control module 40 to control the DALI bus switch to operate at a switching rate of the private protocol or the underlying firmware program upgrade.

[0083] The present invention further provides an LED driving power supply, which may include the DALI port communication rate switching circuit 41 disclosed in the embodiment of the present invention.

[0084] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0085] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0086] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0087] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot limit the scope of protection of the present invention. All equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.

Claims

1. A DALI port communication rate switching circuit, characterized in that: include: DALI bus interface module, digital isolation chip, control unit, isolation control module, DALI bus driver module and DALI bus switch; The DALI bus interface module performs DALI data transmission and reception; The digital isolation chip is connected to the DALI bus interface module for transmitting DALI data; The control unit is connected to the digital isolation chip, and is used to parse and identify the DALI data, and output a first drive control signal according to the identification result; or outputting a first driving control signal and a first switching control signal according to the recognition result; The isolation control module is connected to the control unit and the DALI bus driver module, and the isolation control module is used to adjust the impedance of the DALI bus driver module according to the first switching control signal to meet different switching rates.

2. The DALI port communication rate switching circuit according to claim 1, characterized in that: The different switching rates include: a high switching rate and a low switching rate; At the low switching rate, the DALI bus driver module controls the DALI bus switch to operate at a switching rate of the DALI standard communication protocol according to the first drive control signal; or the DALI bus driver module controls the DALI bus switch to operate at a switching rate of a private protocol or an upgrade of the underlying firmware program according to the first drive control signal and the regulation of the isolation control module; At the high switching rate, the DALI bus driver module controls the DALI bus switch to operate at the switching rate of the DALI standard communication protocol according to the first drive control signal and the adjustment of the isolation control module; or the DALI bus driver module causes the DALI bus switch to operate at the switching rate of the private protocol or the underlying firmware program upgrade according to the first drive control signal.

3. The DALI port communication rate switching circuit according to claim 1, characterized in that: The DALI bus driving module includes: a switch control loop and a driving circuit; The input end of the switch control loop is connected to the digital isolation chip, the output end of the switch control loop is connected to the input end of the drive circuit, and the output end of the drive circuit is connected to the DALI bus switch; The switch control circuit outputs a driving signal according to the first driving control signal transmitted by the digital isolation chip; The driving circuit drives and controls the DALI bus switch to operate based on the driving signal.

4. The DALI port communication rate switching circuit according to claim 3, characterized in that: The switch control loop includes: a seventh resistor, a ninth resistor, a fifth resistor, an eleventh resistor, a fourth drive switch and a sixth drive switch; The input end of the fifth resistor is connected to the DALI bus interface module for receiving a power supply signal, and the output end of the fifth resistor is connected to the second end of the fourth drive switch, the second end of the seventh resistor and the first end of the ninth resistor in sequence; the first end of the seventh resistor is connected to the third end of the fourth drive switch and the first end of the sixth drive switch, the third end of the sixth drive switch is connected to the second end of the ninth resistor and the first end of the eleventh resistor, the second end of the sixth drive switch and the second end of the eleventh resistor are connected to the digital isolation chip, and the first end of the fourth drive switch is connected to the input end of the drive circuit.

5. The DALI port communication rate switching circuit according to claim 4, characterized in that: The driving circuit comprises: a driving resistor; The input end of the driving resistor is connected to the first end of the fourth driving switch, and the output end of the driving resistor is connected to the control end of the DALI bus switch.

6. The DALI port communication rate switching circuit according to claim 3, characterized in that: The isolation control module includes: a switching circuit and a regulating circuit; The switching circuit is connected to the control unit, the input end of the regulating circuit is connected to the switching circuit, the output end of the regulating circuit is connected to the DALI bus switch, and the switching circuit is connected in series with the regulating circuit and then connected in parallel with the driving circuit; Alternatively, the switching circuit is connected to the control unit, the input end of the regulating circuit is connected to the switching circuit, and the output end of the regulating circuit is grounded.

7. The DALI port communication rate switching circuit according to claim 6, characterized in that: The switching circuit includes: a switching control switch; the regulating circuit includes: an eighth resistor; The input end of the switching control switch is connected to the input end of the driving circuit, the output end of the switching control switch is connected to the input end of the eighth resistor, the output end of the eighth resistor is connected to the control end of the DALI bus switch, and the control end of the switching control switch is connected to the control unit; Alternatively, the switching circuit includes: a switching control switch; the regulating circuit includes: a second capacitor; The input end of the switching control switch is connected to the input end of the driving circuit, the output end of the switching control switch is connected to the input end of the second capacitor, and the output end of the second capacitor is grounded.

8. The DALI port communication rate switching circuit according to claim 1, characterized in that: The DALI bus interface module includes: a rectifier circuit, a DALI communication data receiving circuit, a power supply circuit and a voltage divider circuit; The input end of the rectifier circuit receives the DALI data, and the output end of the rectifier circuit is connected to the DALI communication data receiving circuit, the power supply circuit and the voltage divider circuit in sequence; the power supply circuit and the voltage divider circuit are respectively connected to the digital isolation chip.

9. The DALI port communication rate switching circuit according to claim 8, characterized in that: The rectifier circuit includes: a rectifier bridge; the DALI communication data receiving circuit includes: a first resistor, a fourth resistor, a first transistor and a third transistor; the power supply circuit includes: a first diode, a second diode, a second resistor, a second transistor, a first voltage regulator and a first capacitor; the voltage divider circuit includes: a third resistor and a fifth resistor; The input end of the rectifier bridge receives the DALI data, the output end of the rectifier bridge is connected to the input end of the first resistor, the emitter of the third transistor and the drain of the DALI bus switch, the output end of the first resistor is connected to the base of the third transistor and the emitter of the first transistor, the collector of the third transistor is connected to the base of the first transistor and the input end of the fourth resistor, the output end of the fourth resistor is grounded, and the collector of the first transistor is connected to the anode of the first diode; The cathode of the first diode is connected to the input end of the second resistor and the emitter of the second transistor, the output end of the second resistor is connected to the base of the second transistor and the anode of the second diode, the collector of the second transistor is connected to the input end of the third resistor, the cathode of the second diode is grounded through the first capacitor, the cathode of the first voltage regulator is connected to the second power supply voltage, the anode of the first voltage regulator is grounded, the output end of the third resistor is connected to the input end of the fifth resistor and the input end of the digital isolation chip, and the output end of the fifth resistor is grounded.

10. A DALI port communication rate switching method, applied to the DALI port communication rate switching circuit according to any one of claims 1 to 9, characterized in that: The following steps are involved: DALI bus interface module receives / sends DALI data; The digital isolation chip transmits the DALI data to the control unit; The control unit parses and identifies the DALI data and determines the current communication protocol; If the current communication protocol is the DALI standard communication protocol, the control unit outputs a first drive control signal to control the DALI bus driver module, so as to control the DALI bus switch to operate at a switch rate of the DALI standard communication protocol through the DALI bus driver module; If the current communication protocol is a private protocol or an underlying firmware program upgrade, the control unit outputs a first switching control signal to control the isolation control module and outputs the first drive control signal to control the DALI bus drive module, and adjusts the drive of the DALI bus drive module through the isolation control module to control the DALI bus switch to operate at a switching rate of the private protocol or the underlying firmware program upgrade.

11. An LED driving power supply, characterized in that: The invention comprises the DALI port communication rate switching circuit as described in any one of claims 1 to 9.