Two-way communication circuit, system and two-way communication method

By using a communication circuit composed of BJT and diodes, the problem of signal distortion caused by voltage offset between circuit modules in the vehicle E/E architecture is solved, two-way communication is achieved and costs are reduced, and it is suitable for complex vehicle sensor systems.

CN114553258BActive Publication Date: 2024-08-23APTIV TECHNOLOGIES AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111330943.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-11-11
Filing Date
2021-11-11
Publication Date
2024-08-23
Estimated Expiration
2041-11-11

AI Technical Summary

Technical Problem

In vehicle E/E architecture, separate ground connections between long-distance circuit modules cause voltage offsets, resulting in signal distortion and damage to the H-bridge controller. Traditional galvanic isolators are expensive and unidirectional and are not suitable for bidirectional communication lines.

Method used

A communication circuit composed of a bipolar junction transistor (BJT) and a diode is used to realize bidirectional transmission of data signals through the BJT. The combination of NPN and PNP BJT is used to provide signal isolation to avoid current interference, and a pull-up resistor is added to the IO line. and decoupling capacitors to stabilize the signal.

Benefits of technology

It achieves bidirectional communication between different ground connections, reduces costs, avoids signal interference, and supports I2C bus transmission, making it suitable for complex vehicle sensor systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114553258B_ABST
    Figure CN114553258B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a bidirectional communication circuit, a system and a method for bidirectional communication, and more particularly to a communication circuit for bidirectional communication. A switch component including a first BJT is provided, the first BJT having a first base, a first collector and a first emitter connected to an IO line. The first BJT is activated in response to an input data signal. A transmitter component including a second BJT is provided, the second BJT having a second base connected to the first collector and a second collector connected to an output terminal. A receiver component including a third BJT is provided, the third BJT having a third base connected to the input terminal and a third collector connected to the first base and the IO line. A diode is provided in the IO line for blocking a current associated with an input data signal and conducting a current associated with an output data signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to communication circuits, systems and methods for transmitting data signals. In particular, the present disclosure relates to a bidirectional communication device for serial data transmission. Background Art

[0002] Communication data lines are used to transmit data and signals between different circuit modules within a system. In the case where the circuit modules are separated by a long distance, different circuit modules usually have separate ground connections. However, voltage offsets between different grounds may cause ground loops and signal distortion. For example, in a vehicle E / E architecture, an H-bridge controller with a field effect transistor (FET) switched by a control signal can be used to control wiper interrupts. If the ground current of the FET rises by about 2V and the load is cut off, the energy from the ground line may cause a negative voltage kickback of about -20V. In this case, the logic state of the H-bridge controller cannot be recognized, resulting in a risk of failure to operate correctly, and even potentially damaging the H-bridge controller itself. Therefore, it is usually necessary to set a current isolator between the communication circuit modules.

[0003] Galvanic isolators provide signal isolation by preventing direct current flow between two communication modules using components such as optocouplers or iCouplers. However, these components are relatively expensive, especially considering the cost, and isolation is only required when the ground offset exceeds a few volts. This is particularly problematic in automotive applications where a large number of communication modules are distributed around the vehicle. Such modules are often associated with vehicle sensor systems, which means they are particularly sensitive to signal interference. At the same time, the cost of components used to implement the isolation required for each sensor is significant and continues to increase as vehicle E / E architectures become more complex.

[0004] Another problem with traditional galvanic isolators is that they are unidirectional. Therefore, they are not suitable for bidirectional communication lines, such as the I2C bus. Therefore, new solutions are needed for situations where separated modules need to communicate back and forth with each other.

[0005] Therefore, the present disclosure is directed to solving these problems. Summary of the invention

[0006] According to a first aspect, a communication circuit is provided for bidirectional communication with a corresponding second communication circuit, the communication circuit comprising: an IO line for connecting to a communication device; a switch component comprising a first bipolar junction transistor BJT having a first base, a first collector and a first emitter connected to the IO line at a first position, wherein the switch component is configured to activate the first BJT in response to an input data signal on the IO line; a transmitter component comprising a second BJT, the second BJT having a second base connected to the first collector and a second collector connected to an output terminal, the output terminal being used to output a data signal to the second communication circuit when the second BJT is activated by the first BJT; a receiver component comprising a third BJT, the third BJT having a third base connected to an input terminal for receiving a data signal from the second communication circuit and a third collector connected to the first base and connected to the IO line at a second position for generating an output data signal in the IO line, and wherein the first and third BJTs are one of an NPN BJT and a PNP BJT, and the second BJT is the NPN The other of a BJT and a PNPBJT, and wherein the switch component further comprises a diode between the first position and the second position in the IO line for blocking a current associated with an input data signal in the IO line and conducting a current associated with an output data signal in the IO line when the third BJT is activated.

[0007] In this way, data signals can be sent through the transmitter line without interference, which may otherwise be caused by different communication circuits having separate ground connections. In this way, both communication circuits can be protected by using bipolar junction transistors (BJTs). In this way, each communication device can send and receive data signals with another communication device through a single IO line. BJTs are also much cheaper than current isolator components. Therefore, an inexpensive communication circuit can be provided that allows bidirectional communication and is insensitive to voltage differences between separate ground connections.

[0008] In an embodiment, the first and third BJTs are NPN BJTs, and the second BJT is a PNP BJT.

[0009] In an embodiment, the communication device is an open drain communication device.

[0010] In an embodiment, the communication circuit further comprises a pull-up resistor connected to the IO line.

[0011] In an embodiment, the current associated with the input data signal in the IO line flows to the communication device, while the current associated with the output data signal in the IO line flows to ground through the third BJT. In this way, the open-drain communication device can be activated to sink current from the IO line to input the data signal to the communication circuit. Conversely, the third BJT can sink current from the IO line to ground to generate an output data signal to the open-drain communication device.

[0012] In an embodiment, the communication circuit further includes a decoupling capacitor C1 between the IO line and ground. This can minimize noise on the signal output from the communication device.

[0013] In an embodiment, the communication circuit further comprises a collector resistor connected to the first collector of the first BJT. In this way, the current through the first BJT is regulated and thus the stability at the second base of the second BJT is improved.

[0014] In an embodiment, the communication circuit further comprises a collector resistor connected to the third collector of the third BJT. In this way, the current through the third BJT is regulated.

[0015] In an embodiment, the communication circuit further comprises a resistor connected between the input terminal and ground. In this way, the current associated with the data signal transmitted from the second communication circuit to the input terminal of the first communication circuit is regulated and thus the stability at the third base of the third BJT is improved.

[0016] According to a second aspect, a communication system for bidirectional communication is provided, the communication system comprising: a first communication circuit, which is a communication circuit according to the above embodiment; and a second communication circuit, which is a communication circuit according to the above embodiment and is used to communicate with the first communication circuit. In this way, a communication system for bidirectional communication between two separate circuits is provided.

[0017] In an embodiment, the communication system further comprises: a first transmitter line connected between an output of the first communication circuit and an input of the second communication circuit; and a second transmitter line connected between an output of the second communication circuit and an input of the first communication circuit.

[0018] In an embodiment, the first communication circuit and the second communication circuit have separate ground connections.

[0019] In an embodiment, the first communication circuit and the second communication circuit have a common positive supply rail.

[0020] In an embodiment, the third BJT of the first communication circuit and the third BJT of the second communication circuit have separate voltage common collector connections. In this way, the communication circuit can transmit data signals between different communication devices operating at different VCC levels.

[0021] According to a third aspect, a method for performing bidirectional communication between a communication circuit and a corresponding second communication circuit is provided, the method comprising: receiving an input data signal from a communication device on an IO line; setting a switch component including a first bipolar junction transistor BJT, the first bipolar junction transistor BJT having a first base, a first collector and a first emitter connected to the IO line at a first position; configuring the switch component to activate the first BJT in response to the input data signal on the IO line; in a transmitter component, connecting the second base of the second BJT to the first collector for activating the second BJT when the first BJT is activated; connecting the second collector of the second BJT to an output terminal for outputting a data signal to the second communication circuit when the second BJT is activated; setting a receiver component including a third BJT, the third BJT having a third base connected to the input terminal and a third collector connected to the first base and the IO line at a second position; and receiving a data signal from the second communication circuit at the input terminal to activate the third BJT, thereby generating an output data signal in the IO line, wherein the first BJT and the third BJT are NPN BJTs and PNP BJTs. One of the BJTs, and the second BJT is the other of an NPN BJT and a PNP BJT, and wherein the switch component further comprises a diode between the first position and the second position in the IO line, for blocking a current associated with an input data signal in the IO line and conducting a current associated with an output data signal in the IO line when the third BJT is activated. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Illustrative embodiments will now be described with reference to the accompanying drawings, in which:

