Charging communication circuits and equipment
By introducing the host-side circuit and the slave-side circuit in the charging communication circuit, and using one communication port for signal transmission, the problem of the need for two signal lines for communication between the host and slave in the prior art is solved, and a single line communication is realized, which reduces costs and improves communication quality.
Patent Information
- Application Number
- CN202411793791.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-04
AI Technical Summary
In the prior art, communication between the master and slave requires at least two signal lines, resulting in high cost and peripheral clutter easily interferes with communication quality.
By introducing the host-side circuit and the slave-side circuit in the charging communication circuit, a communication port is used for signal transmission. The host-side circuit converts the low-voltage high-level signal into the high-voltage high-level signal, and transmits it to the slave-side circuit through the communication port. The slave-side circuit then restores the high-voltage signal to the low-voltage signal, realizing single-wire communication between the host and the slave.
It reduces the cost of communication lines and communication ports, reduces the interference of external clutter on communication, improves communication quality, and realizes communication between the master and slave through a single line.
Smart Images

Figure CN119759820A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to charging communication circuits and devices. Background Art
[0002] With the development of science and technology, smart battery products have been widely used, such as sweepers, scrubbers, and cleaning machines. When the battery pack products are used, the host charges the battery of the slave, and the host and the slave need to communicate and connect to read battery information and monitor battery safety.
[0003] In the prior art, such as I2C communication, RS484 or serial communication, the communication line between the host and the slave needs at least two signal lines to complete the task of information transmission, wherein one signal line is used for the host to send information to the slave, and the other signal line is used for the slave to send information to the host. If I2C communication is used, one line is used to transmit signals, and the other line is a clock line. If RS484 communication is used, two lines are used to transmit differential signals. Therefore, two communication lines and interfaces corresponding to the two communication lines need to be set, resulting in high costs. Summary of the invention
[0004] In view of this, the present invention provides a charging communication circuit and device to solve the problem of high cost caused by the need to set up at least two communication lines and corresponding interfaces.
[0005] In a first aspect, the present invention provides a charging communication circuit, the circuit comprising: a host-end circuit (10) and a slave-end circuit (20);
[0006] The host-side circuit (10) is respectively connected to a host transmitting end (TX) and a host receiving end (RX), the slave-side circuit (20) is respectively connected to a slave transmitting end (MCU_TX) and a slave receiving end (MCU_RX), and the host-side circuit (10) and the slave-side circuit (20) are connected based on a communication port (DATA);
[0007] The host-side circuit (10) is used for converting a low-voltage first high-level signal of the host transmitting end (TX) into a high-voltage first high-level signal and then transmitting the signal to the communication port (DATA) when sending a signal to the slave;
[0008] The communication port (DATA) is used to receive a high-voltage first high-level signal and transmit it to the slave-end circuit (20);
[0009] The slave end circuit (20) is used for receiving a high-voltage first high-level signal, and converting the high-voltage first high-level signal into a low-voltage first high-level signal before transmitting it to the slave receiving end (MCU_RX);
[0010] The slave end circuit (20) is used for converting a second high level signal of the slave sending end (MCU_TX) into a second low level signal and then transmitting the signal to the communication port (DATA) when sending a signal to the host;
[0011] The communication port (DATA) is used to receive the second low-level signal and transmit it to the host-side circuit (10);
[0012] The host-side circuit (10) is used for transmitting the second low-level signal to the host receiving end (RX).
[0013] The present invention provides a charging communication circuit. When the host sends information to the slave, the host transmitting end sends a low-voltage first high-level signal to the host circuit. The host circuit converts the low-voltage first high-level signal into a high-voltage first high-level signal and transmits it to the communication port. The slave circuit receives the high-voltage first high-level signal and restores it to a low-voltage first high-level signal, and transmits the low-voltage first high-level signal to the slave receiving end. When the host sends information to the slave, it is based on high-voltage transmission, thereby solving the problem that the external clutter easily interferes with the communication when the host transmits the signal to the slave, affecting the communication quality. In addition, the communication between the host and the slave is realized based on only one communication line, reducing the cost of the communication line and the communication port.
[0014] At the same time, when the slave sends information to the host, the slave circuit converts the second high-level signal sent by the slave transmitting end into a second low-level signal, and transmits it to the slave communication port. After passing through the host communication port, the host circuit transmits the second low-level signal to the host receiving end. Thus, information is sent between the host and the slave in time-sharing based on one communication line, which reduces the cost of the communication line and the communication port.
[0015] In an optional implementation, the host-side circuit (10) includes:
[0016] a first regulating module (11), the first regulating module (11) being connected to the host transmitting end (TX), the power supply end (VCC) and the communication port (DATA) respectively, and being used for converting a low-voltage first high-level signal into a high-voltage first high-level signal based on the power supply end (VCC), and transmitting the first high-level signal to the communication port (DATA);
[0017] A first transmission module (12), the first transmission module (12) is connected to the host receiving end (RX) and the communication port (DATA) respectively, and is used to transmit the second low-level signal to the host receiving end (RX).
[0018] In an optional embodiment, the first adjustment module (11) comprises:
[0019] A first resistor (R1), wherein a first end of the first resistor (R1) is connected to the host transmitting end (TX);
[0020] a first switch tube (Q1), wherein a control end of the first switch tube (Q1) is connected to a second end of the first resistor (R1), and a first end of the first switch tube (Q1) is grounded;
[0021] a second resistor (R2), wherein a first end of the second resistor (R2) is connected to a second end of the first resistor (R1), and a second end of the second resistor (R2) is grounded;
[0022] a third resistor (R3), wherein a first end of the third resistor (R3) is connected to the power supply end (VCC), and a second end of the third resistor (R3) is connected to a second end of the first switch tube (Q1);
[0023] a second switch tube (Q2), wherein a control end of the second switch tube (Q2) is connected to a second end of the third resistor (R3), a first end of the second switch tube (Q2) is grounded, and a second end of the second switch tube (Q2) is connected to the communication port (DATA);
[0024] A fourth resistor (R4), a first end of the fourth resistor (R4) is connected to the power supply end (VCC), and a second end of the fourth resistor (R4) is connected to the communication port (DATA).
[0025] In an optional implementation, the first transmission module (12) comprises:
[0026] A diode (D1), wherein a first end of the diode (D1) is connected to a second end of the fourth resistor (R4), and a second end of the diode (D1) is connected to a receiving end (RX) of the host.
[0027] In an optional implementation manner, the host-side circuit (10) further includes:
[0028] A first capacitor (C1), wherein a first end of the first capacitor (C1) is connected to the host receiving end (RX), and a second end of the first capacitor (C1) is grounded;
[0029] a second capacitor (C2), wherein a first end of the second capacitor (C2) is connected to the power supply end (VCC), and a second end of the second capacitor (C2) is grounded;
[0030] A first electrostatic tube (ZD1), wherein a first end of the first electrostatic tube (ZD1) is connected to the power supply end (VCC), and a second end of the first electrostatic tube (ZD1) is grounded.
[0031] In an optional implementation, the slave-end circuit (20) comprises:
[0032] A second regulating module (21), the second regulating module (21) being connected to the slave transmitting end (MCU_TX) and the communication port (DATA) respectively, and being used for receiving a second high-level signal, converting the second high-level signal into a second low-level signal, and then transmitting the converted signal to the communication port (DATA);
[0033] The second transmission module (22) is connected to the slave receiving end (MCU_RX) and the communication port (DATA) respectively, and is used to receive a first high-level signal of a high voltage, and restore the first high-level signal of the high voltage to a first high-level signal of a low voltage and then transmit it to the slave receiving end (MCU_RX).
[0034] In an optional embodiment, the second regulating module (21) comprises:
[0035] a fifth resistor (R5), wherein a first end of the fifth resistor (R5) is connected to the slave transmitting end (MCU_TX);
[0036] a third switch tube (Q3), wherein a control end of the third switch tube (Q3) is connected to a second end of the fifth resistor (R5), a first end of the third switch tube (Q3) is grounded, and a second end of the third switch tube (Q3) is connected to the communication port (DATA);
[0037] A sixth resistor (R6), wherein a first end of the sixth resistor (R6) is connected to a second end of the fifth resistor (R5), and a second end of the sixth resistor (R6) is grounded.
[0038] In an optional implementation, the second transmission module (22) comprises:
[0039] a seventh resistor (R7), wherein a first end of the seventh resistor (R7) is connected to the communication port (DATA), and a second end of the seventh resistor (R7) is connected to the slave receiving end (MCU_RX);
[0040] An eighth resistor (R8), a first end of the eighth resistor (R8) is connected to the second end of the seventh resistor (R7), and a second end of the eighth resistor (R8) is grounded.
[0041] In an optional implementation, the slave-end circuit (20) further includes:
[0042] a third capacitor (C3), wherein a first end of the third capacitor (C3) is connected to the slave receiving end (MCU_RX), and a second end of the third capacitor (C3) is grounded;
[0043] A second electrostatic tube (ZD2), wherein a first end of the second electrostatic tube (ZD2) is connected to the communication port (DATA), and a second end of the second electrostatic tube (ZD2) is grounded.
[0044] In a second aspect, the present invention provides a charging communication device, the charging communication device comprising the charging communication circuit of the first aspect and any optional implementation manner thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 is a structural diagram of a charging communication circuit according to an embodiment of the present invention;
[0047] Figure 2 is a structural diagram of another charging communication circuit according to an embodiment of the present invention;
[0048] Figure 3 is a structural diagram of a host-side circuit in a charging communication circuit according to an embodiment of the present invention;
[0049] Figure 4 is a detailed structural diagram of a host-side circuit in a charging communication circuit according to an embodiment of the present invention;
[0050] Figure 5 is a structural diagram of a slave-end circuit in a charging communication circuit according to an embodiment of the present invention;
[0051] Figure 6 Detailed structural diagram of a slave-end circuit in a charging communication circuit according to an embodiment of the present invention.
[0052] Description of Figure Numbers:
[0053] 10-host side circuit; 20-slave side circuit; DATA-communication port; TX-host transmitter; RX-host receiver; MCU_TX-slave transmitter; MCU_RX-slave receiver; 11-first adjustment module; 12-first transmission module; R1-first resistor; Q1-first switch tube; R2-second resistor; R3-third resistor; Q2-second switch tube; R4-fourth resistor; D1-diode; C1-first capacitor; C2-second capacitor; ZD1-first electrostatic tube; 21-second adjustment module; 22-second transmission module; R5-fifth resistor; Q3-third switch tube; R6-sixth resistor; R7-seventh resistor; R8-eighth resistor; C3-third capacitor; ZD2-second electrostatic tube. DETAILED DESCRIPTION
[0054] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. 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.
[0055] In the description of the present invention, it should be noted that, furthermore, the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0056] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it 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 it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0057] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0058] With the development of science and technology, smart battery products have been widely used, such as sweepers, scrubbers, and cleaning machines. When the battery pack products are used, the host charges the battery of the slave, and the host and the slave need to communicate and connect to read battery information and monitor battery safety.
[0059] In the prior art, such as I2C communication, RS484 or serial communication, the communication line between the host and the slave requires at least two signal lines to complete the task of information transmission. One signal line is used for the host to send information to the slave, and the other signal line is used for the slave to send information to the host. Therefore, it is also necessary to set up interfaces for two communication lines, resulting in high costs. In addition, the related I2C communication, RS485 communication and serial communication all rely on the communication signal voltage. The chip control angle is 3.3V. Since the host charges the slave, external noise can easily interfere with the communication and affect the communication quality.
[0060] In this embodiment, a charging communication circuit is provided. Figure 1 and Figure 2 As shown, Figure 1 is a structural diagram of a charging communication circuit according to an embodiment of the present invention, Figure 2 is another charging communication circuit structure diagram according to an embodiment of the present invention, the circuit comprises: a host-end circuit 10 and a slave-end circuit 20;
[0061] The host circuit 10 is connected to the host transmitting end TX and the host receiving end RX respectively, and the slave circuit 20 is connected to the slave transmitting end MCU_TX and the slave receiving end MCU_RX respectively. The host circuit 10 and the slave circuit 20 are connected based on a communication port DATA;
[0062] Specifically, the host transmitting end TX sends information to the slave receiving end MCU_RX based on the communication port DATA, and the slave transmitting end MCU_TX sends information to the host receiving end RX based on the communication port DATA.
[0063] The host circuit 10 is used for converting the low-voltage first high-level signal of the host transmitting end TX into a high-voltage first high-level signal and then transmitting it to the communication port DATA when sending a signal to the slave;
[0064] The communication port DATA is used to receive a first high level signal of a high voltage and transmit it to the slave end circuit 20;
[0065] The slave end circuit 20 is used to receive a first high level signal of a high voltage, and restore the first high level signal of the high voltage to a first high level signal of a low voltage and then transmit it to the slave receiving end MCU_RX;
[0066] refer to Figure 1The communication port DATA includes a host communication port DATA_IN and a slave communication port DATA_OUT, and the host communication port DATA_IN and the slave communication port DATA_OUT are connected by a transmission line. The signal sent between the host and the slave is a high-level and low-level signal. The host receiving end RX is normally pulled up by the host controller, that is, it is normally in a high-level state. When the host receiving end RX receives the low level sent by the host circuit 10, it enters the receiving state and receives the signal. The host transmitting end TX, the slave transmitting end MCU_TX and the slave receiving end MCU_RX are normally in a low-level state, that is, they are in a low-level state when no signal is sent or received.
[0067] In this embodiment, when the host sends information to the slave, the host transmitting end TX sends a low-voltage first high-level signal to the host circuit 10, and the host circuit 10 converts the low-voltage first high-level signal into a high-voltage first high-level signal, and transmits it to the host communication port DATA_IN. After passing through the slave communication port DATA_OUT, the slave circuit 20 receives the high-voltage first high level and then restores it to the low-voltage first high level, and transmits the low-voltage first high level signal to the slave receiving end MCU_RX. Thus, when the host sends information to the slave, that is, when the signal is transmitted from the host communication port DATA_IN to the slave communication port DATA_OUT, it is based on high-voltage transmission, thereby solving the problem that the external noise when the host transmits to the slave easily interferes with the communication and affects the communication quality.
[0068] The slave circuit 20 is used for converting the second high level signal of the slave transmitting end MCU_TX into a second low level signal and then transmitting it to the communication port DATA when sending a signal to the host;
[0069] The communication port DATA is used to receive the second low level signal and transmit it to the host circuit 10;
[0070] The host-side circuit 10 is used to transmit the second low-level signal to the host receiving end RX.
[0071] When the slave sends information to the host, the slave-side circuit 20 converts the second high-level signal sent by the slave transmitting end MCU_TX into a second low-level signal, and transmits it to the slave-side communication port DATA_OUT. After passing through the host-side communication port DATA_IN, the host-side circuit 10 transmits the second low level to the host receiving end RX. Thus, information is sent between the host and the slave in time-sharing based on one communication line, and communication between the host and the slave is achieved based on only one communication line through the host-side communication port DATA_IN and the slave-side communication port DATA_OUT, thereby reducing the cost of the communication line and the communication port. It should be noted that when the slave sends information to the host, the slave-side circuit 20 converts the second high-level signal sent by the slave transmitting end MCU_TX into a second low-level signal, and transmits it to the slave-side communication port DATA_OUT. There is no distinction between high and low voltages for low levels. Reference Figure 2 The host and the slave realize one-line communication based on one communication line. When the host sends a signal to the slave, one-line communication input is performed, and when the slave sends a signal to the host, one-line communication input is also performed, thereby reducing the cost of the communication line and the corresponding communication port.
[0072] When the slave battery is in a dormant state, the host connects to the adapter to charge the slave battery, and the adapter provides voltage to the power supply terminal VCC of the host circuit 10, and sends a wake-up signal through the host transmitting terminal TX. The wake-up signal is a low-voltage high-level wake-up signal. After the host circuit 10 converts the low-voltage high-level wake-up signal into a high-voltage high-level wake-up signal, it transmits the high-voltage high-level wake-up signal to the slave circuit 20 through the communication port DATA. The slave circuit 20 restores the high-voltage high-level wake-up signal to a low-voltage high-level wake-up signal and sends it to the slave receiving terminal MCU_RX to wake up the slave MCU and communicate with the host, thereby realizing the wake-up of the slave in the dormant state. Compared with the traditional I2C communication, which requires an additional wake-up line, the host and the slave in this embodiment do not need an additional wake-up line, and the wake-up signal is directly sent to the slave receiving terminal MCU_RX through the host transmitting terminal TX, reducing the cost of the wake-up line and the corresponding communication port.
[0073] In some optional embodiments, such as Figure 3 As shown, the host-side circuit 10 includes:
[0074] A first regulating module 11, the first regulating module 11 is connected to the host transmitting terminal TX, the power terminal VCC and the communication port DATA respectively, and is used for converting a low-voltage first high-level signal into a high-voltage first high-level signal based on the power terminal VCC, and transmitting the first high-level signal to the communication port DATA;
[0075] Specifically, when the host transmitting end TX sends a low-voltage first high-level signal, the first regulating module 11 receives the low-voltage first high-level signal, and the low-voltage first high-level signal can control the output of the voltage signal of the power supply end VCC to the communication port DATA, so as to transmit the voltage signal of the power supply end VCC to the communication port DATA as the high-voltage first high-level signal. Optionally, the first regulating module 11 may include a switch device, which uses the low-voltage first high-level signal as a switch signal to control the output of the high-voltage first high-level signal when turned on or off.
[0076] The first transmission module 12 is connected to the host receiving end RX and the communication port DATA respectively, and is used to transmit the second low level signal to the host receiving end RX.
[0077] Specifically, when the host communication port DATA_IN sends a second low level signal, the first transmission module 12 is turned on and transmits the second low level signal to the host receiving end RX. Optionally, the first transmission module 12 may be a turn-on device.
[0078] In some optional embodiments, such as Figure 4 As shown, the first adjustment module 11 includes:
[0079] A first resistor R1, wherein a first end of the first resistor R1 is connected to the host transmitting end TX;
[0080] A first switch tube Q1, wherein a control end of the first switch tube Q1 is connected to the second end of the first resistor R1, and a first end of the first switch tube Q1 is grounded;
[0081] a second resistor R2, wherein a first end of the second resistor R2 is connected to a second end of the first resistor R1, and a second end of the second resistor R2 is grounded;
[0082] A third resistor R3, wherein a first end of the third resistor R3 is connected to the power supply end VCC, and a second end of the third resistor R3 is connected to the second end of the first switch tube Q1;
[0083] A second switch tube Q2, wherein a control end of the second switch tube Q2 is connected to the second end of the third resistor R3, a first end of the second switch tube Q2 is grounded, and a second end of the second switch tube Q2 is connected to the communication port DATA;
[0084] A fourth resistor R4 , wherein a first end of the fourth resistor R4 is connected to the power supply end VCC, and a second end of the fourth resistor R4 is connected to the communication port DATA.
[0085] It should be noted that, in the present embodiment, the first switch tube Q1 and the second switch tube Q2 can both be NPN-type transistors (a transistor composed of two N-type semiconductors with a P-type semiconductor sandwiched between them). Of course, the first switch tube Q1 and the second switch tube Q2 can also both be PNP-type transistors (a transistor composed of two P-type semiconductors with an N-type semiconductor sandwiched between them), or a combination of PNP-type transistors and NPN-type transistors, which is not limited here.
[0086] When the host sends a signal, a low-voltage first high-level signal is sent to the host transmitting end TX. The first switch tube Q1 is turned on after receiving the first high-level signal, and the control end of the second switch tube Q2 is pulled down at the same time, so that the second switch tube Q2 is turned off. At this time, the high-voltage first high-level signal of the power supply end VCC is transmitted to the host communication port DATA_IN. After the slave communication port DATA_OUT receives the high-voltage first high-level signal, the high-voltage first high-level signal is restored to a low-voltage first high-level signal through the slave circuit 20 and then transmitted to the slave receiving end MCU_RX. It should be noted that when the host does not send a signal, the first switch tube Q1 receives the low level sent by the host transmitting end TX and is in the off state, and the second switch tube Q2 receives the high level of the power supply end VCC and is in the on state.
[0087] When the first switch tube Q1 receives the low-voltage first high-level signal sent by the host transmitting end TX and is turned on, the power end VCC is grounded through the third resistor R3 and the first switch tube Q1 to form a path, so that the control end of the second switch tube Q2 is grounded through the first switch tube Q1, so as to achieve the purpose of pulling down the control end of the second switch tube Q2. The control end of the second switch tube Q2 is cut off after being pulled down, so that the high-voltage first high-level signal of the power end VCC is directly transmitted to the host communication port DATA_IN, thereby, through the two-stage inversion from the low-voltage first high-level signal to the low-level signal, and then from the low-level signal to the high-voltage first high-level signal, the high-voltage transmission when the host transmits the signal to the slave is realized, and the communication port DATA transmits the same high-voltage signal as the power end VCC, thereby solving the problem that the peripheral noise when the host transmits the signal to the slave easily interferes with the communication and affects the communication quality.
[0088] In addition, the first resistor R1 provides a pull-up resistor for the host communication port DATA_IN, the second resistor R2 and the third resistor R3 provide a bias voltage for the first switch tube Q1, and the fourth resistor R4 provides a bias voltage for turning on the second switch tube Q2.
[0089] In some optional embodiments, such as Figure 4 As shown, the first transmission module 12 includes:
[0090] A diode D1, wherein a first end of the diode D1 is connected to a second end of the fourth resistor R4, and a second end of the diode D1 is connected to the host receiving end RX.
[0091] When the slave sends a signal, the slave transmitting end MCU_TX transmits the second high level signal to the slave circuit 20, and the slave circuit 20 converts the second high level signal into a second low level signal and sends it to the slave communication port DATA_OUT, and the host communication port DATA_IN transmits the second low level signal to the first end of the diode D1, so that after the diode D1 is turned on, the second low level signal is transmitted to the host receiving end RX, thereby pulling down the host receiving end RX so that the host enters the signal receiving mode. The diode D1 serves to isolate the host receiving end RX at the low voltage end and the power supply end VCC at the high voltage end.
[0092] In some optional embodiments, such as Figure 4 As shown, the host-side circuit 10 also includes:
[0093] A first capacitor C1, wherein a first end of the first capacitor C1 is connected to the host receiving end RX, and a second end of the first capacitor C1 is grounded.
[0094] A second capacitor C2, wherein a first end of the second capacitor C2 is connected to the power supply end VCC, and a second end of the second capacitor C2 is grounded;
[0095] A first electrostatic tube ZD1 , wherein a first end of the first electrostatic tube ZD1 is connected to the power supply end VCC, and a second end of the first electrostatic tube ZD1 is grounded.
[0096] The first capacitor C1 is used to filter out the communication noise signal received by the host receiving terminal RX, and the second capacitor C2 is used to filter out the power supply noise signal of the power supply terminal VCC.
[0097] The first electrostatic tube ZD1 may specifically be a TVS (Transient Voltage Suppressor) for electrostatic protection of the host-side circuit 10 .
[0098] In some optional embodiments, such as Figure 5 As shown, the slave end circuit 20 includes:
[0099] A second regulating module 21, the second regulating module 21 is connected to the slave transmitting end MCU_TX and the communication port DATA respectively, and is used for receiving a second high level signal, converting the second high level signal into a second low level signal and transmitting the signal to the communication port DATA;
[0100] Specifically, when the slave transmitting terminal MCU_TX sends a second high level signal, the second regulating module 21 receives the second high level signal, converts the second high level signal into a second low level signal, and transmits the second high level signal to the communication port DATA. Optionally, the second regulating module 21 may include a switch device.
[0101] The second transmission module 22 is connected to the slave receiving end MCU_RX and the communication port DATA respectively, and is used for receiving a first high-level signal of a high voltage, and restoring the first high-level signal of the high voltage to a first high-level signal of a low voltage and transmitting it to the slave receiving end MCU_RX.
[0102] Specifically, when the slave communication port DATA_OUT sends a high-voltage first high-level signal, the high-voltage first high-level signal is restored to a low-voltage first high-level signal and then transmitted to the slave receiving end MCU_RX. Optionally, the second transmission module 22 may be a voltage regulating device.
[0103] In some optional embodiments, such as Figure 6 As shown, the second adjustment module 21 includes:
[0104] A fifth resistor R5, a first end of the fifth resistor R5 is connected to the slave transmitting end MCU_TX;
[0105] A third switch tube Q3, wherein a control end of the third switch tube Q3 is connected to the second end of the fifth resistor R5, a first end of the third switch tube Q3 is grounded, and a second end of the third switch tube Q3 is connected to the communication port DATA;
[0106] A sixth resistor R6, a first end of the sixth resistor R6 is connected to the second end of the fifth resistor R5, and a second end of the sixth resistor R6 is grounded.
[0107] Specifically, when the slave transmitting terminal MCU_TX sends a signal, the slave transmitting terminal MCU_TX outputs a second high level signal, so that the third switch tube Q3 is turned on, and the third switch tube Q3 pulls down the slave communication port DATA_OUT when it is turned on, so as to output a second low level signal to the slave communication port DATA_OUT. The fifth resistor R5 and the sixth resistor R6 are used to provide a bias voltage for the conduction of the third switch tube Q3.
[0108] It should be noted that the third switch tube Q3 is used to convert the second high-level signal of the slave transmitting end MCU_TX into a second low-level signal, that is, through a first-level inversion, when the slave sends information to the host, the second high-level signal of the slave transmitting end MCU_TX is converted into a second low-level signal and then sent to the host through the communication port DATA.
[0109] In some optional embodiments, such as Figure 6 As shown, the second transmission module 22 includes:
[0110] a seventh resistor R7, wherein a first end of the seventh resistor R7 is connected to the communication port DATA, and a second end of the seventh resistor R7 is connected to the slave receiving end MCU_RX;
[0111] An eighth resistor R8, wherein a first end of the eighth resistor R8 is connected to a second end of the seventh resistor R7, and a second end of the eighth resistor R8 is grounded.
[0112] Specifically, the function of the seventh resistor R7 and the eighth resistor R8 is to divide the signal received from the slave communication port DATA_OUT into a low voltage and provide it to the slave receiving end MCU_RX, so as to restore the high-voltage first high-level signal received from the slave communication port DATA_OUT to a low-voltage first high-level signal and then transmit it to the slave receiving end MCU_RX.
[0113] In some optional embodiments, such as Figure 6 As shown, the slave end circuit 20 also includes:
[0114] A third capacitor C3, a first end of the third capacitor C3 is connected to the slave receiving end MCU_RX, and a second end of the third capacitor C3 is grounded.
[0115] Specifically, the third capacitor C3 is used to filter out the clutter signal received by the slave receiving end MCU_RX.
[0116] A second electrostatic tube ZD2, wherein a first end of the second electrostatic tube ZD2 is connected to the communication port DATA, and a second end of the second electrostatic tube ZD2 is grounded.
[0117] Specifically, the second electrostatic tube ZD2 may be a TVS, which functions to provide electrostatic protection for the slave-end circuit 20 .
[0118] In this embodiment, the present invention provides a charging communication device, which includes the charging communication circuit, a host and a slave as described above. Communication between the host and the slave is achieved based on a communication line. At the same time, when the host sends a signal to the slave, high voltage transmission is used to reduce interference from external noise and improve communication quality. The wake-up signal is input through the host transmitting end, and the wake-up signal is transmitted to the slave through the communication line, so that the slave communicates with the host after being awakened from the sleep mode.
[0119] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the scope of protection of the invention.
Claims
1. A charging communication circuit, characterized in that: The circuit comprises: a host-end circuit (10) and a slave-end circuit (20); The host-side circuit (10) is respectively connected to a host transmitting end (TX) and a host receiving end (RX), the slave-side circuit (20) is respectively connected to a slave transmitting end (MCU_TX) and a slave receiving end (MCU_RX), and the host-side circuit (10) and the slave-side circuit (20) are connected based on a communication port (DATA); The host-side circuit (10) is used for converting a low-voltage first high-level signal of the host transmitting end (TX) into a high-voltage first high-level signal and then transmitting the signal to the communication port (DATA) when sending a signal to the slave; The communication port (DATA) is used to receive a high-voltage first high-level signal and transmit it to the slave-end circuit (20); The slave end circuit (20) is used for receiving a high-voltage first high-level signal, and converting the high-voltage first high-level signal into a low-voltage first high-level signal before transmitting it to the slave receiving end (MCU_RX); The slave end circuit (20) is used for converting the second high level signal of the slave sending end (MCU_TX) into a second low level signal and transmitting the signal to the communication end when sending a signal to the host. port(DATA); The communication port (DATA) is used to receive the second low-level signal and transmit it to the host-side circuit (10); The host-side circuit (10) is used for transmitting the second low-level signal to the host receiving end (RX).
2. The circuit according to claim 1, characterized in that The host-side circuit (10) comprises: a first regulating module (11), the first regulating module (11) being connected to the host transmitting end (TX), the power supply end (VCC) and the communication port (DATA) respectively, and being used for converting a low-voltage first high-level signal into a high-voltage first high-level signal based on the power supply end (VCC), and transmitting the first high-level signal to the communication port (DATA); A first transmission module (12), the first transmission module (12) is connected to the host receiving end (RX) and the communication port (DATA) respectively, and is used to transmit the second low-level signal to the host receiving end (RX).
3. The circuit according to claim 2, characterized in that The first adjustment module (11) comprises: A first resistor (R1), wherein a first end of the first resistor (R1) is connected to the host transmitting end (TX); a first switch tube (Q1), wherein a control end of the first switch tube (Q1) is connected to a second end of the first resistor (R1), and a first end of the first switch tube (Q1) is grounded; a second resistor (R2), wherein a first end of the second resistor (R2) is connected to a second end of the first resistor (R1), and a second end of the second resistor (R2) is grounded; a third resistor (R3), wherein a first end of the third resistor (R3) is connected to the power supply end (VCC), and a second end of the third resistor (R3) is connected to a second end of the first switch tube (Q1); a second switch tube (Q2), wherein a control end of the second switch tube (Q2) is connected to a second end of the third resistor (R3), a first end of the second switch tube (Q2) is grounded, and a second end of the second switch tube (Q2) is connected to the communication port (DATA); A fourth resistor (R4), a first end of the fourth resistor (R4) is connected to the power supply end (VCC), and a second end of the fourth resistor (R4) is connected to the communication port (DATA).
4. The circuit according to claim 3, characterized in that The first transmission module (12) comprises: A diode (D1), wherein a first end of the diode (D1) is connected to a second end of the fourth resistor (R4), and a second end of the diode (D1) is connected to a receiving end (RX) of the host.
5. The circuit according to claim 4, characterized in that The host-side circuit (10) further includes: A first capacitor (C1), wherein a first end of the first capacitor (C1) is connected to the host receiving end (RX), and a second end of the first capacitor (C1) is grounded; a second capacitor (C2), wherein a first end of the second capacitor (C2) is connected to the power supply end (VCC), and a second end of the second capacitor (C2) is grounded; A first electrostatic tube (ZD1), wherein a first end of the first electrostatic tube (ZD1) is connected to the power supply end (VCC), and a second end of the first electrostatic tube (ZD1) is grounded.
6. The circuit according to claim 1, characterized in that The slave-end circuit (20) comprises: A second regulating module (21), the second regulating module (21) being connected to the slave transmitting end (MCU_TX) and the communication port (DATA) respectively, and being used for receiving a second high-level signal, converting the second high-level signal into a second low-level signal, and then transmitting the converted signal to the communication port (DATA); The second transmission module (22) is connected to the slave receiving end (MCU_RX) and the communication port (DATA) respectively, and is used to receive a first high-level signal of a high voltage, and restore the first high-level signal of the high voltage to a first high-level signal of a low voltage and then transmit it to the slave receiving end (MCU_RX).
7. The circuit according to claim 6, characterized in that The second adjustment module (21) comprises: a fifth resistor (R5), wherein a first end of the fifth resistor (R5) is connected to the slave transmitting end (MCU_TX); a third switch tube (Q3), wherein a control end of the third switch tube (Q3) is connected to a second end of the fifth resistor (R5), a first end of the third switch tube (Q3) is grounded, and a second end of the third switch tube (Q3) is connected to the communication port (DATA); A sixth resistor (R6), wherein a first end of the sixth resistor (R6) is connected to a second end of the fifth resistor (R5), and a second end of the sixth resistor (R6) is grounded.
8. The circuit according to claim 7, characterized in that The second transmission module (22) comprises: a seventh resistor (R7), wherein a first end of the seventh resistor (R7) is connected to the communication port (DATA), and a second end of the seventh resistor (R7) is connected to the slave receiving end (MCU_RX); An eighth resistor (R8), a first end of the eighth resistor (R8) is connected to the second end of the seventh resistor (R7), and a second end of the eighth resistor (R8) is grounded.
9. The circuit according to claim 8, characterized in that The slave-end circuit (20) further includes: a third capacitor (C3), wherein a first end of the third capacitor (C3) is connected to the slave receiving end (MCU_RX), and a second end of the third capacitor (C3) is grounded; A second electrostatic tube (ZD2), wherein a first end of the second electrostatic tube (ZD2) is connected to the communication port (DATA), and a second end of the second electrostatic tube (ZD2) is grounded.
10. A charging communication device, characterized in that: The charging communication device comprises the charging communication circuit according to any one of claims 1 to 9.