CN115066060B - Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication - Google Patents

Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication Download PDF

Info

Publication number
CN115066060B
CN115066060B CN202210989717.8A CN202210989717A CN115066060B CN 115066060 B CN115066060 B CN 115066060B CN 202210989717 A CN202210989717 A CN 202210989717A CN 115066060 B CN115066060 B CN 115066060B
Authority
CN
China
Prior art keywords
circuit
microcontroller
pin
receiving
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210989717.8A
Other languages
Chinese (zh)
Other versions
CN115066060A (en
Inventor
朱钦柳
谢明
苏其海
臧恒勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gospower Digital Technology Shenzhen Co ltd
Original Assignee
Gospower Digital Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gospower Digital Technology Shenzhen Co ltd filed Critical Gospower Digital Technology Shenzhen Co ltd
Priority to CN202210989717.8A priority Critical patent/CN115066060B/en
Publication of CN115066060A publication Critical patent/CN115066060A/en
Application granted granted Critical
Publication of CN115066060B publication Critical patent/CN115066060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The invention discloses a transmitting-receiving integrated multiplexing circuit for LED driving power supply communication.A first transmitting circuit has an input end connected with a transmitting pin of a first microcontroller and an output end connected with a signal transmitting-receiving pin; the input end of the first receiving circuit is connected with the signal transceiving pin, and the output end of the first receiving circuit is connected with the receiving pin of the first microcontroller; the input end of the second sending circuit is connected with the sending pin of the second microcontroller, and the output end of the second sending circuit is connected with the signal transceiving pin; the input end of the second receiving circuit is connected with the signal transceiving pin, the output end of the second receiving circuit is connected with the receiving pin of the second microcontroller, and the signal transceiving pin is multiplexed by the first sending circuit, the first receiving circuit, the second sending circuit and the second receiving circuit in a time-sharing mode. The LED driving power supply can send and receive signals by utilizing the dimming line of the LED driving power supply without additionally adding a communication line and a communication chip, and has the advantages of low cost and low price.

Description

Transmitting-receiving integrated multiplexing circuit for LED driving power supply communication
Technical Field
The invention relates to an LED driving power supply, in particular to a transmitting-receiving integrated multiplexing circuit for LED driving power supply communication.
Background
With the continuous development of the technology, more and more devices become intelligent and digital, and similarly, the switching power supply does not just realize the conversion of AC-DC, and more requirements such as power monitoring, fault reporting, output voltage and current change, and function upgrading are put forward to realize the function of 'bit management watt'. For an LED driving power supply, different LEDs are different in series-parallel output voltage and current, the same LED power supply needs to meet different LED output requirements, because of the characteristics of the LEDs, power supply constant-current output is generally needed, a fixed output current is generally set when power supplies produced in large batches in factories leave factories, different LED lamps need different output currents, so that the LED power supply generally needs to be externally connected with a pair of dimming lines, 0-10V input voltage or PWM signals are applied to the externally connected output lines to adjust the output current so as to meet the different LED lamp constant-current requirements, and meanwhile, the externally connected dimming lines are sometimes needed to be used for communication so as to achieve the requirements of fault reading, product upgrading and the like of the LED power supply.
Utility model with application number CN201922128754.6 discloses a compatible multiplexing LED drive power supply of many interfaces, including LED drive power supply body, LED drive power supply body is inside to be provided with. The one end of adjusting luminance platelet is connected with ground wire and 12V output line in proper order, adjusts luminance and has set gradually MCU module, adjusts luminance compatible communication circuit of line and linear voltage stabilizing circuit on the platelet, and the MCU module is connected with adjusting luminance compatible communication circuit of line and linear voltage stabilizing circuit in proper order, adjusts luminance compatible communication circuit of line and linear voltage stabilizing circuit all with the compatible line connection of adjusting luminance of communication. Has the advantages that: by integrating the functions of dimming, programming and power supply into one interface, all functions can be realized by only two wires, so that a lot of cost can be saved, and the use of production, management and customers is facilitated. The material cost and the production cost of the LED driving power supply are greatly reduced, the time-sharing multiplexing characteristics of various interfaces are fully utilized, and the product is more convenient to use.
Traditional communication methods include RS232 communication, RS485 communication and CAN communication etc. RS232 needs external three lines, and RS485 communication needs special communication chip with keep apart the chip, adopts these communications or expensive, or need increase a line and special communication chip, CAN't utilize above-mentioned utility model discloses compatible multiplexing LED drive power supply's of many interfaces line compatible communication circuit that adjusts luminance of adjusting luminance goes to communicate.
Disclosure of Invention
The invention aims to provide a transmitting-receiving integrated multiplexing circuit for LED driving power supply communication, which is low in cost and few in communication lines.
In order to solve the technical problem, the invention adopts the technical scheme that the transmitting-receiving integrated multiplexing circuit for the LED driving power supply communication comprises a first microcontroller, a second microcontroller, a first transmitting-receiving circuit, a second transmitting-receiving circuit and a signal transmitting-receiving pin connected with a controlled LED driving power supply; the first transceiving circuit comprises a first transmitting circuit and a first receiving circuit, and the second transceiving circuit comprises a second transmitting circuit and a second receiving circuit; the input end of the first sending circuit is connected with a sending pin of the first microcontroller, and the output end of the first sending circuit is connected with a signal transceiving pin; the input end of the first receiving circuit is connected with the signal transceiving pin, and the output end of the first receiving circuit is connected with the receiving pin of the first microcontroller; the input end of the second sending circuit is connected with the sending pin of the second microcontroller, and the output end of the second sending circuit is connected with the signal transceiving pin; the input end of the second receiving circuit is connected with the signal transceiving pin, the output end of the second receiving circuit is connected with the receiving pin of the second microcontroller, and the signal transceiving pin is multiplexed by the first sending circuit, the first receiving circuit, the second sending circuit and the second receiving circuit in a time-sharing mode.
The receiving and transmitting integrated multiplexing circuit comprises an upper computer communication circuit, wherein the upper computer communication circuit comprises a USB interface, two data pins of the USB interface are respectively connected with two data pins of the first microcontroller, and the two data pins of the first microcontroller are used for receiving data and transmitting data in a time-sharing multiplexing mode.
In the above transceiving integrated multiplexing circuit, the first transmitting circuit includes a first MOS transistor, a second MOS transistor and a first voltage dividing circuit, a first end of the first voltage dividing circuit is connected to a transmitting pin of the first microcontroller, and a second end of the first voltage dividing circuit is grounded; the grid electrode of the first MOS tube is connected with the voltage signal output end of the first voltage division circuit, the source electrode of the first MOS tube is grounded, and the drain electrode of the first MOS tube is connected with the positive electrode of the first auxiliary power supply through a first current limiting resistor; the grid electrode of the second MOS tube is connected with the drain electrode of the first MOS tube and is grounded through a first pull-down resistor; the source electrode of the second MOS tube is grounded, and the drain electrode of the second MOS tube is connected with the anode of the first auxiliary power supply through a second current-limiting resistor; the drain electrode of the second MOS tube is connected with the signal transceiving pin through the first output resistor.
In the above transceiving integrated multiplexing circuit, the first receiving circuit includes a third triode, a fourth MOS transistor, a fifth MOS transistor, and a second voltage divider circuit, a base of the third triode is connected to the signal transceiving pin through a base resistor, an emitter is grounded, and a collector is connected to the positive electrode of the first auxiliary power supply through a third current limiting resistor; the grid electrode of the fourth MOS tube is connected with the collector electrode of the third triode and is grounded through a second pull-down resistor; the drain electrode of the fourth MOS tube is connected with the anode of the second auxiliary power supply through a fourth current-limiting resistor and is connected with the receiving pin of the first microcontroller through a second output resistor, and the source electrode of the fourth MOS tube is grounded; one end of the second voltage division circuit is connected with the drain electrode of the first MOS tube, and the second end of the second voltage division circuit is grounded; the grid electrode of the fifth MOS tube is connected with the voltage signal output end of the second voltage division circuit, the source electrode of the fifth MOS tube is grounded, and the drain electrode of the fifth MOS tube is connected with the collector electrode of the third triode.
In the above transceiving integrated multiplexing circuit, the first transmitting circuit includes the fourth resistor and the tenth capacitor, the signal transceiving pin is grounded through the fourth resistor, and the tenth capacitor is connected in parallel with the fourth resistor.
In the above transceiving integrated multiplexing circuit, the second receiving circuit includes a third MOS transistor, a first optocoupler and a third voltage division circuit, an anode of the first optocoupler light emitting diode is connected to an anode of the first auxiliary power supply through a fifth current limiting resistor, a cathode of the first optocoupler light emitting diode is connected to a drain of the third MOS transistor, and a source of the third MOS transistor is grounded; the first end of the third voltage division circuit is connected with the signal transceiving pin, the second end of the third voltage division circuit is grounded, and the grid electrode of the third MOS tube is connected with the voltage signal output end of the third voltage division circuit; and a collector of the first optocoupler phototriode is connected with the anode of the second auxiliary power supply, and an emitter of the first optocoupler phototriode is connected with a receiving pin of the second microcontroller and is connected with the analog ground through a third pull-down resistor.
In the above transceiving integrated multiplexing circuit, the second transmitting circuit includes a first triode, a second triode and a second optocoupler, a base of the first triode is connected with a transmitting pin of the second microcontroller and is connected with a simulation ground through a fourth pull-down resistor, a collector of the first triode is connected with the anode of the first auxiliary power supply through a sixth current-limiting resistor, and an emitter of the first triode is connected with the simulation ground; the base electrode of the second triode is connected with the collector electrode of the first triode and is connected with the analog ground through a fifth pull-down resistor; the collector of the second triode is connected with the cathode of the second optocoupler light-emitting diode, the anode of the second optocoupler light-emitting diode is connected with the anode of the first auxiliary power supply through a seventh current-limiting resistor, and the emitter of the second triode is connected with the analog ground; the emitting electrode of the second optical coupling phototriode is grounded, and the collecting electrode is connected with the signal receiving and transmitting pin.
In the above transceiving integrated multiplexing circuit, the second transceiving circuit includes a shielding circuit, the shielding circuit includes a fourth triode and a fourth voltage-dividing circuit, a first end of the fourth voltage-dividing circuit is connected to an enable pin of a receiving pin of the second microcontroller, and a second end of the fourth voltage-dividing circuit is connected to an analog ground; and the collector of the fourth triode is connected with the receiving pin of the second microcontroller, the emitter of the fourth triode is connected with the analog ground, and the base of the fourth triode is connected with the voltage signal output end of the fourth voltage division circuit.
In the receiving and transmitting integrated multiplexing circuit, the first microcontroller is used as an intermediary between the upper computer and the second microcontroller to play a role in protocol conversion; when the upper computer needs to regulate the current of the LED driving power supply, the first microcontroller converts the instruction of the upper computer into information which can be identified by the second microcontroller, the information is sent to the second microcontroller through the first transceiver circuit and the second transceiver circuit, and the second microcontroller regulates the output current of the LED driving power supply after receiving the instruction; when the second microcontroller has the information of the voltage or the current of the LED driving power supply to be reported to the upper computer, the information is sent to the first microcontroller through the first transceiver circuit and the second transceiver circuit, protocol conversion is carried out by the first microcontroller, and the converted information is uploaded to the upper computer to inform the LED driving power supply of the state of the output current or the output voltage.
The LED driving power supply can send and receive signals by using the dimming line of the LED driving power supply without additionally adding a communication line and a communication chip, and has the advantages of low cost and low price.
Drawings
The invention is described in further detail below with reference to the drawings and the detailed description.
Fig. 1 is a wiring diagram of a USB interface of an upper computer and a first microcontroller according to an embodiment of the present invention.
Fig. 2 is a wiring diagram of a shield circuit and a second microcontroller according to an embodiment of the invention.
Fig. 3 is a circuit diagram of a first transceiver circuit according to an embodiment of the invention.
Fig. 4 is a circuit diagram of a second receiving circuit according to an embodiment of the present invention.
Fig. 5 is a circuit diagram of a second transmission circuit according to an embodiment of the present invention.
Detailed Description
The transmitting-receiving integrated multiplexing circuit for the LED driving power supply communication is used for the LED driving power supply communication, the LED driving power supply comprises three lines, a first line outputs 12V voltage, and the voltage can be used as +12V of a first auxiliary power supply of the transmitting-receiving integrated multiplexing circuit for the LED driving power supply communication; the second wire is a dimming wire and is connected with a signal transceiving pin DIM + in the embodiment of the invention; the third wire is the ground wire. And is grounded GND. The dimming line can be used for dimming, can also be used as a communication line, and can be externally connected with 0-10V voltage for dimming or can be externally connected with a PWM signal for dimming. When used as a communication line, the communication line may receive a signal or may transmit a signal. The dimming lines are time division multiplexed when used as dimming and communication lines. When the dimming line is used for receiving and transmitting signals by the communication line, half-duplex transmission is carried out. The transmitting-receiving integrated multiplexing circuit for LED driving power supply communication is used for realizing half-duplex transmission and transmitting-receiving integrated time division multiplexing when a dimming line of the LED driving power supply is used as a communication line for transmitting and receiving signals.
As shown in fig. 1 to 5, the system comprises an upper computer communication circuit, a first microcontroller MCU1 (TAE 32F 5300), a second microcontroller MCU2 (TAE 32F 5300), a first transceiver circuit, a second transceiver circuit, and a signal transceiver pin DIM + connected to a driven LED driving power supply. The first transceiving circuit comprises a first transmitting circuit and a first receiving circuit, and the second transceiving circuit comprises a second transmitting circuit and a second receiving circuit. The input end of the first transmitting circuit is connected with a transmitting pin UART _ TX of the first microcontroller MCU1, and the output end is connected with a signal transceiving pin DIM +. The input end of the first receiving circuit is connected with the signal transceiving pin DIM +, and the output end of the first receiving circuit is connected with the receiving pin UART _ RX of the first microcontroller MCU 1. The input end of the second transmitting circuit is connected with a transmitting pin TX of the second microcontroller MCU2, and the output end of the second transmitting circuit is connected with a signal transceiving pin DIM +. The input end of the second receiving circuit is connected with a signal transceiving pin DIM +, the output end of the second receiving circuit is connected with a receiving pin RX of the second microcontroller MCU2, and the signal transceiving pin DIM + is multiplexed by the first transmitting circuit, the first receiving circuit, the second transmitting circuit and the second receiving circuit in a time-sharing mode.
As shown in FIG. 1, the upper computer communication circuit includes a USB interface CON1, two DATA pins DATA + and DATA-of the USB interface CON1 are respectively connected with two DATA pins DATA + and DATA-of the first microcontroller MCU1, and two DATA pins DATA + and DATA-of the first microcontroller MCU1 are used for time-division multiplexing of received DATA and transmitted DATA.
The first microcontroller MCU1 is used as an intermediary between the computer upper computer and the second microcontroller MCU2 to play a role in protocol conversion. When the upper computer needs to adjust the current of the LED, the first microcontroller MCU1 converts the instruction of the upper computer into information which can be identified by a single chip microcomputer, the information is issued to the second microcontroller MCU2 through the transceiving integrated multiplexing circuit, the output current of the LED driving power supply is adjusted after the second microcontroller MCU2 receives the instruction, similarly, when the second microcontroller MCU2 has the information of the voltage or the current of the LED driving power supply to be reported to the upper computer of the computer, the protocol conversion is also carried out through the first microcontroller MCU1, and the converted information is uploaded to the upper computer to inform the state of the output current or the voltage of the LED driving power supply.
As shown in fig. 3, the first transmitting circuit includes a first MOS transistor Q1, a second MOS transistor Q2, and a first voltage dividing circuit formed by connecting resistors R3 and R12 in series. One end of a resistor R3 of the first voltage division circuit is connected to the transmit pin UART _ TX of the first microcontroller MCU1, and one end of a resistor R12 is grounded to GND. The grid electrode of the first MOS tube Q1 is connected with the voltage signal output end (the connection point of the resistor R3 and the resistor R12) of the first voltage division circuit, the source electrode of the first MOS tube Q1 is grounded GND, and the drain electrode of the first MOS tube Q1 is connected with the positive electrode +12V of the first auxiliary power supply through a first current limiting resistor formed by connecting the resistors R2 and R7 in parallel. The gate of the second MOS transistor Q2 is connected to the drain of the first MOS transistor Q1, and is grounded to GND through a first pull-down resistor R13. The source electrode of the second MOS tube Q2 is grounded GND, and the drain electrode is connected with the positive electrode +12V of the first auxiliary power supply through a second current-limiting resistor formed by connecting resistors R5 and R10 in parallel. The drain of the second MOS transistor Q2 is connected to the signal transceiving pin DIM + through a first output current limiting resistor formed by parallel connection of resistors R19 and R23.
When the transmit pin UART _ TX of the first microcontroller MCU1 transmits a signal, the level change of the signal transceiving pin DIM + is synchronized with the level change of the transmit pin UART _ TX of the first microcontroller MCU 1.
As shown in fig. 3, the first receiving circuit includes a third NPN transistor Q4, a fourth MOS transistor Q3, a fifth MOS transistor Q5, and a second voltage dividing circuit formed by serially connecting resistors R11 and R15, a base of the third NPN transistor Q4 is connected to the signal transceiving pin DIM + through a base resistor R18, an emitter is grounded GND, and a collector is connected to a positive electrode +12V of the first auxiliary power source through a third current limiting resistor formed by connecting resistors R18 and R20 in parallel. The gate of the fourth MOS transistor Q3 is connected to the collector of the third NPN transistor Q4, and is grounded to GND via a second pull-down resistor R14. The drain of the fourth MOS transistor Q3 is connected to the 3.3V anode of the second auxiliary power supply through a fourth current limiting resistor R21, and is connected to the receiving pin UART _ RX of the first microcontroller MCU1 through a second output resistor R17, the receiving pin UART _ RX of the first microcontroller MCU1 is grounded to GND through a capacitor C1, and the source of the fourth MOS transistor Q3 is grounded to GND. The second voltage divider circuit has one end of the resistor R11 connected to the drain of the first MOS transistor Q1, i.e. the UART _ TXA pin in fig. 3, and a second end connected to the ground GND. The gate of the fifth MOS transistor Q5 is connected to the voltage signal output terminal (the connection point of the resistors R11 and R15) of the second voltage divider circuit, the source is grounded GND, and the drain is connected to the collector of the third NPN transistor Q4 and the gate of the fourth MOS transistor Q3. The second auxiliary power supply utilizes the three-terminal voltage regulating chip U38 to take power from the 5V voltage port of the USB interface CON1, and outputs a chip voltage of 3.3V.
The signal transceiving pin DIM + of the dimming line of the LED driving power supply is shared, a signal sent from the signal transceiving pin DIM + is sent to the receiving pin UART _ RX of the first microcontroller MCU1 through a triode of a third NPN tube and a fourth MOS tube, the first microcontroller MCU1 cannot identify whether the signal is sent by the second microcontroller MCU2 of the lower computer or the sending pin UART _ TX of the first microcontroller MCU1, and if the signal sent by the upper computer is not shielded, the first microcontroller MCU1 can receive the signal sent to the signal transceiving pin DIM + by itself, namely, the signal is sent from and received by itself, and the signal cannot be allowed.
The first microcontroller MCU1 cannot receive a signal from itself when transmitting a signal, and is connected to the first MOS transistor UART _ TXA through the fifth MOS transistor Q5, as long as the first microcontroller MCU1 has signal transmission, the first microcontroller MCU1 cannot receive the signal transmitted by itself, and only when the first microcontroller MCU1 does not transmit the signal, the receiving pin UART _ RX of the MCU1 of the first microcontroller can receive the signal. The following is the implementation process: the function of the fifth MOS transistor Q5 as a shielding circuit is to shield the first microcontroller MCU1 from receiving a signal transmitted from the host computer to the dimming signal transceiver pin DIM + at this time, and the specific implementation manner is that when the transmit pin UART _ TX of the first microcontroller MCU1 is at a low level, the UART _ TXA pin connected to the drain of the first MOS transistor Q1 is inverted to a high level, at this time, the level of the drain of the fifth MOS transistor Q5 is pulled down, setting the receive pin UART _ RX of the first microcontroller MCU1 to a high level,
when the transmitting pin UART _ TX of the first microcontroller MCU1 is at a high level or the upper computer does not transmit data (when the transmitting pin UART _ TX of the first microcontroller MCU1 is idle, it is also at a high level), the UART _ TXA pin connected to the drain of the first MOS transistor Q1 is at a low level, and the fifth MOS transistor Q5 does not function, at this time, because the signal transceiving pin DIM + is at a high level, the output of the UART _ RX (receiving pin of the MCU 1) is also at a high level. In summary, when the transmit pin UART _ TX of the first microcontroller MCU1 transmits a signal, the receive pin UART _ RX of the first microcontroller MCU1 is at a high level and is not affected by the transmitted signal.
As shown in fig. 3, the first transmitting circuit further includes a fourth resistor R4 and a tenth capacitor C10, the signal transceiving pin DIM + is grounded GND through the fourth resistor R4, the tenth capacitor C10 is connected in parallel with the fourth resistor R4, and the tenth capacitor C10 and the fourth resistor R4 are placed therein to form a low pass filter, which plays a role in filtering high frequency signal interference.
As shown in fig. 4, the second receiving circuit includes a third MOS transistor Q8, a first optocoupler OT6 and a third voltage dividing circuit formed by serially connecting resistors R6 and R24, an anode of the first optocoupler OT6 light emitting diode OT6-B is connected to the positive electrode +12V of the first auxiliary power supply through a fifth current limiting resistor R308, a cathode of the first optocoupler OT6 light emitting diode OT6-B is connected to the drain of the third MOS transistor Q8, and a source of the third MOS transistor Q8 is grounded GND. One end of the third voltage-dividing circuit resistor R6 is connected to the signal transceiving pin DIM +, one end of the resistor R24 is grounded GND, and the gate of the third MOS transistor Q8 is connected to the voltage signal output end (the connection point of the resistors R6 and R24) of the third voltage-dividing circuit. The collector of the first optocoupler OT6 photosensitive NPN triode OT6-A is connected with the positive electrode SMCU _3.3V of the second auxiliary power supply, the emitter is connected with the receiving pin RX of the second microcontroller MCU2 and is connected with the analog ground AGND through a third pull-down resistor R1, and a capacitor C87 is connected with the third pull-down resistor R1 in parallel.
When the transmit pin UART _ TX of the first microcontroller MCU1 transmits a signal, level variation of the signal transceiving pin DIM + is synchronized with level variation of the transmit pin UART _ TX of the first microcontroller MCU1, and level variation of the receive pin RX of the second microcontroller MCU2 is synchronized with level variation of the signal transceiving pin DIM +, so that level variation of the receive pin RX of the second microcontroller MCU2 is synchronized with level variation of the transmit pin UART _ TX of the first microcontroller MCU 1. The signal sent by the transmitting pin UART _ TX of the first microcontroller MCU1 is relayed by the signal transceiving pin DIM + and transmitted to the receiving pin RX of the second microcontroller MCU 2.
As shown in fig. 5, the second transmitting circuit includes a first NPN transistor Q6, a second NPN transistor Q7, and a second opto-coupler OT1, a base of the first NPN transistor Q6 is connected to a transmitting pin TX of the second microcontroller MCU2, and is connected to the analog ground AGND through a fourth pull-down resistor R8, a collector of the first NPN transistor Q6 is connected to the positive electrode +12V of the first auxiliary power supply through a sixth current-limiting resistor R25, and an emitter of the first NPN transistor Q6 is connected to the analog ground AGND. The base of the second NPN transistor Q7 is connected to the collector of the first NPN transistor Q6, and to the analog ground AGND through a fifth pull-down resistor R22. The collector of the second NPN triode Q7 is connected with the cathode of a second optical coupler OT1 light-emitting diode OT1-B, the anode of the second optical coupler OT1 light-emitting diode OT1-B is connected with the anode of the first auxiliary power supply +12V through a seventh current-limiting resistor R9, and the emitter of the second NPN triode Q7 is connected with the analog ground AGND. An emitter of a second optocoupler OT1 photosensitive NPN triode OT1-A is grounded GND, and a collector is connected with a signal receiving and transmitting pin DIM +.
When the transmitting pin TX of the second microcontroller MCU2 transmits a signal, the level change of the signal transceiving pin DIM + is synchronized with the level change of the transmitting pin TX of the second microcontroller MCU2, and the signal transceiving pin DIM + receives the signal transmitted by the transmitting pin TX of the second microcontroller MCU 2. According to the first receiving circuit of the first receiving and transmitting circuit shown in fig. 3, the signal receiving and transmitting pin DIM + is connected to the base of the third NPN triode Q4, and when the signal receiving and transmitting pin DIM + receives the signal transmitted by the MCU2, the signal is transmitted to the first receiving circuit, the signal output end of the first receiving circuit (the drain of the fourth MOS transistor Q3) is connected to the receiving pin UART _ RX of the first microcontroller MCU1, and the level change of the receiving pin UART _ RX of the first microcontroller MCU1 is synchronous with the signal receiving and transmitting pin DIM +, that is, the signal transmitted by the second microcontroller MCU2 is transferred to the receiving pin UART _ RX of the first microcontroller MCU1 through the signal receiving and transmitting pin DIM +.
As shown in fig. 2, the second transceiver circuit includes a shielding circuit, the shielding circuit includes a fourth NPN transistor Q300 and a fourth voltage divider circuit formed by serially connecting resistors R313 and R398, one end of the resistor R313 of the fourth voltage divider circuit is connected to the enable pin RX _ EN of the receiving pin of the second microcontroller MCU2, and one end of the resistor R398 is connected to the analog ground AGND. The collector of the fourth NPN transistor Q300 is connected to the receiving pin RX of the second microcontroller MCU2, the emitter is connected to the analog ground AGND, and the base is connected to the voltage signal output terminal (the connection point of the resistors R313 and R398) of the fourth voltage divider circuit.
The signal receiving and transmitting pin DIM + of the dimming line of the LED driving power supply is shared, signals on the signal receiving and transmitting pin DIM + are transmitted to the receiving pin RX of the second microcontroller MCU2 through the third MOS tube Q8 and the first optocoupler OT6, at the moment, the second microcontroller MCU2 cannot identify whether the signals transmitted by the first microcontroller MCU1 or the second microcontroller MCU2 are signals transmitted by the second microcontroller MCU2, if the signals transmitted by the second microcontroller MCU2 are not shielded, the second microcontroller MCU2 can receive the signals transmitted by the second microcontroller MCU2 to the signal receiving and transmitting pin DIM +, which is equivalent to self-receiving and is not allowed. The fourth NPN triode Q300 functions to shield the signal from the signal transceiving pin DIM + from the receiving pin RX of the second microcontroller MCU2, and the specific implementation manner is that when the second microcontroller MCU2 transmits data, a high level signal is transmitted to the base of the fourth NPN triode Q300 through the enable pin RX _ EN of the second microcontroller MCU2 receiving pin, the level of the collector of the fourth NPN triode Q300 is pulled low, and the signal from the signal transceiving pin DIM + is shielded from the receiving pin RX of the second microcontroller MCU2, so that the second microcontroller MCU2 does not receive the signal transmitted from itself.
In summary, the integrated transceiver/multiplexer circuit according to the above embodiment of the present invention can only transmit or receive signals at the same time, cannot receive signals when transmitting signals, and cannot transmit signals when receiving signals, thereby implementing a half-duplex communication method, where the integrated transceiver/multiplexer circuit multiplexes the signal transceiving pin DIM +, the signal transceiving pin DIM + is used for transmission, and the signal transceiving pin DIM + is also used for reception, but is time-division multiplexed, and at the same time, the LED driving power dimming line can be used as a dimming line when not communicating. The multi-functional of a line realization, low cost, the circuit is simple effective.
The transmitting-receiving integrated multiplexing circuit of the embodiment of the invention can transmit and receive signals by using dimming lines without additionally adding communication lines and communication chips, and has the advantages of low cost, low price, good practicability and the like.

Claims (8)

1. A receiving and transmitting integrated multiplexing circuit for LED driving power supply communication is characterized by comprising a first microcontroller, a second microcontroller, a first receiving and transmitting circuit, a second receiving and transmitting circuit and a signal receiving and transmitting pin connected with a controlled LED driving power supply; the first transceiving circuit comprises a first transmitting circuit and a first receiving circuit, and the second transceiving circuit comprises a second transmitting circuit and a second receiving circuit; the input end of the first sending circuit is connected with a sending pin of the first microcontroller, and the output end of the first sending circuit is connected with a signal transceiving pin; the input end of the first receiving circuit is connected with the signal transceiving pin, and the output end of the first receiving circuit is connected with the receiving pin of the first microcontroller; the input end of the second sending circuit is connected with the sending pin of the second microcontroller, and the output end of the second sending circuit is connected with the signal transceiving pin; the input end of the second receiving circuit is connected with the signal transceiving pin, the output end of the second receiving circuit is connected with the receiving pin of the second microcontroller, and the signal transceiving pin is time-division multiplexed by the first transmitting circuit, the first receiving circuit, the second transmitting circuit and the second receiving circuit; the first sending circuit comprises a first MOS tube, a second MOS tube and a first voltage division circuit, wherein the first end of the first voltage division circuit is connected with a sending pin of the first microcontroller, and the second end of the first voltage division circuit is grounded; the grid electrode of the first MOS tube is connected with the voltage signal output end of the first voltage division circuit, the source electrode of the first MOS tube is grounded, and the drain electrode of the first MOS tube is connected with the anode of the first auxiliary power supply through a first current-limiting resistor; the grid electrode of the second MOS tube is connected with the drain electrode of the first MOS tube and is grounded through a first pull-down resistor; the source electrode of the second MOS tube is grounded, and the drain electrode of the second MOS tube is connected with the anode of the first auxiliary power supply through a second current-limiting resistor; and the drain electrode of the second MOS tube is connected with the signal transceiving pin through a first output resistor.
2. The integrated transceiving multiplexing circuit of claim 1, comprising an upper computer communication circuit, wherein the upper computer communication circuit comprises a USB interface, two data pins of the USB interface are respectively connected to two data pins of the first microcontroller, and the two data pins of the first microcontroller are used for time-division multiplexing of receiving data and transmitting data.
3. The integrated transceiver multiplexing circuit of claim 1, wherein the first receiving circuit comprises a third transistor, a fourth MOS transistor, a fifth MOS transistor and a second voltage divider circuit, wherein a base of the third transistor is connected to the signal transceiver pin through a base resistor, an emitter of the third transistor is grounded, and a collector of the third transistor is connected to the positive terminal of the first auxiliary power supply through a third current limiting resistor; the grid electrode of the fourth MOS tube is connected with the collector electrode of the third triode and is grounded through a second pull-down resistor; the drain electrode of the fourth MOS tube is connected with the anode of the second auxiliary power supply through a fourth current-limiting resistor and is connected with the receiving pin of the first microcontroller through a second output resistor, and the source electrode of the fourth MOS tube is grounded; one end of the second voltage division circuit is connected with the drain electrode of the first MOS tube, and the second end of the second voltage division circuit is grounded; the grid electrode of the fifth MOS tube is connected with the voltage signal output end of the second voltage division circuit, the source electrode of the fifth MOS tube is grounded, and the drain electrode of the fifth MOS tube is connected with the collector electrode of the third triode.
4. The multiplexing circuit of claim 1, wherein the first transmitting circuit comprises a fourth resistor and a tenth capacitor, the signal transmitting/receiving pin is grounded via the fourth resistor, and the tenth capacitor is connected in parallel with the fourth resistor.
5. The integrated transceiver multiplexing circuit of claim 1, wherein the second receiver circuit comprises a third MOS transistor, a first optocoupler and a third voltage divider circuit, an anode of a light emitting diode of the first optocoupler is connected to an anode of the first auxiliary power supply through a fifth current limiting resistor, a cathode of the light emitting diode of the first optocoupler is connected to a drain of the third MOS transistor, and a source of the third MOS transistor is grounded; the first end of the third voltage division circuit is connected with the signal transceiving pin, the second end of the third voltage division circuit is grounded, and the grid electrode of the third MOS tube is connected with the voltage signal output end of the third voltage division circuit; and a collector of the first optocoupler phototriode is connected with the anode of the second auxiliary power supply, and an emitter of the first optocoupler phototriode is connected with a receiving pin of the second microcontroller and is connected with the analog ground through a third pull-down resistor.
6. The integrated transceiver multiplexing circuit of claim 1, wherein the second transmitter circuit comprises a first transistor, a second transistor and a second optocoupler, wherein a base of the first transistor is connected to a transmitter pin of the second microcontroller and to an analog ground through a fourth pull-down resistor, a collector of the first transistor is connected to an anode of the first auxiliary power supply through a sixth current-limiting resistor, and an emitter of the first transistor is connected to the analog ground; the base electrode of the second triode is connected with the collector electrode of the first triode and is connected with the analog ground through a fifth pull-down resistor; the collector of the second triode is connected with the cathode of the second optocoupler light-emitting diode, the anode of the second optocoupler light-emitting diode is connected with the anode of the first auxiliary power supply through a seventh current-limiting resistor, and the emitter of the second triode is connected with the analog ground; and the emitting electrode of the second optical coupling phototriode is grounded, and the collecting electrode is connected with the signal receiving and transmitting pin.
7. The integrated transceiver multiplexing circuit of claim 1, wherein the second transceiver circuit comprises a shielding circuit, the shielding circuit comprises a fourth transistor and a fourth voltage divider circuit, a first terminal of the fourth voltage divider circuit is connected to an enable pin of the second microcontroller receiving pin, and a second terminal of the fourth voltage divider circuit is connected to an analog ground; and the collector of the fourth triode is connected with the receiving pin of the second microcontroller, the emitter of the fourth triode is connected with the analog ground, and the base of the fourth triode is connected with the voltage signal output end of the fourth voltage division circuit.
8. The integrated transceiver multiplexing circuit of claim 1, wherein the first microcontroller mediates the protocol conversion between the host and the second microcontroller; when the upper computer needs to regulate the current of the LED driving power supply, the first microcontroller converts the instruction of the upper computer into information which can be identified by the second microcontroller, the information is issued to the second microcontroller through the first transceiver circuit and the second transceiver circuit, and the second microcontroller regulates the output current of the LED driving power supply after receiving the instruction; when the second microcontroller has the information of the voltage or the current of the LED driving power supply to be reported to the upper computer, the information is sent to the first microcontroller through the first transceiver circuit and the second transceiver circuit, protocol conversion is carried out by the first microcontroller, and the converted information is uploaded to the upper computer to inform the LED driving power supply of the state of the output current or the output voltage.
CN202210989717.8A 2022-08-18 2022-08-18 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication Active CN115066060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210989717.8A CN115066060B (en) 2022-08-18 2022-08-18 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210989717.8A CN115066060B (en) 2022-08-18 2022-08-18 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication

Publications (2)

Publication Number Publication Date
CN115066060A CN115066060A (en) 2022-09-16
CN115066060B true CN115066060B (en) 2023-01-10

Family

ID=83207799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210989717.8A Active CN115066060B (en) 2022-08-18 2022-08-18 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication

Country Status (1)

Country Link
CN (1) CN115066060B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769559A (en) * 2019-12-02 2020-02-07 深圳瓦特智汇科技有限公司 Multi-interface compatible multiplexing communication, dimming and programming system
CN111064350A (en) * 2019-12-31 2020-04-24 联晶智能电子有限公司 Time-sharing multiplexing circuit of switching power supply
CN211128304U (en) * 2019-12-02 2020-07-28 深圳瓦特智汇科技有限公司 Multi-interface compatible multiplexing L ED driving power supply
WO2022037132A1 (en) * 2020-08-19 2022-02-24 杭州并坚科技有限公司 Dual-bus communication and power supply mcu system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769559A (en) * 2019-12-02 2020-02-07 深圳瓦特智汇科技有限公司 Multi-interface compatible multiplexing communication, dimming and programming system
CN211128304U (en) * 2019-12-02 2020-07-28 深圳瓦特智汇科技有限公司 Multi-interface compatible multiplexing L ED driving power supply
CN111064350A (en) * 2019-12-31 2020-04-24 联晶智能电子有限公司 Time-sharing multiplexing circuit of switching power supply
WO2022037132A1 (en) * 2020-08-19 2022-02-24 杭州并坚科技有限公司 Dual-bus communication and power supply mcu system

Also Published As

Publication number Publication date
CN115066060A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN103781227A (en) Intelligent light-regulating LED power supply device based on DALI
CN201307949Y (en) Single-wire serial transmission drive chip and application circuit
CN115066060B (en) Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication
CN208477322U (en) POE network interface expanded circuit, repeater and network monitoring system
CN104270203A (en) SFF double-light-emitting module with DDM function and optical communication system
CN212305733U (en) Independent DALI conversion module of adjusting luminance
CN105572821A (en) Low-rate double-emission SFP optical module
CN105992424B (en) LED drive system
CN207475583U (en) A kind of direct current carrier communication interface circuit of achievable power delivery
CN213718260U (en) Programming control circuit and programming controller for LED power supply
CN211880664U (en) Light source control circuit, light source control device and lamp
CN214627447U (en) Concatenation atmosphere lamp control circuit
CN211457453U (en) LED dimming circuit and lighting equipment
CN203243561U (en) Light emitting diode assembly packaging improved structure having driving chip
CN207820129U (en) A kind of ONU under family's fiber entering household scene
CN203104454U (en) Optical network unit
CN111988898A (en) Independent DALI conversion module of adjusting luminance
CN207008338U (en) A kind of central controller integrates extension system
CN219478179U (en) Wireless light receiving and transmitting device
CN207560383U (en) A kind of lighting device based on LED visible light communication
CN211606536U (en) Single-tube infrared four-wire TTL serial port receiving and transmitting device in dirty environment
CN109618462A (en) A kind of illumination control apparatus and system based on wire communication
CN219761398U (en) Low-voltage direct-current carrier communication circuit applied to fire emergency lighting system
CN220171538U (en) Isolation serial port circuit
CN211018834U (en) Photoelectric isolation bidirectional repeater circuit and waterproof repeater

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant