Integrated transceiver circuit
By designing an integrated transceiver circuit, using a transmit matrix, a receive matrix and a drive circuit, combined with a differential impedance control unit and a hysteresis comparator, the problem of traditional bus transceivers being unable to support high-speed bus protocols is solved, achieving small area and widely used integration. transceiver circuit.
Patent Information
- Application Number
- CN202410554252.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-06
AI Technical Summary
Traditional bus transceivers cannot be integrated on-chip due to relay switching, resulting in large circuit size and high cost. They cannot implement high-speed bus protocols such as CAN FD, and their application scenarios are limited.
Design an integrated transceiver circuit, including a transmit matrix, a receive matrix, a buffer and multiple drive circuits, using a differential impedance control unit and a hysteresis comparator to convert the signal into a voltage through the high-side and low-side drive parts of the drive circuit , current and load can be configured with output drive signals to meet the requirements of various communication protocols.
It realizes an integrated transceiver circuit that occupies a small area and is applicable to a wide range of scenarios. It can support high-speed communication protocols and reduce chip area and cost.
Smart Images

Figure CN118713951A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data communication technology, and in particular to an integrated transceiver circuit. Background Art
[0002] Bus transceivers can realize data exchange between interfaces of different types of devices. Traditional bus transceivers integrate transceivers that support different protocols together, and use relay switches to control the selection of the transceiver and the external OBD interface. However, this method requires relay switching and cannot be integrated on chip, so the circuit size is large and the cost is too high. Even if some integrated circuits can realize the switching of some OBD pins by combining transceivers and matrix switches, because the switching method is fixed, some pins are shared by multiple transceivers, resulting in excessive pin parasitic capacitance and the inability to implement high-speed bus protocols such as CAN FD. This will result in a large chip area and limited application scenarios. Summary of the invention
[0003] The present application provides an integrated transceiver circuit that occupies a small area and is applicable to a wide range of scenarios.
[0004] An integrated transceiver circuit, comprising:
[0005] Send Matrix;
[0006] Receiving matrix;
[0007] a buffer for providing a reference voltage;
[0008] A plurality of driving circuits, each of the driving circuits comprises:
[0009] A voltage stabilizing circuit, used for providing a power supply voltage with an adjustable voltage value;
[0010] A driver, comprising a transistor NH and an upper tube load adjustment unit connected between a source and a drain of the transistor NH, and a transistor PL and a lower tube load adjustment unit connected between a source and a drain of the transistor PL, wherein the gates of the transistor NH and the transistor PL are respectively connected to the transmission matrix, the source of the transistor NH is connected to the voltage stabilizing circuit, and the source of the transistor PL is connected to the ground terminal, and the driver is configured to output an output drive signal that can be matched with voltage, current and load when being selected by the transmission matrix;
[0011] A differential impedance control unit, comprising a control switch and a load element connected in series with the control switch, wherein the control switch is used to selectively conduct the conductive path where the driver, the load element and the buffer are located, so as to maintain the reference voltage of the output drive signal at the reference voltage;
[0012] Hysteresis comparator, including:
[0013] a first threshold comparator, configured to receive an input drive signal from an external device and compare a voltage of the input drive signal with a first hysteresis voltage;
[0014] A second threshold comparator, configured to receive the input drive signal and compare a voltage of the input drive signal with a second hysteresis voltage; the first hysteresis voltage being smaller than the second hysteresis voltage;
[0015] An RS trigger, wherein a reset terminal of the RS trigger is connected to an output terminal of the first threshold comparator, and a set terminal of the RS trigger is connected to an output terminal of the second threshold comparator;
[0016] The receiving matrix is selectively connected to the output end of each of the RS triggers.
[0017] In one embodiment, the driving circuit further includes:
[0018] a first DAC circuit, connected to the first threshold comparator, and configured to provide the first hysteresis voltage;
[0019] The second DAC circuit is connected to the second threshold comparator and is used to provide the second hysteresis voltage.
[0020] In one embodiment, the driving circuit further includes:
[0021] The first voltage divider circuit is respectively connected to the bus power supply, the first DAC circuit and the second DAC circuit, and can be configured to divide the power supply voltage of the bus power supply to obtain a first voltage, and use the first voltage as a reference voltage for the first DAC circuit, and to obtain a second voltage, and use the second voltage as a reference voltage for the second DAC circuit.
[0022] In one embodiment, the integrated transceiver circuit further includes:
[0023] A plurality of first differential comparators, each of which corresponds one-to-one to each differential terminal pair of the external device, and two input terminals of the first differential comparator are connected one-to-one to two terminals of the corresponding differential terminal pair; and an output terminal of each of the first differential comparators is connected to the receiving matrix.
[0024] In one embodiment, the integrated transceiver circuit further includes:
[0025] two first gates;
[0026] A second differential comparator, wherein two input terminals of the second differential comparator are respectively connected to the output terminals of the two first selectors in a one-to-one correspondence, and an output terminal of the second differential comparator is connected to the receiving matrix;
[0027] The first selector is used to be connected to each communication terminal of the external device, and is used to select one of the communication terminals to be connected to the differential comparator.
[0028] In one embodiment, comparison thresholds and output polarities of the first differential comparator and the second differential comparator are adjustable.
[0029] In one embodiment, the number of the first differential comparators is at least 4; the external device includes but is not limited to 4 groups of differential terminal pairs, wherein the first differential terminal pair includes terminal OBD6 and terminal OBD14; the second differential terminal pair includes terminal OBD3 and terminal OBD11; the third differential terminal pair includes terminal OBD3 and terminal OBD8; and the fourth differential terminal pair includes terminal OBD12 and terminal OBD1.
[0030] In one embodiment, the integrated transceiver circuit further includes:
[0031] A plurality of second voltage-dividing circuits, each of which corresponds to each monitoring terminal group of the external device, and the second voltage-dividing circuit is connected to each communication terminal in the corresponding monitoring terminal group, for dividing the voltage of the communication signal from each communication terminal;
[0032] A plurality of second selectors, connected to the second voltage divider circuits one by one, respectively, and used for selecting at most one of the divided communication signals for output;
[0033] A plurality of buffer amplifiers are connected to the second gates in a one-to-one correspondence, respectively, and are used to output the communication signal output by the second gate.
[0034] In one embodiment, the number of the second voltage divider circuits, the number of the second selectors and the number of the buffer amplifiers are at least 4, and the external devices include but are not limited to 4 groups of terminal groups to be monitored, wherein the first terminal group to be monitored includes terminal OBD1, terminal OBD3, terminal OBD7 and terminal OBD9; the second terminal group to be monitored includes terminal OBD2, terminal OBD6, terminal OBD8 and terminal OBD10; the third terminal group to be monitored includes terminal OBD11, terminal OBD13, terminal OBD15 and terminal OBD16; the fourth terminal group to be monitored includes terminal OBD14.
[0035] In one embodiment, the upper tube load adjustment unit and the lower tube load adjustment unit respectively include a plurality of parallel branches, wherein each branch includes a switch element and a resistance element or a current mirror unit connected in series with the switch element.
[0036] In one embodiment, the driving circuit further includes:
[0037] Two output configuration circuits, each of which includes an inverter and a switch element connected in parallel between the input and output of the inverter; wherein the input of the inverter is connected to a target transistor, and the output of the inverter is connected to a gate of the target transistor; the target transistor is the transistor NH or the transistor PL.
[0038] The above-mentioned use of the sending matrix and the receiving matrix to construct the communication channel between each GPIO port of the external control device and any OBD terminal, and at the same time, the driving circuit is set at the output end of the sending matrix and the input end of the receiving matrix. On the one hand, the signal from the external control device can be converted into an output driving signal that can be matched with voltage, current and load through the upper tube driving part and the lower tube driving part in the driving circuit, and the buffer is controlled to access the driver in combination with the differential impedance control unit to meet the reference voltage that can maintain the output driving signal when it is in differential input, so as to achieve the transmission of the signal from the GPIO port according to the voltage, current and load requirements of various communication protocols; on the other hand, the hysteresis comparator in the driving circuit is used to receive the signal from the OBD terminal according to the voltage requirements of the protocol, so that the sending matrix and the receiving matrix are selected, and the driving circuit is used to adjust the voltage, and finally the signal transmission and reception under various protocols are realized. Since the sending matrix and the receiving matrix are located between the GPIO port and the driving circuit, they work in the low voltage domain and do not need to carry too much current. Therefore, the size of the components in the sending matrix is not required to be high, and there is no need to set too many parasitic components. The integrated transceiver finally obtained has a small area and can be widely used in various scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A circuit structure diagram of an integrated transceiver circuit according to an embodiment of the present application;
[0040] Figure 2 A circuit structure diagram of an integrated transceiver circuit according to another embodiment of the present application;
[0041] Figure 3 A circuit structure diagram of an integrated transceiver circuit according to another embodiment of the present application;
[0042] Figure 4 A circuit structure diagram of an integrated transceiver circuit according to another embodiment of the present application;
[0043] Figure 5This is a circuit structure diagram of an integrated transceiver circuit according to another embodiment of the present application. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. The connection can be a direct connection or an indirect connection.
[0047] In addition, in this application, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0048] Figure 1 An integrated transceiver circuit provided by an embodiment of the present invention is as follows: Figure 1As shown, the integrated transceiver circuit includes a transmitting matrix 110, a buffer 120, a receiving matrix 140 and a plurality of driving circuits 130, wherein each driving circuit includes a voltage stabilizing circuit 131, a driver, a differential impedance control unit and a hysteresis comparator; the voltage stabilizing circuit is used to provide a power supply voltage with an adjustable voltage value; the driver includes a transistor NH and an upper tube load regulating unit 1321 connected between the source and the drain of the transistor NH, and a transistor PL and a lower tube load regulating unit 1322 connected between the source and the drain of the transistor PL, the gates of the transistor NH and the transistor PL are respectively connected to the transmitting matrix 110, the source of the transistor NH is connected to the voltage stabilizing circuit 131, the source of the transistor PL is connected to the ground, and the driver is configured to output an output driving signal with adjustable voltage, current and load when the transmitting matrix 110 is selected; the differential impedance control unit includes a control switch K1 and a control switch K2 connected to the control switch K3. The control switch K1 is connected in series with a load element 1331, and the control switch is used to selectively turn on the conductive path where the driver, the load element 1331 and the buffer 120 are located, so as to maintain the reference voltage of the output drive signal at the reference voltage; the hysteresis comparator includes a first threshold comparator 1341, a second threshold comparator 1342 and an RS trigger; the first threshold comparator 1341 is used to receive an input drive signal from an external device, and compare the voltage of the input drive signal with the first hysteresis voltage; the second threshold comparator 1342 is used to receive an input drive signal, and compare the voltage of the input drive signal with the second hysteresis voltage; the first hysteresis voltage is less than the second hysteresis voltage; the reset end of the RS trigger is connected to the output end of the first threshold comparator 1341, the set end of the RS trigger is connected to the output end of the second threshold comparator 1342, and the output end of the RS trigger is connected to the receiving matrix 140.
[0049] The integrated transceiver circuit of this embodiment can be applied to the signal transmission and reception between the external control device and the external diagnostic device. Specifically, the transmission matrix 110 can construct multiple signal transmission channels through the matching of input and output terminals, and each input terminal of the transmission matrix 110 can be used to be connected to each GPIO port of the external control circuit in a one-to-one correspondence, and the output terminal of the transmission matrix 110 is connected to each transistor in a one-to-one correspondence. Each input terminal of the transmission matrix 110 can be connected to each of its output terminals through a switch, and the matching of any input and output terminals in the transmission matrix 110 can be realized by opening and closing the switch, and the connection between each GPIO port and any transistor can be formed. Since the output of each transistor can be connected to each communication terminal of the external device (for example, each OBD terminal of the diagnostic device) in a one-to-one correspondence, any connection between each GPIO port of the external control circuit and each communication terminal of the external device can be formed.
[0050] When the external control circuit is connected to each communication terminal of the external device, in order to satisfy the external control circuit to transmit signals to the external device according to the desired communication protocol, the driving circuit 130 can obtain the desired voltage and current under the communication protocol according to the signal of the external control circuit, and provide a load matching the external device, thereby realizing signal transmission to the external device. Specifically, the voltage stabilizing circuit 131, the transistor NH and the upper tube load adjustment unit 1321 in the driving circuit 130 constitute the upper tube driving part, which can be used to obtain an output driving signal with a higher voltage value and current value, wherein the supply voltage of the voltage stabilizing circuit 131 and the resistance value of the upper tube load adjustment unit 1321 are adjustable, so the voltage, current and load of the output driving signal can be configured; the transistor PL and the lower tube load adjustment unit 1322 constitute the lower tube driving part, which is used to obtain a 0V output driving signal, and the transistor NH and the transistor PL adopt a push-pull output mode. Based on the upper tube driving part and the lower tube driving part, the driver can realize that the voltage, current and load of the output driving signal can be configured, so as to meet the voltage, current and load requirements under each communication protocol. In one embodiment, the voltage of the output driving signal can be configured to be 5V, 8V, 12V or 24V.
[0051] For single-line communication protocols, such as the single-line CAN protocol, K-LINE protocol, and VPW protocol, an output drive signal with a specific voltage, current, and load is obtained through an upper tube drive part or a lower tube drive part in a drive circuit 130 to meet the voltage and current requirements under the protocol.
[0052] In order to solve the signal transmission under differential communication protocols such as two-wire CAN and RS485, each driving circuit 130 can also be provided with a differential impedance control unit, which is connected between the buffer 120 and the driver. When differential signal transmission is performed, the two driving circuits 130 can be used to respectively receive two differential signals that are differential to each other, and the load of the load adjustment unit at both ends of the transistor in the corresponding working state is adjusted to 0, so that two output driving signals are obtained through the driving of the driver. At the same time, the control switch K1 in the differential impedance control unit is used to turn on the conductive path where the driver, the load element 1331 and the buffer 120 are located, so that the two output driving signals are terminated to the buffer 120, so as to maintain the reference voltage of the two output driving signals at the reference voltage provided by the buffer 120, reduce signal interference, and improve the stability and reliability of the two output driving signals. Among them, for the connection relationship between the driver, the control switch K1, the load element 1331 and the buffer 120, one end of the control switch K1 is connected to one end of the load element 1331, and the other end of the control switch K1 and the other end of the load element 1331 are connected to the driver and the buffer 120. The connection relationship can be arbitrary, for example, the other end of the control switch K1 can be connected to the output end of the driver, and the load element 1331 is connected to the buffer 120; or the control switch K1 can be connected to the buffer 120, and the load element 1331 is connected to the output end of the driver. In one embodiment, to achieve the output of a 5V differential signal, the reference voltage provided by the buffer 120 can be 2.5V, and the load element 1331 can be a resistor element R1 with a resistance of 60Ω (reference Figure 5 as shown).
[0053] Similar to the structure of the transmitting matrix 110, the receiving matrix 140 can also construct multiple receiving channels by matching the input and output ends, so as to realize the connection between each hysteresis comparator and any external GPIO port, and each hysteresis comparator is correspondingly connected to the OBD end of the external device. Therefore, by selecting one of the communication channels, a connection between any GPIO port and the OBD end can be established.
[0054] The input drive signal is compared with the first hysteresis voltage and the second hysteresis voltage respectively by using a hysteresis comparator, and then the RS trigger outputs a signal of a corresponding voltage according to the comparison result, so that by setting the appropriate first hysteresis voltage and the second hysteresis voltage, the input drive signal can be transmitted under the corresponding communication protocol. In addition, since the input drive signal is compared with the two hysteresis voltages respectively, and then the RS trigger is used to perform a logical operation on the two comparison results, when the voltage of the input drive signal is between the first hysteresis voltage and the second hysteresis voltage, the output result of the RS trigger remains unchanged, thereby improving the accuracy and reliability of the output signal.
[0055] According to the requirements of the communication protocol, the first hysteresis voltage and the second hysteresis voltage can be configured as desired values; in one embodiment, the first hysteresis voltage and the second hysteresis voltage can be directly provided by an external power supply or generated by an internal circuit.
[0056] The above-mentioned integrated transceiver circuit uses the transmission matrix 110 and the receiving matrix 140 to construct the communication channel between each GPIO port of the external control device and any OBD terminal. At the same time, the driving circuit 130 is set at the output end of the transmission matrix 110 and the input end of the receiving matrix. On the one hand, the upper tube driving part and the lower tube driving part in the driving circuit 130 can convert the signal from the external control device into an output driving signal that can be matched with voltage, current and load. In combination with the differential impedance control unit, the buffer 120 is controlled to access the driver to meet the requirement of being able to maintain the reference voltage of the output driving signal when in differential input, so as to achieve the electrical connection under various communication protocols. On the other hand, the hysteresis comparator in the driving circuit is used to receive the signal from the OBD end according to the voltage requirement of the protocol. In this way, the sending matrix 110 and the receiving matrix are selected, and the driving circuit 130 is used to adjust the voltage, and finally the signal transmission under various protocols is realized. Since the sending matrix 110 and the receiving matrix are located between the GPIO port and the driving circuit 130, they work in the low-voltage domain and do not need to carry excessive current. Therefore, the size of the components in the sending matrix 110 is not high, and there is no need to set too many parasitic components. The final integrated transceiver circuit has a small area and can be widely used in various scenarios.
[0057] In one embodiment, the number of the driving circuits 130 may be 13, corresponding to the 13 OBD terminals connected to the diagnostic device.
[0058] In one embodiment, the driving circuit 130 further includes a first DAC circuit and a second DAC circuit (not shown), wherein the first DAC circuit is connected to the first threshold comparator 1341 for providing a first hysteresis voltage; and the second DAC circuit is connected to the second threshold comparator 1342 for providing a second hysteresis voltage.
[0059] The DAC circuit can be a digital-to-analog converter; it can be understood that the first hysteresis voltage and the second hysteresis voltage can be generated by two DAC circuits respectively. Since there is a specific proportional relationship between the voltage output by the DAC circuit and its reference voltage, the desired hysteresis voltage can be obtained by adjusting the size of the reference voltage provided to the DAC circuit.
[0060] Therefore, the DAC circuit is used to generate the hysteresis voltage, the circuit is simple, and based on the relationship between the output voltage of the DAC circuit and the reference voltage, it is easy to adjust the size of the hysteresis voltage.
[0061] In one embodiment, the driving circuit 130 also includes a first voltage divider circuit (not shown), which is respectively connected to the bus power supply, the first DAC circuit and the second DAC circuit, and can be configured to divide the power supply voltage of the bus power supply to obtain a first voltage, and use the first voltage as a reference voltage for the first DAC circuit, and to obtain a second voltage, and use the second voltage as a reference voltage for the second DAC circuit.
[0062] It can be understood that the reference voltage of the DAC circuit can be obtained by dividing the external bus power supply by the first voltage divider circuit; wherein, the voltage division ratio of the first voltage divider circuit is configurable, so that the reference voltage of the DAC circuit can be configured. In one embodiment, the first voltage divider circuit may include an adjustable load, and a voltage of a specific value can be obtained by adjusting the resistance of the load connected to the conductive path; in one embodiment, the first voltage and the second voltage are equal to 0.2 times the power supply voltage. In this way, the first voltage divider circuit is used to divide the external bus power supply, and there is no need to set up a separate power supply internally, saving space and cost.
[0063] In one embodiment, Figure 2 As shown, the integrated transceiver circuit also includes a plurality of first differential comparators 150, each of which corresponds one-to-one to each differential terminal pair of the external device, and the two input ends of the first differential comparator 150 are respectively connected one-to-one to the two terminals in the corresponding differential terminal pair; the output end of each first differential comparator 150 is connected to the receiving matrix 140.
[0064] It can be understood that the above-mentioned hysteresis comparator can be used to realize reception under a single-line communication protocol, while for reception of differential signals under a two-line communication protocol, a differential comparator can be used. Specifically, the differential terminal pair of the external device can be two terminals of each terminal of the external device, which are used to output two differential signals that are differential to each other. For multiple groups of differential terminal pairs of the external device, the same number of first differential comparators 150 can be set to be connected to each differential terminal pair one by one, wherein the two input terminals of the first differential comparator 150 are respectively connected to the two differential terminals of the corresponding differential terminal pair, and by comparing the voltage difference between the two differential signals and the comparison threshold, the comparison result of the corresponding voltage value can be output.
[0065] In one embodiment, Figure 3As shown, the integrated transceiver circuit also includes: two first selectors 170 and a second differential comparator 160, the two input ends of the second differential comparator 160 are respectively connected to the output ends of the two first selectors 170 in a one-to-one correspondence, and the output end of the second differential comparator 160 is connected to the receiving matrix 140; the first selector 170 is used to connect to each communication terminal of the external device, and to select one of the communication terminals to be turned on by the differential comparator.
[0066] It can be understood that the first differential comparator 150 is connected to the differential terminal pair defined by the external device at the factory. Considering that the external device may use other terminals to output differential signals, it can be realized by setting two first selectors 170 and second differential comparators 160. Specifically, the two first selectors 170 can respectively have multiple connection terminals to connect with each communication terminal of the external device. When transmitting signals, the first selector 170 can select one of the communication terminals to be connected to the second differential comparator 160. In this way, the two first selectors 170 can select two ports to output differential signals and connect them to the second differential comparator 160, thereby realizing the reception of differential signals output by any communication terminal.
[0067] In one embodiment, the comparison threshold and output polarity of the first differential comparator 150 are adjustable.
[0068] It can be understood that the comparison threshold of the first differential comparator 150 is adjustable, so that the comparison result output by the first differential comparator 150 can be configured.
[0069] The output end of the first differential comparator 150 may be provided with an inverter and a switch, and the switch is connected in parallel to the input and output ends of the inverter to selectively connect the inverter to the output end of the first differential comparator 150, thereby adjusting the polarity of the output signal.
[0070] In one embodiment, the comparison threshold and output polarity of the second differential comparator 160 are adjustable.
[0071] Similarly, similar to the first differential comparator 150 , by adjusting the comparison threshold, the comparison result output by the second differential comparator 160 can be made configurable.
[0072] The output end of the second differential comparator 160 may be provided with an inverter and a switch, and the switch is connected in parallel to the input and output ends of the inverter to selectively connect the inverter to the output end of the second differential comparator 160, thereby adjusting the polarity of the output signal.
[0073] In one embodiment, the number of first differential comparators 150 is at least 4; the external devices include but are not limited to 4 groups of differential terminal pairs, wherein the first differential terminal pair includes terminal OBD6 and terminal OBD14; the second differential terminal pair includes terminal OBD3 and terminal OBD11; the third differential terminal pair includes terminal OBD3 and terminal OBD8; and the fourth differential terminal pair includes terminal OBD12 and terminal OBD1.
[0074] It can be understood that the external device can be an on-board self-diagnosis system, and usually the terminal OBD6 and the terminal OBD14, the terminal OBD3 and the terminal OBD11, the terminal OBD3 and the terminal OBD8, the terminal OBD12 and the terminal OBD1 are defaulted as differential terminal pairs for outputting two differential signals. Therefore, in order to facilitate data transmission, the number of the first differential comparator 150 can be at least 4, so as to be connected to each differential terminal pair. For the signal receiving process under the differential communication protocol, taking the differential terminal pair as the terminal OBD6 and the terminal OBD14 as an example, assume that the terminal OBD6 is a high-side driver, the output voltage is 5V, and the differential impedance of 60Ω is connected through the control switch in the drive circuit, and the buffer is turned on to realize the terminal OBD6 switching to the CANH function in the differential pair; assume that the terminal OBD14 is a low-side driver, the output voltage is 5V, and the differential impedance of 60Ω is connected through the control switch in the drive circuit, and the buffer is turned on to realize the terminal OBD14 switching to the CANL function in the differential pair. The process of receiving signals for other differential terminal pairs is similar.
[0075] In one embodiment, Figure 4 As shown, the integrated transceiver circuit also includes a plurality of second voltage-dividing circuits (not shown), a plurality of second selectors 180 and a plurality of buffer amplifiers (not shown), each second voltage-dividing circuit is respectively connected one-to-one with each monitoring terminal group of the external device, wherein the second voltage-dividing circuit is connected with each communication terminal in the corresponding monitoring terminal group, and is used to divide the communication signal from each communication terminal; each second selector 180 is respectively connected one-to-one with each second voltage-dividing circuit, and is used to select at most one of the divided communication signals for output; each buffer amplifier is respectively connected one-to-one with each second selector 180, and is used to output the communication signal output by the second selector 180.
[0076] Among them, each monitoring terminal group can be a group of communication terminals of the external diagnostic equipment for the voltage to be monitored. In order to realize the monitoring of the output status of each monitoring terminal group, the corresponding second voltage divider circuit is first used to divide the communication signal output by it to reduce the voltage of the communication signal, and then the divided communication signal is transmitted to the corresponding second selector 180, so as to select one of the communication signals of the OBD end for output according to the monitoring needs, and then output through the buffer amplifier to match the input impedance and reduce signal distortion, and finally transmitted to the AUX pin of the integrated transceiver circuit for output.
[0077] In one embodiment, the voltage division ratio of the second voltage division circuit may be 0.2.
[0078] In one embodiment, the number of second voltage divider circuits, the number of second selectors 180 and the number of buffer amplifiers are at least 4, and the external devices include but are not limited to 4 groups of terminal groups to be monitored, wherein the first terminal group to be monitored includes terminal OBD1, terminal OBD3, terminal OBD7 and terminal OBD9; the second terminal group to be monitored includes terminal OBD2, terminal OBD6, terminal OBD8 and terminal OBD10; the third terminal group to be monitored includes terminal OBD11, terminal OBD13, terminal OBD15 and terminal OBD16; the fourth terminal group to be monitored includes terminal OBD14.
[0079] It can be understood that the external device can be an on-board self-diagnosis system, which usually defines terminals OBD1, OBD3, OBD7 and OBD9 as a group of terminals to be monitored; terminals OBD2, OBD6, OBD8 and OBD10 as a group of terminals to be monitored; terminals OBD11, OBD13, OBD15 and OBD16 as a group of terminals to be monitored; terminal OBD14 is defined as a group of terminals to be monitored, so for the convenience of monitoring, the number of second voltage divider circuits, the number of second selectors 180 and buffer amplifiers can be at least 4, so as to monitor each terminal group to be monitored, so that the voltage monitoring of any OBD terminal can be realized. In one embodiment, the pin voltage of any OBD terminal can be read by this monitoring method, and then the pin protocol type can be determined according to the pin voltage; for example, if the pin voltage of terminal OBD6 is detected to be 2.5V, it can be determined that it is a CAN protocol.
[0080] In one embodiment, Figure 5 As shown, the upper tube load adjustment unit 1321 and the lower tube load adjustment unit 1322 respectively include a plurality of parallel branches, wherein each branch includes a switch element K2 and a resistor element R2 or a current mirror unit (not shown) connected in series with the switch element K2.
[0081] It can be understood that the upper tube load adjustment unit 1321 is used to clamp the output drive signal at a high level, and the lower tube load adjustment unit 1322 is used to clamp the output drive signal at a low level. The upper tube load adjustment unit 1321 and the lower tube load adjustment unit 1322 may include multiple parallel branches, each branch may include a switch element and a resistor element connected in series, or a switch element and a current mirror unit connected in series, and the switch element is used to control the connection of the resistor element or the current mirror unit, thereby realizing the voltage, current and load configuration of the output drive signal.
[0082] In one embodiment, the resistance values of the resistor elements R2 may be the same or different. In one embodiment, the currents provided by the current mirror units may be the same or different.
[0083] In one embodiment, the driver may further include a diode D1 and a diode D2. Figure 5 As shown, they are respectively arranged at the output ends of the transistor NH and the transistor PL to limit the current flow direction and ensure the normal operation of the transistors.
[0084] In one embodiment, the driving circuit 130 also includes two output configuration circuits, each of which includes an inverter N and a switching element connected in parallel between the input and output ends of the inverter N; wherein the input end of the inverter N is connected to the target transistor, and the output end of the inverter N is connected to the gate of the target transistor; the target transistor is a transistor NH or a transistor PL.
[0085] It can be understood that for the signal from the external device, a high potential may represent a dominant state or a low potential may represent a dominant state. In order to achieve the driving of the transistor, an output configuration circuit may be set at the gate of each transistor to change the polarity of the signal transmitted to the transistor by the external device. Specifically, the output configuration circuit may include an inverter N and a switch element K3 connected in parallel at both ends of the inverter N. The switch element K3 may selectively connect the inverter N between the transmission matrix 110 and the transistor, thereby selectively changing the polarity of the signal output by the transmission matrix 110 to effectively drive the transistor. For example, the signal output by the transmission matrix 110 is a low level, and the transistor NH needs a high level drive. At this time, the switch can be turned off so that the signal becomes a high level through the inverter N and is further transmitted to the transistor NH.
[0086] The embodiment of the present invention also provides an integrated transceiver circuit, such as Figure 5As shown, it includes a transmitting matrix 110, a receiving matrix 140, a buffer 120, a plurality of driving circuits 130, a plurality of first differential comparators 150, two first selectors 170, a second differential comparator 160, a plurality of second voltage divider circuits, a plurality of second selectors 180 and a plurality of buffer amplifiers, each driving circuit 130 includes a voltage stabilizing circuit 131, a driver, a differential impedance control unit, a hysteresis comparator, a first DAC circuit, a second DAC circuit, a first voltage divider circuit and two output configuration circuits.
[0087] For the signal transmission mode, the driver includes a transistor NH and an upper tube load adjustment unit 1321 connected between the source and drain of the transistor NH, a transistor PL and a lower tube load adjustment unit 1322 connected between the source and drain of the transistor PL, a diode D1 connected to the drain of the transistor NH, and a diode D2 connected to the drain of the transistor PL. The voltage regulator circuit 131 is used to output the supply voltage to the source of the transistor NH and the upper tube load adjustment unit 1321. The source of the transistor PL is connected to the ground terminal. In this way, the driver can be configured to output a voltage-configurable output drive signal when it is selected by the transmission matrix 110. The gates of the transistor NH and the transistor PL can also be connected to an output configuration circuit respectively. The output configuration circuit includes an inverter N and a switch element connected in parallel between the input terminal and the output terminal of the inverter N. In this way, the inverter N can be configured to be connected between the transmission matrix 110 and the transistor through the switch element, so as to be applicable to both the dominant input and recessive input input modes.
[0088] The differential impedance control unit includes a control switch K1 and a load element 1331 connected in series with the control switch K1. The control switch K1 can selectively turn on the conductive path where the driver, the load element 1331 and the buffer 120 are located to maintain the reference voltage of the output drive signal at the reference voltage.
[0089] For the signal receiving mode, the hysteresis comparator includes a first threshold comparator 1341, a second threshold comparator 1342 and an RS trigger, and the first voltage divider circuit can be configured to divide the power supply voltage of the bus power supply, and use the first voltage obtained by the voltage division as the reference voltage of the first DAC circuit, and use the second voltage obtained by the voltage division as the reference voltage of the second DAC circuit, so that the first DAC circuit provides the first hysteresis voltage to the first threshold comparator 1341, and the second DAC circuit provides the second hysteresis voltage to the second threshold comparator 1342, and the first threshold comparator 1341 and the second threshold comparator 1342 receive the first hysteresis voltage. A driving signal is output, and the voltage of the output driving signal is compared with the corresponding hysteresis voltage, wherein the first hysteresis voltage is less than the second hysteresis voltage, the comparison result of the first threshold comparator 1341 is output to the reset end of the RS trigger, and the comparison result of the second threshold comparator 1342 is output to the set end of the RS trigger, and the output result of the RS trigger is output to the receiving matrix 140, and then transmitted to the corresponding port of the external control device by the receiving matrix 140, so that when the voltage of the input driving signal is between the first hysteresis voltage and the second hysteresis voltage, the output result of the RS trigger remains unchanged, thereby improving the accuracy and reliability of the output signal.
[0090] Each first differential comparator 150 corresponds one-to-one to each differential terminal pair of the external device, and the two input terminals of the first differential comparator 150 are connected one-to-one to the two terminals in the corresponding differential terminal pair; the output terminal of each first differential comparator 150 is connected to the receiving matrix 140, so as to realize the reception of differential signals from the defined differential terminal pairs.
[0091] The two input ends of the second differential comparator 160 are respectively connected to the output ends of the two first selectors 170 in one-to-one correspondence, and the output end of the second differential comparator 160 is connected to the receiving matrix 140; the first selector 170 is used to connect to each communication terminal of the external device, so that the two first selectors 170 can respectively select one of the communication terminals to be connected to the second differential comparator 160, so as to realize the reception of differential signals from undefined terminal pairs.
[0092] The comparison threshold and output polarity of the first differential comparator 150 and the second differential comparator 160 are adjustable, so that the voltage adjustment of any input drive signal and the adjustment of the drive polarity can be realized.
[0093] In addition, the cooperation between multiple second voltage-dividing circuits, multiple second selectors 180 and multiple buffer amplifiers can realize the output monitoring of the OBD terminal. Among them, each second voltage-dividing circuit corresponds to each monitoring terminal group of the external device, and the second voltage-dividing circuit is connected to each communication terminal in the corresponding monitoring terminal group, and is used to divide the communication signal from each communication terminal. Each second selector 180 is connected to each second voltage-dividing circuit in a one-to-one correspondence, and is used to select at most one of the divided communication signals for output. Finally, the buffer amplifier is used to amplify the communication signal output by the second selector 180, so that the external monitoring device can determine the output state of the OBD terminal according to the amplified signal.
[0094] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An integrated transceiver circuit, characterized in that: include: Send Matrix; Receiving matrix; a buffer for providing a reference voltage; A plurality of driving circuits, each of the driving circuits comprises: A voltage stabilizing circuit, used for providing a power supply voltage with an adjustable voltage value; A driver, comprising a transistor NH and an upper tube load adjustment unit connected between a source and a drain of the transistor NH, and a transistor PL and a lower tube load adjustment unit connected between a source and a drain of the transistor PL, wherein the gates of the transistor NH and the transistor PL are respectively connected to the transmission matrix, the source of the transistor NH is connected to the voltage stabilizing circuit, and the source of the transistor PL is connected to the ground terminal, and the driver is configured to output an output drive signal that can be matched with voltage, current and load when being selected by the transmission matrix; A differential impedance control unit, comprising a control switch and a load element connected in series with the control switch, wherein the control switch is used to selectively conduct the conductive path where the driver, the load element and the buffer are located, so as to maintain the reference voltage of the output drive signal at the reference voltage; Hysteresis comparator, including: a first threshold comparator, configured to receive an input drive signal from an external device and compare a voltage of the input drive signal with a first hysteresis voltage; A second threshold comparator, configured to receive the input drive signal and compare a voltage of the input drive signal with a second hysteresis voltage; the first hysteresis voltage being smaller than the second hysteresis voltage; An RS trigger, wherein a reset terminal of the RS trigger is connected to an output terminal of the first threshold comparator, and a set terminal of the RS trigger is connected to an output terminal of the second threshold comparator; The receiving matrix is selectively connected to the output end of each of the RS triggers.
2. The integrated transceiver circuit according to claim 1, characterized in that: The driving circuit further includes: a first DAC circuit, connected to the first threshold comparator, and configured to provide the first hysteresis voltage; The second DAC circuit is connected to the second threshold comparator and is used to provide the second hysteresis voltage.
3. The integrated transceiver circuit according to claim 2, characterized in that: The driving circuit further includes: The first voltage divider circuit is respectively connected to the bus power supply, the first DAC circuit and the second DAC circuit, and can be configured to divide the power supply voltage of the bus power supply to obtain a first voltage, and use the first voltage as a reference voltage for the first DAC circuit, and to obtain a second voltage, and use the second voltage as a reference voltage for the second DAC circuit.
4. The integrated transceiver circuit according to claim 1, characterized in that: The integrated transceiver circuit further comprises: A plurality of first differential comparators, each of which corresponds one-to-one to each differential terminal pair of the external device, and two input terminals of the first differential comparator are connected one-to-one to two terminals of the corresponding differential terminal pair; and an output terminal of each of the first differential comparators is connected to the receiving matrix.
5. The integrated transceiver circuit according to claim 4, characterized in that: The integrated transceiver circuit further comprises: two first gates; A second differential comparator, wherein two input terminals of the second differential comparator are respectively connected to the output terminals of the two first selectors in a one-to-one correspondence, and an output terminal of the second differential comparator is connected to the receiving matrix; The first selector is used to be connected to each communication terminal of the external device, and is used to select one of the communication terminals to be connected to the differential comparator.
6. The integrated transceiver circuit according to claim 5, characterized in that: The comparison thresholds and output polarities of the first differential comparator and the second differential comparator are adjustable.
7. The integrated transceiver circuit according to claim 4, characterized in that: The number of the first differential comparators is at least 4; the external device includes but is not limited to 4 groups of differential terminal pairs, wherein the first differential terminal pair includes terminal OBD6 and terminal OBD14; the second differential terminal pair includes terminal OBD3 and terminal OBD11; the third differential terminal pair includes terminal OBD3 and terminal OBD8; and the fourth differential terminal pair includes terminal OBD12 and terminal OBD1.
8. The integrated transceiver circuit according to claim 1, characterized in that: The integrated transceiver circuit further comprises: A plurality of second voltage-dividing circuits, each of which corresponds to each monitoring terminal group of the external device, and the second voltage-dividing circuit is connected to each communication terminal in the corresponding monitoring terminal group, for dividing the voltage of the communication signal from each communication terminal; A plurality of second selectors, connected to the second voltage divider circuits one by one, respectively, and used for selecting at most one of the divided communication signals for output; A plurality of buffer amplifiers are connected to the second gates in a one-to-one correspondence, respectively, and are used to output the communication signal output by the second gate.
9. The integrated transceiver circuit according to claim 8, characterized in that: The number of the second voltage divider circuits, the number of the second selectors and the number of the buffer amplifiers are at least 4, and the external devices include but are not limited to 4 groups of terminal groups to be monitored, wherein the first terminal group to be monitored includes terminal OBD1, terminal OBD3, terminal OBD7 and terminal OBD9; the second terminal group to be monitored includes terminal OBD2, terminal OBD6, terminal OBD8 and terminal OBD10; the third terminal group to be monitored includes terminal OBD11, terminal OBD13, terminal OBD15 and terminal OBD16; the fourth terminal group to be monitored includes terminal OBD14.
10. The integrated transceiver circuit according to claim 1, characterized in that: The upper tube load adjustment unit and the lower tube load adjustment unit respectively include a plurality of parallel branches, wherein each branch includes a switch element and a resistance element or a current mirror unit connected in series with the switch element.
11. The integrated transceiver circuit according to claim 1, characterized in that: The driving circuit further includes: Two output configuration circuits, each of which includes an inverter and a switch element connected in parallel between the input and output of the inverter; wherein the input of the inverter is connected to a target transistor, and the output of the inverter is connected to a gate of the target transistor; the target transistor is the transistor NH or the transistor PL.
Citation Information
Patent Citations
Hysteresis comparator
CN109818597A
Matrix driving apparatus and multi-channel signal switching method thereof
CN110794808A
Pin switching circuit of OBD interface and vehicle detection equipment
CN116101192A
Application-specific integrated circuit configured to interface with automotive diagnostic port
US20180225249A1