[0023] Figure 1 A schematic diagram of a communication system is shown. DETAILED DESCRIPTION

[0024] Figure 1 An illustrative embodiment of a communication system 1 is shown, which has a first circuit 2 and a second circuit 3 and is used to transmit an open-drain data signal, such as an I2C bus signal, between an input / output data line IO_7 in the first circuit and an input / output data line IO_2 8 in the second circuit. As such, the first circuit and the second circuit represent separate modules within the system for transmitting data to each other.

[0025] These circuits are communicatively connected via a first transmitter line 101 and a second transmitter line 102. The first transmitter line 101 is connected between a first output terminal 104 in the first circuit 2 and a second input terminal 107 in the second circuit 3. Conversely, the second transmitter line 102 is connected between a second output terminal 105 in the second circuit 3 and a first input terminal 106 on the first circuit 2. The first circuit 2 and the second circuit 3 share a common positive rail VBAT 4 from a battery, but have separate connections to ground, with the first circuit 2 connected to a first ground line GND 5 and the second circuit 3 connected to a second ground line GND_2 6.

[0026] The first circuit 2 and the second circuit 3 comprise corresponding components arranged in the same manner, although for simplicity they are shown in Figure 1 Mirror images of each other are shown in FIG. Each circuit includes components forming a transmitter component 201, 301, a receiver component 203, 303 and a switch component 202, 302, which controls whether the transmitter component 201, 301 or the receiver component 203, 303 is operatively connected to the data lines IO 7 and IO_2 8. The transmitter component 201, 301 is located around a PNP bipolar junction transistor (BJT) Q2 20 in the first circuit 2 and a PNP BJT Q4 40 in the second circuit 3. The receiver component 203, 303 is located around an NPN BJT Q3 30 in the first circuit 2 and Q6 60 in the second circuit 3. The switch component 202, 302 is located around an NPN BJT transistor Q1 10 and a diode D1 91 in the first circuit 2 and an NPN BJT Q5 50 and a diode D2 92 in the second circuit 3.

[0027] Turning to the switch component 202 of the first circuit 2, the NPN BJT Q1 10 is arranged in an open collector configuration, wherein the first pull-up resistor 72 is arranged to produce a high signal at the common collector voltage VCC 41 within the IO 7. A diode D1 91 is arranged between the emitter 13 and the base 11 pins along the IO 7. At the same time, the base 11 is connected to the VCC 41 through the resistor R3 73. Thus, when the IO 7 is set high, Q1 is not activated because both the base 11 and the emitter 13 are connected to the VCC 41. In contrast, when a signal is applied to the IO 7 by a connected open drain communication device, Q1 10 is activated due to the voltage generated between the base 11 and the emitter 13. That is, when the emitter 13 sinks through the open drain connection, the diode D1 91 blocks the current from the VCC 41, thereby keeping the base 11 high. Thus, the switch component 202 is configured to activate the BJT Q1 10 in response to an input data signal applied by a communication device connected to the IO 7 .

[0028] The collector 12 of Q1 10 is connected to VBAT 4 through a collector resistor (R1) 71 and is connected as an output to the base 21 of PNPBJT Q2 20. The collector resistor R1 71 is used to regulate the current through BJT Q1 10, which improves the operational stability of BJT Q2 20.

[0029] PNP BJT Q2 20 forms part of the transmitter section 201 and is arranged in a common collector configuration with its emitter 23 connected to VBAT 4 and its collector 22 providing the output via the first transmitter line 101. As a result of this configuration, activation of Q1 10 causes a low signal to be applied to the base 21 of Q2, thereby activating it to apply VBAT as the data signal via the first transmitter line 101.

