CN115733483A - High-voltage difference signal bidirectional conversion circuit - Google Patents

High-voltage difference signal bidirectional conversion circuit Download PDF

Info

Publication number
CN115733483A
CN115733483A CN202211533353.9A CN202211533353A CN115733483A CN 115733483 A CN115733483 A CN 115733483A CN 202211533353 A CN202211533353 A CN 202211533353A CN 115733483 A CN115733483 A CN 115733483A
Authority
CN
China
Prior art keywords
voltage
unit
signal
data interface
triode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211533353.9A
Other languages
Chinese (zh)
Inventor
黄维权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202211533353.9A priority Critical patent/CN115733483A/en
Publication of CN115733483A publication Critical patent/CN115733483A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to a two-way converting circuit of high dropout signal, it includes: a first data interface for outputting a first data signal; a second data interface for outputting a second data signal; the first voltage output unit is connected to the second data interface and used for outputting a first preset voltage signal, and the voltages of the first data signal and the first preset voltage signal are adapted to external equipment; the second voltage output unit is connected to the first data interface and used for outputting a second preset voltage signal, and the voltages of the second data signal and the second preset voltage signal are adapted to the main controller; the first unidirectional switch unit is used for controlling the first voltage output unit to be short-circuited with the second data interface based on the first data signal of low level; and the second unidirectional switch unit is used for controlling the second voltage output unit to be short-circuited with the second data interface based on the second data signal with low level. The method and the device can realize reliable communication of a single-wire bidirectional transmission data wire between the main controller and the peripheral equipment under IIC communication.

Description

High-voltage difference signal bidirectional conversion circuit
Technical Field
The application relates to the technical field of communication, in particular to a high-dropout signal bidirectional conversion circuit.
Background
In some electronic product designs, the operating voltage of a main controller (such as a CPU mounted in a vehicle) is low (such as 1.8V), and the operating voltage of an external device connected to the main controller and controlled by the main controller is high (such as 5V). For the vehicle-mounted system, the communication between the main controller and the external device adopts the IIC standard, the data line of the IIC is single-wire bidirectional transmission communication, but when the voltage of the transmitting device and the voltage of the receiving device of the IIC are not matched, the data cannot be normally transmitted.
In order to solve this problem, it is a conventional practice to provide a level conversion chip between the main controller and the external device, so as to implement high-low level signal conversion between two ICC data lines, thereby implementing bidirectional communication of data. However, with the influence of external environmental factors such as trade war, great uncontrollable risk is met in imported chip purchase, and the design demand of on-vehicle electronic product is more and more difficult to satisfy to this solution.
Disclosure of Invention
In order to realize reliable communication of a single-wire bidirectional transmission data line between a main controller with low working voltage and external equipment with high working voltage under IIC communication, the application provides a high-dropout signal bidirectional conversion circuit.
The application provides a two-way converting circuit of high dropout signal adopts following technical scheme:
a high dropout signal bidirectional conversion circuit, comprising:
a first data interface for outputting a first data signal having a voltage adapted to the main controller;
a second data interface for outputting a second data signal having a voltage adapted to the external device;
the first voltage output unit is connected to the first data interface and used for outputting a first preset voltage signal, and the voltage of the first preset voltage signal is adapted to the main controller;
the second voltage output unit is connected to the second data interface and used for outputting a second preset voltage signal, and the voltage of the second preset voltage signal is adapted to external equipment;
the first unidirectional switch unit is used for acquiring a first data signal, controlling the first voltage output unit to be short-circuited at the second data interface based on the first data signal with low level, and controlling the first voltage output unit to be open-circuited at the second data interface based on the first data signal with high level;
and the second unidirectional switch unit is used for acquiring a second data signal, controlling the second voltage output unit to be short-circuited to the first data interface based on the low-level second data signal, and controlling the second voltage output unit to be open-circuited to the first data interface based on the high-level second data signal.
By adopting the technical scheme, when the first data interface outputs the first data signal with low level, the first one-way switch unit is conducted, and at the moment, the first voltage output unit is short-circuited with the first data interface. Because the first data interface of low level shows the state of sinking current, therefore the output terminal of the second voltage output unit is pulled down to low level, and in the same way, the level of the second data interface is pulled down to low level, thereby realizing the low level signal transmission from the first data interface to the second output interface.
When the first data interface outputs a first data signal with high level, the first one-way switch unit is switched off, and the second voltage output unit outputs a second preset voltage signal, so that the voltage of the second data interface is pulled up to be high level, and the conversion from the first data interface to the high level signal of the second output interface is realized.
When the second data interface outputs a low-level second data signal, the second one-way switch unit is turned on, and at the moment, the second voltage output unit is short-circuited with the second data interface. Because the second data interface of low level shows the state of sinking current, therefore the output terminal of the first voltage output unit is pulled down to low level, and in the same way, the level of the first data interface is pulled down to low level, thereby realizing the low level signal transmission from the second data interface to the first output interface.
When the second data interface outputs a second data signal with high level, the second one-way switch unit is switched off, and the first voltage output unit outputs a first preset voltage signal, so that the voltage of the first data interface is pulled up to be high level, and the conversion from the second data interface to the high level signal of the first output interface is realized.
Optionally, the high dropout signal bidirectional conversion circuit further includes:
a third voltage output unit for outputting a third preset voltage signal with a voltage adapted to the external device;
the fourth voltage output unit is used for outputting a fourth preset voltage signal of which the voltage is adaptive to the main controller;
the first trigger pull-up unit is used for triggering and controlling the third voltage output unit and the second data interface to be conducted for a first preset time length based on a high-level first data signal, and the first trigger pull-up unit isolates the first data signal from a third preset voltage signal;
and the second trigger pull-up unit is used for triggering and controlling the fourth voltage output unit and the first data interface to be conducted for a second preset time length based on the high-level second data signal, and the second trigger pull-up unit isolates the second data signal and the fourth preset voltage signal.
By adopting the technical scheme, because the inside of the circuit is usually provided with the capacitor, when the first one-way switch unit is disconnected, the second voltage output unit can recover to the level of the second preset voltage after a short period of time. Therefore, the first trigger pull-up unit is arranged, the first trigger pull-up signal can detect the rising edge of the first data signal with high level, so that the third voltage output unit and the second data interface are conducted for a short time, and the driving capability of the second data interface for level rising is improved.
Similarly, when the second unidirectional switch unit is turned off, the first voltage output unit can be restored to the level of the first preset voltage after a short period of time. Therefore, the second trigger pull-up unit is arranged, the second trigger pull-up signal can detect the rising edge of the second data signal with high level, the fourth voltage output unit and the first data interface are conducted for a short time, and the driving capability of the first data interface for level rising is improved.
Optionally, the first unidirectional switch unit includes:
the output voltage of the first bias power supply is not higher than the voltage of the first preset voltage signal;
the first switch is provided with an enabling end, an input end and an output end, the enabling end of the first switch is connected to the first bias power supply, the input end of the first switch is connected to the second data interface, the output end of the first switch is connected to the first data interface, the first switch compares the relative magnitude of the output voltage value of the first bias power supply and the voltage value of the first preset voltage signal, if the difference between the output voltage value of the first bias power supply and the voltage value of the first preset voltage signal is smaller than or equal to a first threshold value, the first switch is disconnected, and otherwise, the input end and the output end of the first switch are connected.
Optionally, the first switch is an NPN triode Q1, a base of the first switch is an enable terminal, a collector is an input terminal, and an emitter is an output terminal.
By adopting the above technical scheme, the on condition of the NPN triode Q1 is that the difference between the base level and the emitter level is greater than the cut-off voltage, and the first threshold value can be set to the magnitude of the cut-off constant voltage corresponding to the NPN triode Q1.
Optionally, the second unidirectional switch unit includes:
the output voltage of the second bias power supply is not higher than the voltage of a second preset voltage signal;
the second switch is provided with an enabling end, an input end and an output end, the enabling end of the second switch is connected to the second bias power supply, the input end of the second switch is connected to the first data interface, the output end of the second switch is connected to the second data interface, the second switch compares the relative magnitude of the output voltage value of the second bias power supply and the second preset voltage signal voltage value, if the difference between the output voltage value of the second bias power supply and the second preset voltage signal voltage value is smaller than or equal to a second threshold value, the second switch is disconnected, and otherwise, the input end and the output end of the second switch are connected.
Optionally, the second switch is an NPN triode Q4, a base of the second switch is an enable terminal, a collector is an input terminal, and an emitter is an output terminal.
By adopting the above technical scheme, the on condition of the NPN triode Q4 is that the difference between the base level and the emitter level is greater than the cut-off voltage, and the second threshold value can be set to the magnitude of the cut-off constant voltage corresponding to the NPN triode Q4.
Optionally, the first trigger pull-up unit includes:
the first high-level trigger starting unit is connected to the first data interface and is switched on for a first preset time length based on the rising edge of the acquired first data signal;
and the first isolating switch unit is connected to the first high-level trigger starting unit and conducts the third voltage output unit and the second data interface based on the first data signal passing through the first high-level trigger starting unit, wherein the first isolating switch unit isolates the first data signal from the third preset voltage signal.
Optionally, the second trigger pull-up unit includes:
the second high-level trigger starting unit is connected to the second data interface and is conducted for a second preset time length based on the rising edge of the obtained second data signal;
and the second isolating switch unit is connected to the second high-level trigger starting unit and conducts the fourth voltage output unit and the first data interface based on the second data signal passing through the second high-level trigger starting unit, wherein the second isolating switch unit isolates the second data signal from the fourth preset voltage signal.
Optionally, the first isolating switch unit includes a fifth triode Q5, a fifth voltage-dividing resistor R5, a sixth resistor R6, and a third triode Q3, where the fifth triode Q5 is an NPN triode and the third triode Q3 is a PNP triode; the base electrode of the fifth triode Q5 is used as the control end of the first isolating switch unit, the collector electrode of the fifth triode Q5 is connected with the third voltage output unit through a fifth voltage-dividing resistor R5, and the emitter electrode of the fifth triode Q5 is connected with the ground wire; the base electrode of the third triode Q3 is connected with the collector electrode of the fifth triode Q5 through a sixth resistor R6, the collector electrode of the third triode Q3 is connected with the third voltage output unit, and the emitter electrode of the third triode Q3 is connected with the second data interface.
By adopting the technical scheme, the fifth triode Q5 is connected after acquiring the high level signal sent by the first high level trigger starting unit, so that the base level of the third triode Q3 is pulled down, the emitter level of the third triode Q3 is higher than the base level at the moment, the third triode Q3 is connected, the third voltage output unit is connected with the second data interface, and the level of the second data interface is pulled up.
Optionally, the first high-level trigger starting unit includes a first charge-discharge capacitor C11, a first discharge resistor R11, a first diode D1, an eighth resistor R8, and a third capacitor C3, where the first charge-discharge capacitor C11 and the first discharge resistor R11 are sequentially connected between the first data interface and the control end of the first isolating switch unit; the cathode of the first diode D1 is connected to the control end of the first isolating switch unit, and the anode of the first diode D1 is connected to the ground wire; two ends of the eighth resistor R8 are respectively connected with the control end of the first isolating switch unit and the ground wire; and two ends of the third capacitor C3 are respectively connected with the control end of the first isolating switch unit and the ground wire.
By adopting the technical scheme, when the first data signal is changed from the low level to the high level, the first charging and discharging capacitor C11 is switched on, the first diode D1, the eighth resistor R8 and the third capacitor C3 form a filtering unit, and the first high level trigger starting unit outputs the high level signal temporarily based on the received first data signal.
Optionally, the second isolation switch unit includes a second triode Q2, a ninth divider resistor R9, a tenth resistor R10, and a sixth triode Q6, where the second triode Q2 is an NPN triode, and the sixth triode Q6 is a PNP triode; the base electrode of the second triode Q2 is used as the control end of the second isolating switch unit, the collector electrode of the second triode Q2 is connected with the fourth voltage output unit through a ninth divider resistor R9, and the emitter electrode of the second triode Q2 is connected with the ground wire; the base of the sixth triode Q6 is connected to the collector of the second triode Q2 through a tenth resistor R10, the collector of the sixth triode Q6 is connected to the third voltage output unit, and the emitter is connected to the first data interface.
By adopting the technical scheme, the second triode Q2 is connected after acquiring the high level signal sent by the second high level trigger starting unit, so that the base level of the sixth triode Q6 is pulled down, the emitter level of the sixth triode Q6 is higher than the base level at the moment, the sixth triode Q6 is connected, the fourth voltage output unit is connected with the first data interface, and the level of the first data interface is pulled up.
Optionally, the second high-level trigger starting unit includes a second charge-discharge capacitor C21, a second discharge resistor R21, a second diode D2, a fourth resistor R4, and a fourth capacitor C4, where the second charge-discharge capacitor C21 and the second discharge resistor R21 are sequentially connected between the second data interface and the control end of the second isolating switch unit; the cathode of the second diode D2 is connected to the control end of the second isolating switch unit, and the anode of the second diode D2 is connected to the ground wire; two ends of the fourth resistor R4 are respectively connected with the control end of the second isolating switch unit and the ground wire; and two ends of the fourth capacitor C4 are respectively connected with the control end of the second isolating switch unit and the ground wire.
By adopting the above technical scheme, when the second data signal changes from low level to high level, the second charging and discharging capacitor C21 is turned on, the second diode D2, the fourth resistor R4 and the fourth capacitor C4 form a filtering unit, and the second high level trigger starting unit outputs a high level signal temporarily based on the received second data signal.
Optionally, the first voltage output unit includes a first voltage output source, a first resistor R1 and a first capacitor C1, one end of the first capacitor C1 is connected to the first voltage output source through the first resistor R1, the other end of the first capacitor C1 is connected to ground, and a node between the first resistor R1 and the first capacitor C1 serves as an output end of the first voltage output unit for outputting a first preset voltage signal.
Optionally, the second voltage output unit includes a second voltage output source, a third resistor R3, and a second capacitor C2, one end of the second capacitor C2 is connected to the second voltage output source through the third resistor R3, the other end is connected to the ground, and a node between the third resistor R3 and the second capacitor C2 is used as an output end of the second voltage output unit for outputting a second preset voltage signal.
In summary, the present application includes at least one of the following beneficial technical effects:
1. according to the embodiment of the invention, the voltage conversion circuit is arranged between the main controller working at low voltage and the peripheral ICC data line working at high voltage, and the voltage conversion of the main controller to the peripheral data is realized by utilizing the conduction and the cut-off of the first triode Q1, the third triode Q3 and the fifth triode Q5; the voltage conversion that the external device transmits data to the main controller is achieved by conducting and stopping the second triode Q2, the fourth triode Q4 and the sixth triode Q6. Meanwhile, due to the fact that the pull-up unit is triggered, the problem that the driving force of the one-way switch unit is insufficient is solved, the circuit has high driving capability during high-level signal transmission, and the purpose of bidirectional reliable transmission of ICC data line high-voltage difference single lines is achieved.
2. The circuit structure is simple to realize, a complex level conversion chip is replaced by a simple circuit, the circuit manufacturing cost is saved, and the restriction of the current trade war on the production of electronic products is broken.
Drawings
Fig. 1 is a circuit diagram of a bidirectional high dropout signal conversion circuit in an embodiment of the present application.
Description of reference numerals:
101. a first data interface; 102. a second data interface;
201. a first voltage output unit; 202. a second voltage output unit; 203. a third voltage output unit; 204. a fourth voltage output unit;
301. a first unidirectional switch unit; 302. a second unidirectional switch unit;
401. a first trigger pull-up unit; 4011. a first high level triggers the starting unit; 4012. a first isolation switch unit;
402. a second trigger pull-up unit; 4021. the second high level triggers the starting unit; 4022. and a second isolating switch unit.
Detailed Description
The present application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the inventive concepts. Some of the figures in the present disclosure show structures and devices in block diagram form as part of this specification to avoid obscuring the disclosed principles. In the interest of clarity, not all features of an actual implementation are described in this specification. Moreover, the language used in the present disclosure has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter. Reference in the present disclosure to "one implementation" or "an implementation" means that a particular feature, structure, or characteristic described in connection with the implementation is included in at least one implementation, and references to "one implementation" or "an implementation" are not to be understood as necessarily all referring to the same implementation.
Unless explicitly defined otherwise, the terms "a," "an," and "the" are not intended to refer to a singular entity, but include the general class of which a particular example may be used for illustration. Thus, use of the terms "a" or "an" can mean any number of at least one, including "a," one or more, "" at least one, "and" one or more than one. The term "or" means any of the alternatives and any combination of alternatives, including all alternatives, unless alternatives are explicitly indicated as mutually exclusive. The phrase "at least one of," when combined with a list of items, refers to a single item in the list or any combination of items in the list. The phrase does not require all of the listed items unless explicitly so limited.
The embodiment of the application discloses two-way converting circuit of high dropout signal. Referring to fig. 1, the high dropout signal bidirectional conversion circuit includes a first data interface 101, a second data interface 102, a first voltage output unit 201, a second voltage output unit 202, a third voltage output unit 203, a fourth voltage output unit 204, a first unidirectional switch unit 301, a second unidirectional switch unit 302, a first trigger pull-up unit 401, and a second trigger pull-up unit 402. The first data interface 101 is used for being connected with an ICC signal line of a main controller, the second data interface 102 is used for being connected with an ICC signal line of an external device, the first voltage output unit 201, the second voltage output unit 202, the third voltage output unit 203, and the fourth voltage output unit 204 are respectively used as pull-up power sources for providing driving capability, and the first unidirectional switch unit 301, the second unidirectional switch unit 302, the first trigger pull-up unit 401, and the second trigger pull-up unit 402 are used for controlling whether each pull-up power source is connected with a corresponding interface or not so as to realize signal transmission between the first data interface 101 and the second data interface 102.
The first data interface 101 is used for outputting a first data signal with a voltage adapted to the main controller, and the second data interface 102 is used for outputting a second data signal with a voltage adapted to the external device. It should be noted that, for the ICC signal line, both the transceiver and the receiver have only current sinking capability, but no current sinking capability, and thus, it is equivalent to a switch connected to the common ground, that is, the input high level is provided by the power supply through the pull-up resistor. In a bi-directional bus with an open drain or open set architecture output, the high level is typically an idle state. If the transceiver is in Push-Pull configuration, the transceiver chip may be damaged because there is a low resistance path from the power supply to the common ground. As an example, the first data interface 101 in this application is a 1.8V interface, i.e. the output first data signal is 1.8V at high level and 0V or close to 0V at low level. The first data interface 101 is a 5V interface, i.e. the output second data signal is 5V at high level and 0V or close to 0V at low level. It is noted that the low level referred to in this application refers to a voltage of 0V or close to 0V with respect to ground, while the high level is a level significantly higher than the low level, such as 1.8V and 5V higher than 0V. And high and low voltages refer to the relative magnitudes of the high level of the first data signal and the high level of the second data signal, i.e., a high-low voltage transition is a transition between the high level of the first data signal and the high level of the second data signal.
The first voltage output unit 201 is connected to the first data interface 101, and is configured to output a first preset voltage signal, where the voltage of the first preset voltage signal is adapted to the main controller. As an example, when the operating voltage of the ICC signal line of the main controller is 1.8V, the voltage of the first preset voltage signal is also 1.8V. Specifically, the first voltage output unit 201 includes a first voltage output source and a first capacitor C1, two ends of the first capacitor C1 are respectively connected to the first voltage output source and a ground, and a node between the first voltage output source and the first capacitor C1 serves as an output end of the first voltage output unit 201 for outputting a first preset voltage signal. It should be noted that when the level of the output end of the first voltage output unit 201 is pulled down, the first capacitor C1 is discharged, and when the level of the output end of the first voltage output unit 201 is no longer pulled down, in the process of recovering to 1.8V, the first capacitor C1 is charged, that is, the first voltage output unit 201 needs a certain time to recover the external driving capability.
The second voltage output unit 202 is connected to the second data interface 102, and is used for outputting a second preset voltage signal, wherein the voltage of the second preset voltage signal is adapted to an external device. As an example, when the operating voltage of the ICC signal line of the external device is 5V, the voltage of the second preset voltage signal is also 5V. Specifically, the second voltage output unit 202 includes a second voltage output source and a second capacitor C2, two ends of the second capacitor C2 are respectively connected to the second voltage output source and the ground, and a node between the second voltage output source and the second capacitor C2 serves as an output end of the second voltage output unit 202 for outputting the second preset voltage signal. It should be noted that when the level of the output end of the second voltage output unit 202 is pulled down, the third capacitor C3 is discharged, and when the level of the output end of the second voltage output unit 202 is no longer pulled down, the second capacitor C2 is charged in the process of recovering to 5V, that is, the second voltage output unit 202 needs a certain time to recover the external driving capability.
The first unidirectional switch unit 301 is used for controlling the first voltage output unit 201 to be shorted to the second data interface 102 based on the first data signal of low level. As an example, the first unidirectional switching unit 301 includes a first bias power supply whose output voltage is not higher than the voltage of the first preset voltage signal and a first switch, and in the present embodiment, the output voltage of the first bias power supply is set to 1.8V.
The first switch is provided with an enabling end, an input end and an output end, the enabling end of the first switch is connected with a first bias power supply, the input end of the first switch is connected with the second data interface 102, the output end of the first switch is connected with the first data interface 101, the first switch compares the relative magnitude of the output voltage value of the first bias power supply and the voltage value of a first preset voltage signal, if the difference between the output voltage value of the first bias power supply and the voltage value of the first preset voltage signal is smaller than or equal to a first threshold value, the first switch is disconnected, otherwise, the input end and the output end of the first switch are connected. As an example, the first switch is an NPN transistor Q1, a base of the first switch is an enable terminal, a collector is an input terminal, and an emitter is an output terminal. The on condition of the NPN transistor Q1 is that a difference between a base level and an emitter level is greater than an off voltage, and the first threshold value may be set to a magnitude of an off constant voltage corresponding to the NPN transistor Q1.
The second unidirectional switch unit 302 is used for controlling the second voltage output unit 202 to be shorted to the second data interface 102 based on the second data signal with a low level. As an example, the second unidirectional switching unit 302 includes a second bias power supply whose output voltage is not higher than the voltage of the second preset voltage signal and a second switch, and in the present embodiment, the output voltage of the second bias power supply is set to 5V.
The second switch is provided with an enabling end, an input end and an output end, the enabling end of the second switch is connected to a second bias power supply, the input end of the second switch is connected to the first data interface 101, the output end of the second switch is connected to the second data interface 102, the second switch compares the relative magnitude of the output voltage value of the second bias power supply and the second preset voltage signal voltage value, if the difference between the output voltage value of the second bias power supply and the second preset voltage signal voltage value is smaller than or equal to a second threshold value, the second switch is disconnected, otherwise, the input end and the output end of the second switch are connected. As an example, the second switch is an NPN transistor Q4, the base of the second switch is an enable terminal, the collector is an input terminal, and the emitter is an output terminal. The on condition of the NPN transistor Q4 is that the difference between the base level and the emitter level is greater than the off voltage, and the second threshold value may be set to a magnitude of the off constant voltage corresponding to the NPN transistor Q4.
The third voltage output unit 203 is configured to output a third preset voltage signal with a voltage adapted to the external device; in the present embodiment, the output voltage of the third voltage output unit 203 is set to 5V. The first trigger pull-up unit 401 is configured to trigger and control the third voltage output unit 203 and the second data interface 102 to be turned on for a first preset duration based on the high-level first data signal, and the first trigger pull-up unit 401 isolates the first data signal from the third preset voltage signal, so as to separate a high-voltage portion and a low-voltage portion in the circuit. Since a capacitor is usually disposed inside the circuit, when the first unidirectional switch unit 301 is turned off, the second voltage output unit 202 is restored to the level of the second preset voltage after a short time. Therefore, the first trigger pull-up unit 401 is configured, and the first trigger pull-up signal can detect a rising edge of the first data signal with a high level, so as to turn on the third voltage output unit 203 and the second data interface 102 for a short time, thereby improving the driving capability of raising the level of the second data interface 102. Specifically, the first trigger pull-up unit 401 includes a first high-level trigger start unit 4011 and a first isolating switch unit 4012, and the first high-level trigger start unit 4011 is connected to the first data interface 101, and is turned on for a first preset time period based on a rising edge of the acquired first data signal. The first isolating switch unit 4012 is connected to the first high-level trigger starting unit 4011, and switches on the third voltage output unit 203 and the second data interface 102 based on the first data signal passing through the first high-level trigger starting unit 4011, wherein the first isolating switch unit 4012 isolates the first data signal from the third preset voltage signal.
As an example, the first high-level trigger starting unit 4011 includes a first charging and discharging capacitor C11, a first discharging resistor R11, a first diode D1, an eighth resistor R8, and a third capacitor C3, where the first charging and discharging capacitor C11 and the first discharging resistor R11 are sequentially connected between the first data interface 101 and the control terminal of the first isolating switch unit 4012; the cathode of the first diode D1 is connected to the control end of the first isolating switch unit 4012, and the anode is connected to the ground wire; two ends of the eighth resistor R8 are connected to the control end of the first isolating switch unit 4012 and the ground line, respectively; both ends of the third capacitor C3 are connected to the control end of the first isolating switch unit 4012 and the ground line, respectively. When the first data signal changes from low level to high level, the first charging/discharging capacitor C11 is turned on, the first diode D1, the eighth resistor R8, and the third capacitor C3 form a filtering unit, and the first high-level trigger starting unit 4011 outputs a high-level signal briefly based on the received first data signal. It should be noted that the capacitance of the third capacitor C3 is much smaller than that of the first charging/discharging capacitor C11, for example, the capacitance of the third capacitor C3 is 33pF, and the capacitance of the first charging/discharging capacitor C11 is 1uF.
The first isolating switch unit 4012 comprises a fifth triode Q5, a fifth voltage-dividing resistor R5, a sixth resistor R6 and a third triode Q3, wherein the fifth triode Q5 is an NPN triode, and the third triode Q3 is a PNP triode; the base electrode of the fifth triode Q5 is used as the control end of the first isolating switch unit 4012, the collector electrode is connected to the third voltage output unit 203 through the fifth voltage-dividing resistor R5, and the emitter electrode is connected to the ground wire; the base of the third transistor Q3 is connected to the collector of the fifth transistor Q5 via a sixth resistor R6, the collector of the third transistor Q3 is connected to the third voltage output unit 203, and the emitter is connected to the second data interface 102. When the fifth triode Q5 obtains the high level signal sent by the first high level trigger starting unit 4011, the fifth triode Q5 is conducted, so that the base level of the third triode Q3 is pulled down, at this time, the emitter level of the third triode Q3 is higher than the base level, the third triode Q3 is conducted, the third voltage output unit 203 is conducted with the second data interface 102, and the level of the second data interface 102 is pulled up.
The fourth voltage output unit 204 is configured to output a fourth preset voltage signal with a voltage adapted to the main controller; as an example, the output voltage of the fourth voltage output unit 204 is set to 1.8V in the present embodiment. The second trigger pull-up unit 402 is configured to trigger and control the fourth voltage output unit 204 to be turned on with the first data interface 101 for a second preset duration based on the high-level second data signal, and the second trigger pull-up unit 402 isolates the second data signal from the fourth preset voltage signal, so as to separate a high-voltage portion and a low-voltage portion in the circuit. Since a capacitor is usually disposed inside the circuit, when the second unidirectional switch unit 302 is turned off, the first voltage output unit 201 can be restored to the level of the first preset voltage after a short time. Therefore, the second trigger pull-up unit 402 is provided, and the second trigger pull-up signal can detect the rising edge of the second data signal with a high level, so as to turn on the fourth voltage output unit 204 and the first data interface 101 for a short time, thereby improving the driving capability of raising the level of the first data interface 101. Specifically, the second trigger pull-up unit 402 includes a second high-level trigger start unit 4021 and a second disconnecting switch unit 4022. The second high-level trigger starting unit 4021 is connected to the second data interface 102, and is turned on for a second preset time length based on a rising edge of the acquired second data signal. The second isolating switch unit 4022 is connected to the second high-level trigger start unit 4021, and switches on the fourth voltage output unit 204 and the first data interface 101 based on the second data signal passing through the second high-level trigger start unit 4021, wherein the second isolating switch unit 4022 isolates the second data signal from the fourth preset voltage signal.
As an example, the second isolating switch unit 4022 includes a second triode Q2, a ninth divider resistor R9, a tenth resistor R10, and a sixth triode Q6, where the second triode Q2 is an NPN triode and the sixth triode Q6 is a PNP triode; the base electrode of the second triode Q2 is used as the control end of the second isolating switch unit 4022, the collector electrode is connected to the fourth voltage output unit 204 through a ninth divider resistor R9, and the emitter electrode is connected to the ground wire; the base of the sixth transistor Q6 is connected to the collector of the second transistor Q2 via a tenth resistor R10, the collector of the sixth transistor Q6 is connected to the third voltage output unit 203, and the emitter is connected to the first data interface 101. When the second triode Q2 acquires the high level signal sent by the second high level trigger starting unit 4021, the second triode Q2 is turned on, so that the base level of the sixth triode Q6 is pulled down, the emitter level of the sixth triode Q6 is higher than the base level, the sixth triode Q6 is turned on, the fourth voltage output unit 204 is turned on with the first data interface 101, and the level of the first data interface 101 is pulled up.
The second high-level trigger starting unit 4021 includes a second charging and discharging capacitor C21, a second discharging resistor R21, a second diode D2, a fourth resistor R4 and a fourth capacitor C4, and the second charging and discharging capacitor C21 and the second discharging resistor R21 are sequentially connected between the second data interface 102 and the control end of the second isolating switch unit 4022; the cathode of the second diode D2 is connected to the control end of the second isolating switch unit 4022, and the anode is connected to the ground wire; two ends of the fourth resistor R4 are connected to the control end of the second isolating switch unit 4022 and the ground line, respectively; both ends of the fourth capacitor C4 are connected to the control end of the second isolating switch unit 4022 and the ground line, respectively. When the second data signal changes from low level to high level, the second charging and discharging capacitor C21 is turned on, the second diode D2, the fourth resistor R4 and the fourth capacitor C4 constitute a filtering unit, and the second high level triggers the starting unit 4021 to output a high level signal briefly based on the received second data signal. It should be noted that the capacitance of the fourth capacitor C4 is much smaller than that of the second charging/discharging capacitor C21, for example, the capacitance of the fourth capacitor C4 is 33pF, and the capacitance of the second charging/discharging capacitor C21 is 1uF.
The implementation principle of the high dropout signal bidirectional conversion circuit in the embodiment of the application is as follows:
when the first data interface 101 outputs the first data signal with a low level, the first transistor Q1 is turned on, and the first voltage output unit 201 is short-circuited to the first data interface 101. Since the first data interface 101 with low level is in the current sinking state, the output terminal of the second voltage output unit 202 is pulled down to low level, and similarly, the level of the second data interface 102 is pulled down to low level, thereby implementing low level signal transmission from the first data interface 101 to the second output interface.
When the first data interface 101 outputs a first data signal with a high level, the first transistor Q1 is turned off, and the second voltage output unit 202 outputs a second preset voltage signal, so that the voltage of the second data interface 102 is pulled up to a high level. Meanwhile, the first charging and discharging capacitor C11 is turned on when contacting with the rising edge of the first data signal, and the fifth triode Q5 and the third triode Q3 are turned on in sequence, so that the third voltage output unit 203 and the second data interface 102 are turned on for a short time, the driving capability of the second data interface 102 for level rise is improved, and the conversion of the high level signal of the first data interface 101 to the second output interface is realized.
When the second data interface 102 outputs the second data signal with a low level, the fourth transistor Q4 is turned on, and the second voltage output unit 202 is shorted to the second data interface 102. Since the second data interface 102 with low level is in a current sinking state, the output terminal of the first voltage output unit 201 is pulled down to low level, and similarly, the level of the first data interface 101 is pulled down to low level, thereby implementing low level signal transmission from the second data interface 102 to the first output interface.
When the second data interface 102 outputs the second data signal of high level, the fourth transistor Q4 is turned off, and the first voltage output unit 201 outputs the first preset voltage signal, so that the voltage of the first data interface 101 is pulled up to high level. Meanwhile, the second charging and discharging capacitor C21 is turned on when contacting with the rising edge of the second data signal, and the second triode Q2 and the sixth triode Q6 are turned on in sequence, so that the fourth voltage output unit 204 and the first data interface 101 are turned on for a short time, the driving capability of the first data interface 101 for level rise is improved, and the conversion from the second data interface 102 to the high-level signal of the first output interface is realized.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A high dropout signal bidirectional conversion circuit, comprising:
a first data interface (101) for outputting a first data signal having a voltage adapted to the main controller;
a second data interface (102) for outputting a second data signal adapted in voltage to the external device;
the first voltage output unit (201) is connected to the first data interface (101) and is used for outputting a first preset voltage signal, and the voltage of the first preset voltage signal is adapted to the main controller;
the second voltage output unit (202) is connected to the second data interface (102) and is used for outputting a second preset voltage signal, and the voltage of the second preset voltage signal is suitable for external equipment;
the first unidirectional switch unit (301) is used for acquiring a first data signal, controlling the first voltage output unit (201) to be short-circuited to the second data interface (102) based on the low-level first data signal, and controlling the first voltage output unit (201) to be open-circuited to the second data interface (102) based on the high-level first data signal;
and the second unidirectional switch unit (302) is used for acquiring a second data signal, controlling the second voltage output unit (202) to be short-circuited to the first data interface (101) based on the second data signal with low level, and controlling the second voltage output unit (202) to be open-circuited to the first data interface (101) based on the second data signal with high level.
2. The bidirectional high dropout signal conversion circuit of claim 1, further comprising:
a third voltage output unit (203) for outputting a third preset voltage signal of which the voltage is adapted to the external device;
a fourth voltage output unit (204) for outputting a fourth preset voltage signal with a voltage adapted to the main controller;
the first trigger pull-up unit (401) is used for triggering and controlling a third voltage output unit (203) and a second data interface (102) to be conducted for a first preset duration based on a high-level first data signal, and the first trigger pull-up unit (401) isolates the first data signal from a third preset voltage signal;
and the second trigger pull-up unit (402) is used for triggering and controlling the fourth voltage output unit (204) and the first data interface (101) to be conducted for a second preset duration based on the high-level second data signal, and the second trigger pull-up unit (402) isolates the second data signal and the fourth preset voltage signal.
3. The bi-directional conversion circuit according to claim 1, wherein the first unidirectional switching unit (301) comprises:
the output voltage of the first bias power supply is not higher than the voltage of a first preset voltage signal;
the first switch is provided with an enabling end, an input end and an output end, the enabling end of the first switch is connected to the first bias power supply, the input end of the first switch is connected to the second data interface (102), the output end of the first switch is connected to the first data interface (101), the first switch compares the relative magnitude of the output voltage value of the first bias power supply and the voltage value of the first preset voltage signal, if the difference between the output voltage value of the first bias power supply and the voltage value of the first preset voltage signal is smaller than or equal to a first threshold value, the first switch is disconnected, otherwise, the input end and the output end of the first switch are connected; optionally, the first switch is an NPN triode Q1, a base of the first switch is an enable terminal, a collector is an input terminal, and an emitter is an output terminal;
and/or the second unidirectional switch unit (302) comprises:
the output voltage of the second bias power supply is not higher than the voltage of a second preset voltage signal;
the second switch is provided with an enabling end, an input end and an output end, the enabling end of the second switch is connected to the second bias power supply, the input end of the second switch is connected to the first data interface (101), the output end of the second switch is connected to the second data interface (102), the second switch compares the relative magnitude of the output voltage value of the second bias power supply and the second preset voltage signal voltage value, if the difference between the output voltage value of the second bias power supply and the second preset voltage signal voltage value is smaller than or equal to a second threshold value, the second switch is disconnected, otherwise, the input end and the output end of the second switch are connected; optionally, the second switch is an NPN triode Q4, a base of the second switch is an enable terminal, a collector is an input terminal, and an emitter is an output terminal.
4. The bi-directional high dropout signal conversion circuit according to claim 2 wherein the first trigger pull-up unit (401) comprises:
the first high-level trigger starting unit (4011) is connected to the first data interface (101) and is turned on for a first preset time length based on the rising edge of the acquired first data signal;
the first isolating switch unit (4012) is connected to the first high-level trigger starting unit (4011), and the third voltage output unit (203) and the second data interface (102) are conducted based on a first data signal passing through the first high-level trigger starting unit (4011), wherein the first isolating switch unit (4012) isolates the first data signal from a third preset voltage signal;
and/or the second trigger pull-up unit (402) comprises:
the second high-level trigger starting unit (4021) is connected to the second data interface (102) and is switched on for a second preset time length based on the rising edge of the acquired second data signal;
and the second isolating switch unit (4022) is connected to the second high-level trigger starting unit (4021), and conducts the fourth voltage output unit (204) and the first data interface (101) based on a second data signal passing through the second high-level trigger starting unit (4021), wherein the second isolating switch unit (4022) isolates the second data signal from a fourth preset voltage signal.
5. The high dropout signal bidirectional conversion circuit according to claim 4, wherein the first isolation switch unit (4012) comprises a fifth triode, a fifth voltage-dividing resistor, a sixth resistor and a third triode, wherein the fifth triode is an NPN triode and the third triode is a PNP triode; the base electrode of the fifth triode is used as the control end of the first isolating switch unit (4012), the collector electrode of the fifth triode is connected to the third voltage output unit (203) through a fifth voltage-dividing resistor, and the emitter electrode of the fifth triode is connected to the ground wire; the base of the third triode is connected with the collector of the fifth triode through a sixth resistor, the collector of the third triode is connected with a third voltage output unit (203), and the emitter of the third triode is connected with the second data interface (102).
6. The high dropout signal bidirectional conversion circuit according to claim 4, wherein the first high-level trigger start unit (4011) comprises a first charge-discharge capacitor, a first discharge resistor, a first diode, an eighth resistor and a third capacitor, and the first charge-discharge capacitor and the first discharge resistor are sequentially connected between the first data interface (101) and the control terminal of the first isolating switch unit (4012); the cathode of the first diode is connected to the control end of the first isolating switch unit (4012), and the anode of the first diode is connected to the ground wire; two ends of the eighth resistor are respectively connected to the control end of the first isolating switch unit (4012) and the ground wire; and two ends of the third capacitor are respectively connected with the control end of the first isolating switch unit (4012) and the ground wire.
7. The high dropout signal bidirectional conversion circuit according to claim 4, wherein the second isolation switch unit (4022) comprises a second transistor, a ninth divider resistor, a tenth resistor and a sixth transistor, wherein the second transistor is an NPN transistor, and the sixth transistor is a PNP transistor; the base electrode of the second triode is used as the control end of the second isolating switch unit (4022), the collector electrode of the second triode is connected with the fourth voltage output unit (204) through a ninth divider resistor, and the emitter electrode of the second triode is connected with the ground wire; the base of the sixth triode is connected with the collector of the second triode through a tenth resistor, the collector of the sixth triode is connected with the third voltage output unit (203), and the emitter of the sixth triode is connected with the first data interface (101).
8. The high dropout signal bidirectional conversion circuit according to claim 4, wherein the second high level trigger start unit (4021) comprises a second charge-discharge capacitor, a second discharge resistor, a second diode, a fourth resistor and a fourth capacitor, and the second charge-discharge capacitor and the second discharge resistor are sequentially connected between the second data interface (102) and the control terminal of the second isolation switch unit (4022); the cathode of the second diode is connected to the control end of the second isolating switch unit (4022), and the anode of the second diode is connected to the ground wire; two ends of the fourth resistor are respectively connected with the control end of the second isolating switch unit (4022) and the ground wire; and two ends of the fourth capacitor are respectively connected with the control end of the second isolating switch unit (4022) and the ground wire.
9. The two-way high dropout signal conversion circuit according to claim 1, wherein the second voltage output unit (202) comprises a second voltage output source, a third resistor and a second capacitor, one end of the second capacitor is connected to the second voltage output source through the third resistor, the other end of the second capacitor is connected to the ground, and a node between the third resistor and the second capacitor is used as an output terminal of the second voltage output unit (202) for outputting a second preset voltage signal.
10. The two-way high dropout signal conversion circuit according to claim 1, wherein the first voltage output unit (201) comprises a first voltage output source, a first resistor and a first capacitor, one end of the first capacitor is connected to the first voltage output source through the first resistor, the other end of the first capacitor is connected to the ground, and a node between the first resistor and the first capacitor is used as an output terminal of the first voltage output unit (201) for outputting a first preset voltage signal.
CN202211533353.9A 2022-12-02 2022-12-02 High-voltage difference signal bidirectional conversion circuit Pending CN115733483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211533353.9A CN115733483A (en) 2022-12-02 2022-12-02 High-voltage difference signal bidirectional conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211533353.9A CN115733483A (en) 2022-12-02 2022-12-02 High-voltage difference signal bidirectional conversion circuit

