Voltage switching circuit and communication logic conversion circuit

By combining the design of the voltage switching circuit and the logic gate chip, the problem of fixed output voltage level of the logic gate circuit and the need for multiple circuits for multi-channel signals is solved, and the flexible switching of the output voltage level of the logic gate circuit and the reduction of components are realized, reducing the cost and area occupied.

CN113078897BActive Publication Date: 2024-08-23SHANGHAI GUANXIAN OPTOELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110476606.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2024-08-23
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

In existing communication digital circuits, the output voltage level of logic gate circuits is fixed and cannot be switched when the control signal changes. Moreover, multiple input and output signals require multiple logic gate circuits or additional voltage conversion circuits for each channel, resulting in increased cost and area.

Method used

A voltage switching circuit is designed, including an inverter, a first voltage switching circuit and a second voltage switching circuit. The voltage output terminal is controlled by a control signal to realize changes in the output voltage level of the logic gate circuit chip, and the logic gate chip and The combination of voltage switching circuits provides shared power supply and switching voltage levels for multiple signals.

Benefits of technology

It realizes flexible switching of the output voltage level of the logic gate circuit, reduces the number of components, reduces the cost and the area occupied by the circuit board.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113078897B
    Figure CN113078897B
Patent Text Reader

Abstract

The present invention provides a voltage switching circuit, including: a control signal input terminal CTRL, a voltage first level input terminal V1, a voltage second level input terminal V2, a voltage output terminal VOUT, an inverter, a first voltage switch circuit and a second voltage switch circuit; and also provides a communication logic conversion circuit using the voltage switching circuit. The voltage switching circuit and the communication logic conversion circuit provided by the present invention can change the output voltage level of the logic gate circuit chip when the control signal level is converted; even if there are multiple input and output signals, when the control signal level is converted, all output voltage levels can be switched, without using multiple logic gate circuit chips or adding a voltage conversion circuit to each output logic conversion circuit, thereby reducing the number of components, reducing costs, and reducing the circuit board area occupied by the functional circuit module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication digital circuits, and in particular to a voltage switching circuit and a communication logic conversion circuit using the voltage switching circuit. Background Art

[0002] At present, control signals and logic gate circuits are often used in the communication digital circuits of electronic products to convert input-output logic. Its structure is as follows Figure 1 As shown, this structure uses each input signal and control signal to perform logic operations to convert the level logic of the output signal, for example:

[0003] When the control signal is at a high level, the output level is logically opposite to the input level, that is, when the input is at a high / low level, the output is at a low / high level; when the control signal is at a low level, the output level is logically the same as the input level, that is, when the input is at a high / low level, the output is also at a high / low level;

[0004] When the control signal is at a high level, the output level is logically the same as the input level, that is, when the input is at a high / low level, the output is also at a high / low level; when the control signal is at a low level, the output level is logically opposite to the input level, that is, when the input is at a high / low level, the output is at a low / high level.

[0005] However, in this type of level logic conversion method, regardless of whether the control signal is high or low, the high-level voltage threshold of the output is VCC* (the high-level threshold coefficient of the logic gate IC). Sometimes, when the control signal changes, it is necessary to make the output voltage threshold different from VCC* (the high-level threshold coefficient of the logic gate IC). If two logic gate ICs are used, powered by power supply 1 and power supply 2 respectively, or a voltage conversion circuit is added to each output, the cost will undoubtedly increase greatly, and the area occupied by the circuit board will also increase.

[0006] At present, no description or report of similar technology to the present invention has been found, and similar information at home and abroad has not been collected yet. Summary of the invention

[0007] In view of the above-mentioned deficiencies in the prior art, the present invention provides a voltage switching circuit and a communication logic conversion circuit.

[0008] According to one aspect of the present invention, there is provided a voltage switching circuit, comprising: a first control signal input terminal CTRL, a voltage first level input terminal V1, a voltage second level input terminal V2, a voltage output terminal VOUT, an inverter, a first voltage switch circuit and a second voltage switch circuit; wherein:

[0009] The inverter includes a current limiting resistor R2 and an NPN transistor Q2; the first voltage switch circuit includes a current limiting voltage divider resistor R3, a pull-up voltage divider resistor R4 and a PNP transistor Q3; the second voltage switch circuit includes a current limiting resistor R1 and a PNP transistor Q1;

[0010] One end of the current limiting resistor R2 is connected to the first control signal input terminal CTRL as the input end of the inverter, the other end of the current limiting resistor R2 is connected to the base of the NPN transistor Q2, the emitter of the NPN transistor Q2 is connected to the power ground, and the collector of the NPN transistor Q2 is connected to one end of the current limiting voltage divider resistor R3 as the input end of the first voltage switch circuit as the output end of the inverter 155;

[0011] The other end of the current-limiting voltage-dividing resistor R3 is respectively connected to one end of the pull-up voltage-dividing resistor R4 and the base of the PNP transistor Q3, the other end of the pull-up voltage-dividing resistor R4 is connected to the emitter of the PNP transistor Q3 and the voltage second-level input terminal V2, and the collector of the PNP transistor Q3 serves as the output end of the first voltage switch circuit and is connected to the voltage output terminal VOUT;

[0012] One end of the current limiting resistor R1 serves as the input end of the second voltage switch circuit and is connected to the first control signal input end CTRL. The other end of the current limiting resistor R1 is connected to the base of the PNP transistor Q1. The emitter of the PNP transistor Q1 is connected to the first voltage input end V1. The collector of the PNP transistor Q1 serves as the output end of the second voltage switch circuit and is connected to the voltage output end VOUT.

[0013] Preferably, in the inverter:

[0014] When the level of the first control signal input terminal CTRL is at a low level, the NPN transistor Q2 is turned off, and the collector of the NPN transistor Q2 is at a high level;

[0015] When the level of the first control signal input terminal CTRL is at a high level, the NPN transistor Q2 is turned on, and the collector of the NPN transistor Q2 is at a low level.

[0016] Preferably, in the first voltage switch circuit:

[0017] When the level of the first control signal input terminal CTRL is high, the NPN transistor Q2 is turned on, the PNP transistor Q3 is turned on, and the voltage output terminal VOUT is equivalent to a short circuit with the voltage second level input terminal V2;

[0018] When the level of the first control signal input terminal CTRL is at a low level, the NPN transistor Q2 is turned off, the PNP transistor Q3 is turned off, and the voltage output terminal VOUT and the voltage second level input terminal V2 are equivalent to an open circuit.

[0019] Preferably, in the second voltage switch circuit:

[0020] When the level of the first control signal input terminal CTRL is high, the PNP transistor Q1 is turned off, and the voltage output terminal VOUT and the voltage first level input terminal V1 are equivalent to an open circuit;

[0021] When the level of the first control signal input terminal CTRL is at a low level, the PNP transistor Q1 is turned on, and the voltage output terminal VOUT and the voltage first level input terminal V1 are equivalent to being open.

[0022] Preferably, the input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 are both direct current voltages.

[0023] Preferably, the input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 are not equal.

[0024] Preferably, the high level voltage level of the first control signal input terminal CTRL is greater than or equal to the input voltage value of the voltage first level input terminal V1.

[0025] According to another aspect of the present invention, a communication logic conversion circuit is provided, comprising: any of the voltage switching circuits described above and a logic gate chip U1; wherein:

[0026] The logic gate chip U1 is provided with a second control signal input terminal CTRL, a voltage input terminal, one or more logic signal input terminals and a logic signal output terminal corresponding to the logic signal input terminal;

[0027] After performing a logic operation on the input signal of the second control signal input terminal CTRL and the input signal of each logic signal input terminal, the input signal is output through the corresponding logic signal output terminal;

[0028] The voltage input terminal of the logic gate chip U1 is connected to the voltage output terminal VOUT of the voltage switching circuit, and is used to provide power to the logic gate chip U1 and change the high level voltage level of the output level of the logic gate chip U1.

[0029] Preferably, the input signal of the second control signal input terminal CTRL of the communication logic conversion circuit and the input signal of the first control signal input terminal CTRL of the voltage switching circuit are the same signal.

[0030] Preferably, the high-level voltage of the output level of the logic gate chip U1 is: VOUTx (high-level threshold coefficient of U1).

[0031] Preferably, when the level of the second control signal input terminal CTRL is low, VOUTx (high level threshold coefficient of U1) = V1x (high level threshold coefficient of U1);

[0032] When the level of the second control signal input terminal CTRL is high, VOUTx (high level threshold coefficient of U1) = V2x (high level threshold coefficient of U1).

[0033] Preferably, the input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 do not exceed the maximum rated voltage of the logic gate chip U1.

[0034] Preferably, the input voltage of the voltage first level input terminal V1 or the voltage second level input terminal V2 is selected as the output of the voltage switching circuit to provide power for the communication logic conversion circuit.

[0035] Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:

[0036] The voltage switching circuit and the communication logic conversion circuit provided by the present invention can change the output voltage level of the logic gate circuit chip when the control signal level is converted.

[0037] The voltage switching circuit and communication logic conversion circuit provided by the present invention can switch all output voltage levels when the control signal level is converted even if there are multiple input and output signals. There is no need to use multiple logic gate circuit chips or add a logic conversion circuit of a voltage conversion circuit to each output, which reduces the number of components, reduces the cost, and reduces the circuit board area occupied by the functional circuit module. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0039] Figure 1 The figure is a schematic diagram of the structure of an existing communication logic conversion circuit.

[0040] Figure 2 Schematic diagram of the voltage switching circuit structure in a preferred embodiment of the present invention.

[0041] Figure 3 It is a schematic diagram of the structure of a communication logic conversion circuit in a preferred embodiment of the present invention.

[0042] Figure 4 In a preferred embodiment of the present invention, Figure 2 Schematic diagram of the communication logic conversion circuit structure of the voltage switching circuit shown. DETAILED DESCRIPTION

[0043] The following is a detailed description of the embodiment of the present invention: This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, such as replacing the NPN transistor of the present embodiment with NMOS, replacing the PNP transistor with PMOS, etc., which all belong to the protection scope of the present invention.

[0044] An embodiment of the present invention provides a voltage switching circuit. The circuit is used in the output voltage level conversion of a communication logic conversion circuit. When the control signal level is converted, the power supply of the logic gate circuit chip also switches the power supply voltage to solve the problem that the output voltage level of the logic gate circuit chip can only be one when the control signal level is converted in the communication logic conversion circuit. At the same time, when there are multiple input and output signals that need to switch the output voltage level at the same time, the multiple input and output signals share a logic gate chip and are powered by the voltage switching circuit to solve the problem of the logic conversion circuit that originally required multiple logic gate circuit chips or added a voltage conversion circuit to each output.

[0045] To achieve the above-mentioned purpose, the voltage switching circuit provided in this embodiment may include a control signal input terminal, a voltage level 1 power input terminal, a voltage level 2 power input terminal, and a power output terminal; wherein, the voltage level 1 power supply and the voltage level 2 power supply are used to provide alternative power supplies for the power output, and the control signal is used to control whether the power supply voltage level output by the power output terminal is voltage level 1 or voltage level 2.

[0046] Specifically, the voltage switching circuit provided by this embodiment is described as follows.

[0047] like Figure 2 As shown, the voltage switching circuit provided in this embodiment may include: a first control signal input terminal CTRL, a voltage first level input terminal V1, a voltage second level input terminal V2, a voltage output terminal VOUT, an inverter 155, a first voltage switch circuit 156 and a second voltage switch circuit 157; wherein:

[0048] The inverter 155 includes a current limiting resistor R2 and an NPN transistor Q2; the voltage switch circuit includes a current limiting voltage divider resistor R3, a pull-up voltage divider resistor R4 and a PNP transistor Q3; the second voltage switch circuit includes a current limiting resistor R1 and a PNP transistor Q1;

[0049] One end of the current limiting resistor R2 is connected to the first control signal input terminal CTRL as the input end of the inverter 155, the other end of the current limiting resistor R2 is connected to the base of the NPN transistor Q2, the emitter of the NPN transistor Q2 is connected to the power ground, and the collector of the NPN transistor Q2 is connected to one end of the current limiting voltage divider resistor R3 as the input end of the first voltage switch circuit 156 as the output end of the inverter 155;

[0050] The other end of the current limiting voltage divider resistor R3 is respectively connected to one end of the pull-up voltage divider resistor R4 and the base of the PNP transistor Q3, the other end of the pull-up voltage divider resistor R4 is connected to the emitter of the PNP transistor Q3 and the voltage second level input terminal V2, and the collector of the PNP transistor Q3 is connected to the voltage output terminal VOUT as the output terminal of the first voltage switch circuit 156;

[0051] One end of the current limiting resistor R1 serves as the input end of the second voltage switch circuit 157 and is connected to the first control signal input end CTRL. The other end of the current limiting resistor R1 is connected to the base of the PNP transistor Q1. The emitter of the PNP transistor Q1 is connected to the first voltage input end V1. The collector of the PNP transistor Q1 serves as the output end of the second voltage switch circuit 157 and is connected to the voltage output end VOUT.

[0052] In this embodiment, as a preferred embodiment, in the inverter 155:

[0053] When the level of the first control signal input terminal CTRL is at a low level, the NPN transistor Q2 is turned off, and the collector of the NPN transistor Q2 is at a high level;

[0054] When the level of the first control signal input terminal CTRL is at a high level, the NPN transistor Q2 is turned on, and the collector of the NPN transistor Q2 is at a low level.

[0055] In this embodiment, as a preferred embodiment, in the first voltage switch circuit 156:

[0056] When the level of the first control signal input terminal CTRL is high, the NPN transistor Q2 is turned on, the PNP transistor Q3 is turned on, and the voltage output terminal VOUT is equivalent to a short circuit with the voltage second level input terminal V2;

[0057] When the level of the first control signal input terminal CTRL is low, the NPN transistor Q2 is turned off, the PNP transistor Q3 is turned off, and the voltage output terminal VOUT and the voltage second level input terminal V2 are equivalent to an open circuit.

[0058] In this embodiment, as a preferred embodiment, in the second voltage switch circuit 157:

[0059] When the level of the first control signal input terminal CTRL is high, the PNP transistor Q1 is turned off, and the voltage output terminal VOUT and the voltage first level input terminal V1 are equivalent to open circuit;

[0060] When the level of the first control signal input terminal CTRL is at a low level, the PNP transistor Q1 is turned on, and the voltage output terminal VOUT and the voltage first level input terminal V1 are equivalent to being open.

[0061] In this embodiment, as a preferred embodiment, the input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 are both direct current voltages.

[0062] In this embodiment, as a preferred embodiment, the input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 are not equal.

[0063] In this embodiment, as a preferred embodiment, the high level voltage level of the first control signal input terminal CTRL is greater than or equal to the input voltage value of the voltage first level input terminal V1.

[0064] An embodiment of the present invention provides a communication logic conversion circuit. The circuit may include a voltage switching unit and a logic signal conversion unit; wherein: the logic signal conversion unit may include a voltage input terminal, a control signal input terminal, one or more logic signal input terminals and one or more logic signal output terminals corresponding to the logic signal input terminals; wherein the voltage switching unit has two functions, first, to provide power to the logic signal conversion unit, and second, to change the voltage level of VCC (the power supply voltage of the communication logic conversion circuit), and to change the level of the output voltage of the communication logic conversion circuit according to the voltage output of the output signal of the communication logic conversion circuit being VCCx (the high level threshold coefficient of the logic signal conversion unit); the control signal has two functions, first, as a logic level, to perform a logic operation with each input signal, and second, to control the output voltage of the voltage switching circuit.

[0065] like Figure 3 As shown, the communication logic conversion circuit provided in this embodiment may include: the voltage switching circuit 150 of any one of the above embodiments as a voltage switching unit and a logic signal conversion unit; wherein:

[0066] The logic signal conversion unit is provided with a second control signal input terminal CTRL, a voltage input terminal, one or more logic signal input terminals and a logic signal output terminal corresponding to the logic signal input terminal;

[0067] The second control signal input terminal CTRL is connected to each logic signal input terminal. After the logic signal conversion unit performs a logic operation on the input signal, the signal is output through the corresponding logic signal output terminal.

[0068] The voltage input terminal of the logic signal conversion unit is connected to the voltage output terminal VOUT of the voltage switching unit, and is used to provide power to the logic signal conversion unit and change the voltage level of the logic signal conversion unit outputting a high level.

[0069] In this embodiment, as a preferred embodiment, the input signal of the second control signal input terminal CTRL of the communication logic conversion circuit and the input signal of the first control signal input terminal CTRL of the voltage switching circuit are the same signal.

[0070] In this embodiment, as a preferred embodiment, by the level of the second control signal input terminal CTRL being low or high, one of V1 or V2 is selected as VOUT, so that the logic signal conversion unit outputs a high-level voltage level of V1x (the high-level threshold coefficient of the logic signal conversion unit) or V2x (the high-level threshold coefficient of the logic signal conversion unit). Specifically:

[0071] The logic signal conversion unit can use the logic gate chip U1, then:

[0072] The high level voltage of the output level of the logic signal conversion unit is: VOUTx (high level threshold coefficient of U1).

[0073] When the level of the second control signal input terminal CTRL is low, VOUTx (high level threshold coefficient of U1) = V1x (high level threshold coefficient of U1);

[0074] When the level of the second control signal input terminal CTRL is high, VOUTx (high level threshold coefficient of U1) = V2x (high level threshold coefficient of U1).

[0075] In this embodiment, as a preferred embodiment, the input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 do not exceed the maximum rated voltage of the logic signal conversion unit;

[0076] The input voltage of the voltage first level input terminal V1 or the voltage second level input terminal V2 is selected as the output of the voltage switching circuit to provide power for the communication logic conversion circuit.

[0077] The technical solutions provided in the above embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0078] like Figure 4 As shown, a voltage switching circuit and a communication logic conversion circuit using the voltage switching circuit are provided as examples of the implementation of the present invention. Among them:

[0079] The voltage switching circuit 150 includes a control signal input terminal CTRL for controlling the output voltage, a power input terminal V1 of voltage level 1, a power input terminal V2 of voltage level 2, a voltage output terminal VOUT, an inverter 155, a voltage switching circuit 156 composed of a voltage dividing resistor and a PNP transistor, and a voltage switching circuit 157 composed of a current limiting resistor and a PNP transistor.

[0080] The inverter 155 is composed of a current limiting resistor R2 and an NPN transistor Q2. One end of R2 is connected to the control signal input terminal CTRL, which is the input end of the inverter 155. The other end of R2 is connected to the base of Q2. The emitter of Q2 is connected to the power ground. The collector of Q2 is the output end of the inverter 155 and is connected to one end of the resistor R3 of the switch circuit 156. When the level of the control signal input terminal CTRL is low, Q2 is turned off and the collector of Q2 is high. When the level of the control signal input terminal CTRL is high, Q2 is turned on and the collector of Q2 is low.

[0081] The switch circuit 156 is composed of a resistor R3, a resistor R4 and a PNP transistor Q3. The resistor R3 has the function of current limiting and voltage dividing. One end of the resistor R3 is connected to the output end of the inverter 155, and the other end is connected to one end of the voltage dividing resistor R4 and the base of Q3. R4 has the function of pull-up and voltage dividing. The other end of the resistor R3 is connected to the power input end V2 of the voltage level 2 and the emitter of the PNP transistor Q3. The emitter of Q3 is connected to the power input end V2 of the voltage level 2. The collector of Q3 is the output end of the switch circuit 156 and is connected to the voltage output end VOUT. When the level of the control signal input end CTRL is high, Q2 is turned on, Q3 is turned on, and the voltage output end VOUT is equivalent to the power input end V2 of the voltage level 2. When the level of the control signal input end CTRL is low, Q2 is turned off, Q3 is turned off, and the voltage output end VOUT is equivalent to the power input end V2 of the voltage level 2. Open circuit.

