Integrated service digital network communication interface driving circuit for charger
By designing a single-wire communication interface driver circuit in the charger, and using a signal bus and MOSFET to achieve bidirectional data transmission over a single wire, the problems of communication complexity and high cost in the charger are solved, and a low-cost communication method is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- DONGGUAN MAIDI ELECTRONIC TECHNOLOGY CO LTD
- Filing Date
- 2025-04-09
- Publication Date
- 2026-04-21
AI Technical Summary
In existing chargers, communication requires additional structures, which is difficult to achieve and costly.
Design a one-line communication interface driver circuit for chargers. Utilize a transmit control module and a receive detection module composed of a signal bus and MOSFETs to achieve bidirectional data transmission through a single communication line. Suitable for microcontroller systems.
It realizes a simple, easy and low-cost communication method in the charger, with the charger acting as a slave and communicating with the BMS master through a three-core cable.
Smart Images

Figure CN224154232U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of driving circuit technology, specifically a one-wire communication interface driving circuit for a charger. Background Technology
[0002] A charger is a charging device that uses high-frequency power supply technology and advanced intelligent dynamic adjustment charging technology. Chargers (power supply units) can be divided into low-frequency and high-frequency types based on the operating frequency of their circuit design. Low-frequency chargers are designed based on traditional analog circuit principles, and their internal power components (such as transformers, inductors, and capacitors) are relatively large. They generally produce less noise when operating under heavy loads, but this type of charger has stronger resistance to harsh power grid environments, and its reliability and stability are higher than those of high-frequency chargers.
[0003] The charger includes a drive circuit, located between the main circuit and the control circuit. This intermediate circuit amplifies the signals from the control circuit (i.e., amplifies the control circuit's signals to drive the power transistors). The basic task of the drive circuit is to convert the signals from the information electronic circuit into signals applied between the control terminal and the common terminal of the power electronic device, allowing it to be turned on or off, according to the control objectives. For semi-controlled devices, only an on / off control signal is needed; for fully controlled devices, both on / off control signals are required to ensure reliable on / off operation as needed.
[0004] In existing technologies, communication requires the cooperation of other structures, making it difficult to integrate with chargers, which is not easy to achieve, and the cost of communication is also high. Utility Model Content
[0005] The purpose of this section is to outline some aspects of the embodiments of this utility model and to briefly introduce some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of this section, the abstract, and the title, and such simplifications or omissions should not be used to limit the scope of this utility model.
[0006] 1. Technical problems to be solved:
[0007] To address the issues mentioned above, such as the need for additional structures for communication, difficulty in integration with chargers, high communication costs, and other problems, this utility model is proposed.
[0008] Therefore, the purpose of this utility model is to provide a one-wire communication interface driver circuit for chargers. Communication only requires one communication line and can be implemented on a microcontroller. It is very suitable for use in chargers. A three-core DC cable is sufficient. The charger acts as the slave device and the BMS acts as the master device, realizing a simple, easy-to-implement, and low-cost communication method.
[0009] 2. Technical Solution:
[0010] To solve the above-mentioned technical problems, according to one aspect of the present invention, the present invention provides the following technical solution:
[0011] A one-wire communication interface driver circuit for a charger, comprising:
[0012] The signal bus (BUS) is used for single-wire bidirectional data transmission.
[0013] The transmission control module includes a first MOSFET Q1 and a second MOSFET Q2, wherein:
[0014] The source of the first MOSFET is grounded, its gate is connected to the transmit pin TX of the microcontroller, and its drain is connected to the gate of the second MOSFET.
[0015] The drain of the second MOSFET is connected to the signal bus, and the source of the second MOSFET is grounded.
[0016] The receiving and detection module includes a first resistor R2 and a second resistor R7, wherein:
[0017] One end of the first resistor is connected to the signal bus, and the other end is connected to the receive pin RX of the microcontroller;
[0018] One end of the second resistor is connected to the receive pin of the microcontroller, and the other end is grounded;
[0019] When the microcontroller's transmit pin outputs a high level, the first MOSFET is turned on, causing the second MOSFET to be turned off, and the signal bus presents a high level.
[0020] When the microcontroller's transmit pin outputs a low level, the first MOSFET is turned off, causing the second MOSFET to turn on, and the signal bus is pulled low.
[0021] When receiving data, the microcontroller's transmit pin remains at a high level, and the signal bus status is transmitted to the microcontroller's receive pin through a voltage divider between the first and second resistors.
[0022] As a preferred embodiment of the one-line communication interface driving circuit for a charger according to this utility model, both the first MOSFET and the second MOSFET are N-channel MOSFETs, and the drain of the second MOSFET is pulled up to the power supply voltage through the third resistor R1.
[0023] In a preferred embodiment of the one-line communication interface driver circuit for a charger according to this utility model, the first resistor has a resistance of 10kΩ and the second resistor has a resistance of 1kΩ, forming a 10:1 voltage division ratio to detect low-level signals.
[0024] In a preferred embodiment of the one-line communication interface driver circuit for a charger according to this utility model, the receiving pin of the microcontroller is configured in high-impedance input mode, and the transmitting pin of the microcontroller is configured in push-pull output mode.
[0025] In a preferred embodiment of the one-wire communication interface driver circuit for a charger according to this utility model, the signal bus is connected to the BMS host via a three-core wire, and the other two core wires are used for power supply and grounding.
[0026] 3. Beneficial effects:
[0027] Compared with the prior art, the beneficial effects of this utility model are:
[0028] This type of one-wire communication interface driver circuit for chargers requires only one communication line for communication. Communication can be implemented on a microcontroller, making it very suitable for use in chargers. It uses a three-core DC cable, with the charger acting as the slave and the BMS as the master, achieving a simple, easy-to-implement, and low-cost communication method. Attached Figure Description
[0029] To more clearly illustrate the technical solutions of the embodiments of this utility model, the present utility model will be described in detail below with reference to the accompanying drawings and detailed embodiments. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Among them:
[0030] Figure 1 This is a schematic diagram of a one-line communication interface driver circuit for a charger according to the present invention. Detailed Implementation
[0031] To make the above-mentioned objectives, features and advantages of this utility model more apparent and understandable, the specific embodiments of this utility model will be described in detail below with reference to the accompanying drawings.
[0032] This utility model is described in detail with reference to the schematic diagrams. When describing the embodiments of this utility model, for ease of explanation, the cross-sectional views illustrating the device structure may be partially enlarged, not adhering to the usual scale. Furthermore, the schematic diagrams are merely examples and should not be construed as limiting the scope of protection of this utility model. In actual manufacturing, the three-dimensional spatial dimensions of length, width, and depth should be included.
[0033] The orientation or positional relationship indicated in the terminology is based on the orientation or positional relationship shown in the accompanying drawings and is only for the convenience of describing the present invention and simplifying the description. It is not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.
[0034] The term "connection method" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.
[0035] The embodiments of this utility model will now be described in further detail with reference to the accompanying drawings.
[0036] This utility model provides an overall structural schematic diagram of an embodiment of a one-line communication interface driver circuit for a charger, including:
[0037] Please see Figure 1 This embodiment provides a one-line communication interface driver circuit for a charger, comprising:
[0038] The signal bus (BUS) is used for single-wire bidirectional data transmission.
[0039] The transmission control module includes a first MOSFET Q1 and a second MOSFET Q2, wherein:
[0040] The source of the first MOSFET is grounded, its gate is connected to the transmit pin TX of the microcontroller, and its drain is connected to the gate of the second MOSFET.
[0041] The drain of the second MOSFET is connected to the signal bus, and the source of the second MOSFET is grounded.
[0042] The receiving and detection module includes a first resistor R2 and a second resistor R7, wherein:
[0043] One end of the first resistor is connected to the signal bus, and the other end is connected to the receive pin RX of the microcontroller;
[0044] One end of the second resistor is connected to the receive pin of the microcontroller, and the other end is grounded;
[0045] When the microcontroller's transmit pin outputs a high level, the first MOSFET is turned on, causing the second MOSFET to be turned off, and the signal bus presents a high level.
[0046] When the microcontroller's transmit pin outputs a low level, the first MOSFET is turned off, causing the second MOSFET to turn on, and the signal bus is pulled low.
[0047] When receiving data, the microcontroller's transmit pin remains at a high level, and the signal bus status is transmitted to the microcontroller's receive pin through a voltage divider between the first and second resistors.
[0048] It is worth noting that both the first MOSFET and the second MOSFET are N-channel MOSFETs, and the drain of the second MOSFET is pulled up to the power supply voltage through the third resistor R1.
[0049] Next, specifically, the first resistor has a resistance of 10kΩ and the second resistor has a resistance of 1kΩ, forming a 10:1 voltage divider ratio to detect low-level signals.
[0050] Meanwhile, the microcontroller's receive pin is configured in high-impedance input mode, and the microcontroller's transmit pin is configured in push-pull output mode.
[0051] Furthermore, the signal bus is connected to the BMS host via a three-core wire, with the remaining two cores used for power supply and grounding.
[0052] In addition, the circuits, electronic components and modules involved in this utility model are all existing technologies, which can be fully implemented by those skilled in the art, and need not be elaborated upon. The content protected by this utility model does not involve any improvement to the internal structure and method.
[0053] Combination Figure 1 The specific usage process of a one-line communication interface driver circuit for a charger according to this embodiment is as follows:
[0054] 1. Since the driving capability of MCU IO is generally weak and DC lines are generally long, a driving circuit is needed to ensure communication stability. As shown in the figure, BUS is the signal line. TX / RX are connected to two IOs of MCU respectively. When transmitting, the main function is to control the switching of two MOSFETs, Q1 and Q2, so that high and low level signals can be output on BUS.
[0055] 2. Data transmission: When TX outputs a high level, Q1 is turned on, and the gate (G) of Q2 is at a low level, so Q2 is not turned on. At this time, the BUS level is high, which means a high-level output is achieved. When TX outputs a low level, Q1 is not turned on, and the gate (G) of Q2 is at a high level, so Q2 is turned on. At this time, the BUS level is low, which means a low-level output is achieved. The main function of Q2 is to invert the signal, ensuring that the levels of TX and BUS are consistent.
[0056] 3. Data reception: When receiving data, TX outputs high. At this time, Q2 is not turned on, and the BUS signal is completely controlled by the external circuit. When the BUS is pulled high, the RX level is high. When the BUS is pulled low, the RX voltage is the voltage division value of R2 and R7. The smaller the value of R7, the lower the level.
[0057] Although the present invention has been described above with reference to embodiments, various modifications can be made and components can be replaced with equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the features in the embodiments disclosed in this invention can be combined with each other in any way. The lack of an exhaustive description of these combinations in this specification is merely for the sake of brevity and resource conservation. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A one-wire communication interface driver circuit for a charger, comprising: A signal bus (BUS) is used for single-wire bidirectional data transmission. The transmission control module includes a first MOSFET (Q1) and a second MOSFET (Q2), wherein: The source of the first MOSFET is grounded, its gate is connected to the transmit pin (TX) of the microcontroller, and its drain is connected to the gate of the second MOSFET. The drain of the second MOSFET is connected to the signal bus, and the source of the second MOSFET is grounded. The receiving detection module includes a first resistor (R2) and a second resistor (R7), wherein: One end of the first resistor is connected to the signal bus, and the other end is connected to the receive pin (RX) of the microcontroller; One end of the second resistor is connected to the receive pin of the microcontroller, and the other end is grounded; When the microcontroller's transmit pin outputs a high level, the first MOSFET is turned on, causing the second MOSFET to be turned off, and the signal bus presents a high level. When the microcontroller's transmit pin outputs a low level, the first MOSFET is turned off, causing the second MOSFET to turn on, and the signal bus is pulled low. When receiving data, the microcontroller's transmit pin remains at a high level, and the signal bus status is transmitted to the microcontroller's receive pin through a voltage divider between the first and second resistors.
2. The one-wire communication interface drive circuit for a charger according to claim 1, wherein, Both the first MOSFET and the second MOSFET are N-channel MOSFETs. The drain of the second MOSFET is pulled up to the power supply voltage through a third resistor (R1).
3. The one-wire communication interface drive circuit for a charger according to claim 2, wherein, The first resistor has a resistance of 10kΩ and the second resistor has a resistance of 1kΩ, forming a 10:1 voltage divider ratio to detect low-level signals.
4. The one-wire communication interface drive circuit for a charger according to claim 3, wherein, The microcontroller's receive pin is configured for high-impedance input mode, and the microcontroller's transmit pin is configured for push-pull output mode.
5. The one-wire communication interface drive circuit for a charger according to claim 4, wherein, The signal bus is connected to the BMS host via a three-core cable, with the remaining two cores used for power supply and grounding.