Slope control circuit suitable for LIN bus, LIN interface chip and micro-processing chip

Through the combination of the differential module and the difference calculation module, the LIN signal slope is adjusted, which solves the problem of unsatisfactory signals caused by the influence of PVT in ordinary current mirror construction circuits, and achieves more accurate LIN signal output.

CN118535504APending Publication Date: 2024-08-23CHENGDU GEEHY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410508864.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, the LIN signal slope control circuit constructed based on ordinary current mirrors is affected by PVT, resulting in the determined LIN signal being unsatisfactory.

Method used

Using a combination of a differential module, a difference calculation module, a first control module and a second control module, the LIN signal is collected through the differential module, the difference calculation module calculates the slope difference signal, the first control module generates the first control signal, and the second The control module generates a second control signal and adjusts the LIN signal slope to a preset value to ensure signal accuracy.

Benefits of technology

By continuously adjusting the LIN signal slope, a more ideal LIN signal output is achieved, which reduces the impact of PVT and improves the accuracy of the signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535504A
    Figure CN118535504A
Patent Text Reader

Abstract

The embodiment of the invention provides a slope control circuit suitable for an LIN bus, an LIN interface chip and a micro-processing chip, and the slope control circuit comprises a differential module, a difference calculation module, a first control module and a second control module. Specifically, the differential module is used for collecting an LIN signal on an LIN bus and determining a slope corresponding to the LIN signal; the difference calculation module is used for performing difference calculation on the slope corresponding to the LIN signal and a preset slope to obtain a difference signal; the first control module is used for generating a first control signal according to the difference signal; the second control module is used for generating a second control signal according to the first control signal. In the embodiment of the invention, the slope corresponding to the LIN signal is continuously adjusted by utilizing the difference signal between the slope corresponding to the LIN signal and the preset slope, so that a relatively ideal LIN signal can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of analog circuits, and in particular to a slope control circuit, a LIN interface chip and a microprocessor chip suitable for a LIN bus. Background Art

[0002] LIN bus is a simple, low-cost serial communication, which is widely used in our daily life, such as cars, washing machines, refrigerators, and printers. Usually, LIN bus transmits information between devices through LIN signal (trapezoidal wave signal). Therefore, before applying LIN bus to transmit information between devices, it is necessary to obtain an ideal LIN signal.

[0003] In the prior art, a common current mirror is usually used to directly control the slope corresponding to the LIN signal on the LIN bus, thereby obtaining an ideal LIN signal.

[0004] However, the LIN signal slope control circuit based on the common current mirror is greatly affected by PVT. Therefore, in actual use, when the LIN signal slope control circuit based on the common current mirror is used to directly control the slope corresponding to the LIN signal on the LIN bus, due to the influence of PVT, the current determined by the current mirror image is not accurate, and ultimately the determined LIN signal is not ideal.

[0005] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0006] In view of this, the present application provides a slope control circuit, a LIN interface chip and a microprocessor chip suitable for a LIN bus, so as to solve the problem in the prior art that the conventional slope control circuit cannot obtain an ideal LIN signal due to the influence of PVT.

[0007] In a first aspect, an embodiment of the present application provides a slope control circuit applicable to a LIN bus, characterized in that it includes:

[0008] A differential module, the differential module is used to collect the LIN signal on the LIN bus and determine the slope corresponding to the LIN signal;

[0009] A difference calculation module, the difference calculation module is electrically connected to the differential module, and the difference calculation module is used to perform a difference operation on the slope corresponding to the LIN signal and a preset slope to obtain a difference signal;

[0010] a first control module, the first control module being electrically connected to the difference calculation module, and the first control module being configured to generate a first control signal according to the difference signal;

[0011] A second control module, the second control module is electrically connected to the first control module, the second control module is used to generate a second control signal according to the first control signal, and the second control signal is used to adjust the slope corresponding to the LIN signal to the preset slope.

[0012] In the embodiment of the present application, the differential module and the difference calculation module are first used to more accurately determine the difference signal between the slope corresponding to the LIN signal and the preset slope, and then the corresponding first control signal is determined according to the difference signal, and finally the slope corresponding to the LIN signal is adjusted to the preset slope according to the first control signal. It can be understood that in the above process, since the slope corresponding to the LIN signal is continuously adjusted by using the difference signal between the slope corresponding to the LIN signal and the preset slope, a more ideal LIN signal can be obtained.

[0013] In a possible implementation, the differentiation module includes:

[0014] A differential circuit, wherein the input end of the differential circuit is used to be electrically connected to the LIN bus, the differential circuit is used to collect a LIN signal on the LIN bus, and output an original slope corresponding to the LIN signal at the output end of the differential circuit;

[0015] An inverting circuit, wherein the input end of the inverting circuit is electrically connected to the output end of the differentiating circuit, the inverting circuit is used to receive the original slope corresponding to the LIN signal, and output the slope corresponding to the LIN signal at the output end of the inverting circuit, wherein the slope corresponding to the LIN signal is the absolute value of the original slope corresponding to the LIN signal.

[0016] In an embodiment of the present application, the absolute value of the original slope corresponding to the LIN signal can be taken with the help of a reverse circuit, so that the slope corresponding to the finally determined LIN signal is a positive number, so that the subsequent circuit can perform related difference operations, thereby making the determined difference signal more accurate, and finally obtaining an ideal LIN signal.

[0017] In a possible implementation, the differentiating circuit includes:

[0018] A first capacitor, wherein a first end of the first capacitor is used to connect to the LIN bus, and the first end of the first capacitor is an input end of the differential circuit;

[0019] a first amplifier, wherein an inverting input terminal of the first amplifier is electrically connected to the second end of the second capacitor, a non-inverting input terminal of the first amplifier is grounded, an output terminal of the first amplifier is electrically connected to an input terminal of the reverse circuit, and an output terminal of the first amplifier is an output terminal of the differential circuit;

[0020] A first resistor, wherein a first end of the first resistor is electrically connected to the inverting input end of the first amplifier, and a second end of the first resistor is electrically connected to the output end of the first amplifier.

[0021] In a possible implementation, the reverse circuit includes:

[0022] a second resistor, wherein a first end of the second resistor is electrically connected to an output end of the differential circuit, and a first end of the second resistor is an input end of the reverse circuit;

