Slope-adjustable LIN control circuit and control method

By introducing a slope control circuit and an adjustable current source into the LIN control circuit, the electromagnetic radiation problem caused by signal state switching in the existing technology is solved, the slope control of the LIN bus signal is realized, EMI is weakened and the system stability is improved. and signal quality.

CN118689808AActive Publication Date: 2024-09-24DIOO MICROCIRCUITS CO LTD

Patent Information

Application Number
CN202411178290.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-09-24
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

When existing LIN transceivers switch signal states, the peak current caused by rapid changes in voltage causes strong electromagnetic radiation, which interferes with other electronic equipment in the vehicle and violates electromagnetic compatibility requirements, and cannot change the signal slope in real time.

Method used

A LIN control circuit with adjustable slope is designed, including a slope control circuit, a pull-up circuit and a load. Through components such as a storage medium, a slope generation module, a delay module, a high-voltage operational amplifier, an NMOS tube and a diode, the control circuit of the LIN bus is realized. Signal slope control uses an adjustable current source and capacitor to adjust the signal slope.

Benefits of technology

It effectively reduces EMI, improves signal quality and system stability, adapts to slope requirements under different working conditions, and improves application flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689808A
    Figure CN118689808A
Patent Text Reader

Abstract

The invention discloses a slope-adjustable LIN control circuit and a control method, the slope-adjustable LIN control circuit comprises a slope control circuit, a pull-up circuit and a load, the output end of the slope control circuit is connected with the output end of the pull-up circuit and the input end of the load, and the slope control circuit comprises a storage medium, a slope generation module, a delay module, a high-voltage operational amplifier, an NMOS transistor N1, an NMOS transistor N2 and a diode D1. According to the invention, slope control of LIN bus signals is realized on the hardware level, and the purposes of weakening EMI and improving signal quality and system stability are achieved; the slope requirements under different working conditions are met by using programmable slope control, and the application flexibility is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a control circuit and a control method, in particular to a LIN control circuit with adjustable slope and a control method, belonging to the technical field of semiconductor integrated circuits. Background Art

[0002] LIN (Local Interconnect Network) bus is a low-cost serial communication network used inside cars. Compared with CAN bus, LIN is simpler to implement in hardware and software, with lower cost, and is suitable for low-end networks used in vehicles. Due to its low cost and flexibility, LIN bus is widely used in door control, seat adjustment, lighting control and other fields in modern automotive electronic architecture, and is an effective means to achieve distributed control in the car.

[0003] When the LIN bus switches from recessive to dominant or vice versa, the rapid change in voltage will generate spike current, which will lead to strong electromagnetic radiation. This may not only interfere with the normal operation of other electronic equipment in the car, but also violate the requirements of electromagnetic compatibility. By controlling the slope and smoothing the edge change rate of the signal, these instantaneous current spikes can be significantly reduced, reducing EMI. However, most LIN transceivers on the market are designed based on the open-loop principle or use a fixed slope, and cannot change the LIN bus signal slope in real time. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a LIN control circuit and a control method with adjustable slope, so as to realize the slope control of the LIN bus signal.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: A LIN control circuit with adjustable slope comprises a slope control circuit, a pull-up circuit and a load, wherein the output end of the slope control circuit is connected to the output end of the pull-up circuit and the input end of the load, the slope control circuit comprises a storage medium, a slope generating module, a delay module, a high-voltage operational amplifier, an NMOS tube N1, an NMOS tube N2 and a diode D1, the first output end of the storage medium generates a slope control signal ctrl1 and is connected to the first input end of the slope generating module, the second output end of the storage medium generates a slope control signal ctrl2 and is connected to the second input end of the slope generating module, the third input end of the slope generating module is connected to a LIN bus state control signal TX, and the slope The first output end of the slope generating module generates a ramp signal SLOPE and is connected to the inverting input end of the high-voltage operational amplifier. The second output end of the slope generating module generates a delay signal TXN and is connected to the input end of the delay module. The output end of the delay module is connected to the gate of the NMOS tube N1. The drain of the NMOS tube N1 is connected to the cathode of the diode D1. The anode of the diode D1 is connected to the non-inverting input end of the high-voltage operational amplifier and is connected to the LIN bus signal LININ as the output end of the slope control circuit. The source of the NMOS tube N1 is connected to the drain of the NMOS tube N2. The source of the NMOS tube N2 is grounded. The gate of the NMOS tube N2 is connected to the output end of the high-voltage operational amplifier.

