The invention disclosed herein relates to transmission circuits that transmit a differential signal, and also relates to electronic control units and vehicles that incorporate such transmission circuits.
Vehicles such as automobiles incorporate a number of electronic control units (ECUs). Communication among a number of ECUs is achieved by, for example, CAN (controller area network) communication (see, e.g., Japanese Unexamined Patent Application Publication No. S61-195453).
In CAN communication, transmitted and received signals are each a differential signal. A differential signal is composed of a first signal and a second signal and can be decomposed into a common-mode component and a differential-mode component.
The common-mode component is the average of the first and second signals, and the differential-mode component is the difference between the first and second signals.
In the present description, a MOS transistor denotes a transistor of which the gate has a structure composed of at least three layers which are: a layer of a conductor or a semiconductor with a low resistance value such as polysilicon; a layer of an insulator; and a layer of a P-type, N-type, or intrinsic semiconductor. That is, a MOS transistor may have any gate structure other than a three-layer structure of metal, oxide, and semiconductor.
In the present description, a constant current denotes a current that is constant under ideal conditions and may be a current that can vary slightly with change in temperature and the like.
In the present description, a constant voltage denotes a voltage that is constant under ideal conditions and may be a voltage that can vary slightly with change in temperature and the like.
<Vehicle and CAN Communication System>
To one terminal of the first bus line BL1, one terminal of the resistor R101 is connected; to the other terminal of the first bus line BL1, one terminal of the resistor R102 is connected. To one terminal of the second bus line BL2, the other terminal of the resistor R101 is connected; to the other terminal of the second bus line BL2, the other terminal of the resistor R102 is connected. The plurality of ECUs 1 are each connected to the first and second bus lines BL1 and BL2. The battery outputs a voltage VBAT, which is supplied to each of the plurality of ECUs 1. The plurality of ECUs 1 are each connected to a ground potential. The plurality of ECUs 1 use the voltage VBAT as their supply voltage.
<ECU>
The terminal T1 is fed with the voltage VBAT. The anode of the diode 5 is connected to the terminal T1. The cathode of the diode 5 is connected to the input terminal of the power supply circuit 2 and to the capacitor 6.
The output terminal of the power supply circuit 2 is connected to the supply voltage input terminal of the microcomputer 3, to a terminal VCC of the transceiver circuit 4, and to one terminal of the capacitor 7. The output terminal of the power supply circuit 2 outputs a constant voltage.
The microcomputer 3 transmits transmission data to a terminal TXD of the transceiver circuit 4, and receives reception data from a terminal RXD of the transceiver circuit 4. The transmission data and the reception data are each in the form of a single signal.
A terminal CANH of the transceiver circuit 4 is connected to the terminal T2, and a terminal CANL of the transceiver circuit 4 is connected to the terminal T3. The terminal T2 is connected to the first bus line BL1 shown in
The transceiver circuit 4 transmits the transmission data in a form converted into a differential signal (CAN signal) composed of a first signal SCANH (see
The ground terminal of the power supply circuit 2 is connected to the other terminal of the capacitor 6, to the terminal T4, to a terminal GND of the transceiver circuit 4, to the ground terminal of the microcomputer 3, and to the other terminal of the capacitor 7. The terminal T4 is connected to the ground potential.
<Transceiver Circuit>
The transceiver circuit 4 of the configuration example shown in
The transceiver circuit 4 of the configuration example shown in
When the first variable resistance circuit VR1 is in a high-impedance state, the pull-up resistor R1 stabilizes the potential at a node N1 (the connection node between the first variable resistance circuit VR1 and the diode D1). When the second variable resistance circuit VR2 is in a high-impedance state, the pull-down resistor R2 stabilizes the potential at a node N2 (the connection node between the second variable resistance circuit VR2 and the NMOS transistor Q6).
The PMOS transistor Q2 and the NMOS transistor Q6 are double-diffused MOS transistors with high withstand voltages. The PMOS transistor Q2 clamps the source potential of the PMOS transistor Q2, and the NMOS transistor Q6 clamps the source potential of the NMOS transistor Q6.
The transceiver circuit 4 of the configuration example shown in
The terminal VCC is connected to the source of the PMOS transistor Q1 and to one terminal of the pull-up resistor R1. The gate of the PMOS transistor Q1 is fed with a bias voltage Vbp, which is a constant voltage. Thus the PMOS transistor Q1 serves as a constant-current source. If the terminal CANH is short-circuited to a voltage equal to or lower than the voltage applied to the terminal GND, the PMOS transistor Q1 limits the current from the terminal VCC to the terminal CANH. In this way it is possible to suppress an overcurrent from the terminal VCC to the terminal CANH.
The drain of the PMOS transistor Q1 is connected to one terminal of the first variable resistance circuit VR1. The other terminal of the first variable resistance circuit VR1 is connected to the other terminal of the pull-up resistor R1 and to the anode of the diode D1 The cathode of the diode D1 is connected to the source of the PMOS transistor Q2.
The drain of the PMOS transistor Q2 is connected to the terminal CANH and to a first input terminal of the receiver circuit RCV1.
The PMOS transistor Q3, the NMOS transistor Q4, the NMOS transistor Q5, the diode D2, and the Zener diode ZD1 constitute a gate driving signal generation circuit, which generates a gate driving signal for the PMOS transistor Q2. The source of the PMOS transistor Q3 is fed with an internal voltage VREG1 generated within the transceiver circuit 4. The drain of the PMOS transistor Q3 is connected to the anode of the diode D2. The cathode of the diode D2 is connected to the anode of the Zener diode ZD1 and to the drain of the NMOS transistor Q4. The cathode of the Zener diode ZD1 is connected to the source of the PMOS transistor Q1. The gates of the PMOS transistor Q3 and the NMOS transistor Q4 are fed with an enable signal EN. When the enable signal EN is at high level, the transceiver circuit 4 is in an enabled state; when the enable signal EN is at low level, the transceiver circuit 4 is in a disabled state. The source of the NMOS transistor Q4 is connected to the drain of the NMOS transistor Q5. The source of the NMOS transistor Q5 is connected to the ground potential. The gate of the NMOS transistor Q5 is fed with a bias voltage Vbn1, which is a constant voltage.
The anode of the diode D3 is connected to the terminal CANL and to a second input terminal of the receiver circuit RCV1. The cathode of the diode D3 is connected to the drain of the NMOS transistor Q6. The source of the NMOS transistor Q6 is connected to one terminal of the second variable resistance circuit VR2 and to one terminal of the pull-down resistor R2. The gate of the NMOS transistor Q6 is fed with the enable signal EN.
The other terminal of the second variable resistance circuit VR2 is connected to the drain of the NMOS transistor Q7. The source of the NMOS transistor Q7 is connected to the other terminal of the pull-down resistor R2 and to the terminal GND. The gate of the NMOS transistor Q7 is fed with a bias voltage Vbn2, which is a constant voltage. Thus the NMOS transistor Q7 serves as a constant-current source. If the terminal CANL is short-circuited to a voltage equal to or higher than the voltage supplied to the terminal VCC, the NMOS transistor Q7 limits the current from the terminal CANL to the terminal GND. In this way it is possible to suppress an overcurrent from the terminal CANL to the terminal GND.
The controller CNT1 receives the transmission data fed to the terminal TXD and based on the transmission data controls the resistance values of the first and second variable resistance circuits VR1 and VR2.
As shown in
A time lag (skew) between the first and second signals SCANH and SCANL produces noise in the common-mode component COM. This skew-induced common-mode noise can be suppressed by giving the first and second signals SCANH and SCANL waveforms containing small high-frequency components.
To achieve that, in the transceiver circuit 4 of the configuration example shown in
Likewise, in the transceiver circuit 4 of the configuration example shown in
The transceiver circuit 4 of the configuration example shown in
One terminal of the resistor R3 is connected to the terminal VCC. The other terminal of the resistor R3 is connected to the anode of the diode D3. The cathode of the diode D3 is connected to the source of the PMOS transistor Q8. The drain of the PMOS transistor Q8 is connected to the terminal CANL.
The PMOS transistor Q9, the diode D4, the NMOS transistor Q10, the NMOS transistor Q11, and the Zener diode ZD2 constitute a gate driving signal generation circuit, which generates a gate driving signal for the PMOS transistor Q8. The source of the PMOS transistor Q9 is fed with the internal voltage VREG1 generated within the transceiver circuit 4. The drain of the PMOS transistor Q9 is connected to the anode of the diode D4, and the cathode of the diode D4 is connected to the anode of the Zener diode ZD2 and to the drain of the NMOS transistor Q10. The cathode of the Zener diode ZD2 is connected to the source of the PMOS transistor Q8. The gates of the PMOS transistor Q9 and the NMOS transistor Q10 are fed with the enable signal EN. The source of the NMOS transistor Q10 is connected to the drain of the NMOS transistor Q11. The source of the NMOS transistor Q11 is connected to the ground potential. The gate of the NMOS transistor Q11 is fed with the bias voltage Vbn1, which is a constant voltage.
One terminal of the resistor R4 is connected to the terminal CANH. The other terminal of the resistor R4 is connected to the drain of the NMOS transistor Q12. The source of the NMOS transistor Q12 is connected to the terminal GND. The gate of the NMOS transistor Q12 is fed with the enable signal EN.
The dummy circuit described above does improve the symmetry between the first and second signals SCANH and SCANL, but not necessarily sufficiently. As a solution, in the embodiment, the first and second variable resistance circuits VR1 and VR2 are configured ingeniously so as to improve the symmetry between the first and second signals SCANH and SCANL.
A description will now be given of configuration examples of the first and second variable resistance circuits VR1 and VR2 that can improve the symmetry between the first and second signals SCANH and SCANL.
The first variable resistance circuit VR1 of the first configuration example shown in
The first variable resistance circuit VR1 of the first configuration example shown in
The dummy switches DSW2 to DSW60 and the AND gates A2 to A60 are similar to the dummy switch DSW1 and the AND gate A1, and therefore of those no detailed description will be given.
The second variable resistance circuit VR2 of the first configuration example shown in
The second variable resistance circuit VR2 of the first configuration example shown in
The dummy switches DSW102 to DSW160 and the AND gates A102 to A160 are similar to the dummy switch DSW101 and the AND gate A101, and therefore of those no detailed description will be given.
The dummy capacitances DC101 to DC160 are capacitances that are provided between the gate and the source of the NMOS transistors M101 to M160 respectively. The dummy capacitances DC101 to DC160 are NMOS transistors of which the source and the drain are short-circuited together and connected to the source of the NMOS transistors M101 to M160 respectively. The gate of the dummy capacitances DC101 to DC160 is connected to the gate of the NMOS transistors M101 to M160 respectively.
The controller CNT1 makes the waveforms of the first and second signals SCANH and SCANL smoother by keeping some of the adjustment signals ADJ1 to ADJ60 and ADJ101 to ADJ160 at high level and the rest of them at low level. Which adjustment signals to keep at high or low level can be determined, for example, based on the results of simulations, experiments, or the like. Which adjustment signals to keep at high or low level can be determined, for example, for each kind of product, or for each lot of products, or product by product. The transceiver circuit 4 of the configuration example shown in
The dummy capacitances DC101 to DC160 compensate for the differences between the gate-source parasitic capacitances of the PMOS transistors M1 to M60 and the gate-source parasitic capacitances of the NMOS transistors M101 to M160 to suppress time lags between the timing of switching of the PMOS transistors M1 to M60 and the timing of switching of the NMOS transistors M101 to M160. Accordingly, the dummy capacitance DC101 can be given a capacitance value based on the ratio of the gate-source parasitic capacitance of the PMOS transistor M1 to the gate-source parasitic capacitance of the NMOS transistor M101. The capacitance values of the dummy capacitances DC102 to DC160 can be set likewise. The transceiver circuit 4 of the configuration example shown in
The first variable resistance circuit VR1 of the second configuration example shown in
The first variable resistance circuit VR1 of the second configuration example shown in
The dummy capacitances DC1 to DC60 are capacitances that are provided between the gate and the source of the PMOS transistors M1 to M60 respectively. The dummy capacitances DC1 to DC60 are NMOS transistors of which the source and the drain are short-circuited together and connected to the source of the PMOS transistors M1 to M60 respectively. The gate of the dummy capacitances DC1 to DC60 are connected to the gate of the PMOS transistors M1 to M60 respectively. The dummy capacitance DC1 can be given a capacitance value based on the ratio of the gate-source parasitic capacitance of the PMOS transistor M1 to the gate-source parasitic capacitance of the NMOS transistor M101. The capacitance values of the dummy capacitances DC2 to DC60 can be set likewise.
The first variable resistance circuit VR1 of the second configuration example shown in
The first variable resistance circuit VR1 of the third configuration example shown in
The second variable resistance circuit VR2 of the third configuration example shown in
The controller CNT1 turns off the PMOS transistors M1 to M60 one after another, turning off the PMOS transistor M60 last, and turns off the NMOS transistors M101 to M160 one after another, turning off the NMOS transistor M160 last.
The dummy switch DSW60 can absorb and discharge electric charge with respect to the PMOS transistor M60, which is turned off last among the PMOS transistors M1 to M60. Absorbing and discharging electric charge with respect to the PMOS transistor M60, which is turned off last, has a great effect in adjusting the waveforms of the first and second signals SCANH and SCANL. Accordingly, by modifying the first configuration example so as to omit some dummy switches while retaining the dummy switch DSW60, it is possible to reduce the circuit area while minimizing a drop in the effect of waveform adjustment.
The dummy switch DSW160 can absorb and discharge electric charge with respect to the NMOS transistor M160, which is turned off last among the NMOS transistors M101 to M160. Absorbing and discharging electric charge with respect to the NMOS transistor M160, which is turned off last, has a great effect in adjusting the waveforms of the first and second signals SCANH and SCANL. Accordingly, by modifying the first configuration example so as to omit some dummy switches while retaining the dummy switch DSW160, it is possible to reduce the circuit area while minimizing a drop in the effect of waveform adjustment.
<Notes>
The present invention can be implemented with any configuration other than that of the embodiment described above, with any modifications made without departure from the spirit of the present invention. The embodiment described above is to be taken in every way illustrative and not restrictive, and the technical scope of the present invention is defined not by the description of the embodiment given above but by the appended claims and is to be understood to encompass any modifications made within a scope equivalent in significance to what is claimed.
For example, while in the embodiment described above the transceiver circuit performs CAN communication, it may instead perform any communication other than CAN communication.
According to one aspect of what is disclosed herein, a transmission circuit, includes: a first terminal (VCC) configured to have a first voltage applied thereto; a second terminal (CANH); a third terminal (CANL); a fourth terminal (GND) configured to have a second voltage applied thereto, the second voltage being lower than the first voltage; a first variable resistance circuit (VR1) between the first and second terminals, the first variable resistance circuit being configured to be able to vary its resistance value; a second variable resistance circuit (VR2) between the third and fourth terminals, the second variable resistance circuit being configured to be able to vary its resistance value; and a controller (CNT1) configured to control the resistance values of the first and second variable resistance circuits based on transmission data. The first and second variable resistance circuits are each a parallel circuit of a plurality of series circuits of a resistor (Z1 to Z60, Z101 to Z160) and a switch (M1 to M60, N101 to M160). The first variable resistance circuit includes a first charge adjuster (DSW1 to DSW60) configured to absorb and discharge electric charge with respect to at least some of the plurality of switches in the first variable resistance circuit. The second variable resistance circuit includes a second charge adjuster (DSW101 to DSW160) configured to absorb and discharge electric charge with respect to at least some of the plurality of switches in the second variable resistance circuit. (A first configuration.)
With the transmission circuit of the first configuration described above, owing to the controller controlling the resistance values of the first and second variable resistance circuits, it is possible to suppress common-mode noise resulting from a skew through. Moreover, with the transmission circuit of the first configuration described above, owing to its including the first and second charge adjusters, it is possible to more effectively suppress common-mode noise.
In the transmission circuit of the first configuration described above, preferably, the first and second charge adjusters each include at least one first MOS transistor of which the source and the drain are short-circuited together. Preferably, when the switch to which the first MOS transistor is connected is on, the first MOS transistor can turn on.
With the transmission circuit of the second configuration described above, it is possible to reduce the size and the cost of the first and second charge adjusters.
In the transmission circuit of the first or second configuration described above, preferably, the first charge adjuster can absorb and discharge electric charge with respect to, among the plurality of switches in the first variable resistance circuit, the switch that is turned off last, and the second charge adjuster can absorb and discharge electric charge with respect to, among the plurality of switches in the second variable resistance circuit, the switch that is turned off last. (A third configuration.) With the transmission circuit of the third configuration described above, it is possible to reduce the circuit area while suppressing a drop in the effect of waveform adjustment on the signals output from the second and third terminals.
In the transmission circuit of any of the first to third configurations described above, preferably, the first variable resistance circuit includes a capacitance (DC1 to DC60) between the gate and the source of a P-channel MOS transistor as the switch. (A fourth configuration.)
With the transmission circuit of the fourth configuration described above, it is possible to more effectively suppress a broken symmetry between the signals output from the second and third terminals. Thus, with the transmission circuit of the fourth configuration described above, it is possible to more effectively suppress common-mode noise.
In the transmission circuit of any of the first to third configurations described above, preferably, the second variable resistance circuit includes a capacitance (DC101 to DC160) between the gate and the source of an N-channel MOS transistor as the switch.
With the transmission circuit of the fifth configuration described above, it is possible to more effectively suppress a broken symmetry between the signals output from the second and third terminals. Thus, with the transmission circuit of the fifth configuration described above, it is possible to more effectively suppress common-mode noise.
In the transmission circuit of the fourth or fifth configuration described above, preferably, the capacitance is a second MOS transistor of which the source and the drain are short-circuited together. (A sixth configuration.)
With the transmission circuit of the sixth configuration described above, it is possible to reduce the size and the cost of the capacitance.
In the transmission circuit of any of the fourth to sixth configurations described above, preferably, the capacitance has a capacitance value based on the ratio of the gate-source parasitic capacitance of a P-channel MOS transistor as the switch in the first variable resistance circuit to the gate-source parasitic capacitance of a P-channel MOS transistor as the switch in the second variable resistance circuit. (A seventh configuration.)
With the transmission circuit of the seventh configuration described above, it is possible to suppress time lags between the timing of switching of the plurality of switches in the first variable resistance circuit and the timing of switching of the plurality of switches in the second variable resistance circuit.
According to another aspect of what is disclosed herein, an electronic control unit (1) includes: the transmission circuit of any of the first to seventh configurations described above; and a computer (3) configured to transmit the transmission data to the transmission circuit. (An eighth configuration.)
With the electronic control unit of the eighth configuration described above, it is possible to suppress common-mode noise in the transmission circuit.
According to yet another aspect of what is disclosed herein, a vehicle (X) includes: a communication bus (BL1, BL2); and the plurality of electronic control units of the eighth configuration described above. (A ninth configuration.)
With the vehicle of the ninth configuration described above, it is possible to suppress common-mode noise in the transmission circuit.
Number | Date | Country | Kind |
---|---|---|---|
2021-031694 | Mar 2021 | JP | national |
This nonprovisional application is a continuation application of International Patent Application No. PCT/JP2022/002572 filed on Jan. 25, 2022, which claims priority Japanese Patent Application No. 2021-031694 filed in Japan on Mar. 1, 2021, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2022/002572 | Jan 2022 | US |
Child | 18449780 | US |