[0023] a second amplifier, wherein an inverting input terminal of the second amplifier is electrically connected to the second end of the second resistor, a non-inverting input terminal of the second amplifier is grounded, an output terminal of the second amplifier is electrically connected to an input terminal of the difference calculation module, and an output terminal of the second amplifier is an output terminal of the reverse circuit;

[0024] a third resistor, wherein a first end of the third resistor is electrically connected to the inverting input end of the second amplifier, and a second end of the third resistor is electrically connected to the output end of the second amplifier;

[0025] A conduction switch, wherein a first end of the conduction switch is electrically connected to a first end of the second resistor, and a second end of the conduction switch is electrically connected to an output end of the second amplifier.

[0026] In a possible implementation, the difference calculation module includes:

[0027] A preset slope output circuit, the preset slope output circuit is used to output the preset slope;

[0028] A difference calculation circuit, wherein a first input end of the difference calculation circuit is electrically connected to an output end of the preset slope output circuit, a second input end of the difference calculation circuit is electrically connected to an output end of the differential module, and the difference calculation circuit is used to perform a difference operation on a slope corresponding to the LIN signal and a preset slope, and output a difference signal at an output end of the difference calculation circuit.

[0029] In the embodiment of the present application, the difference calculation module includes a preset slope output circuit and a difference calculation circuit. In actual use, the difference calculation circuit performs a difference operation according to the slope corresponding to the acquired LIN signal and the preset slope output in the preset slope output circuit, thereby obtaining a more accurate difference signal, thereby making the slope of the LIN signal finally determined more accurate.

[0030] In a possible implementation, the difference calculation circuit includes:

[0031] a third amplifier, wherein the inverting input terminal of the third amplifier is electrically connected to the output terminal of the differential module, the non-inverting input terminal of the third amplifier is electrically connected to the preset slope output circuit, the output terminal of the third amplifier is electrically connected to the input terminal of the first control module, the inverting input terminal of the third amplifier is the second input terminal of the difference calculation circuit, the non-inverting input terminal of the third amplifier is the first input terminal of the difference calculation circuit, and the output terminal of the third amplifier is the output terminal of the difference calculation circuit;

[0032] A second capacitor, wherein a first end of the second capacitor is grounded, and a second end of the second capacitor is electrically connected to an output end of the differential module.

[0033] In a possible implementation, the first control module includes:

[0034] a first transistor, wherein the gate of the first transistor is electrically connected to the output end of the difference calculation module, the source of the first transistor is electrically connected to the voltage source, the drain of the first transistor is electrically connected to the input end of the second control module, the gate of the first transistor is the input end of the first control module, and the drain of the first transistor is the output end of the first control module;

[0035] a third capacitor, a first end of the third capacitor being grounded, and a second end of the third capacitor being electrically connected to the drain of the first transistor;

[0036] A constant current source circuit, wherein a first end of the constant current source circuit is electrically connected to the drain of the first transistor, a second end of the constant current source circuit is grounded, and the constant current source circuit is used to provide a constant current between the drain and the ground.

[0037] In the embodiment of the present application, the first control module includes a first transistor, a second capacitor and a constant current source circuit. The constant current source circuit is used to copy the current on the constant current source to the gate of the first transistor. When the gate voltage of the first transistor changes, the drain current of the first transistor changes, thereby causing the third capacitor to be charged and discharged accordingly, causing the voltage across the third capacitor to change, and finally realizing the conversion between the difference signal and the first control signal.

[0038] In a possible implementation, the constant current source circuit includes:

[0039] Current source;

[0040] a second transistor, wherein a gate of the second transistor is electrically connected to a drain of the second transistor, the drain of the second transistor is electrically connected to an output terminal of the current source, and a source of the second transistor is grounded;

[0041] A third transistor, wherein a gate of the third transistor is electrically connected to the gate of the second transistor, a source of the third transistor is grounded, and a drain of the third transistor is electrically connected to the drain of the first transistor.

[0042] In a possible implementation, the second control module includes:

[0043] A source follower circuit, wherein an input end of the source follower circuit is electrically connected to an output end of the first control module, and the source follower circuit is used to receive the first control signal and output a buffer control signal at an output end of the source follower circuit;

[0044] A second control circuit, wherein an input end of the second control circuit is electrically connected to an output end of the source follower circuit, and the second control circuit is used to receive the buffer control signal and output a second control signal at an output end of the second control circuit.

[0045] In the embodiment of the present application, the second control module includes a source follower circuit and a second control circuit. Since the input resistance of the source follower circuit is high and the output resistance is low, by adding a source follower circuit between the second control circuit and the first control module, a safe and reliable gate voltage can be provided for the third transistor, effectively preventing the first control signal from being distorted.

[0046] In a possible implementation, the source follower circuit includes:

[0047] a fourth transistor, wherein the gate of the fourth transistor is electrically connected to the output terminal of the first control module, the drain of the fourth transistor is electrically connected to the voltage source, the source of the fourth transistor is electrically connected to the input terminal of the second control circuit, the gate of the fourth transistor is the input terminal of the source follower circuit, and the drain of the fourth transistor is the output terminal of the source follower circuit;

[0048] A fourth resistor, wherein a first end of the fourth resistor is electrically connected to the source of the fourth transistor, and a second end of the fourth resistor is grounded.

[0049] In a possible implementation manner, the second control circuit includes:

[0050] A fifth transistor, wherein the gate of the fifth transistor is electrically connected to the output end of the source follower circuit, the source of the fifth transistor is grounded, the drain of the fifth transistor is used to be electrically connected to the LIN bus, the gate of the fifth transistor is the input end of the second control circuit, and the drain of the fifth transistor is the output end of the second control circuit.

[0051] In a second aspect, an embodiment of the present application provides a LIN interface chip, including:

[0052] A slope control circuit for a LIN bus according to any one of the first aspects.

[0053] In a third aspect, an embodiment of the present application provides a microprocessor chip, including:

[0054] A slope control circuit for a LIN bus according to any one of the first aspects.

[0055] It can be understood that the LIN interface chip provided in the second aspect includes the slope control circuit for executing the LIN bus provided in the present application, and the microprocessor chip provided in the third aspect includes the LIN interface chip provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the slope control circuit of the LIN bus in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0057] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application.

[0058] Figure 2A A schematic diagram of a trapezoidal wave provided in an embodiment of the present application.

[0059] Figure 2B A schematic diagram of a trapezoidal wave provided for related technology.

[0060] Figure 3 A slope control circuit suitable for a LIN bus is provided in an embodiment of the present application.

[0061] Figure 4A A schematic diagram of the structure of a differential module provided in an embodiment of the present application.

[0062] Figure 4BA schematic diagram of the structure of a differential circuit provided in an embodiment of the present application.

[0063] Figure 4C A schematic diagram of the structure of a reverse circuit provided in an embodiment of the present application.

[0064] Figure 5A A schematic diagram of the structure of a difference calculation module provided in an embodiment of the present application.

[0065] Figure 5B A schematic diagram of the structure of a difference calculation circuit provided in an embodiment of the present application.

[0066] Fig. 6A A schematic diagram of the structure of a first control module provided in an embodiment of the present application.

[0067] Figure 6B A schematic diagram of the structure of a constant current source circuit provided in an embodiment of the present application.

[0068] Fig. 7A A schematic diagram of the structure of a second control module provided in an embodiment of the present application.

[0069] Figure 7B A schematic diagram of the structure of a source follower circuit provided in an embodiment of the present application.

[0070] Figure 7C A schematic diagram of the structure of a second control circuit provided in an embodiment of the present application.

[0071] Figure 8 Another slope control circuit suitable for a LIN bus is provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0073] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0074] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0075] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0076] To facilitate understanding, a specific application scenario is first exemplified below.

[0077] See also Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 As shown, the application scenario includes: a printer 100. The printer 100 includes: a LIN main control unit 101, a paper feed motor 102, an indicator light 103, a heating roller 104 and a LIN bus 105. Among them, the LIN main control unit 101, the paper feed motor 102, the indicator light 103 and the heating roller 104 are all connected to the LIN bus 105. It can be understood that the LIN main control unit 101, the paper feed motor 102, the indicator light 103 and the heating roller 104 can transmit information between each other through the LIN bus 105 based on the LIN communication protocol.

[0078] Specifically, when information is transmitted between devices based on the LIN communication protocol, the LIN signal transmitted on the LIN bus is usually a trapezoidal wave. It can be understood that when different information needs to be transmitted, different trapezoidal wave signals are output accordingly. For ease of understanding, see Figure 2A , is a schematic diagram of a trapezoidal wave provided in an embodiment of the present application. Figure 2A As shown, the figure shows a trapezoidal wave 201. At the same time, the figure also shows two dotted lines, which represent 60% and 40% of the rectangular wave voltage value from top to bottom respectively. Among them, the upper dotted line and the trapezoidal wave 201 constitute a recessive area 202, and the time period t1 corresponding to the recessive area 202 is used to represent the first level information, such as 1, etc.; the lower dotted line and the trapezoidal wave 201 constitute an explicit area 203, and the time period t2 corresponding to the linear area 203 is used to represent the second level information, such as 0, etc. Of course, the two dotted lines in the figure can also represent 80% and 20% of the rectangular wave voltage value from top to bottom, etc., and this application does not make specific restrictions on this.

[0079] in addition, Figure 1 The printer 100 shown in the figure is only an exemplary description, and the application scenarios of the LIN bus may also include vehicles, etc., and this application does not make specific restrictions on this. Figure 1 The LIN bus slaves shown in the figure: the paper feeding motor 102, the indicator light 103 and the heating roller 104 are only an exemplary description, and the present application does not impose any specific limitation on this.

[0080] Since the LIN bus transmits information between devices through the LIN signal (trapezoidal wave signal), an ideal LIN signal needs to be obtained before the LIN bus is used to transmit information between devices. In the related art, a LIN signal slope control circuit constructed by an ordinary current mirror is usually used to directly control the slope corresponding to the LIN signal on the LIN bus, thereby obtaining a LIN signal.

[0081] However, the LIN signal slope control circuit based on the common current mirror is greatly affected by PVT. Therefore, in actual use, when the LIN signal slope control circuit based on the common current mirror is used to directly control the slope corresponding to the LIN signal on the LIN bus, due to the influence of PVT, the current determined by the current mirror image is not accurate, which makes the final LIN signal not ideal.

[0082] For easier understanding, see Figure 2B , which is a schematic diagram of a trapezoidal wave provided by the related technology. Figure 2B As shown, the figure shows a trapezoidal wave 204. As shown in the figure, due to the influence of PVT, the current determined by the current mirror is not accurate, which makes the slope corresponding to the trapezoidal wave slope constantly change, and finally makes the determined LIN signal unsatisfactory. Figure 2B As shown, when the finally determined LIN signal is not ideal, the time period t3 corresponding to the recessive region 205 and the time period t4 corresponding to the dominant region 206 are determined to be different, which may make the information transmission based on the LIN bus impossible.

[0083] In view of the above problems, in the embodiment of the present application, the differential module and the difference calculation module are first used to more accurately determine the difference signal between the slope corresponding to the LIN signal and the preset slope, and then the corresponding first control signal is determined according to the difference signal, and finally the slope corresponding to the LIN signal is adjusted to the preset slope according to the first control signal. It can be understood that in the above process, since the slope corresponding to the LIN signal is continuously adjusted by using the difference signal between the slope corresponding to the LIN signal and the preset slope, a more ideal LIN signal can be obtained. Specifically, it is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0084] See also Figure 3 , is a slope control circuit applicable to a LIN bus provided in an embodiment of the present application. The slope control circuit can be applied to Figure 1 In the application scenario shown, Figure 3As shown in the figure, a LIN bus 301 and a slope control circuit 302 are shown. The slope control circuit 302 includes: a differential module 3021, a difference calculation module 3022, a first control module 3023 and a second control module 3024. Figure 3 As shown, the connection relationship between the modules is: the differential module 3021 is electrically connected to the LIN bus 301 and the difference calculation module 3022 respectively; the difference calculation module 3022 is electrically connected to the first control module 3023; the first control module 3023 is electrically connected to the second control module 3024; the second control module 3024 is electrically connected to the LIN bus 301.

[0085] It should be pointed out that in order to more clearly show the connection relationship and related functions of the slope control circuit applicable to the LIN bus, Figure 3 LIN bus 301 is also shown in FIG. It can be understood that Figure 3 The LIN bus shown in the figure should not be used as a specific limitation of this application. Those skilled in the art can also apply the slope control circuit to other signal transmission devices according to actual needs, and this application does not make specific limitations on this.

[0086] For ease of understanding, the following will Figure 3 The differential module 3021, the difference calculation module 3022, the first control module 3023 and the second control module 3024 shown in the figure are explained one by one.

[0087] In the embodiments of the present application, Figure 3 The differential module shown in is used to collect the LIN signal on the LIN bus and determine the slope corresponding to the LIN signal. Specifically, the differential module collects the LIN signal on the LIN bus, and performs differential operation on the collected LIN signal to determine the slope corresponding to the rising edge and the falling edge of the LIN signal.

[0088] In practical applications, since the LIN signal has both a rising edge and a falling edge, the slope corresponding to the obtained LIN signal is both positive and negative. However, when the slope corresponding to the LIN signal and the preset slope are used for difference calculation, the slope corresponding to the LIN signal needs to be positive. To solve this problem, a reverse circuit can be connected after the differential circuit. When the gain of the reverse circuit is set to 1, the circuit can achieve signal inversion. Specifically, a detailed description is given below in conjunction with the accompanying drawings and specific implementations.

[0089] See also Figure 4A, is a schematic diagram of the structure of a differential module provided in an embodiment of the present application. As shown in the figure, a differential module 3021 is shown in the figure, wherein the differential module 3021 specifically includes: a differential circuit 401 and a reverse circuit 402. As shown in the figure, the input end of the differential circuit 401 is used for electrical connection with the LIN bus; the input end of the reverse circuit 402 is electrically connected to the output end of the differential circuit 401; the output end of the reverse circuit 402 is electrically connected to the input end of the difference calculation module. It can be understood that the input end of the differential circuit is the input end of the differential module, and the output end of the reverse circuit is the output end of the differential module.

[0090] It should be pointed out that in order to prevent the circuit connection relationship from being too complicated, some circuits, such as the LIN bus and the difference calculation module, are not shown in the figure.

[0091] In a possible implementation, the input end of the differential circuit is used to collect the LIN signal on the LIN bus, and the negative value of the slope corresponding to the LIN signal, that is, the original slope, is output at the output end of the differential circuit; the reverse circuit is used to receive the original slope corresponding to the LIN signal, and output the absolute value corresponding to the original slope at the output end of the reverse circuit, that is, the slope corresponding to the LIN signal. Specifically, when the original slope output by the differential circuit is a negative number, the original slope is input to the reverse circuit, and the reverse circuit is controlled to invert the original slope, and finally the slope corresponding to the LIN signal is obtained; when the original slope output by the differential circuit is a positive number, the original slope is input to the reverse circuit, and the reverse circuit is controlled not to work. At this time, the original slope corresponding to the positive number is directly output from the output end of the reverse circuit, and finally the accurate slope corresponding to the LIN signal is obtained.

[0092] In a possible implementation, since the differential circuit usually outputs the opposite result, for example, when the slope of the LIN signal is 1, the differential circuit outputs -1; when the slope of the LIN signal is -1, the differential circuit outputs 1, therefore, when the LIN signal on the LIN bus is at a rising edge, the reverse circuit inverts the acquired original signal. Specifically, when the LIN signal rises, that is, when the LIN signal is at the rising edge, the slope corresponding to the LIN signal should be a positive number, and the corresponding original slope is a negative number, so the original slope needs to be inverted; when the LIN signal falls, that is, when the LIN signal is at the falling edge, the slope corresponding to the LIN signal should be a negative number, and the corresponding original slope is a positive number, so the original signal does not need to be inverted.

[0093] Of course, those skilled in the art may also design other circuits to determine the slope corresponding to the LIN signal according to actual needs, and this application does not impose any specific limitation on this.

[0094] In an embodiment of the present application, the slope corresponding to the rising edge of the LIN signal can be inverted with the help of a reverse circuit, so that the slope corresponding to the rising edge of the determined LIN signal is a positive value, and finally the slopes corresponding to the determined LIN signals are all positive numbers, so that the subsequent circuits can perform related difference operations, thereby making the determined difference signal more accurate, and finally obtaining an ideal LIN signal.

[0095] In the embodiment of the present application, a structural diagram of a differential circuit is also provided. Figure 4B , is a structural schematic diagram of a differential circuit provided in an embodiment of the present application. As shown in the figure, a first capacitor C1, a first amplifier A1 and a first resistor R1 are shown. Among them, the first end of the first capacitor is used to connect to the LIN bus; the second end of the first capacitor is electrically connected to the inverting input terminal of the first amplifier; the non-inverting input terminal of the first amplifier is grounded; the output terminal of the first amplifier is electrically connected to the input terminal of the reverse circuit; the first end of the first resistor is electrically connected to the inverting input terminal of the first amplifier; the second end of the first resistor is electrically connected to the output terminal of the first amplifier. It should be pointed out that in order to more clearly show the circuit structure of the differential circuit, some related circuits are not shown in the figure.

[0096] It can be understood that the output end of the first amplifier is the output end of the differential circuit, and the first end of the first capacitor is the input end of the differential circuit.

[0097] Understandable, through Figure 4B The differential circuit shown can determine the original slope corresponding to the LIN signal on the LIN bus. Of course, those skilled in the art can also design other circuits to obtain the original slope according to actual needs, and this application does not specifically limit the specific structure of the circuit.

[0098] In the embodiment of the present application, a structural schematic diagram of a reverse circuit is also provided. Figure 4C , which is a structural schematic diagram of a reverse circuit provided in an embodiment of the present application. As shown in the figure, the figure shows a second resistor R2, a second amplifier A2, a third resistor R3 and a conduction switch K1. Among them, the first end of the second resistor is electrically connected to the output end of the differential circuit; the inverting input end of the second amplifier is electrically connected to the second end of the second resistor; the in-phase input end of the second amplifier is grounded; the output end of the second amplifier is electrically connected to the input end of the difference calculation module; the first end of the third resistor is electrically connected to the inverting input end of the second amplifier; the second end of the third resistor is electrically connected to the output end of the second amplifier; the first end of the conduction switch is electrically connected to the first end of the second resistor; the second end of the conduction switch is electrically connected to the output end of the second amplifier. It should be pointed out that in order to more clearly show the circuit structure of the reverse circuit, some related circuits are not shown in the figure.

[0099] It can be understood that the first end of the second resistor is the input end of the inverting circuit, and the output end of the second amplifier is the output end of the inverting circuit.

[0100] Specifically, when the LIN signal is in the rising edge part, the conduction switch K1 is disconnected, the reverse circuit inverts the original slope, and finally obtains the slope corresponding to the LIN signal, and sends the slope corresponding to the LIN signal to the difference calculation module; when the LIN signal is in the falling edge part, the conduction switch K1 is closed, and the original slope is directly sent to the difference calculation module through the conduction switch K1.

[0101] It can be understood that the on and off of the conduction switch K1 is controlled by the LIN signal. When the LIN signal is at the falling edge, the conduction switch K1 is closed; when the LIN signal is at the rising edge, the conduction switch K1 is opened.

[0102] Understandable, through Figure 4C The differential circuit shown can take the absolute value of the original slope and then determine the slope corresponding to the LIN signal. Of course, those skilled in the art can also design other circuits to correct the positive and negative of the original slope according to actual needs, and this application does not make specific restrictions on the specific structure of the circuit.

[0103] In the embodiments of the present application, Figure 3 The difference calculation module shown in is used to perform a difference operation on the slope corresponding to the LIN signal and the preset slope to obtain a difference signal. The preset slope is used to characterize the slope that has been stored in the difference calculation module. Specifically, after the difference calculation module obtains the slope corresponding to the LIN signal, it performs a difference operation on the slope corresponding to the LIN signal and the preset slope to obtain a difference signal.

[0104] It can be understood that in a possible implementation, when the slope corresponding to the LIN signal is greater than the preset slope, the difference calculation module outputs a high level, and the greater the difference, the higher the corresponding high level voltage; when the slope corresponding to the LIN signal is less than the preset slope, the difference calculation module outputs a low level, and the greater the difference, the lower the corresponding low level voltage. Of course, this application does not make specific restrictions on this.

[0105] In a possible implementation, the difference calculation module includes a preset slope output circuit and a difference calculation circuit. Figure 5A, is a schematic diagram of the structure of a difference calculation module provided in an embodiment of the present application. As shown in the figure, the difference calculation module 3022 is shown in the figure, wherein the difference calculation module 3022 specifically includes: a preset slope output circuit 501 and a difference calculation circuit 502. As shown in the figure, the output end of the preset slope output circuit 501 is electrically connected to the first input end of the difference calculation circuit 502; the second input end of the difference calculation circuit 502 is electrically connected to the output end of the differential module; the output end of the difference calculation circuit 502 is electrically connected to the input end of the first control module.

[0106] It is understandable that the second input end of the difference calculation circuit is the input end of the difference calculation module, and the output end of the difference calculation circuit is the output end of the difference calculation module. It should be pointed out that in order to prevent the circuit connection relationship from being too complicated, some circuits, such as the differential module and the first control module, are not shown in the figure.

[0107] In a possible implementation, the preset slope output circuit is used to store the preset slope and send the preset slope to the difference calculation circuit; the difference calculation circuit is used to perform a difference operation on the slope corresponding to the LIN signal and the preset slope to obtain a difference signal.

[0108] In the embodiment of the present application, the difference calculation module includes a preset slope output circuit and a difference calculation circuit. In actual use, the difference calculation circuit performs a difference operation according to the slope corresponding to the acquired LIN signal and the preset slope stored in the preset slope output circuit, thereby obtaining a more accurate difference signal, thereby making the slope of the LIN signal finally determined more accurate.

[0109] In a possible implementation, the "preset slope output circuit" described above is a digital logic circuit and a digital-to-analog conversion circuit. Specifically, a digital signal for representing the preset slope is stored in the digital logic circuit. When the difference calculation circuit needs to perform a difference operation, the digital logic circuit sends a digital signal corresponding to the preset slope to the digital-to-analog conversion circuit, and then the digital-to-analog conversion circuit converts the corresponding digital signal into an analog signal corresponding to the preset slope and sends it to the difference calculation circuit.

[0110] Of course, those skilled in the art may also design other circuits to store the preset slope according to actual needs, and this application does not impose any specific limitation on this.

[0111] In the embodiment of the present application, a structural diagram of a difference calculation circuit is also provided. Figure 5B, is a structural schematic diagram of a difference calculation circuit provided in an embodiment of the present application. As shown in the figure, a second capacitor C2 and a third amplifier A3 are shown in the figure. Among them, the inverting input terminal of the third amplifier is electrically connected to the output terminal of the differential module; the non-inverting input terminal of the third amplifier is electrically connected to the output terminal of the preset slope output circuit; the output terminal of the third amplifier is electrically connected to the input terminal of the first control module; the first end of the second capacitor is grounded; the second end of the second capacitor is electrically connected to the output terminal of the differential module. It should be pointed out that in order to more clearly show the circuit structure of the difference calculation circuit, some related circuits are not shown in the figure.

[0112] It can be understood that the inverting input terminal of the third amplifier is the first input terminal of the difference calculation circuit, the non-inverting input terminal of the third amplifier is the second input terminal of the difference calculation circuit, and the output terminal of the third amplifier is the output terminal of the difference calculation circuit.

[0113] Specifically, the inverting input terminal of the third amplifier receives the slope corresponding to the LIN signal, and the non-inverting input terminal of the third amplifier receives the preset slope. Then, the third amplifier compares the slope corresponding to the LIN signal with the preset slope to obtain the difference signal. Of course, those skilled in the art can also design other circuits to achieve the acquisition of the difference signal according to actual needs, and the present application does not specifically limit the specific structure of the circuit.

[0114] In the embodiments of the present application, Figure 3 The first control module shown in is used to convert the acquired difference signal into a first control signal that can control the corresponding slope of the LIN signal. Specifically, the difference signal is used as a control signal to control the first control module to output a corresponding voltage or current, wherein the output voltage or current corresponds to the control signal one by one. It can be understood that the output voltage or current is the first control signal.

[0115] In a possible implementation, the first control module includes a first transistor M1, a third capacitor C3, and a constant current source circuit. Fig. 6A, is a structural schematic diagram of a first control module provided in an embodiment of the present application. As shown in the figure, the figure shows a first control module 3023, wherein the first control module 3023 specifically includes: a constant current source circuit 601, a first transistor M1 and a third capacitor C3. As shown in the figure, the gate of the first transistor M1 is electrically connected to the output end of the difference calculation module; the source of the first transistor M1 is electrically connected to the voltage source; the drain of the first transistor M1 is electrically connected to the input end of the second control module; the first end of the third capacitor C3 is grounded; the second end of the third capacitor C3 is electrically connected to the drain of the first transistor M1; the first end of the constant current source circuit 601 is electrically connected to the drain of the first transistor; the second end of the constant current source circuit 601 is grounded. It can be understood that the gate of the first transistor is the input end of the first control module, and the drain of the first transistor is the output end of the first control module.

[0116] It should be pointed out that in order to prevent the circuit connection relationship from being too complicated, some circuits, such as the difference calculation module and the second control module, are not shown in the figure.

[0117] In one possible implementation, the constant current source circuit is used to provide a constant current between the drain and the ground. Specifically, the drain of the first transistor M1 is electrically connected to the constant current source circuit, so that the drain of the first transistor M1 constantly outputs a current value on the branch of the constant current source circuit. When the gate of the first transistor receives the difference signal, the first transistor increases or decreases the size of the source-drain current of the first transistor according to the size of the difference signal, so that the source-drain current forms a difference current with the current constantly output on the constant current source circuit. The difference current is poured into the third capacitor or output from the third capacitor, so that the voltage of the third capacitor increases or decreases, forming a first control signal.

[0118] It can be understood that when the drain voltage remains unchanged, the source-drain current described above is the current flowing from the drain to the source and is controlled by the gate-source voltage difference.

[0119] Exemplarily, when the slope corresponding to the LIN signal decreases, the corresponding difference signal with the preset slope will increase. Since the gate voltage of the first transistor increases, the source-drain current of the first transistor will decrease. Since the current output by the first transistor through the constant current source circuit is constant, the excess current in the third capacitor will be derived at this time, and a first voltage, i.e., a first control signal, will be formed at both ends of the third capacitor.

[0120] Of course, those skilled in the art may also design other circuits to determine the first control signal according to actual needs, and this application does not impose any specific limitation on this.

[0121] In the embodiment of the present application, the first control module includes a first transistor, a third capacitor and a constant current source circuit.

[0122] The constant current source circuit is used to make the current of the first transistor plus the current of the third capacitor equal to a constant current value. When the gate voltage of the first transistor changes, the drain current of the first transistor changes, thereby causing the third capacitor to be charged and discharged accordingly, causing the voltage across the third capacitor to change, and finally realizing the conversion between the difference signal and the first control signal. It can be understood that the current of the first transistor mentioned above is the drain current of the first transistor; the current of the third capacitor mentioned above is the current absorbed or released by the second end of the third capacitor.

[0123] In the embodiment of the present application, a structural schematic diagram of a constant current source circuit is also provided. Figure 6B , is a structural schematic diagram of a constant current source circuit provided in an embodiment of the present application. As shown in the figure, a current source I, a second transistor M2 and a third transistor M3 are shown in the figure. Among them, the gate of the second transistor is electrically connected to the drain of the second transistor; the drain of the second transistor is electrically connected to the output end of the current source; the source of the second transistor is grounded; the gate of the third transistor is electrically connected to the gate of the second transistor; the source of the third transistor is grounded; the drain of the third transistor is electrically connected to the drain of the first transistor. It should be pointed out that in order to more clearly show the circuit structure of the constant current source circuit, some related circuits are not shown in the figure.

[0124] Understandable, Figure 6B The constant current source circuit shown is a current mirror circuit. Using the current mirror circuit, the corresponding constant current can be copied to the drain of the first transistor. Of course, those skilled in the art can also design other circuits to correct the positive and negative of the original slope according to actual needs, and this application does not specifically limit the specific structure of the circuit.

[0125] In the embodiments of the present application, Figure 3 The second control circuit shown in the figure is used to generate a second control signal according to the first control signal to adjust the slope corresponding to the LIN signal to the preset slope.

[0126] In practical applications, since the first control module is easily affected by the subsequent circuit, when the first control module is directly connected to the second control circuit, the first control signal may be distorted. To address the above problem, a source follower circuit can be added to the first control module to avoid distortion of the first control signal. Specifically, a detailed description is given below in conjunction with the accompanying drawings and specific embodiments.

[0127] See also Fig. 7A, is a schematic diagram of the structure of a second control module provided in an embodiment of the present application. As shown in the figure, the second control module 3024 is shown in the figure, wherein the second control module 3024 specifically includes: a source follower circuit 701 and a second control circuit 702. As shown in the figure, the input end of the source follower circuit 701 is electrically connected to the output end of the first control module; the input end of the second control circuit 702 is electrically connected to the output end of the source follower circuit 701; and the output end of the second control circuit 702 is electrically connected to the LIN bus. It can be understood that the input end of the source follower circuit is the input end of the second control module; and the output end of the second control circuit is the output end of the second control module.

[0128] It should be pointed out that in order to prevent the circuit connection relationship from being too complicated, some circuits, such as the LIN bus and the first control module, are not shown in the figure.

[0129] In one possible implementation, the source follower circuit is used to receive the first control signal and output the buffer control signal at the output end of the source follower circuit; the second control circuit is used to receive the buffer control signal and output the second control signal at the output end of the second control circuit. Of course, those skilled in the art can also design other circuits to determine the second control signal according to actual needs, and this application does not make specific restrictions on this.

[0130] In the embodiment of the present application, the second control module includes a source follower circuit and a second control circuit. Since the input resistance of the source follower circuit is high and the output resistance is low, by adding a source follower circuit between the second control circuit and the first control module, a safe and reliable gate voltage can be provided for the third transistor, effectively preventing the first control signal from being distorted.