[0006] Furthermore, the slope generating module comprises an adjustable current source I1, an adjustable current source I2, a PMOS tube P2, an NMOS tube N5, an NMOS tube N3, a Miller capacitor C1 and a resistor R3, the control end of the adjustable current source I1 serves as a first input end of the slope generating module and is connected to a slope control signal ctrl1, the control end of the adjustable current source I2 serves as a second input end of the slope generating module and is connected to a slope control signal ctrl2, one end of the adjustable current source I1 is connected to a power supply VDD, the other end of the adjustable current source I1 is connected to a source of the PMOS tube P2, the gate of the PMOS tube P2 is connected to a gate of the NMOS tube N5 and serves as a slope generating module. The third input terminal of the ramp generating module inputs the LIN bus state control signal TX, the source of the NMOS tube N5 is connected to one end of the adjustable current source I2, the other end of the adjustable current source I2 is grounded, the drain of the PMOS tube P2 is connected to the drain of the NMOS tube N5, one end of the Miller capacitor C1 and the gate of the NMOS tube N3 and serves as the second output terminal of the ramp generating module to output the delay signal TXN, the other end of the Miller capacitor C1 is connected to one end of the resistor R3 and the drain of the NMOS tube N3 and serves as the first output terminal of the ramp generating module to output the ramp signal SLOPE, the other end of the resistor R3 is connected to the power supply VBAT, and the source of the NMOS tube N3 is grounded.

[0007] Furthermore, the adjustable current mirror I1 is a P-tube current mirror, and the magnitude of the current I1 of the adjustable current mirror I1 is linearly related to the ramp control signal ctrl1; the adjustable current mirror I2 is an N-tube current mirror, and the magnitude of the current I2 of the adjustable current mirror I2 is linearly related to the ramp control signal ctrl2.

[0008] Furthermore, the delay module includes a PMOS tube P1, an NMOS tube N4 and an inverter INV1, the gate of the PMOS tube P1 is connected to the gate of the NMOS tube N4 and serves as the input end of the delay module, the drain of the PMOS tube P1 is connected to the drain of the NMOS tube N4 and the input end of the inverter INV1, the source of the PMOS tube P1 is connected to the power supply VDD, the source of the NMOS tube N4 is grounded, and the output end of the inverter INV1 outputs a pulse signal TXD.

[0009] Furthermore, the storage medium stores a coding value, and the ramp control signal ctrl1 and the ramp control signal ctrl2 are changed by changing the coding value.

[0010] Furthermore, the pull-up circuit includes a resistor R1 and a diode D2, one end of the resistor R1 is connected to the power supply VBAT, the other end of the resistor R1 is connected to the anode of the diode D2, and the cathode of the diode D2 serves as the output end of the pull-up circuit.

[0011] Furthermore, the load includes a load resistor RBUS and a load capacitor CBUS, one end of the load resistor RBUS is connected to the power supply VBAT, the other end of the load resistor RBUS is connected to one end of the load capacitor CBUS and serves as an input end of the load, and the other end of the load capacitor CBUS is grounded.

[0012] Furthermore, the high-voltage operational amplifier, the NMOS transistor N1, the NMOS transistor N2 and the diode D1 form a negative feedback loop with driving capability.

