Interface conversion circuit and system
By designing the interface conversion circuit and using the voltage input circuit and the level conversion of the transistor control signal, the digital signal transmission problem caused by the inconsistent level of the integrated circuit is solved, and the reliable transmission of the signal is achieved.
Patent Information
- Application Number
- CN202110206212.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-02-24
AI Technical Summary
In complex large-scale digital circuits, the problem of inability to transmit digital signals occurs due to inconsistent level voltages between integrated circuits.
Design an interface conversion circuit, including a voltage input circuit, a triode, a signal input terminal and a signal output terminal. By controlling the conduction state of the triode, the level conversion of the digital signal is realized to ensure that the signal is transmitted between integrated circuits of different voltage levels. Transmittable.
Regardless of whether the level voltages of the two integrated circuits are equal, digital signals can be effectively converted and transmitted, avoiding transmission failures caused by inconsistent levels.
Smart Images

Figure CN113114213B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and in particular to an interface conversion circuit and system. Background Art
[0002] With the rapid development of the electronics industry, in the current large-scale circuit signal transmission, converting analog signals into digital signals and transmitting them through carriers has become the mainstream technology today. Generally speaking, the storage, transmission, and processing of digital signals all adopt binary level mode, that is, they are composed of only "1" and "0", "1" represents high level, and "0" represents low level. However, when corresponding to the hardware circuit, the level is usually compared by the voltage level as the corresponding parameter. "0" is a low level, which usually corresponds to the reference ground voltage of the reference system, and "1" is a high level, which usually corresponds to the high voltage of the reference system ground. Moreover, high voltage can be expressed in a variety of voltage forms (for example: 5V / 3.3V / 1.8V / 1.2V / 1.5V, etc. can all be considered as high levels). There will be no problems in storing, transmitting, and processing these signals with inconsistent voltage levels in their respective voltage level circuits. However, in the processing of complex large-scale digital circuits, due to the unique characteristics of many integrated circuits, their level voltage is also inconsistent with the level voltage of other integrated circuits. Therefore, when digital signals are transmitted between integrated circuits of different voltage levels, the digital signals cannot be transmitted due to the inconsistent level voltages of the two integrated circuits. Summary of the invention
[0003] The object of the present invention is to provide an interface conversion circuit and system to improve the problem in the prior art that digital signals cannot be transmitted due to inconsistent level voltages of two integrated circuits.
[0004] The embodiment of the present invention is achieved as follows:
[0005] In the first aspect, an embodiment of the present application provides an interface conversion circuit, which includes a voltage input circuit, a transistor, a signal input terminal and a signal output terminal, wherein one end of the voltage input circuit is connected to the gate of the transistor, the other end of the voltage input circuit is connected to the collector of the transistor, the collector of the transistor is connected to the signal output terminal, and the signal input terminal is connected to the emitter of the transistor. The signal input terminal is used to input a digital signal XH_V1, and the signal output terminal is used to output a converted digital signal XH_V2. The voltage input circuit can input a voltage to the gate and collector of the transistor Q1. The level of the input digital signal XH_V1 can control the conduction of the transistor Q1. When the transistor is in the on state, the voltage of the collector of the transistor Q1 will be consistent with the voltage of the emitter of the transistor Q1, and the voltage of the collector of the transistor Q1 is the voltage of the signal output terminal, thereby obtaining the output digital signal XH_V2. When the transistor is in the cut-off state, the voltage at the signal output end is consistent with the voltage V2 of the voltage input circuit, and the output digital signal XH_V2 is obtained. Therefore, regardless of whether V1 and V2 are equal, XH_V1 can be converted into XH_V2 signal, and there will be no situation where the digital signal cannot be transmitted due to inconsistent level voltages of the two integrated circuits.
[0006] In some embodiments of the present invention, the voltage input circuit includes a first input circuit and a second input circuit, the first input circuit is connected to the gate of the transistor, and the second input circuit is connected to the collector of the transistor. In the above implementation process, the input voltage of the first input circuit is V1, and the input voltage of the second input circuit is V2, and then the voltage V1 can be input to pin 1 of the transistor Q1, and the voltage V2 can be applied to pin 3 of the transistor Q1, so that the voltage is successfully input to the transistor Q1.
[0007] In some embodiments of the present invention, the first input circuit includes a first resistor and a first interface, one end of the first resistor is connected to the first interface, and the other end of the first resistor is connected to the gate of the transistor. In the above implementation process, the first interface is used to receive the voltage V1, which is then used as the gate input voltage of the transistor.
[0008] In some embodiments of the present invention, the second input circuit includes a second resistor and a second interface, one end of the second resistor is connected to the second interface, and the other end of the second resistor is connected to the collector of the transistor. In the above implementation process, the second interface is used to receive the voltage V2, and then input the voltage to the collector of the transistor.
[0009] In some embodiments of the present invention, the interface conversion circuit further includes a voltage divider circuit, one end of which is connected to the gate of the transistor, and the other end of which is connected to the signal input terminal. In the above implementation process, the voltage divider circuit can cooperate with the first input circuit to divide the voltage of V1, thereby obtaining a resistance voltage to drive pin 1 of the transistor Q1.
[0010] In some embodiments of the present invention, the voltage divider circuit includes a third resistor, one end of the third resistor is connected to the gate of the transistor, and the other end of the third resistor is connected to the signal input terminal. In the above implementation process, V1 can be divided by the first resistor and the third resistor to obtain a resistor voltage to drive pin 1 of the transistor Q1.
[0011] In some embodiments of the present invention, the above-mentioned transistor is a high-speed transistor. In the above-mentioned implementation process, the high-speed transistor can output the digital signal XH_V2 in the shortest possible time by virtue of its higher operating frequency, thus improving the working efficiency of the interface conversion circuit.
[0012] In some embodiments of the present invention, the signal input terminal is connected to an anti-interference circuit. In the above implementation process, the anti-interference circuit can make the digital signal XH_V1 input by the signal input terminal free of interference.
[0013] In some embodiments of the present invention, the signal output terminal is connected to a detection circuit. In the above implementation process, the detection circuit is used to detect whether the digital signal XH_V2 output by the signal output terminal is an accurate digital signal.
[0014] In a second aspect, an embodiment of the present application provides an interface conversion system, which includes a first external circuit, a second external circuit, and the interface conversion circuit of the first aspect, wherein the first external circuit is connected to the interface conversion circuit, and the interface conversion circuit is connected to the second external circuit. In the above implementation process, after the interface conversion circuit is added to the first external circuit and the second external circuit, the interface conversion circuit can achieve the purpose of digital signal transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 A circuit diagram of an interface conversion circuit provided by an embodiment of the present invention;
[0017] Figure 2A circuit diagram of an anti-interference circuit provided by an embodiment of the present invention;
[0018] Figure 3 A circuit diagram of a detection circuit provided by an embodiment of the present invention;
[0019] Figure 4 A structural block diagram of an interface conversion system provided by an embodiment of the present invention;
[0020] Figure 5 A circuit diagram of another interface conversion circuit provided by an embodiment of the present invention.
[0021] Icon: 100 - first external circuit; 110 - second external circuit; 120 - interface conversion circuit. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0023] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. 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.
[0024] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of this application, if the terms "first", "second", etc. appear, they are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, if the terms "include", "comprise" or any other variant thereof appear, it is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, if an element defined by the sentence "comprises a..." appears, it does not exclude the presence of other identical elements in the process, method, article or equipment including the element.
[0026] In the description of the present application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear to indicate an orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, or are the orientation or position relationship in which the product of the application is usually placed when used. This is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.
[0027] In the description of this application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0028] In conjunction with the accompanying drawings, some implementation methods of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0029] Please refer to Figure 1 , Figure 1The circuit diagram of an interface conversion circuit 120 provided in an embodiment of the present application is shown. An interface conversion circuit 120 includes a voltage input circuit, a transistor Q1, a signal input terminal and a signal output terminal, wherein one end of the voltage input circuit is connected to the gate of the transistor Q1, and the other end of the voltage input circuit is connected to the collector of the transistor Q1. Among them, the voltage input to the gate of the transistor Q1 by the voltage input circuit is V1, and the voltage input to the collector of the transistor Q1 by the voltage input circuit is V2. The collector of the transistor Q1 is connected to the signal output terminal, and the signal input terminal is connected to the emitter of the transistor Q1. The signal input terminal is used to input a digital signal XH_V1, and the signal output terminal is used to output a converted digital signal XH_V2. Specifically, the voltage input circuit can input voltage to the gate and collector of the transistor Q1. The level of the input digital signal XH_V1 can control the conduction of the transistor Q1. When the transistor Q1 is in the on state, the voltage of the collector of the transistor Q1 will be consistent with the voltage of the emitter of the transistor Q1, and the voltage of the collector of the transistor Q1 is the voltage of the signal output end, thereby obtaining the output digital signal XH_V2. When the transistor Q1 is in the off state, the voltage of the signal output end is consistent with the voltage V2 of the voltage input circuit, and the output digital signal XH_V2 is obtained. Therefore, regardless of whether V1 and V2 are equal, XH_V1 can be converted into the XH_V2 signal, and there will be no situation where the digital signal cannot be transmitted due to the inconsistent level voltages of the two integrated circuits.
[0030] In the above implementation process, when the digital signal XH_V1 is at a low level "0", the level of the transistor Q1 is consistent with the level of the digital signal XH_V1. After the voltage input circuit inputs voltage to the transistor Q1, pin 3 and pin 2 of the transistor Q1 will be turned on, and the level of pin 3 will be pulled to be consistent with the level of pin 2, and the level of pin 3 of the transistor Q1 is consistent with the level of the digital signal XH_V1. And because the collector of the transistor Q1 is connected to the signal output end, the level of the signal output end is consistent with the level of the digital signal XH_V1, that is, the low level "0", thereby realizing the transmission of the low level "0".
[0031] When the digital signal XH_V1 is at a high level "1", the pin 2 of the transistor Q1 is at a high level "1". After the voltage input circuit inputs voltage to the transistor Q1, a voltage difference cannot be formed between the emitter and the gate of the transistor Q1, and the voltage of the pin 1 of the transistor Q1 is consistent with the input voltage of the voltage input circuit, so that the transistor Q1 will be cut off. At this time, the pins 3 and 2 of the transistor Q1 will be in the cut-off state, and the pin 2 of the transistor Q1 is at a low level. Since the voltage input circuit inputs the voltage to the collector of the transistor Q1 as V2, the voltage of the pin 3 of the transistor Q1 is V2. Therefore, the level of the pin 3 of the transistor Q1 is high, and the level of the pin 3 of the transistor Q1 is consistent with the level of the digital signal XH_V1. Thus, the transmission of the high level "1" is realized.
[0032] In some implementations of this embodiment, the voltage input circuit includes a first input circuit and a second input circuit, the first input circuit is connected to the gate of the transistor Q1, and the second input circuit is connected to the collector of the transistor Q1. The first input circuit is used to input the voltage V1, and the second input circuit is used to input the voltage V2. Specifically, the input voltage of the first input circuit is V1, and the input voltage of the second input circuit is V2, and then the voltage V1 can be input to pin 1 of the transistor Q1, and the voltage V2 can be applied to pin 3 of the transistor Q1, so that the voltage is successfully input to the transistor Q1.
[0033] In some implementations of this embodiment, the first input circuit includes a first resistor R1 and a first interface, one end of the first resistor R1 is connected to the first interface, and the other end of the first resistor R1 is connected to the gate of the transistor Q1. Specifically, the first interface is used to receive a voltage V1, which is then a gate input voltage of the transistor Q1.
[0034] In some implementations of this embodiment, the second input circuit includes a second resistor R2 and a second interface, one end of the second resistor R2 is connected to the second interface, and the other end of the second resistor R2 is connected to the collector of the transistor Q1. Specifically, the second interface is used to receive the voltage V2, which is then input as the collector voltage of the transistor Q1.
[0035] In some implementations of this embodiment, the interface conversion circuit 120 further includes a voltage divider circuit, one end of which is connected to the gate of the transistor Q1, and the other end of which is connected to the signal input terminal, and the voltage divider circuit is used to: Specifically, when the digital signal XH_V1 is at a low level "0", the voltage divider circuit can cooperate with the first input circuit to divide the voltage of V1, thereby obtaining a resistance voltage to drive pin 1 of the transistor Q1.
[0036] In some implementations of this embodiment, the voltage divider circuit includes a third resistor, one end of the third resistor is connected to the gate of the transistor Q1, and the other end of the third resistor is connected to the signal input terminal. Specifically, when the digital signal XH_V1 is at a low level "0", V1 can be divided by the first resistor R1 and the third resistor to obtain a resistor voltage to drive pin 1 of the transistor Q1.
[0037] In some implementations of this embodiment, the transistor Q1 is a high-speed transistor. Specifically, the high-speed transistor is a transistor Q1 with a relatively high operating frequency. Since the operating frequency of the high-speed transistor is relatively high, when the digital signal XH_V1 is input from the signal input terminal, the high-speed transistor can output the digital signal XH_V2 in the shortest possible time by virtue of its relatively high operating frequency, thereby improving the working efficiency of the interface conversion circuit 120.
[0038] In some implementations of this embodiment, the signal input terminal is connected to an anti-interference circuit. The anti-interference circuit can make the digital signal XH_V1 input by the signal input terminal free of interference. After the digital signal is processed by the anti-interference circuit, the obtained digital signal XH_V1 will not carry an interference signal, thus avoiding the influence of the interference signal on the digital signal conversion. The anti-interference circuit can be a common anti-interference circuit. Specifically, Figure 2 Shown is a circuit diagram of an anti-interference circuit provided by an embodiment of the present invention.
[0039] In some implementations of this embodiment, the signal output terminal is connected to a detection circuit. The detection circuit is used to detect whether the digital signal XH_V2 output by the signal output terminal is an accurate digital signal. If it is not an accurate digital signal, it reflects that the interface conversion circuit 120 may have a fault, and the user can be reminded to perform maintenance in time. The detection circuit can be a common detection circuit. Specifically, Figure 3 Shown is a circuit diagram of a detection circuit provided by an embodiment of the present invention.
[0040] Please refer to Figure 4 , Figure 4 The interface conversion system provided by an embodiment of the present application is shown. An interface conversion system includes a first external circuit 100, a second external circuit 110 and the above-mentioned interface conversion circuit 120, wherein the first external circuit 100 is connected to the interface conversion circuit 120, and the interface conversion circuit 120 is connected to the second external circuit 110. The above-mentioned first external circuit 100 and the second external circuit 110 are both integrated circuits. Specifically, the interface conversion circuit 120 is mainly used to transmit digital signals between integrated circuits. The system can realize that after the interface conversion circuit 120 is added to two integrated circuits, the interface conversion circuit 120 can achieve the purpose of digital signal transmission.
[0041] Please refer to Figure 5 , Figure 5 FIG. 1 is a circuit diagram of another interface conversion circuit 120 provided by an embodiment of the present invention. The circuit diagram of an interface conversion circuit 120, the first resistor R1, the first interface, the second resistor R2, the second interface, the third resistor, the transistor Q1, the signal input terminal and the signal output terminal can also be Figure 5 Circuit diagram shown. Specifically, one end of the third resistor is connected to the gate of the transistor Q1, and the other end of the third resistor is connected to the signal input terminal. One end of the first resistor R1 is connected to the first interface, and the other end of the first resistor R1 is connected to the third resistor. One end of the second resistor R2 is connected to the second interface, and the other end of the second resistor R2 is connected to the collector of the transistor Q1, and the collector of the transistor Q1 is also connected to the signal output terminal, and the emitter of the transistor Q1 is grounded. In the above connection mode, the voltage V1 can be input to the No. 1 pin of the transistor Q1 after voltage division by the first resistor R1 and the third resistor, and the voltage V2 can be input to the No. 3 pin of the transistor Q1. Then, when the input digital signal XH_V1 is at a low level, the voltage of the No. 1 pin of the transistor Q1 is V1. The voltage of the No. 3 pin of the transistor Q1 is pulled up by the second resistor R2 to be consistent with the voltage V2, and the level of the digital signal XH_V1 is a high level, thereby realizing the transmission of a high level "1". When the input digital signal XH_V1 is at a high level, the voltage can be applied to the gate of transistor Q1. At this time, pin 3 and pin 2 of transistor Q1 will be in a conducting state, and pin 3 of transistor Q1 is at a low level, and the level of pin 3 of transistor Q1 is at a high level. Thus, the transmission of high level "1" is realized.
[0042] In the above implementation process, when the input digital signal XH_V1 is low level, the output digital signal XH_V2 is high level. When the input digital signal XH_V1 is high level, the output digital signal XH_V2 is low level. If you need to output the level in opposite directions, you can use Figure 5 The interface conversion circuit 120 is shown.
[0043] In summary, an interface conversion circuit and system provided by an embodiment of the present application includes a voltage input circuit, a transistor Q1, a signal input terminal and a signal output terminal, one end of the voltage input circuit is connected to the gate of the transistor Q1, the other end of the voltage input circuit is connected to the collector of the transistor Q1, the collector of the transistor Q1 is connected to the signal output terminal, and the signal input terminal is connected to the emitter of the transistor Q1. The signal input terminal is used to input a digital signal XH_V1, and the signal output terminal is used to output the converted digital signal XH_V2. The voltage input circuit can input a voltage to the gate and collector of the transistor Q1. The level of the input digital signal XH_V1 can control the conduction of the transistor Q1. When the transistor Q1 is in the on state, the voltage of the collector of the transistor Q1 will be consistent with the voltage of the emitter of the transistor Q1, and the voltage of the collector of the transistor Q1 is the voltage of the signal output terminal, thereby obtaining the output digital signal XH_V2. When the transistor Q1 is in the cut-off state, the voltage at the signal output end is consistent with the voltage V2 of the voltage input circuit, and the output digital signal XH_V2 is obtained. Therefore, regardless of whether V1 and V2 are equal, XH_V1 can be converted into XH_V2 signal, and there will be no situation where the digital signal cannot be transmitted due to the inconsistent level voltage of the two integrated circuits.
[0044] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0045] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. An interface conversion circuit, characterized in that: It includes a voltage input circuit, a transistor Q1, a signal input terminal and a signal output terminal, wherein one terminal of the voltage input circuit is connected to the gate of the transistor Q1, and the other terminal of the voltage input circuit is connected to the collector of the transistor Q1; wherein the voltage inputted to the gate of the transistor Q1 by the voltage input circuit is V1, and the voltage inputted to the collector of the transistor Q1 by the voltage input circuit is V2; the collector of the transistor Q1 is connected to the signal output terminal, the signal input terminal is connected to the emitter of the transistor Q1, the signal input terminal is used to input a digital signal XH_V1, and the signal output terminal is used to output a converted digital signal XH_V2; specifically, the voltage input circuit can input a voltage to the gate and collector of the transistor Q1; the input The level of the digital signal XH_V1 can control the conduction of the transistor Q1. When the transistor Q1 is in the on state, the voltage of the collector of the transistor Q1 will be consistent with the voltage of the emitter of the transistor Q1, and the voltage of the collector of the transistor Q1 is the voltage of the signal output end, thereby obtaining the output digital signal XH_V2; when the transistor Q1 is in the off state, the voltage of the signal output end is consistent with the voltage V2 of the voltage input circuit, and thereby obtaining the output digital signal XH_V2; therefore, no matter whether V1 and V2 are equal, XH_V1 can be converted into the XH_V2 signal, and there will be no situation where the digital signal cannot be transmitted due to the inconsistent level voltages of the two integrated circuits; In the above implementation process, when the digital signal XH_V1 is at a low level "0", the level of the transistor Q1 is consistent with the level of the digital signal XH_V1; after the voltage input circuit inputs voltage to the transistor Q1, pin 3 and pin 2 of the transistor Q1 will be turned on, and the level of pin 3 will be pulled to be consistent with the level of pin 2, and the level of pin 3 of the transistor Q1 is consistent with the level of the digital signal XH_V1; and because the collector of the transistor Q1 is connected to the signal output end, the level of the signal output end is consistent with the level of the digital signal XH_V1, that is, low level "0", thereby realizing the transmission of low level "0"; When the digital signal XH_V1 is at a high level "1", the pin 2 of the transistor Q1 is at a high level "1"; after the voltage input circuit inputs voltage to the transistor Q1, a voltage difference cannot be formed between the emitter and the gate of the transistor Q1, and the voltage of the pin 1 of the transistor Q1 is consistent with the input voltage of the voltage input circuit, so that the transistor Q1 will be cut off; at this time, the pins 3 and 2 of the transistor Q1 will be in a cut-off state, and the pin 2 of the transistor Q1 will be at a low level; since the voltage input circuit inputs the voltage to the collector of the transistor Q1 as V2, the voltage of the pin 3 of the transistor Q1 is V2; therefore, the level of the pin 3 of the transistor Q1 is high, and the level of the pin 3 of the transistor Q1 is consistent with the level of the digital signal XH_V1; thereby realizing the transmission of a high level "1"; The voltage input circuit includes a first input circuit and a second input circuit, the first input circuit is connected to the gate of the transistor Q1, and the second input circuit is connected to the collector of the transistor Q1; the first input circuit is used to input the voltage V1, and the second input circuit is used to input the voltage V2; specifically, the input voltage of the first input circuit is V1, and the input voltage of the second input circuit is V2, and then the voltage V1 can be input to the No. 1 pin of the transistor Q1, and the voltage V2 can be pressed to the No. 3 pin of the transistor Q1, so that the voltage is successfully input to the transistor Q1; The first input circuit includes a first resistor R1 and a first interface, one end of the first resistor R1 is connected to the first interface, and the other end of the first resistor R1 is connected to the gate of the transistor Q1; specifically, the first interface is used to receive a voltage V1, which is then used as a gate input voltage of the transistor Q1; The second input circuit includes a second resistor R2 and a second interface, one end of the second resistor R2 is connected to the second interface, and the other end of the second resistor R2 is connected to the collector of the transistor Q1; specifically, the second interface is used to receive a voltage V2, and then input a voltage to the collector of the transistor Q1; The interface conversion circuit also includes a voltage divider circuit, one end of which is connected to the gate of the transistor Q1, and the other end of which is connected to the signal input terminal; specifically, when the digital signal XH_V1 is at a low level "0", the voltage divider circuit cooperates with the first input circuit to divide the voltage of V1, thereby obtaining a resistance voltage to drive pin 1 of the transistor Q1; The voltage divider circuit includes a third resistor, one end of the third resistor is connected to the gate of the transistor Q1, and the other end of the third resistor is connected to the signal input terminal; specifically, when the digital signal XH_V1 is at a low level "0", V1 is divided by the first resistor R1 and the third resistor to obtain a resistor voltage to drive pin 1 of the transistor Q1; The transistor Q1 is a high-speed transistor; when a digital signal XH_V1 is input from the signal input terminal, the high-speed transistor can output a digital signal XH_V2 in the shortest possible time by virtue of its operating frequency, so as to improve the working efficiency of the interface conversion circuit; The above-mentioned signal input terminal is connected with an anti-interference circuit; the anti-interference circuit makes the digital signal XH_V1 inputted by the signal input terminal free of interference; when the digital signal is processed by the anti-interference circuit, the obtained digital signal XH_V1 will not carry an interference signal, so as to avoid the influence of the interference signal on the digital signal conversion; The above-mentioned signal output terminal is connected to a detection circuit; the detection circuit is used to detect whether the digital signal XH_V2 output by the signal output terminal is an accurate digital signal; if it is not an accurate digital signal, it reflects that the interface conversion circuit has a fault, thereby reminding the user to perform maintenance in time.
2. An interface conversion system, characterized in that: The system comprises a first external circuit, a second external circuit and the interface conversion circuit as claimed in claim 1, wherein the first external circuit is connected to the interface conversion circuit, and the interface conversion circuit is connected to the second external circuit; the first external circuit and the second external circuit are both integrated circuits; specifically, the interface conversion circuit is mainly used to transmit digital signals between integrated circuits; the system is used to realize that after the interface conversion circuit is added to two integrated circuits, the interface conversion circuit can achieve the purpose of digital signal transmission.