[0131] In the embodiment of the present application, a schematic diagram of the structure of a source follower circuit is also provided. Figure 7B , is a schematic diagram of the structure of a source follower circuit provided in an embodiment of the present application. As shown in the figure, a fourth transistor M4 and a fourth resistor R4 are shown. Among them, the gate of the fourth transistor is electrically connected to the output end of the first control module; the drain of the fourth transistor is electrically connected to the voltage source; the source of the fourth transistor is electrically connected to the input end of the second control circuit; the first end of the fourth resistor is electrically connected to the source of the fourth transistor; and the second end of the fourth resistor is grounded. It should be pointed out that in order to more clearly show the circuit structure of the source follower circuit, some related circuits are not shown in the figure.

[0132] It can be understood that the gate of the fourth transistor is the input end of the source follower circuit, and the drain of the fourth transistor is the output end of the source follower circuit.

[0133] Specifically, when the gate of the fourth transistor receives the first control signal, the drain-source current corresponding to the fourth transistor increases or decreases, thereby increasing or decreasing the voltage division on the fourth resistor. It is understandable that the voltage corresponding to the first end of the fourth resistor is the buffer control signal. Exemplarily, when the first control signal received by the gate of the fourth transistor becomes larger, the drain-source current corresponding to the fourth transistor increases, thereby increasing the voltage division on the fourth resistor, that is, the voltage value corresponding to the buffer control signal increases. It is understandable that since the function of the source follower circuit is to isolate the second control circuit from the first control module to prevent the first control signal from being distorted, the buffer control signal determined after the source follower circuit may be the same as the first control signal, and the present application does not impose specific restrictions on this.

[0134] It can be understood that when the source voltage remains unchanged, the drain-source current described above is the current flowing from the source to the drain, which is controlled by the gate-source voltage difference.

[0135] It is understandable that, of course, those skilled in the art may also design other circuits to prevent the first control signal from being distorted according to actual needs, and the present application does not impose any specific limitation on the specific structure of the circuit.

[0136] In the embodiment of the present application, a structural schematic diagram of a second control circuit is also provided. Figure 7C , is a schematic diagram of the structure of a second control circuit provided in an embodiment of the present application. As shown in the figure, a fifth transistor M5 is shown in the figure. Among them, the gate of the fifth transistor is electrically connected to the output end of the source follower circuit; the source of the fifth transistor is grounded; the drain of the fifth transistor is used to be electrically connected to the LIN bus. It should be pointed out that in order to more clearly show the circuit structure of the second control circuit, some related circuits are not shown in the figure.

[0137] It can be understood that the gate of the fifth transistor is the input terminal of the second control circuit; and the drain of the fifth transistor is the output terminal of the second control circuit.

[0138] Specifically, when the gate of the fifth transistor receives the buffer control signal, the fifth transistor controls the drain-source current of the fifth transistor according to the voltage value of the buffer control signal, that is, the second control signal. Finally, the LIN bus adjusts the slope corresponding to the LIN signal to the preset slope according to the second control signal.

[0139] It is understandable that, of course, those skilled in the art may also design other circuits to determine the second control signal according to actual needs, and the present application does not impose any specific limitation on the specific structure of the circuit.

[0140] In a possible implementation, the first transistor, the second transistor, the third transistor, the fourth transistor, and the fifth transistor described above operate in the saturation region of the transistor. Of course, those skilled in the art may also set some or all of the first transistor, the second transistor, the third transistor, the fourth transistor, and the fifth transistor to operate in other regions according to actual needs, and this application does not impose any specific restrictions on this.

[0141] For easier understanding, see Figure 8 , is another slope control circuit applicable to the LIN bus provided by the embodiment of the present application. As shown in the figure, Figure 8 is Figure 3 Based on the above, a specific slope control circuit of the LIN bus is determined. As shown in the figure, the LIN bus 301, the differential module 3021, the difference calculation module 3022, the first control module 3023 and the second control module 3024 are shown. The specific functions of the differential module 3021, the difference calculation module 3022, the first control module 3023 and the second control module 3024 can refer to the description of the embodiment described above. For the sake of brevity, this application will not be repeated here.

[0142] It should be pointed out that Figure 8 The structural diagram of the slope control circuit applicable to the LIN bus shown is only an exemplary description. Those skilled in the art may also design other circuits according to actual needs, and this application does not impose any specific limitation on this.

[0143] Specifically, in the embodiment of the present application, after the first capacitor C1 in the differential module 3021 collects the LIN signal on the LIN bus, the absolute value of the slope corresponding to the LIN signal is determined; then the absolute value of the slope corresponding to the LIN signal is input into the difference calculation module 3022, and then the difference signal corresponding to the preset slope is sent to the gate of the first transistor M1 in the first control module 3023; the first transistor controls the source-drain current of the first transistor M1 according to the difference signal, thereby forming a current difference with the current mirror circuit in the first control module 3023, and injects it into the third capacitor C3 to form a first control signal; after the second control module 3024 determines the drain-source current (second control signal) corresponding to the fifth transistor M5 according to the first control signal, it controls the output on the fourth capacitor C4 in the LIN bus 301 to be a voltage value corresponding to the preset slope.

[0144] In the embodiment of the present application, the differential module and the difference calculation module are first used to more accurately determine the difference signal between the slope corresponding to the LIN signal and the preset slope, and then the corresponding first control signal is determined according to the difference signal, and finally the slope corresponding to the LIN signal is adjusted to the preset slope according to the first control signal. It can be understood that in the above process, since the slope corresponding to the LIN signal is continuously adjusted by using the difference signal between the slope corresponding to the LIN signal and the preset slope, a more ideal LIN signal can be obtained.

[0145] Corresponding to the above embodiment, the embodiment of the present application also provides a LIN interface chip.

[0146] In an embodiment of the present application, the LIN interface chip includes the slope control circuit of the LIN bus described above. The specific functions and specific implementation methods of the slope control circuit of the LIN bus refer to the specific embodiments described above. For the sake of brevity, this application will not elaborate on this.

[0147] Corresponding to the above embodiment, the embodiment of the present application also provides a microprocessor chip.