Publications (1)

Publication Number Publication Date
CN115733483A true CN115733483A (en) 2023-03-03

Family

ID=85300926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211533353.9A Pending CN115733483A (en) 2022-12-02 2022-12-02 High-voltage difference signal bidirectional conversion circuit

Country Status (1)

Country Link
CN (1) CN115733483A (en)

Similar Documents

Publication Publication Date Title
US9430438B2 (en) Communication bus with zero power wake function
CN102290982B (en) Transmitter, interface device, and car mounted communication system
US8541908B2 (en) Powered device capable of working in continuation in case of power failure
US20130181660A1 (en) Charge control circuit for usb device
CN109347713A (en) The method of bidirectional bus system and operation bidirectional bus
US8093762B2 (en) Semiconductor integrated circuit device
CN106027268A (en) Power over Ehernet system, control circuit and control method
WO2001039515A2 (en) I2c opto-isolator circuit
CN102595090A (en) Driving stage and related driving method
CN103227656B (en) Bi-directional transceiver and method
US20210359685A1 (en) Negative voltage protection for bus interface devices
CN107333073B (en) Prevent external image information source interface circuit of halting
US11128126B2 (en) Internal voltage-canceling circuit and USB device using the same
CN115733483A (en) High-voltage difference signal bidirectional conversion circuit
CN103051325A (en) Pull-up resistance circuit for preventing reverse current filling
CN113824179B (en) Cascade battery protection system and battery protection equipment
CN110739665A (en) Protection circuit and switching power supply
CN112180183A (en) State monitoring circuit and method for vehicle-mounted electronic equipment
CN112787372B (en) Charging equipment and charging system
CN108964717B (en) NRZ current coding circuit based on single control line
CN104348513A (en) Controller area network node transceiver
CN219247462U (en) Input voltage protection circuit supporting soft start and radio frequency switch device
CN110063028B (en) Communication system of battery pack and battery pack including the same
CN110611300A (en) High-voltage short circuit turn-off protection circuit for electric vehicle bus communication
CN217956749U (en) Switch control circuit, battery management system, battery pack and electric equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination