A communication protocol identification circuit and a driving power supply
By designing a communication protocol identification circuit including a rectifier circuit, a DALI signal reception link, a protocol signal identification module and a dimming control circuit, the problem of compatible with multiple protocols in the dimming module is solved, and the accurate identification of DALI and DMX protocols is achieved, avoiding signal decoding errors and product damage.
Patent Information
- Application Number
- CN202510054772.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-08
AI Technical Summary
The prior art is difficult to compatible with a variety of communication protocols, such as DALI and DMX in dimming modules, resulting in unrecognized protocols for input signals, which in turn leads to signal decoding errors and product damage.
A communication protocol identification circuit is designed, including a rectifier circuit, a DALI signal reception link, a protocol signal identification module and a dimming control circuit, and the protocol identification signal is identified through a voltage divider circuit and a voltage stabilization circuit, and the protocol identification signal is output to the dimming control circuit.
It realizes accurate identification of the DALI protocol and the DMX protocol, avoids control errors in the later-stage circuits, and ensures the safety and stability of the product.
Smart Images

Figure CN119789265A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and more specifically, to a communication protocol identification circuit and a driving power supply. Background Art
[0002] The electrical specifications of the DALI protocol (DALI (Digital Addressable Lighting Interface) is a control protocol for intelligent lighting systems) and the DMX protocol (a serial port protocol for controlling lighting effects) have different definitions for the interface high level. The DALI protocol high level is 16V, and the DMX protocol high level is 5V. Therefore, if multiple protocols are compatible in one dimming module, the different protocols cannot be identified due to the different definitions of the high level of the interfaces of different protocols, which leads to the inability to determine which protocol the input signal uses, and the inability to perform accurate decoding processing, resulting in errors in the logic control of the subsequent signal, and even damage to the product. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a communication protocol identification circuit and a driving power supply in view of the problems existing in the prior art.
[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing a communication protocol identification circuit, including: a rectifier circuit, a DALI signal receiving link, a protocol signal identification module and a dimming control circuit;
[0005] The input end of the DALI signal receiving link is connected to the dimming signal input end through a rectifier circuit, the output end of the DALI signal receiving link is connected to the first end of the dimming control circuit, the input end of the protocol signal identification module is connected to the DALI signal receiving link, and the output end of the protocol signal identification module is connected to the second end of the dimming control circuit;
[0006] The DALI signal receiving link is used to process the dimming signal received by the dimming signal input terminal and then output a first voltage and a DALI signal to the dimming control circuit;
[0007] The protocol signal identification module is used to receive the first voltage, and after identifying the first voltage, output a protocol identification signal to the second end of the dimming control circuit;
[0008] The dimming control circuit is used to identify the current communication protocol according to the protocol identification signal.
[0009] The communication protocol identification circuit of the present invention further includes: a DALI signal transmission link and a DMX signal transceiver link;
[0010] The input end of the DALI signal transmission link is connected to the third end of the dimming control circuit, the output end of the DALI signal transmission link is connected to the output end of the rectifier circuit, the input end of the DMX signal transceiver link is connected to the dimming signal input end, and the output end of the DMX signal transceiver link is connected to the dimming control circuit;
[0011] The DALI signal transmission link is used to turn off the power supply of the DALI signal receiving link according to the DALI transmission control signal of the dimming control circuit when sending DALI data;
[0012] The DMX signal transceiver link is used to transmit and receive DMX data according to the DMX transceiver control signal of the dimming control circuit.
[0013] In the communication protocol identification circuit of the present invention, the protocol signal identification module includes: a voltage divider circuit and a voltage stabilizing circuit;
[0014] The input end of the voltage divider circuit is connected to the DALI signal receiving link, and the output end of the voltage divider circuit is connected to the second end of the dimming control circuit; the input end of the voltage stabilizing circuit is connected to the voltage divider circuit, and the output end of the voltage stabilizing circuit is connected to the rectifier circuit;
[0015] The voltage dividing circuit is used to perform voltage dividing processing on the first voltage, and generate the protocol identification signal according to the control of the voltage stabilizing circuit;
[0016] The voltage stabilizing circuit is used to control the voltage dividing circuit based on the voltage division of the first voltage by the voltage dividing circuit.
[0017] In the communication protocol identification circuit of the present invention, the voltage-dividing circuit comprises: a first voltage-dividing resistor, a second voltage-dividing resistor and a third voltage-dividing resistor; the voltage-stabilizing circuit comprises: a third voltage-stabilizing tube and a ninth diode;
[0018] The input end of the first voltage-dividing resistor is connected to the DALI signal receiving link, the output end of the first voltage-dividing resistor is respectively connected to the cathode of the third voltage-regulating diode and the input end of the second voltage-dividing resistor, the output end of the second voltage-dividing resistor is connected to the input end of the third voltage-dividing resistor, and the connection node between the output end of the second voltage-dividing resistor and the input end of the third voltage-dividing resistor outputs the protocol identification signal;
[0019] The output end of the third voltage-dividing resistor and the cathode of the ninth diode are connected to the rectifier circuit, and the anode of the third voltage-stabilizing tube is connected to the anode of the ninth diode.
[0020] In the communication protocol identification circuit of the present invention, the DALI signal transmission link includes: a control switch, a switch control circuit and a signal control circuit;
[0021] The input end of the signal control circuit is connected to the third end of the dimming control circuit, the output end of the signal control circuit is connected to the input end of the switch control circuit, the output end of the switch control circuit is connected to the control switch, and the control switch is connected to the output end of the rectifier circuit.
[0022] In the communication protocol identification circuit of the present invention, the DALI receiving link includes: a current limiting circuit and an output circuit;
[0023] The input end of the current limiting circuit is connected to the output end of the rectifier circuit, the output end of the current limiting circuit is respectively connected to the input end of the protocol signal identification module and the input end of the output circuit, and the output end of the output circuit is connected to the first end of the dimming control circuit.
[0024] In the communication protocol identification circuit of the present invention, the DMX signal transceiver link includes: an enabling switch circuit, a signal transmission link, a power supply circuit, an input circuit and a transmission chip;
[0025] The input end of the enable switch circuit is connected to the dimming control circuit, the output end of the enable switch circuit is connected to the control end of the signal transmission link, the input end of the signal transmission link is connected to the dimming signal input end, the output end of the signal transmission link is connected to the input end of the transmission chip through the input circuit, the output end of the transmission chip is connected to the dimming control circuit, and the power supply circuit is respectively connected to the output end of the enable switch circuit and the power supply end of the transmission chip.
[0026] In the communication protocol identification circuit of the present invention, the signal transmission link comprises: a first transmission circuit and a second transmission circuit;
[0027] The input end of the first transmission circuit is connected to the first interface of the dimming signal input end, the output end of the first transmission circuit is connected to the input circuit, and the control end of the first transmission circuit is connected to the enabling switch circuit;
[0028] The input end of the second transmission circuit is connected to the second interface of the dimming signal input end, the output end of the second transmission circuit is connected to the input circuit, and the control end of the second transmission circuit is connected to the enabling switch circuit.
[0029] In the communication protocol identification circuit of the present invention, the first transmission circuit includes: a first transmission switch and a first driving protection circuit; the second transmission circuit includes: a second transmission switch and a second driving protection circuit;
[0030] A first end of the first transmission switch is connected to the first interface, a second end of the first transmission switch is connected to the input circuit, and the first driving protection circuit is connected to the output ends of the first transmission switch and the enabling switch circuit respectively;
[0031] The first end of the second transmission switch is connected to the first interface, the second end of the second transmission switch is connected to the input circuit, and the second driving protection circuit is respectively connected to the output ends of the second transmission switch and the enabling switch circuit.
[0032] The present invention also provides a driving power supply, comprising: the communication protocol identification circuit mentioned above.
[0033] The communication protocol identification circuit and driving power supply implementing the present invention have the following beneficial effects: including: a rectifier circuit, a DALI signal receiving link, a protocol signal identification module and a dimming control circuit; the input end of the DALI signal receiving link is connected to the dimming signal input end through the rectifier circuit, the output end of the DALI signal receiving link is connected to the first end of the dimming control circuit, the input end of the protocol signal identification module is connected to the DALI signal receiving link, and the output end of the protocol signal identification module is connected to the second end of the dimming control circuit; the DALI signal receiving link processes the dimming signal received by the dimming signal input end and outputs a first voltage and a DALI signal; the protocol signal identification module identifies and processes the first voltage and outputs a protocol identification signal to the second end of the dimming control circuit; the dimming control circuit identifies the current communication protocol according to the protocol identification signal. The present invention can accurately identify the DALI protocol and the DMX protocol, avoid control errors of the subsequent circuit, and ensure product safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0035] Figure 1 It is a principle block diagram of the communication protocol identification circuit provided by the present invention;
[0036] Figure 2 and Figure 3 The present invention provides a circuit diagram of a communication protocol identification circuit. DETAILED DESCRIPTION
[0037] 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.
[0038] In order to identify input signals of different protocols and perform signal transmission, reception and control according to different protocols, the present invention provides a communication protocol identification circuit, which can be applied to products such as LED drive power supplies.
[0039] refer to Figure 1 , Figure 1 A principle block diagram of a preferred embodiment of the communication protocol identification circuit provided by the present invention.
[0040] Specifically, Figure 1 As shown, the communication protocol identification circuit includes: a rectifier circuit 10, a DALI signal receiving link 11, a protocol signal identification module 12 and a dimming control circuit 15. Among them, the input end of the DALI signal receiving link 11 is connected to the dimming signal input end through the rectifier circuit 10, the output end of the DALI signal receiving link 11 is connected to the first end of the dimming control circuit 15, the input end of the protocol signal identification module 12 is connected to the DALI signal receiving link 11, and the output end of the protocol signal identification module 12 is connected to the second end of the dimming control circuit 15.
[0041] Specifically, the DALI signal receiving link 11 is used to process the dimming signal received by the dimming signal input terminal and then output a first voltage and a DALI signal to the dimming control circuit 15; the protocol signal identification module 12 is used to receive the first voltage, and after identifying and processing the first voltage, output a protocol identification signal to the second end of the dimming control circuit 15; the dimming control circuit 15 is used to identify the current communication protocol according to the protocol identification signal. The present invention can accurately identify two different communication protocols, the DALI protocol and the DMX protocol, by setting the protocol identification module, thereby providing a reliable basis for accurate control of the subsequent circuit.
[0042] Furthermore, if Figure 1 As shown, the communication protocol identification circuit also includes: a DALI signal transmission link 13 and a DMX signal transceiver link 14. Among them, the input end of the DALI signal transmission link 13 is connected to the third end of the dimming control circuit 15, the output end of the DALI signal transmission link 13 is connected to the output end of the rectifier circuit 10, the input end of the DMX signal transceiver link 14 is connected to the dimming signal input end, and the output end of the DMX signal transceiver link 14 is connected to the dimming control circuit 15. Specifically, the DALI signal transmission link 13 is used to turn off the power supply of the DALI signal receiving link 11 according to the DALI transmission control signal of the dimming control circuit 15 when sending DALI data; the DMX signal transceiver link 14 is used to send and receive DMX data according to the DMX transceiver control signal of the dimming control circuit 15.
[0043] Optionally, in some embodiments, the protocol signal identification module 12 includes: a voltage divider circuit and a voltage stabilizing circuit. The input end of the voltage divider circuit is connected to the DALI signal receiving link 11, and the output end of the voltage divider circuit is connected to the second end of the dimming control circuit 15; the input end of the voltage stabilizing circuit is connected to the voltage divider circuit, and the output end of the voltage stabilizing circuit is connected to the rectifier circuit 10.
[0044] Specifically, the voltage divider circuit is used to divide the first voltage and generate a protocol identification signal according to the control of the voltage stabilizing circuit; the voltage stabilizing circuit is used to control the voltage divider circuit based on the voltage division of the first voltage by the voltage divider circuit. Optionally, in some embodiments, the dimming signal connected to the dimming signal input terminal is a DALI protocol signal (16V) or a DMX protocol signal (5V). Specifically, after the dimming signal generates a first voltage through the current limiting effect of the DALI signal receiving link 11, the first voltage is divided by the voltage divider circuit. If the voltage at the voltage stabilizing circuit is less than the set value of the voltage stabilizing circuit (generally 6.3V), the voltage stabilizing circuit is in a cut-off state. At this time, the voltage stabilizing circuit has no voltage stabilizing function, and the protocol identification signal generated by the voltage divider circuit is a low-voltage signal (generally about 1V). When the dimming control circuit 15 receives the low-voltage signal, it can be determined that the current communication protocol is the DMX protocol. If the input dimming signal generates a first voltage after the current limiting effect of the DALI signal receiving link 11, and the first voltage is divided by the voltage divider circuit, if the voltage at the voltage stabilizing circuit is greater than the set value of the voltage stabilizing circuit, the voltage stabilizing circuit is in a working state, and the voltage stabilizing circuit clamps the voltage at its set value. At this time, the protocol identification signal generated by the voltage divider circuit is a high-voltage signal (generally around 5V, for example, 3.2V). When the dimming control circuit 15 receives the high-voltage signal, it can be determined that the current communication protocol is the DALI protocol.
[0045] In an embodiment of the present invention, after receiving the input dimming signal, the DALI signal receiving link 11 will perform current limiting processing on the dimming signal, and output a first voltage and a DALI signal respectively. Among them, when the dimming control circuit 15 identifies that the current communication protocol is the DALI protocol through the protocol identification signal output by the protocol identification module, the dimming control circuit 15 controls its first end to receive the DALI signal output by the DALI signal receiving link 11; when the dimming control circuit 15 identifies that the current communication protocol is the DMX protocol through the protocol identification signal output by the protocol identification module, the dimming control circuit 15 does not process the DALI signal output by the DALI signal receiving link 11, that is, does not receive the DALI signal output by it. At the same time, when the dimming control circuit 15 identifies that the current communication protocol is the DALI protocol, the dimming control circuit 15 controls the DMX signal transceiver link 14 to be cut off. It should be noted that the dimming control circuit 15 can control the cut-off state of the DMX signal transceiver link 14 in a variety of ways. For example, the dimming control circuit 15 can send a low level to the DMX signal transceiver link 14 to control it to be in the cut-off state, or if the DMX signal transceiver link 14 itself is in the cut-off state before the DMX signal transceiver link 14 is started, the dimming control circuit 15 does not process it.
[0046] Further, when the current communication protocol is identified as the DALI protocol, if DALI data needs to be sent, the dimming control circuit 15 controls the DALI signal transmission link 13 to work, so as to shut down the power of the DALI signal receiving link 11 and the protocol signal identification module 12 through the DALI signal transmission link 13. By controlling the power of the DALI signal transmission link 13 and the protocol signal identification module 12 to be shut down, the stability and reliability of the dimming control circuit 15 in sending DALI data outward can be ensured, and the energy consumption of the system can be saved.
[0047] In the embodiment of the present invention, when it is identified that the current communication protocol is the DMX protocol, the dimming control circuit 15 no longer receives the DALI data output by the DALI signal receiving link 11, and the DMX signal transceiver link 14 is also in a cut-off state. At this time, the dimming control circuit 15 controls the DMX signal transceiver link 14 to turn on, and the dimming signal input from the dimming signal input end is directly transmitted to the dimming control circuit 15 through the DMX signal transceiver link 14. When DMX data needs to be sent, the DMX data is sent to the outside through the DMX signal transceiver link 14.
[0048] Optionally, in some embodiments, the DALI signal transmission link 13 includes: a control switch, a switch control circuit and a signal control circuit; the input end of the signal control circuit is connected to the third end of the dimming control circuit 15, the output end of the signal control circuit is connected to the input end of the switch control circuit, the output end of the switch control circuit is connected to the control switch, and the control switch is connected to the output end of the rectifier circuit 10. Among them, the on and off of the signal control circuit is controlled by the dimming control circuit 15. When the dimming control circuit 15 outputs a low level, the signal control circuit is turned off, and when the dimming control circuit 15 outputs a high level, the signal control circuit is turned on. When the signal control circuit is turned off, the switch control circuit is turned off, and the control switch is in the off state at this time; when the signal control circuit is turned on, the switch control circuit is also turned on, and at this time, the control switch is in the on state. It should be noted that the control of the signal control circuit by the dimming control circuit 15 is a frequent switch control process, that is, the dimming control circuit 15 controls the signal control circuit to repeatedly open and close according to the set switch control signal (low level and high level are repeatedly sent), and finally achieves the effect of repeatedly opening and closing the control switch.
[0049] In some embodiments, the DALI receiving link includes: a current limiting circuit and an output circuit; the input end of the current limiting circuit is connected to the output end of the rectifier circuit 10, the output end of the current limiting circuit is respectively connected to the input end of the protocol signal identification module 12 and the input end of the output circuit, and the output end of the output circuit is connected to the first end of the dimming control circuit 15. After the dimming signal is current-limited by the current limiting circuit, a first voltage and DALI data are output, wherein the first voltage is sent to the protocol signal identification module 12, and the DALI data is output to the dimming control circuit 15 through the output circuit.
[0050] In some embodiments, the DMX signal transceiver link 14 includes: an enabling switch circuit, a signal transmission link, a power supply loop, an input circuit, and a transmission chip. Among them, the input end of the enabling switch circuit is connected to the dimming control circuit 15, the output end of the enabling switch circuit is connected to the control end of the signal transmission link, the input end of the signal transmission link is connected to the dimming signal input end, the output end of the signal transmission link is connected to the input end of the transmission chip through the input circuit, the output end of the transmission chip is connected to the dimming control circuit 15, and the power supply loop is respectively connected to the output end of the enabling switch circuit and the power supply end of the transmission chip.
[0051] Specifically, the power supply circuit is used to provide power supply voltage to the transmission chip, the input circuit is used to protect the input pins of the transmission chip, the signal transmission link is used to transmit DMX signals or DMX data; the transmission chip is used to process and transmit the transmitted DMX signals / data, and the enabling switch circuit is used to control the on and off of the signal transmission link.
[0052] Optionally, in an embodiment of the present invention, the dimming control circuit 15 includes a control chip (single-chip microcomputer), which is used to perform work control and management of the signals output by the DALI signal receiving link 11, the DALI signal sending link 13, and the DMX signal transceiver link 14, and to perform communication protocol identification based on the protocol signal identification circuit.
[0053] Optionally, in an embodiment of the present invention, the signal transmission link includes: a first transmission circuit and a second transmission circuit; the input end of the first transmission circuit is connected to the first interface of the dimming signal input end, the output end of the first transmission circuit is connected to the input circuit, and the control end of the first transmission circuit is connected to the enable switch circuit; the input end of the second transmission circuit is connected to the second interface of the dimming signal input end, the output end of the second transmission circuit is connected to the input circuit, and the control end of the second transmission circuit is connected to the enable switch circuit.
[0054] In some embodiments, the first transmission circuit includes: a first transmission switch and a first driving protection circuit; the second transmission circuit includes: a second transmission switch and a second driving protection circuit. The first end of the first transmission switch is connected to the first interface, the first transmission switch and the second end are connected to the input circuit, and the first driving protection circuit is respectively connected to the output end of the first transmission switch and the enabling switch circuit; the first end of the second transmission switch is connected to the first interface, the second transmission switch and the second end are connected to the input circuit, and the second driving protection circuit is respectively connected to the output end of the second transmission switch and the enabling switch circuit.
[0055] Specifically, Figure 2 As shown, in some embodiments, the rectifier circuit 10 is composed of a rectifier bridge BDP1. The current limiting circuit is composed of a sixth diode DP6, a seventh diode DP7, an eighth transistor QP8, a tenth transistor QP10, a thirty-fifth resistor RP35 and a forty-seventh resistor RP47. The output circuit is composed of a ninth transistor QP9, a thirty-sixth resistor RP36 and a forty-second resistor RP42. Among them, MCU1_DALI_RX outputs DALI data to the control chip. DA- / DMX-B and DA+ / DMX-A are input dimming signals. Among them, the control chip is not shown in the figure.
[0056] like Figure 2As shown, the voltage divider circuit includes: a first voltage divider resistor RP41, a second voltage divider resistor RP49 and a third voltage divider resistor RP48; the voltage stabilizing circuit includes: a third voltage stabilizing tube ZP3 and a ninth diode DP9. The input end of the first voltage divider resistor RP41 is connected to the DALI signal receiving link 11, the output end of the first voltage divider resistor RP41 is respectively connected to the cathode of the third voltage stabilizing tube ZP3 and the input end of the second voltage divider resistor RP49, the output end of the second voltage divider resistor RP49 is connected to the input end of the third voltage divider resistor RP48, and the connection node between the output end of the second voltage divider resistor RP49 and the input end of the third voltage divider resistor RP48 outputs a protocol identification signal; the output end of the third voltage divider resistor RP48 and the cathode of the ninth diode DP9 are connected to the rectifier circuit 10, and the anode of the third voltage stabilizing tube ZP3 is connected to the anode of the ninth diode DP9. Among them, DALI&DMX_DET is the output protocol identification signal.
[0057] like Figure 2 As shown, the control switch includes: an eleventh MOS transistor QP11; the switch control circuit includes: a fiftieth resistor RP50, a tenth diode DP10, a fifty-third resistor RP53, a twenty-seventh capacitor CP27, a fourteenth transistor QP14 and a sixtieth resistor RP60; the signal control circuit includes: a fifty-first resistor RP51, a twelfth transistor QP12, a fifty-fifth resistor RP55, a fifty-fourth resistor RP54, a fifty-seventh resistor RP57, a sixty-first resistor RP61 and a fifteenth MOS transistor QP15. Among them, MCU1_DALI_TX is a control signal provided by the control chip.
[0058] like Figure 2 As shown, the dimming signal passes through the rectifier bridge BDP1 and then through two diodes in series (i.e., the sixth diode DP6 and the seventh diode DP7), generating a voltage drop of about 2.1V (i.e., the first voltage), and then flows through the first voltage-dividing resistor RP41, the second voltage-dividing resistor RP49 and the third voltage-dividing resistor RP48 for voltage division. At the same time, a 5.6V third voltage-regulating diode ZP3 and a ninth diode DP9 are connected in series at the node between the first voltage-dividing resistor RP41 and the second voltage-dividing resistor RP49.
[0059] If the voltage of the input dimming signal is limited by the sixth diode DP6, the thirty-fifth resistor RP35 and the seventh diode DP7, and then the voltage at the third voltage regulator ZP3 after the voltage is divided by the voltage divider resistor is less than 6.3V, the third voltage regulator ZP3 is cut off, and there is no voltage stabilization function. The final output voltage of the DALI&DMX_DET port is 1V (1V up and down fluctuations), and it is judged that the input dimming signal uses the DMX protocol. If the voltage of the input dimming signal is greater than 6.3V at the voltage regulator after the voltage drop of several diodes and the voltage divider of the resistor, the third voltage regulator ZP3 works and stabilizes the voltage here at 6.3V. The final output voltage of the DALI&DMX_DET port is 3.2V (5V up and down fluctuations), and it is judged that the input signal uses the DALI protocol.
[0060] At the same time, when it is determined that the input dimming signal uses the DALI protocol, the base potential of the ninth transistor QP9 is 6.3V, and its emitter voltage is much greater than 6.3V. The ninth transistor QP9 is turned on, and the signal is divided by the thirty-sixth resistor RP36 and the forty-second resistor RP42 and then outputs the DALI signal (generally a high level of about 5V) through MCU1_DALI_RX. At this time, the microcontroller starts to receive DALI data. When the single-chip microcomputer needs to send DALI data to the outside, the single-chip microcomputer controls the DALI_TX port to be pulled low. At this time, the node voltage between the fifty-seventh resistor RP57 and the sixty-first resistor RP61 reaches the turn-on threshold voltage of the fifteenth MOS tube QP15, and the voltage of the fifty-fourth resistor connected in series therewith is pulled low, and the twelfth transistor QP12 is turned on. After being turned on, the power supply voltage of 6V (provided by an external power supply or other power supply circuit, not limited by the present invention) reaches the gate of the eleventh MOS tube QP11 after passing through the tenth diode DP10 and the fiftieth resistor RP50, so that the eleventh MOS tube QP11 is turned on. After the eleventh MOS tube QP11 is turned on, the input signal after passing through the rectifier bridge BDP1 is pulled low, thereby making the DALI signal receiving link 11 and the protocol signal identification module 12 both stop working.
[0061] When it is identified that the DALI protocol is used, the single chip microcomputer controls the DMX signal transceiver link 14 to be cut off.
[0062] like Figure 3As shown, in some embodiments, the enabling switch circuit includes: the seventeenth resistor RP17, the eighteenth resistor RP18, the twenty-fifth resistor RP25, the ninth resistor RP9, the sixth MOS tube QP6 and the third triode QP3. The first transmission switch includes: the first MOS tube QP1; the second transmission switch includes: the second MOS tube QP2; the first driving protection circuit includes: the sixth resistor RP6, the second capacitor CP2, the second resistor RP2 and the second voltage regulator ZP2; the second driving protection circuit includes: the fifth resistor RP5, the first capacitor CP1, the first resistor RP1 and the first voltage regulator ZP1. The power supply circuit includes: the second diode DP2, the twenty-fourth resistor RP24, the seventh capacitor CP7, the three-terminal regulator UP3 and the first diode DP1. The input circuit includes: the twenty-seventh resistor R27, the third TVS tube DP3, the fourth TVS tube DP4, the fifth TVS tube DP5, the twentieth resistor R20, the twenty-third resistor R23 and the twenty-eighth resistor R28. The transmission chip includes: 485 chip UP1.
[0063] like Figure 3 As shown, when it is recognized that the DMX protocol is used, the single chip sends a high level to DMX_EN, and the sixth MOS tube QP6 is turned on. At this time, the third transistor QP3 is turned on, and the 12V voltage controls the second MOS tube QP2 and the third MOS tube QP1 to be turned on respectively through the fifth resistor RP5 and the sixth resistor RP6. The DMS signal is transmitted to the seventh pin and the sixth pin of UP1 through the second MOS tube QP1 and the second MOS tube QP2. After conversion and processing by UP1, the DMX signal (high level) is output to the single chip microcomputer through its first pin (output pin), and the single chip microcomputer starts to receive DMX data.
[0064] It should be noted that when the DMX protocol is identified, although the emitter voltage of the ninth transistor QP9 is always greater than its base voltage and the ninth transistor QP9 is in the on state, since it is currently identified as the DMX protocol, the microcontroller does not process the signal (i.e., the DALI signal output by MCU1_DALI_RX).
[0065] like Figure 3 As shown, the third TVS tube DP3 performs differential mode protection, and the fourth TVS tube DP4 and the fifth TVS tube DP5 perform common mode protection, all of which are used to protect the A / B pins of the transmission chip from being damaged.
[0066] The present invention also provides a driving power supply, comprising: the communication protocol identification circuit disclosed in the embodiment of the present invention. The driving power supply can be an LED driving power supply, which can be applied to the field of lighting.
[0067] The present invention can not only realize accurate identification of different protocols, but also can send signals / data to the single-chip microcomputer and process the data / signals sent by the single-chip microcomputer.
[0068] 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 communication protocol identification circuit, characterized in that: include: Rectification circuit, DALI signal receiving link, protocol signal recognition module and dimming control circuit; The input end of the DALI signal receiving link is connected to the dimming signal input end through a rectifier circuit, the output end of the DALI signal receiving link is connected to the first end of the dimming control circuit, the input end of the protocol signal identification module is connected to the DALI signal receiving link, and the output end of the protocol signal identification module is connected to the second end of the dimming control circuit; The DALI signal receiving link is used to process the dimming signal received by the dimming signal input terminal and then output a first voltage and a DALI signal to the dimming control circuit; The protocol signal identification module is used to receive the first voltage, and after identifying the first voltage, output a protocol identification signal to the second end of the dimming control circuit; The dimming control circuit is used to identify the current communication protocol according to the protocol identification signal.
2. The communication protocol identification circuit according to claim 1, characterized in that: Also includes: DALI signal sending link and DMX signal receiving and sending link; The input end of the DALI signal transmission link is connected to the third end of the dimming control circuit, the output end of the DALI signal transmission link is connected to the output end of the rectifier circuit, the input end of the DMX signal transceiver link is connected to the dimming signal input end, and the output end of the DMX signal transceiver link is connected to the dimming control circuit; The DALI signal transmission link is used to turn off the power supply of the DALI signal receiving link according to the DALI transmission control signal of the dimming control circuit when sending DALI data; The DMX signal transceiver link is used to transmit and receive DMX data according to the DMX transceiver control signal of the dimming control circuit.
3. The communication protocol identification circuit according to claim 2, characterized in that: The protocol signal identification module includes: a voltage dividing circuit and a voltage stabilizing circuit; The input end of the voltage divider circuit is connected to the DALI signal receiving link, and the output end of the voltage divider circuit is connected to the second end of the dimming control circuit; the input end of the voltage stabilizing circuit is connected to the voltage divider circuit, and the output end of the voltage stabilizing circuit is connected to the rectifier circuit; The voltage dividing circuit is used to perform voltage dividing processing on the first voltage, and generate the protocol identification signal according to the control of the voltage stabilizing circuit; The voltage stabilizing circuit is used to control the voltage dividing circuit based on the voltage division of the first voltage by the voltage dividing circuit.
4. The communication protocol identification circuit according to claim 3, characterized in that: The voltage-dividing circuit comprises: a first voltage-dividing resistor, a second voltage-dividing resistor and a third voltage-dividing resistor; the voltage-stabilizing circuit comprises: a third voltage-stabilizing tube and a ninth diode; The input end of the first voltage-dividing resistor is connected to the DALI signal receiving link, the output end of the first voltage-dividing resistor is respectively connected to the cathode of the third voltage-regulating diode and the input end of the second voltage-dividing resistor, the output end of the second voltage-dividing resistor is connected to the input end of the third voltage-dividing resistor, and the connection node between the output end of the second voltage-dividing resistor and the input end of the third voltage-dividing resistor outputs the protocol identification signal; The output end of the third voltage-dividing resistor and the cathode of the ninth diode are connected to the rectifier circuit, and the anode of the third voltage-stabilizing tube is connected to the anode of the ninth diode.
5. The communication protocol identification circuit according to claim 2, characterized in that: The DALI signal transmission link includes: a control switch, a switch control circuit and a signal control circuit; The input end of the signal control circuit is connected to the third end of the dimming control circuit, the output end of the signal control circuit is connected to the input end of the switch control circuit, the output end of the switch control circuit is connected to the control switch, and the control switch is connected to the output end of the rectifier circuit.
6. The communication protocol identification circuit according to claim 1, characterized in that: The DALI receiving link includes: a current limiting circuit and an output circuit; The input end of the current limiting circuit is connected to the output end of the rectifier circuit, the output end of the current limiting circuit is respectively connected to the input end of the protocol signal identification module and the input end of the output circuit, and the output end of the output circuit is connected to the first end of the dimming control circuit.
7. The communication protocol identification circuit according to claim 2, characterized in that: The DMX signal transceiver link includes: an enabling switch circuit, a signal transmission link, a power supply circuit, an input circuit and a transmission chip; The input end of the enable switch circuit is connected to the dimming control circuit, the output end of the enable switch circuit is connected to the control end of the signal transmission link, the input end of the signal transmission link is connected to the dimming signal input end, the output end of the signal transmission link is connected to the input end of the transmission chip through the input circuit, the output end of the transmission chip is connected to the dimming control circuit, and the power supply circuit is respectively connected to the output end of the enable switch circuit and the power supply end of the transmission chip.
8. The communication protocol identification circuit according to claim 7, characterized in that: The signal transmission link comprises: a first transmission circuit and a second transmission circuit; The input end of the first transmission circuit is connected to the first interface of the dimming signal input end, the output end of the first transmission circuit is connected to the input circuit, and the control end of the first transmission circuit is connected to the enabling switch circuit; The input end of the second transmission circuit is connected to the second interface of the dimming signal input end, the output end of the second transmission circuit is connected to the input circuit, and the control end of the second transmission circuit is connected to the enabling switch circuit.
9. The communication protocol identification circuit according to claim 8, characterized in that: The first transmission circuit includes: a first transmission switch and a first driving protection circuit; the second transmission circuit includes: a second transmission switch and a second driving protection circuit; A first end of the first transmission switch is connected to the first interface, a second end of the first transmission switch is connected to the input circuit, and the first driving protection circuit is connected to the output ends of the first transmission switch and the enabling switch circuit respectively; The first end of the second transmission switch is connected to the first interface, the second end of the second transmission switch is connected to the input circuit, and the second driving protection circuit is respectively connected to the output ends of the second transmission switch and the enabling switch circuit.
10. A driving power supply, characterized in that: include: The communication protocol identification circuit according to any one of claims 1 to 9.