[0030] In the receiver part 203, the NPN BJT Q3 30 has a base 31 connected to the second transmitter line 102 for receiving the data signal from the second circuit 3. An input resistor R4 74 is provided for regulating the input current in the second transmitter line 102. Q3 33 is provided in a common emitter configuration, the emitter 33 is connected to GND 5, the collector 32 is connected to VCC 41 through a resistor R3 73 and is connected to IO 7 as an output. When a high signal is transmitted through the second transmitter line 102, Q3 33 is activated, Q3 33 sinks current to GND 5, forcing IO 7 to a low state. A first decoupling capacitor C1 81 is provided between IO 7 and GND5 for removing noise in the signal generated in IO 7.

[0031] like Figure 1 As shown, the second circuit 3 includes components corresponding to those of the first circuit 2, and thus descriptions of these components are omitted for the sake of brevity.

[0032] In use, an open-drain data signal is applied to one of the data lines IO7 and IO_2 8 by a communication device (e.g., an integrated circuit). The communication device sinks current in its low voltage active state (logic 0). In the inactive state (logic 1) of the communication device, pull-up resistors R2 72 and R7 77 hold IO 7 and IO_2 8 in a high state. Thus, the communication device can transmit data by sending a sequence of logic state 0 and 1 cycles, where each cycle represents one bit of data.

[0033] When a logic 0 signal is transmitted from the first circuit 2 to the second circuit 3, current flows on the first data line 107 to force a low signal. This activates Q1 by forcing a high signal at its base 11, thereby switching the circuit to transmit mode. The activation of Q110 in turn produces a low signal at the base 21 of Q2 20, thereby activating Q2 to transmit a high signal through the first transmitter line 101.

[0034] In this case, the second circuit 3 acts as a receiver. The high signal on the first transmitter line 101 activates NPNBJT Q6, allowing current to be drawn to GND_2 6 through diode D2 92 and forcing IO_2 8 into a low state corresponding to the low signal applied to IO7. At the same time, Q5 50, Q4 40 and Q3 30 are not activated, so there is no risk of the line being latched.

[0035] Conversely, when a data signal is transmitted from the second circuit 3 to the first circuit 2, a low signal will be applied to the second data line IO_2 8. This activates Q5 by forcing a high signal at its base 51, thereby switching the circuit to transmit mode. The activation of Q5 50 in turn produces a low signal at the base 41 of Q4 40, thereby activating Q4 to transmit a high signal through the second transmitter line 102. At the first circuit 2, this high signal on the second transmitter line 102 activates NPN BJT Q3, thereby allowing current to be drawn to GND 5 through diode D1 91 and forcing IO 7 to enter a low state corresponding to the low signal applied to IO_2 8. At the same time, Q1 10, Q2 20 and Q6 60 are not activated, so again there is no risk of the line being latched.

[0036] Thus, with the above arrangement, the configuration of Q1 10 and diode D1 91 in the first circuit 1 and Q550 and diode D1 92 in the second circuit 2 dictates whether these circuits are operating in a receive mode or a transmit mode.

[0037] In this way, the communication circuit 1 can provide bidirectional transmission of digital signals between the first circuit 2 and the second circuit 3 without interference caused by voltage offsets between GND 5 and GND_2 6. That is, the use of a BJT as a current control device rather than a voltage control FET means that the circuit is insensitive to the voltage difference between GND 5 and GND_2 6. In fact, a difference almost as high as VBAT can be tolerated. In this way, both circuits are protected. At the same time, a data transmission rate of 100 kbps required for I2C bus transmission can be achieved.

[0038] Furthermore, since the high voltage level is indicated by VCC 41 of the first circuit 2 and VCC_2 42 of the second circuit 3, the communication circuit 1 can provide a voltage level shift in the data signal between IO 7 and IO_8. For example, a serial data signal having a high signal of 3.3V can be converted into a high signal of 5V.

[0039] It should be understood that the above embodiments show applications for illustrative purposes only. In fact, the embodiments can be applied to many different configurations, the details of which are obvious to those skilled in the art.