[0148] In the embodiment of the present application, the microprocessor chip includes the slope control circuit of the LIN bus described above. The microprocessor chip can be, for example, an MCU, a DSP, an MPU, a micro CPU, etc., which can process digital signals, analog signals, or a micro central control chip or a system-on-chip chip that performs signal control functions, instruction processing and calculation functions. The specific functions and specific implementation methods of the LIN interface chip refer to the specific embodiments described above. For the sake of brevity, this application will not be repeated here.

[0149] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0150] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0151] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0152] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0153] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

Claims

1. A slope control circuit suitable for LIN bus, It is characterized in that include: A differential module, the differential module is used to collect the LIN signal on the LIN bus and determine the slope corresponding to the LIN signal; A difference calculation module, the difference calculation module is electrically connected to the differential module, and the difference calculation module is used to perform a difference operation on the slope corresponding to the LIN signal and a preset slope to obtain a difference signal; a first control module, the first control module being electrically connected to the difference calculation module, and the first control module being configured to generate a first control signal according to the difference signal; A second control module, the second control module is electrically connected to the first control module, the second control module is used to generate a second control signal according to the first control signal, and the second control signal is used to adjust the slope corresponding to the LIN signal to the preset slope.

2. The slope control circuit applicable to the LIN bus according to claim 1, It is characterized in that The differential module comprises: A differential circuit, wherein the input end of the differential circuit is used to be electrically connected to the LIN bus, the differential circuit is used to collect a LIN signal on the LIN bus, and output an original slope corresponding to the LIN signal at the output end of the differential circuit; An inverting circuit, wherein the input end of the inverting circuit is electrically connected to the output end of the differentiating circuit, the inverting circuit is used to receive the original slope corresponding to the LIN signal, and output the slope corresponding to the LIN signal at the output end of the inverting circuit, wherein the slope corresponding to the LIN signal is the absolute value of the original slope corresponding to the LIN signal.

3. The slope control circuit applicable to the LIN bus according to claim 2, It is characterized in that The differentiator circuit comprises: A first capacitor, wherein a first end of the first capacitor is used to connect to the LIN bus, and the first end of the first capacitor is an input end of the differential circuit; a first amplifier, wherein an inverting input terminal of the first amplifier is electrically connected to the second end of the second capacitor, a non-inverting input terminal of the first amplifier is grounded, an output terminal of the first amplifier is electrically connected to an input terminal of the reverse circuit, and an output terminal of the first amplifier is an output terminal of the differential circuit; A first resistor, wherein a first end of the first resistor is electrically connected to the inverting input end of the first amplifier, and a second end of the first resistor is electrically connected to the output end of the first amplifier.

4. The slope control circuit applicable to the LIN bus according to claim 2, It is characterized in that The reverse circuit comprises: a second resistor, wherein a first end of the second resistor is electrically connected to an output end of the differential circuit, and a first end of the second resistor is an input end of the reverse circuit; a second amplifier, wherein an inverting input terminal of the second amplifier is electrically connected to the second end of the second resistor, a non-inverting input terminal of the second amplifier is grounded, an output terminal of the second amplifier is electrically connected to an input terminal of the difference calculation module, and an output terminal of the second amplifier is an output terminal of the reverse circuit; a third resistor, wherein a first end of the third resistor is electrically connected to the inverting input end of the second amplifier, and a second end of the third resistor is electrically connected to the output end of the second amplifier; A conduction switch, wherein a first end of the conduction switch is electrically connected to a first end of the second resistor, and a second end of the conduction switch is electrically connected to an output end of the second amplifier.

5. The slope control circuit applicable to the LIN bus according to claim 1, It is characterized in that The difference calculation module comprises: A preset slope output circuit, the preset slope output circuit is used to output the preset slope; a third amplifier, wherein an inverting input terminal of the third amplifier is electrically connected to an output terminal of the differential module, a non-inverting input terminal of the third amplifier is electrically connected to the preset slope output circuit, and an output terminal of the third amplifier is electrically connected to an input terminal of the first control module; A second capacitor, wherein a first end of the second capacitor is grounded, and a second end of the second capacitor is electrically connected to an output end of the differential module.

6. The slope control circuit applicable to the LIN bus according to claim 1, It is characterized in that The first control module comprises: a first transistor, wherein the gate of the first transistor is electrically connected to the output end of the difference calculation module, the source of the first transistor is electrically connected to the voltage source, the drain of the first transistor is electrically connected to the input end of the second control module, the gate of the first transistor is the input end of the first control module, and the drain of the first transistor is the output end of the first control module; a third capacitor, a first end of the third capacitor being grounded, and a second end of the third capacitor being electrically connected to the drain of the first transistor; A constant current source circuit, wherein a first end of the constant current source circuit is electrically connected to the drain of the first transistor, a second end of the constant current source circuit is grounded, and the constant current source circuit is used to provide a constant current between the drain and the ground.

7. The slope control circuit applicable to the LIN bus according to claim 6, It is characterized in that The constant current source circuit comprises: Current source; a second transistor, wherein a gate of the second transistor is electrically connected to a drain of the second transistor, the drain of the second transistor is electrically connected to an output terminal of the current source, and a source of the second transistor is grounded; A third transistor, wherein a gate of the third transistor is electrically connected to the gate of the second transistor, a source of the third transistor is grounded, and a drain of the third transistor is electrically connected to the drain of the first transistor.

8. The slope control circuit applicable to the LIN bus according to claim 1, It is characterized in that The second control module includes: a fourth transistor, wherein a gate of the fourth transistor is electrically connected to the output terminal of the first control module, a drain of the fourth transistor is electrically connected to the voltage source, and a source of the fourth transistor is electrically connected to the input terminal of the second control circuit; a fourth resistor, a first end of the fourth resistor being electrically connected to the source of the fourth transistor, and a second end of the fourth resistor being grounded; A fifth transistor, wherein the gate of the fifth transistor is electrically connected to the output end of the source follower circuit, the source of the fifth transistor is grounded, and the drain of the fifth transistor is used to be electrically connected to the LIN bus.

9. A LIN interface chip, It is characterized in that include: A slope control circuit for a LIN bus according to any one of claims 1 to 8.

10. A microprocessor chip, It is characterized in that include: A slope control circuit for a LIN bus according to any one of claims 1 to 8.

Citation Information

Cited By

  • Slope-adjustable LIN control circuit and control method

    CN118689808A