[0013] A control method for a LIN control circuit with adjustable slope comprises the following steps: When the LIN bus status control signal TX changes from high level to low level, the PMOS tube P2 is turned on, and the adjustable current source I1 charges the Miller capacitor C1 through the PMOS tube P2; During the time t0-t1, the adjustable current source I1 charges the gate of the NMOS tube N3 through the PMOS tube P2, and the voltage of the delay signal TXN gradually rises. When the delay signal TXN rises to the threshold voltage of the NMOS tube N4, the NMOS tube N4 starts to pull down to make the drain of the NMOS tube low level, and after passing through the inverter INV1, the pulse signal TXD is pulled up to the power supply VDD, the high-voltage NMOS tube N1 is turned on, and the negative feedback loop drive circuit starts to work; During the time period t1-t2, the delay signal TXN continues to rise. When the delay signal TXN rises to the threshold voltage of the NMOS tube N3, the NMOS tube N3 is turned on and continues to rise to the Miller platform voltage. During the time t2-t3, due to the existence of Miller capacitor C1, the gate-source voltage of NMOS tube N3 remains unchanged, that is, the delay signal TXN remains unchanged, and the drain voltage of NMOS tube N3 begins to decrease, that is, the voltage of ramp signal SLOPE begins to decrease, and the voltage decrease slope of ramp signal SLOPE is determined by I1 / C1; The voltage of the LIN bus signal LININ follows the voltage change of the ramp signal SLOPE through a negative feedback loop, and the voltage slope of the LIN bus signal LININ is equal to the voltage slope of the ramp signal SLOPE; During the time t3-t4, the delay signal TXN continues to rise to VDD; When the LIN bus state control signal TX changes from low level to high level, the NMOS tube N5 is turned on, and the adjustable current source I2 discharges the Miller capacitor C1 through the NMOS tube N5; During the time period t5-t6, the delay signal TXN drops from the power supply VDD to the Miller platform voltage; During the time period t6-t7, the delay signal TXN remains unchanged, and the voltage of the ramp signal SLOPE gradually increases. The voltage of the ramp signal SLOPE and the voltage rising slope of the LIN bus signal LININ are determined by I2 / C1. When TX=1, the LIN bus signal LININ is high level, which is a recessive state; when TX=0, the LIN bus signal LININ is low level, which is a dominant state; The slope formula of the ramp signal SLOPE and the LIN bus signal LININ, rising slope:

[0014] Downward slope: .

[0015] Compared with the prior art, the present invention has the following advantages and effects: the present invention provides a LIN control circuit and a control method with adjustable slope, which realizes the slope control of the LIN bus signal at the hardware level, thereby achieving the purpose of reducing EMI, improving signal quality and system stability; by using programmable slope control to adapt to the slope requirements under different working conditions, the application flexibility is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of a LIN control circuit with adjustable slope according to the present invention.

[0017] Figure 2 It is a circuit diagram of the ramp generation module and the delay module of the present invention.

[0018] Figure 3 The present invention is a schematic diagram of a voltage waveform of a LIN control circuit with adjustable slope.

[0019] Figure 4 The invention discloses a flow chart of a LIN control method with adjustable slope. DETAILED DESCRIPTION

[0020] In order to elaborate on the technical scheme adopted by the present invention to achieve the predetermined technical purpose, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only partial embodiments of the present invention, rather than all embodiments, and the technical means or technical features in the embodiments of the present invention can be replaced without paying creative work. The present invention will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0021] like Figure 1 As shown, a LIN control circuit with adjustable slope of the present invention comprises a slope control circuit, a pull-up circuit and a load, wherein the output end of the slope control circuit is connected to the output end of the pull-up circuit and the input end of the load, the slope control circuit comprises a storage medium, a slope generating module, a delay module, a high-voltage operational amplifier, an NMOS tube N1, an NMOS tube N2 and a diode D1, the first output end of the storage medium generates a slope control signal ctrl1 and is connected to the first input end of the slope generating module, the second output end of the storage medium generates a slope control signal ctrl2 and is connected to the second input end of the slope generating module, and the third input end of the slope generating module is connected to the LIN bus state control signal T X, the first output end of the slope generating module generates a slope signal SLOPE and is connected to the reverse input end of the high-voltage operational amplifier, the second output end of the slope generating module generates a delay signal TXN and is connected to the input end of the delay module, the output end of the delay module is connected to the gate of the NMOS tube N1, the drain of the NMOS tube N1 is connected to the cathode of the diode D1, the anode of the diode D1 is connected to the non-inverting input end of the high-voltage operational amplifier and is connected to the LIN bus signal LININ as the output end of the slope control circuit, the source of the NMOS tube N1 is connected to the drain of the NMOS tube N2, the source of the NMOS tube N2 is grounded, and the gate of the NMOS tube N2 is connected to the output end of the high-voltage operational amplifier.

[0022] like Figure 2As shown, the slope generating module includes an adjustable current source I1, an adjustable current source I2, a PMOS tube P2, an NMOS tube N5, an NMOS tube N3, a Miller capacitor C1 and a resistor R3, the control end of the adjustable current source I1 serves as the first input end of the slope generating module and is connected to the slope control signal ctrl1, the control end of the adjustable current source I2 serves as the second input end of the slope generating module and is connected to the slope control signal ctrl2, one end of the adjustable current source I1 is connected to the power supply VDD, the other end of the adjustable current source I1 is connected to the source of the PMOS tube P2, the gate of the PMOS tube P2 is connected to the gate of the NMOS tube N5 and serves as the slope generating module. The third input terminal of the block inputs the LIN bus state control signal TX, the source of the NMOS tube N5 is connected to one end of the adjustable current source I2, the other end of the adjustable current source I2 is grounded, the drain of the PMOS tube P2 is connected to the drain of the NMOS tube N5, one end of the Miller capacitor C1 and the gate of the NMOS tube N3 and serves as the second output terminal of the slope generating module to output the delay signal TXN, the other end of the Miller capacitor C1 is connected to one end of the resistor R3 and the drain of the NMOS tube N3 and serves as the first output terminal of the slope generating module to output the ramp signal SLOPE, the other end of the resistor R3 is connected to the power supply VBAT, and the source of the NMOS tube N3 is grounded.

[0023] Among them, Miller capacitor C1 is connected across the gate terminal and drain terminal of NMOS tube N3, and is used as Miller capacitor. Resistor R3 provides pull-up and current path, and can also be replaced by current mirror.

[0024] The adjustable current mirror I1 is a P-tube current mirror, and the magnitude of the current I1 of the adjustable current mirror I1 is linearly related to the ramp control signal ctrl1; the adjustable current mirror I2 is an N-tube current mirror, and the magnitude of the current I2 of the adjustable current mirror I2 is linearly related to the ramp control signal ctrl2.

[0025] The delay module includes a PMOS tube P1, an NMOS tube N4 and an inverter INV1. The gate of the PMOS tube P1 is connected to the gate of the NMOS tube N4 and serves as the input of the delay module. The drain of the PMOS tube P1 is connected to the drain of the NMOS tube N4 and the input of the inverter INV1. The source of the PMOS tube P1 is connected to the power supply VDD, the source of the NMOS tube N4 is grounded, and the output of the inverter INV1 outputs a pulse signal TXD. The PMOS tube P1, the NMOS tube N4 and the inverter INV1 form a delay circuit to shape the delay signal TXN into a pulse signal TXD. The width-to-length ratio of the PMOS tube P1 is much smaller than that of the NNMOS tube N4.

[0026] The storage medium stores a coding value, and the ramp control signal ctrl1 and the ramp control signal ctrl2 are changed by changing the coding value.

[0027] The pull-up circuit includes a resistor R1 and a diode D2. One end of the resistor R1 is connected to the power supply VBAT, the other end of the resistor R1 is connected to the anode of the diode D2, and the cathode of the diode D2 serves as the output end of the pull-up circuit.

[0028] The load includes a load resistor RBUS and a load capacitor CBUS. One end of the load resistor RBUS is connected to a power supply VBAT. The other end of the load resistor RBUS is connected to one end of the load capacitor CBUS and serves as an input end of the load. The other end of the load capacitor CBUS is grounded.

[0029] The high-voltage operational amplifier, NMOS tube N1, NMOS tube N2 and diode D1 form a negative feedback loop with driving capability. NMOS tube N1 is a high-voltage NMOS tube, used as a switch tube, and keeps TXD high during slope modulation to keep it turned on and enable the slope modulation loop. According to the virtual short and virtual open characteristics of the operational amplifier, the slope of the LIN bus is consistent with the slope of the ramp signal.

[0030] Through the above design ideas, a slope control circuit based on LIN bus signals can be realized, which can not only effectively reduce the EMI problem caused by rapid voltage changes, but also improve the overall control accuracy and reliability of the system.

[0031] like Figure 4 As shown in the figure, its working principle is: the required LIN bus rising and falling slopes are determined according to the EMC standard and the current working conditions. Then, the transceiver receives the TX signal and generates a ramp control signal; the ramp signal is reflected to the LIN bus through a negative feedback loop, thereby controlling the LIN bus slope, and the LIN bus slope is consistent with the ramp signal slope. Use an oscilloscope to measure the LIN bus signal time slope to see if it meets the EMC standard and the LIN protocol standard. If it does, it means that the currently stored programming signals ctrl0 and ctrl1 meet the requirements and solidify the programming information. It can be solidified by software or hardware. If it does not meet the requirements, change the storage medium, modify the control signals ctr1 and ctrl2, and adjust the capacitor charging and discharging currents I1 and I2 to change the slope of the ramp signal, thereby changing the slope of the LIN bus. Measure again until the standard requirements are met.

[0032] The present invention can dynamically adjust the slope control parameters and adjust the bus slope through a feedback mechanism to adapt to different working environments and further optimize EMI performance and system stability.

[0033] A control method for a LIN control circuit with adjustable slope comprises the following steps: When the LIN bus state control signal TX changes from a high level to a low level, the PMOS tube P2 is turned on, and the adjustable current source I1 charges the Miller capacitor C1 through the PMOS tube P2.

[0034] During the time t0-t1, the adjustable current source I1 charges the gate terminal of the NMOS tube N3 through the PMOS tube P2, and the voltage of the delay signal TXN gradually rises. When the delay signal TXN rises to the threshold voltage of the NMOS tube N4, the NMOS tube N4 starts to pull down to make the drain of the NMOS tube a low level, and after passing through the inverter INV1, the pulse signal TXD is pulled up to the power supply VDD, the high-voltage NMOS tube N1 is turned on, and the negative feedback loop drive circuit starts to work.

[0035] During the time period t1-t2, the delay signal TXN continues to rise. When the delay signal TXN rises to the threshold voltage of the NMOS tube N3, the NMOS tube N3 is turned on and continues to rise to the Miller platform voltage.

[0036] During the time period t2-t3, due to the existence of Miller capacitor C1, the gate-source voltage of NMOS tube N3 remains unchanged, that is, the delay signal TXN remains unchanged, and the drain voltage of NMOS tube N3 begins to decrease, that is, the voltage of ramp signal SLOPE begins to decrease, and the voltage decrease slope of ramp signal SLOPE is determined by I1 / C1.

[0037] The voltage of the LIN bus signal LININ follows the voltage change of the ramp signal SLOPE through a negative feedback loop, and the voltage slope of the LIN bus signal LININ is equal to the voltage slope of the ramp signal SLOPE.

[0038] During the time period t3-t4, the delay signal TXN continues to rise to VDD.

[0039] The time t4-t5 is the normal and stable operation time of the circuit.

[0040] When the LIN bus state control signal TX changes from a low level to a high level, the NMOS tube N5 is turned on, and the adjustable current source I2 discharges the Miller capacitor C1 through the NMOS tube N5.

[0041] During the time period t5-t6, the delay signal TXN drops from the power supply VDD to the Miller platform voltage.

[0042] During the time period t6-t7, the delay signal TXN remains unchanged, and the voltage of the ramp signal SLOPE gradually increases. The voltage of the ramp signal SLOPE and the voltage rising slope of the LIN bus signal LININ are determined by I2 / C1.

[0043] When TX=1, the LIN bus signal LININ is high, which is a recessive state; when TX=0, the LIN bus signal LININ is low, which is a dominant state.

[0044] The slope formula of the ramp signal SLOPE and the LIN bus signal LININ, rising slope:

[0045] Downward slope: .

[0046] The slope control process of the present invention is further explained below by using specific examples.

[0047] Determine the required LIN bus rise and fall slopes based on EMC standards and current operating conditions.

[0048] SR_rise=0.5V / us, SR_fall=0.5V / us; default values ​​Ctr1=N1=10, I0=0.1uA, I1=N1*I0=1uA; Ctr2=N2=10, I0=0.1uA, I2=N2*I0=1uA; C1=1pF.

[0049] The transceiver receives the TX signal and generates a ramp control signal, which is then reflected on the LIN bus.

[0050] Use an oscilloscope to measure the slope of the LIN bus signal to see if it meets the EMC standard and the LIN protocol standard; measure SR_rise=1V / us, SR_fall=1V / us, which does not meet the requirements.

[0051] To change the storage medium, modify Ctrl1=5, Ctr2=5.

[0052] The transceiver receives the TX signal and generates a ramp control signal, which is then reflected on the LIN bus.

[0053] Use an oscilloscope to measure the slope of the LIN bus signal, and measure SR_rise=0.5V / us, SR_fall=0.5V / us, which meets the requirements.

[0054] Solidify the storage medium through hardware to fix Ctrl1=5, Ctr2=5; or store Ctrl1=5, Ctr2=5 through software calling.

[0055] The present invention starts with the analysis of the requirements for compliance with EMC standards, and goes through the process of signal reception, generation of ramp control signals, and adjusting the current by changing the programming value to control the bus slope. Finally, it verifies whether the bus signal slope meets the standard, and accordingly makes corresponding test results to update the storage medium. The bus slope can be flexibly adjusted according to different working conditions, and has stronger adaptability.