Claims

1. A communication circuit for performing bidirectional communication with a corresponding second communication circuit, the communication circuit comprising: IO lines for connecting to communication devices; a switch component comprising a first bipolar junction transistor (BJT) having a first base, a first collector, and a first emitter connected to the IO line at a first position, wherein the switch component is configured to activate the first BJT in response to an input data signal on the IO line; a transmitter component including a second BJT having a second base and a second collector, the second base being connected to the first collector, and the second collector being connected to an output terminal for outputting a data signal to the second communication circuit when the second BJT is activated by the first BJT; a receiver component comprising a third BJT having a third base and a third collector, the third base being connected to an input terminal for receiving a data signal from the second communication circuit, and the third collector being connected to the first base and to the IO line at a second position for generating an output data signal in the IO line, and wherein the first BJT and the third BJT are one of an NPN BJT and a PNP BJT, and the second BJT is the other of the NPN BJT and the PNP BJT, and The switch component further includes a diode between the first position and the second position in the IO line, for blocking a current associated with an input data signal in the IO line and conducting a current associated with an output data signal in the IO line when the third BJT is activated.

2. The communication circuit according to claim 1, wherein: The first BJT and the third BJT are NPN BJTs, and the second BJT is a PNP BJT.

3. The communication circuit according to claim 2, wherein: The communication device is an open-drain communication device.

4. The communication circuit according to any one of claims 1 to 3, further comprising a pull-up resistor connected to the IO line.

5. The communication circuit according to claim 1, wherein: A current associated with an input data signal in the IO line flows toward the communication device, and a current associated with an output data signal in the IO line flows toward ground through the third BJT. 6 . The communication circuit of claim 1 , further comprising a decoupling capacitor C1 between the IO line and ground. 7 . The communication circuit of claim 1 , further comprising a collector resistor connected to the first collector of the first BJT.

8. The communication circuit of claim 1, further comprising a collector resistor connected to the third collector of the third BJT.

9. The communication circuit of claim 1, further comprising a resistor connected between the input terminal and ground.

10. A communication system for two-way communication, the communication system comprising: a first communication circuit, the first communication circuit being the communication circuit according to any one of claims 1 to 9; as well as A second communication circuit is a communication circuit according to any one of claims 1 to 9 and is used to communicate with the first communication circuit.

11. The communication system according to claim 10, further comprising: a first transmitter line connected between an output of the first communication circuit and an input of the second communication circuit; as well as A second transmitter line is connected between an output of the second communication circuit and an input of the first communication circuit.

12. The communication system according to claim 10 or 11, wherein: The first communication circuit and the second communication circuit have separate ground connections.

13. The communication system according to claim 10, wherein: The first communication circuit and the second communication circuit have a common positive supply rail.

14. The communication system according to claim 10, wherein: The third BJT of the first communication circuit and the third BJT of the second communication circuit have separate voltage common collector connections.

15. A method for bidirectional communication between a communication circuit and a corresponding second communication circuit, the method comprising: receiving an input data signal from a communication device on an IO line; providing a switch component comprising a first bipolar junction transistor (BJT) having a first base, a first collector and a first emitter connected to the IO line at a first position; configuring the switch component to activate the first BJT in response to an input data signal on the IO line; In the transmitter component, connecting a second base of a second BJT to the first collector for activating the second BJT when the first BJT is activated; connecting the second collector of the second BJT to the output terminal for outputting a data signal to the second communication circuit when the second BJT is activated; providing a receiver component comprising a third BJT having a third base and a third collector, the third base being connected to the input terminal and the third collector being connected to the first base and to the IO line at a second location; as well as receiving a data signal from the second communication circuit at the input terminal to activate the third BJT to generate an output data signal in the IO line, wherein the first BJT and the third BJT are one of an NPN BJT and a PNP BJT, and the second BJT is the other of the NPN BJT and the PNP BJT, and The switch component further includes a diode between the first position and the second position in the IO line, for blocking a current associated with an input data signal in the IO line and conducting a current associated with an output data signal in the IO line when the third BJT is activated.