[0082] The switch circuit 157 is composed of a current limiting resistor R1 and a PNP transistor Q1, one end of R1 is connected to the control signal input terminal CTRL, and the other end is connected to the base of Q1, the emitter of Q1 is connected to the power input terminal V1 of the voltage level 1, and the collector of Q1 is the output end of the switch circuit 157, connected to the voltage output terminal VOUT. When the level of the control signal input terminal CTRL is high, Q1 is turned off, and the voltage output terminal VOUT is equivalent to the power input terminal V2 of the voltage level 1. When the level of the control signal input terminal CTRL is low, Q1 is turned on, and the voltage output terminal VOUT is equivalent to the power input terminal V2 of the voltage level 1.

[0083] The communication logic conversion circuit 160 includes a voltage switching circuit 150 and a logic gate chip U1; wherein the logic gate chip U1 includes a control signal input terminal CTRL, a voltage input terminal, logic signal input terminals TX1, RX1, TX2, RX2 and logic signal output terminals TX1-OUT, RX1-OUT, TX2-OUT, RX2-OUT. After the control signal input terminal CTRL performs a logic operation with each signal input from the logic signal input terminals TX1, RX1, TX2, RX2, the signals are output through the logic signal output terminals TX1-OUT, RX1-OUT, TX2-OUT, RX2-OUT. When the level of the control signal input terminal CTRL is low, the high level voltage of the output level of the logic gate chip U1 is V1ⅹ (the high level threshold coefficient of U1); when the level of the control signal input terminal CTRL is high, the high level voltage of the output level of U1 is V2ⅹ (the high level threshold coefficient of U1). The VCC input at the voltage input terminal is used to provide power to U1 and change the high level voltage level of the output level of U1.

[0084] The voltage switching circuit and communication logic conversion circuit provided by the above-mentioned embodiments of the present invention solve the problem in the prior art that when the control signal level is converted in the communication logic conversion circuit, the output voltage level of the logic gate circuit chip can only have one level, thereby providing a circuit in which the output voltage level of the logic gate circuit chip can also be changed when the control signal level is converted.

[0085] The voltage switching circuit and communication logic conversion circuit provided by the above-mentioned embodiments of the present invention do not need to use multiple logic gate circuit chips or add a logic conversion circuit of a voltage conversion circuit to each output even if multiple input and output signals need to switch the output voltage levels at the same time, thereby reducing components, lowering costs, and reducing the circuit board area occupied by the circuit module.

[0086] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various deformations or modifications within the scope of the claims, such as replacing the NPN transistor of the present embodiment with NMOS, and the PNP transistor with PMOS, etc., which does not affect the essential content of the present invention.

Claims

1. A communication logic conversion circuit (160), characterized in that: include: Voltage switching circuit (150) and logic gate chip U1; wherein: The voltage switching circuit (150) comprises: a first control signal input terminal CTRL, a voltage first level input terminal V1, a voltage second level input terminal V2, a voltage output terminal VOUT, an inverter (155), a first voltage switch circuit (156) and a second voltage switch circuit (157); wherein: The inverter (155) comprises a current limiting resistor R2 and an NPN transistor Q2; the first voltage switch circuit (156) comprises a current limiting voltage divider resistor R3, a pull-up voltage divider resistor R4 and a PNP transistor Q3; the second voltage switch circuit (157) comprises a current limiting resistor R1 and a PNP transistor Q1; One end of the current limiting resistor R2 serves as an input end of the inverter (155) and is connected to the first control signal input end CTRL; the other end of the current limiting resistor R2 is connected to the base of the NPN transistor Q2; the emitter of the NPN transistor Q2 is connected to the power ground; the collector of the NPN transistor Q2 serves as an output end of the inverter 155 and is connected to one end of the current limiting voltage divider resistor R3 serving as an input end of the first voltage switch circuit (156); The other end of the current limiting voltage dividing resistor R3 is respectively connected to one end of the pull-up voltage dividing resistor R4 and the base of the PNP transistor Q3, the other end of the pull-up voltage dividing resistor R4 is connected to the emitter of the PNP transistor Q3 and the voltage second level input terminal V2, and the collector of the PNP transistor Q3 serves as the output end of the first voltage switch circuit (156) and is connected to the voltage output terminal VOUT; One end of the current limiting resistor R1 serves as the input end of the second voltage switch circuit (157) and is connected to the first control signal input end CTRL; the other end of the current limiting resistor R1 is connected to the base of the PNP transistor Q1; the emitter of the PNP transistor Q1 is connected to the voltage first level input end V1; the collector of the PNP transistor Q1 serves as the output end of the second voltage switch circuit (157) and is connected to the voltage output end VOUT; The logic gate chip U1 is provided with a second control signal input terminal CTRL, a voltage input terminal, one or more logic signal input terminals and a logic signal output terminal corresponding to the logic signal input terminal; After performing a logic operation on the input signal of the second control signal input terminal CTRL and the input signal of each logic signal input terminal, the input signal is output through the corresponding logic signal output terminal; The voltage input terminal of the logic gate chip U1 is connected to the voltage output terminal VOUT of the voltage switching circuit (150), and is used to provide power to the logic gate chip U1 and change the high level voltage level of the output level of the logic gate chip U1.

2. The communication logic conversion circuit (160) according to claim 1, characterized in that: In the inverter (155): When the level of the first control signal input terminal CTRL is at a low level, the NPN transistor Q2 is turned off, and the collector of the NPN transistor Q2 is at a high level; When the level of the first control signal input terminal CTRL is at a high level, the NPN transistor Q2 is turned on, and the collector of the NPN transistor Q2 is at a low level.

3. The communication logic conversion circuit (160) according to claim 1, characterized in that: In the first voltage switch circuit (156): When the level of the first control signal input terminal CTRL is high, the NPN transistor Q2 is turned on, the PNP transistor Q3 is turned on, and the voltage output terminal VOUT is equivalent to a short circuit with the voltage second level input terminal V2; When the level of the first control signal input terminal CTRL is at a low level, the NPN transistor Q2 is turned off, the PNP transistor Q3 is turned off, and the voltage output terminal VOUT and the voltage second level input terminal V2 are equivalent to an open circuit.

4. The communication logic conversion circuit (160) according to claim 1, characterized in that: In the second voltage switch circuit (157): When the level of the first control signal input terminal CTRL is high, the PNP transistor Q1 is turned off, and the voltage output terminal VOUT and the voltage first level input terminal V1 are equivalent to an open circuit; When the level of the first control signal input terminal CTRL is at a low level, the PNP transistor Q1 is turned on, and the voltage output terminal VOUT and the voltage first level input terminal V1 are equivalent to being open.

5. The communication logic conversion circuit (160) according to any one of claims 1 to 4, characterized in that: Also includes any one or more of the following: The input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 are both direct current voltages; The input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 are not equal; The high level voltage level of the first control signal input terminal CTRL is greater than or equal to the input voltage value of the voltage first level input terminal V1.

6. The communication logic conversion circuit (160) according to claim 1, characterized in that: The input signal of the second control signal input terminal CTRL of the communication logic conversion circuit (160) and the input signal of the first control signal input terminal CTRL of the voltage switching circuit (150) are the same signal.

7. The communication logic conversion circuit (160) according to claim 1, characterized in that: The high level voltage of the output level of the logic gate chip U1 is: VOUTx (high level threshold coefficient of U1).

8. The communication logic conversion circuit (160) according to claim 7, characterized in that: When the level of the second control signal input terminal CTRL is low, VOUTⅹ (high level threshold coefficient of U1) = V1ⅹ (high level threshold coefficient of U1); When the level of the second control signal input terminal CTRL is high, VOUTx (high level threshold coefficient of U1)=V2x (high level threshold coefficient of U1).

9. The communication logic conversion circuit (160) according to any one of claims 6 to 8, characterized in that: Also includes any one or more of the following: The input voltages of the first-level voltage input terminal V1 and the second-level voltage input terminal V2 do not exceed the maximum rated voltage of the logic gate chip U1; The input voltage of the voltage first level input terminal V1 or the voltage second level input terminal V2 is selected as the output of the voltage switching circuit (150) to provide power for the communication logic conversion circuit (160).