[0056] The above is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent replacement and improvement made to the above embodiments without departing from the content of the technical solution of the present invention, based on the technical essence of the present invention, within the spirit and principles of the present invention, still fall within the protection scope of the technical solution of the present invention.

Claims

1. A LIN control circuit with adjustable slope, characterized in that: The invention comprises a slope control circuit, a pull-up circuit and a load, wherein the output end of the slope control circuit is connected to the output end of the pull-up circuit and the input end of the load, the slope control circuit comprises a storage medium, a slope generating module, a delay module, a high-voltage operational amplifier, an NMOS tube N1, an NMOS tube N2 and a diode D1, the first output end of the storage medium generates a slope control signal ctrl1 and is connected to the first input end of the slope generating module, the second output end of the storage medium generates a slope control signal ctrl2 and is connected to the second input end of the slope generating module, the third input end of the slope generating module is connected to the LIN bus state control signal TX, the first output end of the slope generating module is connected to the LIN bus state control signal TX, and the second output end of the slope generating module is connected to the LIN bus state control signal TX. The output end generates a ramp signal SLOPE and is connected to the inverting input end of the high-voltage operational amplifier. The second output end of the ramp generating module generates a delay signal TXN and is connected to the input end of the delay module. The output end of the delay module is connected to the gate of the NMOS tube N1. The drain of the NMOS tube N1 is connected to the cathode of the diode D1. The anode of the diode D1 is connected to the non-inverting input end of the high-voltage operational amplifier and is connected to the LIN bus signal LININ as the output end of the slope control circuit. The source of the NMOS tube N1 is connected to the drain of the NMOS tube N2. The source of the NMOS tube N2 is grounded. The gate of the NMOS tube N2 is connected to the output end of the high-voltage operational amplifier.

2. The LIN control circuit with adjustable slope according to claim 1, characterized in that: The slope generating module comprises an adjustable current source I1, an adjustable current source I2, a PMOS tube P2, an NMOS tube N5, an NMOS tube N3, a Miller capacitor C1 and a resistor R3, the control end of the adjustable current source I1 serves as a first input end of the slope generating module and is connected to a slope control signal ctrl1, the control end of the adjustable current source I2 serves as a second input end of the slope generating module and is connected to a slope control signal ctrl2, one end of the adjustable current source I1 is connected to a power supply VDD, the other end of the adjustable current source I1 is connected to a source of the PMOS tube P2, the gate of the PMOS tube P2 is connected to a gate of the NMOS tube N5 and serves as the slope generating module. The third input terminal of the block inputs the LIN bus state control signal TX, the source of the NMOS tube N5 is connected to one end of the adjustable current source I2, the other end of the adjustable current source I2 is grounded, the drain of the PMOS tube P2 is connected to the drain of the NMOS tube N5, one end of the Miller capacitor C1 and the gate of the NMOS tube N3 and serves as the second output terminal of the slope generating module to output the delay signal TXN, the other end of the Miller capacitor C1 is connected to one end of the resistor R3 and the drain of the NMOS tube N3 and serves as the first output terminal of the slope generating module to output the ramp signal SLOPE, the other end of the resistor R3 is connected to the power supply VBAT, and the source of the NMOS tube N3 is grounded.

3. The LIN control circuit with adjustable slope according to claim 2, characterized in that: The adjustable current mirror I1 is a P-tube current mirror, and the magnitude of the current I1 of the adjustable current mirror I1 is linearly related to the ramp control signal ctrl1; the adjustable current mirror I2 is an N-tube current mirror, and the magnitude of the current I2 of the adjustable current mirror I2 is linearly related to the ramp control signal ctrl2.

4. The LIN control circuit with adjustable slope according to claim 1, characterized in that: The delay module includes a PMOS tube P1, an NMOS tube N4 and an inverter INV1. The gate of the PMOS tube P1 is connected to the gate of the NMOS tube N4 and serves as the input end of the delay module. The drain of the PMOS tube P1 is connected to the drain of the NMOS tube N4 and the input end of the inverter INV1. The source of the PMOS tube P1 is connected to the power supply VDD, the source of the NMOS tube N4 is grounded, and the output end of the inverter INV1 outputs a pulse signal TXD.

