A low-latency LIN bus control circuit and control method
By using a structure composed of resistors, capacitors and field effect transistors in the LIN bus control circuit, and using switches to control the charge pump effect, the problem of capacitor voltage change delay is solved, faster signal transmission is achieved, and signal delays are reduced.
Patent Information
- Application Number
- CN202410689721.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-05-30
AI Technical Summary
The existing LIN bus control circuit has a delay when the capacitor voltage changes, causing signal transmission delays and affecting the efficiency of chip design.
Design a low-latency LIN bus control circuit, using a circuit structure composed of resistor R1, capacitor C2, NMOS tube M2 and PMOS tube, and control the change of voltage node VG through the actions of switches S1, S2, S3, and use the charge pump effect to accelerate The voltage change of capacitor C1 reduces signal transmission delay.
By changing the voltage of voltage node VG in advance, the delay time of the capacitor voltage is reduced, making the LIN bus voltage drop or rise faster, reducing signal transmission delay, and improving the response speed to the TXD signal.
Smart Images

Figure CN118400221B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of LIN bus, and specifically refers to a low-latency LIN bus control circuit and a control method. Background Art
[0002] LIN bus is widely used in the field of vehicle body control such as doors, windows, lights and central locks. The existing LIN bus control circuit charges the capacitor through a constant current source to generate a ramp voltage. The ramp voltage passes through the control circuit, and the slope is better controlled. The constant current source charges the capacitor, and the voltage on the capacitor generally increases from 0 to VDD; the constant current source discharges the capacitor charge, and the voltage on the capacitor generally starts to decrease from VDD. However, when the LIN bus voltage starts to change, it is a voltage between 0-VDD. It is necessary to wait until the capacitor voltage rises or drops to a certain voltage before the LIN bus voltage changes. For this reason, for the design of the LIN chip, there is a natural delay in the signal between TXD and LIN. Summary of the invention
[0003] The object of the present invention is to provide a low-delay LIN bus control circuit and control method, which can reduce the delay time of capacitor voltage.
[0004] To achieve the above object, the present invention provides a low-latency LIN bus control circuit, including a resistor R1, one end of the resistor R1 is divided into three paths, one end is grounded through a capacitor C2, the resistor R1 and the capacitor C2 form a low-pass filter, one end is connected to the gate end of the NMOS tube M2, and the other end is connected to the resistor R1 through a capacitor C3. load , the drain end of the NMOS tube M2 is connected; the capacitor C3 is the Maitreya capacitor; the resistor R load The other end is connected to the LIN bus power supply voltage VSUP_LIN; the drain end of the NMOS tube M2 is also connected to the capacitor C through the LIN bus, i.e., the LIN-BUS line. load One end is connected to the capacitor C loadThe other end is grounded, and the source end of the NMOS tube M2 is grounded; the other end of the resistor R1 is divided into two paths after passing through the voltage node VG, one path is connected to one end of the switch S3 through the capacitor C1, and the other path is respectively connected to one end of the switches S1 and S2; the other end of the switch S3 is grounded; the other end of the switch S1 is connected to the drain end of the PMOS tube M5, the source end of the PMOS tube M5 is connected to VDD, and the gate end of the PMOS tube M5 is respectively connected to the gate ends of the PMOS tube M8 and the PMOS tube M4; the gate end of the PMOS tube M4 is also respectively connected to the gate end and the drain end of the PMOS tube M3, and the drain end of the PMOS tube M4 is connected to the drain end of the NMOS tube M6; the drain end of the PMOS tube M3 is also grounded through a reference current; the drain end of the PMOS tube M8 is divided into two paths, one path is connected between the capacitor C1 and the switch S3, and the other path is respectively connected to the drain end and the gate end of the NMOS tube M9; the source end of the NMOS tube M9 is grounded; the source ends of the PMOS tubes M3, M4, and M8 are respectively connected to VDD;
[0005] The other end of the switch S2 is connected to the drain end of the NMOS tube M7, the source end of the NMOS tube M7 is grounded, the gate end of the NMOS tube M7 is respectively connected to the drain end and the gate end of the NMOS tube M6; the source end of the NMOS tube M6 is grounded.
[0006] As a further solution of the present invention: the PMOS tube M3 and the PMOS tube M4 form a current mirror I, and the mirror ratio is 1:1; the PMOS tube M3 and the PMOS tube M5 form a current mirror II, and the mirror ratio is 1:M; the NMOS tube M6 and the NMOS tube M7 form a current mirror III, and the mirror ratio is 1:N.
[0007] As a further solution of the present invention: the mirror ratio 1:N and the mirror ratio 1:M correspond to the difference in rising and pulling-down currents of the voltage node VG, and also reflect the rate of rise and fall of the voltage at this point.
[0008] As a further solution of the present invention: the NMOS tube M2 is a pull-down tube.
[0009] A control method for a low-latency LIN bus control circuit comprises the following steps:
[0010] S1: Transmitter TXD signal changes, including LIN bus voltage drop signal changes and LIN bus voltage rise signal changes;
[0011] S2: The voltage of the voltage node VG changes in advance, including the following two changes:
[0012] S2-1: When the LIN bus voltage drops, the voltage of the voltage node VG rises faster, then switches S2 and S3 are disconnected, switch S1 is closed, and the voltage node VG increases by a V due to the charge pump effect. GS9 Voltage;
[0013] S2-2: When the LIN bus voltage rises, switches S2 and S3 are closed, and switch S1 is opened; because the voltage on the lower plate of capacitor C1 drops to GND, the voltage node VG drops by a V instantaneously due to the charge pump effect. GS9 The voltage represents the instantaneous weakening of the pull-down current capability of the pull-down tube M2;
[0014] S3: LIN bus voltage changes linearly.
[0015] As a further solution of the present invention: In step S2-1, there is a voltage on the lower plate of capacitor C1, and the voltage is V GS9 Voltage, due to the rapid action of switches S1, S2, and S3, the voltage on the upper plate of capacitor C1 will be raised rapidly.
[0016] As a further solution of the present invention: before executing step S2-1, the switch S3 is closed and the voltage of the lower plate of the capacitor C1 is 0.
[0017] As a further solution of the present invention: before executing step S2-2, the switch S3 is disconnected, and a non-zero voltage exists on the lower plate of the capacitor C1.
[0018] Compared with the prior art, the low-latency LIN bus control circuit of the present invention can change the voltage of the voltage node VG in advance when the TXD signal at the transmitting end changes; when the LIN bus voltage drops, the voltage node VG increases by a V due to the charge pump effect. GS9 voltage, that is, from V GS9 When the voltage starts to rise, the LIN bus voltage will drop more quickly; when the LIN bus voltage rises, the voltage node VG drops by a V GS9 voltage, the LIN bus voltage will rise faster; the gate terminal voltage of the pull-down tube M2 rises from a non-0V voltage or drops from a non-VDD voltage, thereby reducing the signal delay sent by the LIN bus to TXD. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a circuit diagram of a low-latency LIN bus control circuit of the present invention.
[0020] Figure 2 It is a flow chart of a control method of a low-latency LIN bus control circuit of the present invention.
[0021] Figure 3 It is a corresponding relationship diagram of VG and LIN-BUS voltage in the present invention. DETAILED DESCRIPTION
[0022] The invention will be further described below in conjunction with the accompanying drawings.
[0023] like Figure 1 As shown, a low-latency LIN bus control circuit includes a resistor R1, one end of the resistor R1 is divided into three paths, one end is grounded through a capacitor C2, at this time, the resistor R1 and the capacitor C2 form a low-pass filter, which prevents the high-frequency interference signal from transmitting high-frequency interference through the NMOS tube M2; one end is connected to the gate end of the NMOS tube M2, and the other end is connected to the resistor R1 through the capacitor C3. load , the drain end of the NMOS tube M2 is connected; the capacitor C3 is the Maitreya capacitor; the resistor R load The other end is connected to the LIN bus power supply voltage VSUP_LIN; the drain end of the NMOS tube M2 is also connected to the capacitor C through the LIN bus, i.e., the LIN-BUS line. load One end is connected to the capacitor C load The other end is grounded, and the source end of the NMOS tube M2 is grounded; the other end of the resistor R1 is divided into two paths after passing through the voltage node VG, one path is connected to one end of the switch S3 through the capacitor C1, and the other path is respectively connected to one end of the switches S1 and S2; the other end of the switch S3 is grounded; the other end of the switch S1 is connected to the drain end of the PMOS tube M5, the source end of the PMOS tube M5 is connected to VDD, and the gate end of the PMOS tube M5 is respectively connected to the gate ends of the PMOS tube M8 and the PMOS tube M4; the gate end of the PMOS tube M4 is also respectively connected to the gate end and the drain end of the PMOS tube M3, and the drain end of the PMOS tube M4 is connected to the drain end of the NMOS tube M6; the drain end of the PMOS tube M3 is also grounded through a reference current; the drain end of the PMOS tube M8 is divided into two paths, one path is connected between the capacitor C1 and the switch S3, and the other path is respectively connected to the drain end and the gate end of the NMOS tube M9; the source end of the NMOS tube M9 is grounded; the source ends of the PMOS tubes M3, M4, and M8 are respectively connected to VDD;
[0024] The other end of the switch S2 is connected to the drain end of the NMOS tube M7, the source end of the NMOS tube M7 is grounded, the gate end of the NMOS tube M7 is respectively connected to the drain end and the gate end of the NMOS tube M6; the source end of the NMOS tube M6 is grounded.
[0025] Further: PMOS tube M3 and PMOS tube M4 form a current mirror I, and the mirror ratio is 1:1; PMOS tube M3 and PMOS tube M5 form a current mirror II, and the mirror ratio is 1:M; NMOS tube M6 and NMOS tube M7 form a current mirror III, and the mirror ratio is 1:N. Among them, 1:M and 1:N are ratios selected according to circuit debugging.
[0026] Furthermore, the mirror ratio 1:N and the mirror ratio 1:M correspond to the difference in the rising and pulling-down currents of the voltage node VG, and also reflect the rate at which the voltage at that point rises and falls.
[0027] Further: NMOS tube M2 is a pull-down tube.
[0028] like Figure 2 As shown, a control method for a low-latency LIN bus control circuit comprises the following steps:
[0029] S1: Transmitter TXD signal changes, including LIN bus voltage drop signal changes and LIN bus voltage rise signal changes;
[0030] S2: The voltage of the voltage node VG changes in advance, such as Figure 3 As shown, there are two changes:
[0031] S2-1: When the LIN bus voltage drops, the voltage of the voltage node VG rises faster, then switches S2 and S3 are disconnected, switch S1 is closed, and the voltage node VG increases by a V due to the charge pump effect. GS9 Voltage;
[0032] S2-2: When the LIN bus voltage rises, switches S2 and S3 are closed, and switch S1 is opened; because the voltage on the lower plate of capacitor C1 drops to GND, the voltage node VG drops by a V instantaneously due to the charge pump effect. GS9 The voltage represents that the pull-down current capability of the pull-down tube M2 is instantly weakened.
[0033] S3: LIN bus voltage changes linearly.
[0034] In step S2-1, there is a voltage on the lower plate of capacitor C1, which is equal to the V GS9 Voltage, due to the rapid action of switches S1, S2, and S3, the voltage on the upper plate of capacitor C1 will be raised rapidly.
[0035] Before executing step S2 - 1 , the switch S3 is closed and the voltage of the lower plate of the capacitor C1 is zero.
[0036] Before executing step S2 - 2 , the switch S3 is turned off, and a non-zero voltage exists on the lower plate of the capacitor C1 .
[0037] Where V GS9 The voltage is the gate-source voltage of the NMOS tube M9.
[0038] The low-latency LIN bus control circuit of the present invention can change the voltage of the voltage node VG in advance when the TXD signal at the transmitting end changes; when the LIN bus voltage decreases, the voltage node VG increases by a V due to the charge pump effect. GS9 voltage, that is, from V GS9 When the voltage starts to rise, the LIN bus voltage will drop more quickly; when the LIN bus voltage rises, the voltage node VG drops by a V GS9voltage, the LIN bus voltage will rise faster; the gate terminal voltage of the pull-down tube M2 rises from a non-0V voltage or drops from a non-VDD voltage, thereby reducing the signal delay sent by the LIN bus to TXD.
Claims
1. A low-latency LIN bus control circuit, characterized in that: It includes a resistor R1, one end of which is divided into three paths, one of which is grounded through a capacitor C2, and the resistor R1 and the capacitor C2 form a low-pass filter, one of which is connected to the gate end of the NMOS tube M2, and the other is connected to the resistor R through a capacitor C3. load , the drain end of the NMOS tube M2 is connected; the capacitor C3 is the Maitreya capacitor; the resistor R load The other end is connected to the LIN bus power supply voltage VSUP_LIN; the drain end of the NMOS tube M2 is also connected to the capacitor C through the LIN bus, i.e., the LIN-BUS line. load One end is connected to the capacitor C load The other end is grounded, and the source end of the NMOS tube M2 is grounded; the other end of the resistor R1 is divided into two paths after passing through the voltage node VG, one path is connected to one end of the switch S3 through the capacitor C1, and the other path is respectively connected to one end of the switches S1 and S2; the other end of the switch S3 is grounded; the other end of the switch S1 is connected to the drain end of the PMOS tube M5, the source end of the PMOS tube M5 is connected to VDD, and the gate end of the PMOS tube M5 is respectively connected to the gate ends of the PMOS tube M8 and the PMOS tube M4; the gate end of the PMOS tube M4 is also respectively connected to the gate end and the drain end of the PMOS tube M3, and the drain end of the PMOS tube M4 is connected to the drain end of the NMOS tube M6; the drain end of the PMOS tube M3 is also grounded through a reference current; the drain end of the PMOS tube M8 is divided into two paths, one path is connected between the capacitor C1 and the switch S3, and the other path is respectively connected to the drain end and the gate end of the NMOS tube M9; the source end of the NMOS tube M9 is grounded; the source ends of the PMOS tubes M3, M4, and M8 are respectively connected to VDD; The other end of the switch S2 is connected to the drain end of the NMOS tube M7, the source end of the NMOS tube M7 is grounded, the gate end of the NMOS tube M7 is respectively connected to the drain end and the gate end of the NMOS tube M6; the source end of the NMOS tube M6 is grounded.
2. A low-latency LIN bus control circuit according to claim 1, characterized in that: The PMOS tube M3 and the PMOS tube M4 form a current mirror I, and the mirror ratio is 1:1; the PMOS tube M3 and the PMOS tube M5 form a current mirror II, and the mirror ratio is 1:M; the NMOS tube M6 and the NMOS tube M7 form a current mirror III, and the mirror ratio is 1:N.
3. A low-latency LIN bus control circuit according to claim 2, characterized in that: The mirror ratio 1:N and the mirror ratio 1:M correspond to the difference in rising and pulling-down currents of the voltage node VG, respectively, and also reflect the rate at which the voltage at that point rises and falls.
4. A low-latency LIN bus control circuit according to claim 1, characterized in that: The NMOS tube M2 is a pull-down tube.
5. The control method of a low-latency LIN bus control circuit according to claim 1, characterized in that: The following steps are involved: S1: Transmitter TXD signal changes, including LIN bus voltage drop signal changes and LIN bus voltage rise signal changes; S2: The voltage of the voltage node VG changes in advance, including the following two changes: S2-1: When the LIN bus voltage drops, the voltage of the voltage node VG rises faster, then switches S2 and S3 are disconnected, switch S1 is closed, and the voltage node VG increases by a V due to the charge pump effect. GS9 Voltage; S2-2: When the LIN bus voltage rises, switches S2 and S3 are closed, and switch S1 is opened; because the voltage on the lower plate of capacitor C1 drops to GND, the voltage node VG drops by a V instantaneously due to the charge pump effect. GS9 The voltage represents the instantaneous weakening of the pull-down current capability of the pull-down tube M2; S3: LIN bus voltage changes linearly.
6. The control method of a low-latency LIN bus control circuit according to claim 5, characterized in that: In step S2-1, there is a voltage on the lower plate of capacitor C1, which is equal to the V GS9 Voltage, due to the rapid action of switches S1, S2, and S3, will cause the voltage plate on the upper electrode of capacitor C1 to be raised rapidly.
7. The control method of a low-latency LIN bus control circuit according to claim 5, characterized in that: Before executing step S2 - 1 , the switch S3 is closed and the voltage of the lower plate of the capacitor C1 is zero.
8. The control method of a low-latency LIN bus control circuit according to claim 5, characterized in that: Before executing step S2 - 2 , the switch S3 is turned off, and a non-zero voltage exists on the lower plate of the capacitor C1 .
Citation Information
Patent Citations
System and method for controlling bus-networked devices via an open field bus
CN101690019A
Bus signal receiver
CN103607337A
Roof control system with driver behavior recognition function
CN115214497A
LIN bus driving circuit and device
CN116032684A
Slope control circuit based on LIN bus signal control and control method thereof
CN117872903A