5. The LIN control circuit with adjustable slope according to claim 1, characterized in that: The storage medium stores a coding value, and the ramp control signal ctrl1 and the ramp control signal ctrl2 are changed by changing the coding value.

6. The LIN control circuit with adjustable slope according to claim 1, characterized in that: The pull-up circuit includes a resistor R1 and a diode D2. One end of the resistor R1 is connected to a power supply VBAT, the other end of the resistor R1 is connected to an anode of the diode D2, and a cathode of the diode D2 serves as an output end of the pull-up circuit.

7. The LIN control circuit with adjustable slope according to claim 1, characterized in that: The load comprises a load resistor RBUS and a load capacitor CBUS, one end of the load resistor RBUS is connected to a power supply VBAT, the other end of the load resistor RBUS is connected to one end of the load capacitor CBUS and serves as an input end of the load, and the other end of the load capacitor CBUS is grounded.

8. The LIN control circuit with adjustable slope according to claim 1, characterized in that: The high-voltage operational amplifier, the NMOS transistor N1, the NMOS transistor N2 and the diode D1 form a negative feedback loop with driving capability.

9. A control method for a LIN control circuit with adjustable slope according to any one of claims 1 to 8, characterized in that The following steps are involved: When the LIN bus status control signal TX changes from high level to low level, the PMOS tube P2 is turned on, and the adjustable current source I1 charges the Miller capacitor C1 through the PMOS tube P2; During the time t0-t1, the adjustable current source I1 charges the gate of the NMOS tube N3 through the PMOS tube P2, and the voltage of the delay signal TXN gradually rises. When the delay signal TXN rises to the threshold voltage of the NMOS tube N4, the NMOS tube N4 starts to pull down to make the drain of the NMOS tube low level, and after passing through the inverter INV1, the pulse signal TXD is pulled up to the power supply VDD, the high-voltage NMOS tube N1 is turned on, and the negative feedback loop drive circuit starts to work; During the time period t1-t2, the delay signal TXN continues to rise. When the delay signal TXN rises to the threshold voltage of the NMOS tube N3, the NMOS tube N3 is turned on and continues to rise to the Miller platform voltage. During the time t2-t3, due to the existence of Miller capacitor C1, the gate-source voltage of NMOS tube N3 remains unchanged, that is, the delay signal TXN remains unchanged, and the drain voltage of NMOS tube N3 begins to decrease, that is, the voltage of ramp signal SLOPE begins to decrease, and the voltage decrease slope of ramp signal SLOPE is determined by I1 / C1; The voltage of the LIN bus signal LININ follows the voltage change of the ramp signal SLOPE through a negative feedback loop, and the voltage slope of the LIN bus signal LININ is equal to the voltage slope of the ramp signal SLOPE; During the time t3-t4, the delay signal TXN continues to rise to VDD; When the LIN bus state control signal TX changes from low level to high level, the NMOS tube N5 is turned on, and the adjustable current source I2 discharges the Miller capacitor C1 through the NMOS tube N5; During the time period t5-t6, the delay signal TXN drops from the power supply VDD to the Miller platform voltage; During the time period t6-t7, the delay signal TXN remains unchanged, and the voltage of the ramp signal SLOPE gradually increases. The voltage of the ramp signal SLOPE and the voltage rising slope of the LIN bus signal LININ are determined by I2 / C1. When TX=1, the LIN bus signal LININ is high level, which is a recessive state; when TX=0, the LIN bus signal LININ is low level, which is a dominant state; The slope formula of the ramp signal SLOPE and the LIN bus signal LININ, rising slope: ; Downward slope: 。

Citation Information

Patent Citations

  • Bus driver circuit

    CN102177687A

  • Monotonic ramp signal generating device and method based on latch

    CN104716934A

  • Image sensor

    CN115914866A

  • Slope compensation circuit, method for generating oblique wave compensation signal and electronic chip

    CN116015061A

  • Driving circuit and LIN transceiver

    CN118337558A

Cited By

  • BCI optimization circuit in LIN bus, optimization method and transceiver

    CN119402026A

  • Control circuit for LIN signal slope

    CN119781331A

  • Control circuit and method for optimizing electromagnetic interference and work cycle

    CN120074464A

  • Power supply detection circuit and detection method thereof

    CN120405510A

  • Load driver, audio amplifier, chip and electronic device

    WO2026129320A1