CN103647544B - A kind of two-way transmission interface conversion circuit - Google Patents

A kind of two-way transmission interface conversion circuit Download PDF

Info

Publication number
CN103647544B
CN103647544B CN201310617724.6A CN201310617724A CN103647544B CN 103647544 B CN103647544 B CN 103647544B CN 201310617724 A CN201310617724 A CN 201310617724A CN 103647544 B CN103647544 B CN 103647544B
Authority
CN
China
Prior art keywords
voltage
switch
diode
transmission
chip
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.)
Active
Application number
CN201310617724.6A
Other languages
Chinese (zh)
Other versions
CN103647544A (en
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.)
Wuxi Zhonggan Microelectronics Co Ltd
Original Assignee
Wuxi Zhonggan Microelectronics Co Ltd
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 Wuxi Zhonggan Microelectronics Co Ltd filed Critical Wuxi Zhonggan Microelectronics Co Ltd
Priority to CN201310617724.6A priority Critical patent/CN103647544B/en
Publication of CN103647544A publication Critical patent/CN103647544A/en
Application granted granted Critical
Publication of CN103647544B publication Critical patent/CN103647544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

A kind of two-way transmission interface conversion circuit is the embodiment of the invention provides, the two-way transmission interface conversion circuit includes:First modular converter, including the first electric current is to voltage conversion circuit, first voltage to current converter circuit, and the first detection circuit;First electric current includes at least one diode to voltage conversion circuit, the first voltage includes first switch, second switch and the first current source to current converter circuit, when the first switch is turned on, the second switch cut-off, when the second switch is turned on, the first switch cut-off, the first detection circuit includes a comparator, one input of the first comparator connects the high-tension electricity potential source in the first voltage domain, its another input connection transmission line.Bidirectional interface change-over circuit provided in an embodiment of the present invention is employed, by setting the change-over circuit between electric current and voltage and the comparator as voltage detecting circuit, it is possible to achieve same holding wire, signal transmission is carried out between two voltage domains.

Description

A kind of two-way transmission interface conversion circuit
Technical field
The present invention relates to electronic applications, and in particular to a kind of two-way transmission interface conversion circuit.
Background technology
Need to be in communication with each other between the different chips of integrated circuit, for the communication requirement between chip, prior art leads to Frequently with I2The standard that C bus transfers agreement is formulated, it has highly versatile, and volume of transmitted data is big, and transmission speed is fast a little, But the scene relatively low for volume of transmitted data and transmission rate, it is relatively costly.Additionally, prior art to have there is also single line unidirectional Realization Method of Communication, defect is that can only realize unidirectional signal transfer.
The content of the invention
It is an object of the invention to provide a kind of two-way transmission interface conversion circuit, to realize meeting the situation of basic demand Under, realize the mongline two-way communication of low cost.
Embodiment of the present invention first aspect provides a kind of two-way transmission interface conversion circuit, and the transmitted in both directions interface turns Changing circuit includes:
First modular converter, is arranged on the first chip, and first chip operation is in first voltage domain, first conversion Module is further included:First electric current detects circuit to voltage conversion circuit, first voltage to current converter circuit and first; First electric current includes at least one diode to voltage conversion circuit, and the first voltage to current converter circuit includes the One switch, second switch and the first current source, the first detection circuit include first comparator, the of the first comparator One input connects the high-pressure side in the first voltage domain, its second input connection transmission line, the first switch with it is described The conducting of second switch and cut-off state are opposite.
According to the two-way transmission interface conversion circuit described in present pre-ferred embodiments, first electric current to voltage conversion Circuit includes a diode, and the diode is the first diode, a termination first of the first switch in the modular converter The anode of diode, the current input terminal of the current source of another termination first of first switch, the current output terminal of the first current source The low-pressure end in connection first voltage domain, the high-pressure side in the negative electrode connection first voltage domain of the first diode, one end of second switch The high-pressure side in connection first voltage domain, the other end connects the anode of the first diode, the second input connection of first comparator The node of first switch, second switch and the first diode connection jointly, the node as chip transmission end and the second chip Transmission end be connected, institute the second chip operation in second voltage domain, low-voltage and the first voltage in the second voltage domain The high voltage in domain is equal.
According to the two-way transmission interface conversion circuit described in present pre-ferred embodiments, also include:
Second modular converter, is arranged on the first chip, and it includes the second electric current to voltage conversion circuit, second voltage to electricity Stream change-over circuit, and the second detection circuit;Second electric current includes at least one diode to voltage conversion circuit, described Second voltage includes the 3rd switch, the 4th switch and the second current source to current converter circuit, and the second detection circuit includes Second comparator, the first input end of second comparator connects the low-pressure end in the first voltage domain, its second input Connection transmission line, the 3rd switch is opposite with the conducting of the described 4th switch and cut-off state.
According to the two-way transmission interface conversion circuit described in present pre-ferred embodiments, second electric current to voltage conversion Circuit includes a diode, and the diode is the second diode, a termination second of the 3rd switch in the modular converter The negative electrode of diode, the current output terminal of the current source of another termination second of the 3rd switch, the current input terminal of the second current source The high-pressure side in connection second voltage domain, the low-pressure end in the anode connection first voltage domain of the second diode, one end of the 4th switch The low-pressure end in connection first voltage domain, the other end connects the negative electrode of the second diode, the second input connection of the second comparator 3rd switch, the 4th switch and the second diode jointly connection node, the node as the first chip transmission end and the 3rd The transmission end of chip is connected, the 3rd chip operation in tertiary voltage domain, the high voltage in the tertiary voltage domain and described the The low-voltage of one voltage domain is equal.
According to the two-way transmission interface conversion circuit described in present pre-ferred embodiments, when first chip is to described During two chip transmission of data, if the corresponding signal of the data is high level, the first switch conducting in first chip, with So that low-voltage of the transmission-line voltage less than the second voltage domain, triggers second chip detection to the transmission line After voltage is less than the low-voltage in the second voltage domain, high level is exported;If the corresponding signal of the data is low level, described Second switch is turned on, and to cause that the transmission-line voltage is equal to the low-voltage in the second voltage domain, triggers second chip After the transmission-line voltage is detected equal to the low-voltage in the second voltage domain, low level is exported.
According to the two-way transmission interface conversion circuit described in present pre-ferred embodiments, described the is received when the first chip is stated During the data of two chips transmission, if the corresponding signal of the data is high level, the transmission-line voltage is higher than the described first electricity The high voltage in domain is pressed, high voltage of first chip detection to the transmission-line voltage higher than the first voltage domain is triggered Afterwards, high level is exported;If the corresponding signal of the data is low level, the transmission-line voltage is equal to described the with voltage domain High voltage, the first detection electric circuit inspection for triggering first chip is equal to the first voltage domain to the transmission-line voltage After high voltage, low level is exported.
According to the two-way transmission interface conversion circuit described in present pre-ferred embodiments, when first chip is to described During three chip transmission of data, if the corresponding signal of the data is high level, the 3rd switch conduction, to cause the transmission Line voltage triggers the 3rd chip detection to the transmission-line voltage higher than described higher than the high voltage in the tertiary voltage domain After the high voltage in tertiary voltage domain, high level is exported;If the downstream signal is low level, the 4th switch conduction, so that The high voltage that the transmission-line voltage is equal to the tertiary voltage domain is obtained, the 3rd chip detection to transmission line electricity is triggered After pressure is equal to the high voltage in the tertiary voltage domain, low level is exported.
When first chip receives the data of the 3rd chip transmission, if the corresponding signal of the data is electricity high Flat, the transmission-line voltage triggers first chip detection to the transmission line less than the low-voltage in the first voltage domain After voltage is less than the low-voltage in the first voltage domain, high level is exported;If the corresponding signal of the data is low level, described Transmission-line voltage is equal to the low-voltage in the first voltage domain, and trigger first chip first detects electric circuit inspection to transmission After line voltage is equal to the low-voltage in the first voltage domain, low level is exported.
Second aspect, the embodiment of the invention provides a kind of interface circuit, and it includes:
First interface unit, the first interface unit is arranged on the first chip, and first chip operation is in the first electricity Pressure domain, the first interface unit is further included:First electric current is to voltage conversion circuit, first voltage to current converter circuit And first detection circuit;First electric current includes at least one diode to voltage conversion circuit, and the first voltage is arrived Current converter circuit includes first switch, second switch and the first current source, and the first detection circuit includes first comparator, The first input end of the first comparator connects the high-pressure side in the first voltage domain, and its second input connects transmission line,
Second interface unit, the second interface unit is arranged on the second chip, and second chip operation is in the second electricity Pressure domain, it includes the second electric current to voltage conversion circuit, second voltage to current converter circuit, and the second detection circuit;
Second electric current includes at least one diode to voltage conversion circuit, and the second voltage to electric current changes electricity Road includes the 3rd switch, the 4th switch and the second current source, and the second detection circuit includes the second comparator, second ratio The low-pressure end in the second voltage domain, its second input connection transmission line, wherein the second electricity are connected compared with the first input end of device Press low-pressure end and the first voltage in domain with high-pressure side be connected.
According to the interface circuit described in present pre-ferred embodiments, in the first interface unit, described at least one One diode is multiple diodes, and each diode head and the tail are sequentially connected in series to form the first diode string, the first interface unit In first switch one end connect the first diode string an outermost diode anode, the other end of first switch Connect the current input terminal of the first current source, the low-pressure end in the current output terminal connection first voltage domain of the first current source, the one or two The high-pressure side in the negative electrode connection first voltage domain of an outermost diode of pole pipe string, one end connection first of second switch The common node of the high-pressure side of voltage domain, other end connection first switch and the first diode string, the of first comparator The node that two inputs connection first switch, second switch and the first diode are connected jointly, the node is used as first interface list The transmission end of unit is connected with the transmission end of second interface unit,
At least one diode is a diode, and the diode is the first diode, the first interface unit In first switch one termination first diode anode, the current source of another termination first of first switch electric current input End, the low-pressure end in the current output terminal connection first voltage domain of the first current source, outermost wherein the one of the first diode string The high-pressure side in the negative electrode connection first voltage domain of individual first diode, the high pressure in one end connection first voltage domain of second switch The intermediate node of end, other end connection first switch and the first diode string, the second input connection first of first comparator The node of switch, second switch and the first diode connection jointly, the node as first interface unit transmission end and second The transmission end of interface unit is connected,
In the second interface unit, described at least one first diodes are multiple diodes, and each diode is from beginning to end It is sequentially connected in series to form the second diode string, a second diode string of termination of the 3rd switch in the second interface unit is most One negative electrode of diode in outside, the current output terminal of the current source of another termination second of the 3rd switch, the second current source The high-pressure side in current input terminal connection second voltage domain, the anode of outermost second diode of the second diode string connects The low-pressure end in second voltage domain is connect, the low-pressure end in one end connection second voltage domain of the 4th switch, other end connection the 3rd is switched With the common node of the second diode string, the switch of the second input connection the 3rd of the second comparator, the 4th switch and the two or two The node that pole pipe is connected jointly, the node is connected as the transmission end of second interface unit with the transmission end of first interface unit.
To in voltage conversion circuit, described at least one first diodes are a diode to second electric current, and this two Pole pipe is the second diode, the negative electrode of second diode of termination of the 3rd switch in the second interface unit, and the 3rd opens The current output terminal of the current source of another termination second for closing, the high pressure in the current input terminal connection second voltage domain of the second current source End, the low-pressure end in the anode connection second voltage domain of the second diode, the low pressure in one end connection second voltage domain of the 4th switch End, the other end connects the negative electrode of the second diode, the switch of the second input connection the 3rd of the second comparator, the 4th switch and the The node that two diodes are connected jointly, the node is used as the transmission end of second interface unit and the transmission end phase of first interface unit Even.
According to the interface circuit described in present pre-ferred embodiments, the first interface unit sends to second interface unit During data, the 3rd switch and the 4th switch in second interface unit are constantly in cut-off state, the data for sending as needed Control the on or off of first switch, at the same control on or off state and the first switch of second switch conversely, this When the output of the second comparator comparative result be exactly data that second interface unit is received;
When the second interface unit sends data to the first interface unit, in the first interface unit first Switch and second switch are constantly in cut-off state, the on or off of the switch of data control the 3rd for sending as needed, together When control the 4th switch on or off state with the 3rd switch conversely, now first comparator output comparative result just It is data that first interface unit is received.
Bidirectional interface change-over circuit provided in an embodiment of the present invention is employed, by setting the conversion between electric current and voltage Circuit and the comparator as voltage detecting circuit, it is possible to achieve same holding wire, carry out signal between two voltage domains Transmission.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of module frame chart of embodiment of two-way transmission interface conversion circuit provided in an embodiment of the present invention;
Fig. 2 is a kind of circuit theory of embodiment of two-way transmission interface conversion circuit provided in an embodiment of the present invention;
Fig. 3 is the circuit theory of the first modular converter in two-way transmission interface conversion circuit provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of circuit diagram of application examples of two-way transmission interface conversion circuit provided in an embodiment of the present invention;
Fig. 5 is the circuit diagram of another application examples of two-way transmission interface conversion circuit provided in an embodiment of the present invention.
Specific embodiment
Below by drawings and Examples, technical scheme is described in further detail.
As shown in figure 1, a kind of two-way transmission interface conversion circuit is the embodiment of the invention provides, the transmitted in both directions interface Change-over circuit include the first modular converter 100, for conversion work first voltage domain the first chip be operated in second electricity The transmission signal between second chip in domain is pressed, it includes that the first electric current turns to voltage conversion circuit 101, first voltage to electric current Change circuit 102, and the first detection circuit 103.
First chip operation includes at least one 2 in first voltage domain, first electric current to voltage conversion circuit Pole pipe, the first voltage to current converter circuit includes first switch, second switch and the first current source, first detection Circuit includes first comparator, and the first input end of the first comparator connects the high-pressure side in the first voltage domain, and it the Two inputs connect transmission line, and the first switch is opposite with the conducting of the second switch and cut-off state.
In order to conversion work is between first chip in first voltage domain and the 3rd chip for being operated in tertiary voltage domain Transmission signal, can also set the second modular converter 200 in described two-way transmission interface conversion circuit, and it includes the second electricity Flow to voltage conversion circuit 201, second voltage to current converter circuit 202, and the second detection circuit 203.
Second modular converter 200 is arranged on the first chip, and second electric current to voltage conversion circuit includes at least one Diode, the second voltage to current converter circuit includes the 3rd switch, the 4th switch and the second current source, second inspection Slowdown monitoring circuit includes the second comparator, and the first input end of second comparator connects the low-pressure end in the first voltage domain, its Second input connects transmission line, and the 3rd switch is opposite with the conducting of the described 4th switch and cut-off state.
As shown in Fig. 2 first electric current includes at least one diode to voltage conversion circuit 102, implement in one kind In example, a diode can be only included, the first voltage to current converter circuit 101 includes first switch T1, second Switch T1B and the first current source I1, described first switch T1 one end connects the first current source I1, other end connection described the One end of two switch T1B, the other end of the second switch T1B connects the high voltage end of first chip, and described first opens When closing T1 conductings, the second switch T1B cut-offs, when the second switch T1B is turned on, the first switch T1 cut-offs are described First detection circuit 103 includes the one one comparator CMP1, the positive input terminal connection described first of the first comparator CMP1 The high voltage end of chip, its negative input end connection transmission line and first, second switch T1, T1B and first electric current To the common node of voltage conversion circuit 102.
When in the first electric current to voltage conversion circuit only comprising a diode when, the anode of diode connects states the First, the common node of second switch (T1, T1B), negative electrode connects the high voltage end of first chip.
By taking Fig. 3 as an example, first electric current to voltage conversion circuit includes a diode, and the diode is the one or two pole Pipe, the anode of first diode of termination of first switch T1, the electric current of the current source of another termination first of first switch T1 is defeated Enter end, the low-pressure end in the current output terminal connection first voltage domain of the first current source, the electricity of negative electrode connection first of the first diode The high-pressure side in domain, the high-pressure side in one end connection first voltage domain of second switch T1B, the other end is pressed to connect the sun of the first diode What pole, the second input connection first switch T1, the second switch T1B of first comparator CMP1 and the first diode were connected jointly Node, the node is connected as the transmission end of chip with the transmission end of the second chip, institute the second chip operation in second voltage domain, The low-voltage in the second voltage domain is equal with the high voltage in the first voltage domain.
When the first electric current to voltage transformation module includes multiple diode, each diode head and the tail are sequentially connected in series to form the One diode string, one end of the first switch T1 in the first interface unit connects outermost one of the first diode string The anode of diode, the current input terminal of the first current source of another termination I1 of first switch T1, the electric current of the first current source I1 The low-pressure end in output end connection first voltage domain, the electricity of negative electrode connection first of an outermost diode of the first diode string Press the high-pressure side in domain, the high-pressure side in one end connection first voltage domain of second switch T1B, the other end connection first switch T1 and institute State the common node of the first diode string, the second input connection first switch T1 of first comparator CMP1, second switch T1B The node connected jointly with the first diode string, the node is connected as the transmission end of chip with the transmission end of the second chip.
In second modular converter 200, second electric current to voltage conversion circuit 202 includes at least one 2 poles Pipe, in a kind of embodiment, can only include a diode.The second voltage includes the to current converter circuit 201 Three switch T2, the 4th switch T2B and the second current source I2, described 3rd switch T2 one end connect the second current source I2, separately One end of one end connection the 4th switch T2B, the other end of the 4th switch T2B connects the low-voltage of first chip End, when the 3rd switch T2 is turned on, the 4th switch T2B cut-offs, when the 4th switch T2B is turned on, the described 3rd opens T2 cut-offs are closed, the second detection circuit 203 includes one second comparator CMP2, the positive input terminal of the second comparator CMP2 Connect the low tension potential source in the first voltage domain, its negative input end connection transmission line and described three, the 4th switches T2, T2B And second electric current is to the common node of voltage conversion circuit 202.
Second electric current to voltage conversion circuit only include a diode when, the anode connection described the of the diode The three, the 4th switches are stated in the low-voltage end of one chip, negative electrode connection(T2、T2B)And first electric current is electric to voltage conversion The common node on road.When comprising multiple diodes, multiple Diode series.
The first voltage is respectively a metal-oxide-semiconductor to first, second switch described in current converter circuit 101, specifically It is PMOS or NMOS, can sets according to the actual requirements, however it is necessary that when ensureing same level signal, there can only be one to lead Logical, for example, in embodiments of the present invention, first switch is NMOS tube, second switch is PMOS, when signal is high level, T1 is turned on, T1B cut-offs.
Similar, second electric current to voltage conversion circuit includes a diode, and the diode is the second diode, The negative electrode of one second diode of termination of the 3rd switch T2 in second modular converter, another termination the of the 3rd switch T2 The current output terminal of two current sources, the high-pressure side in the current input terminal connection second voltage domain of the second current source, the second diode Anode connection first voltage domain low-pressure end, the low-pressure end in one end connection first voltage domain of the 4th switch T2B, the other end connects The negative electrode of the second diode is connect, the second input connection the 3rd of the second comparator CMP2 switchs T2, the 4th switch T2B and second The node of diode connection jointly, the node is connected as the transmission end of the first chip with the transmission end of the 3rd chip, and described the Three chip operations are in tertiary voltage domain, and the high voltage in the tertiary voltage domain is equal with the low-voltage in the first voltage domain.
When the second electric current to voltage transformation module includes multiple diode, each diode head and the tail are sequentially connected in series to form the Two diode strings, outermost one two of a second diode string of termination of the 3rd switch T2 in the second interface unit The negative electrode of pole pipe, the current output terminal of the current source of another termination second of the 3rd switch T2, the current input terminal of the second current source The high-pressure side in connection second voltage domain, the anode connection second voltage of outermost second diode of the second diode string The low-pressure end in domain, the low-pressure end in one end connection second voltage domain of the 4th switch T2B, other end connection the 3rd switchs T2 and second The common node of diode string, the second input connection the 3rd of the second comparator CMP2 switchs T2, the 4th switch T2B and second The node that diode string is connected jointly, the node is connected as the transmission end of the first chip with the transmission end of the 3rd chip.
The second voltage is respectively a metal-oxide-semiconductor to the three, the 4th switches of current converter circuit 201, specially PMOS or NMOS, can be set according to the actual requirements, however it is necessary that when ensureing same level signal, can only have one to lead Logical, for example, in embodiments of the present invention, first switch is PMOS, second switch is NMOS tube, when signal is high level, T2 is turned on by reverse signal, T2B cut-offs.
Fig. 4 is a kind of circuit connection diagram of application examples of two-way transmission interface conversion circuit provided in an embodiment of the present invention, Now, the interface conversion circuit, is accomplished that and is operated in first chip 10 of first voltage domain V1~V2 and is operated in the second electricity The signal transmission between second chip 20 of domain V3~V4 is pressed, the first chip 10 and the second chip 20 are both provided with implementation of the present invention The two-way transmission interface conversion circuit that example is provided, when the first chip 10 and the second chip 20 carry out signal interaction, only first The second modular converter work in first modular converter of chip 10 and the second chip 20, the second modulus of conversion in the first chip 10 The first modular converter in block and the second chip 20 does not work.
When first chip is to second chip transmission of data, if the corresponding signal of the data is high level, First switch conducting in first chip, to cause the transmission-line voltage less than the low-voltage in the second voltage domain, After triggering low-voltage of second chip detection to the transmission-line voltage less than the second voltage domain, high level is exported; If the corresponding signal of the data is low level, the second switch conducting, to cause that the transmission-line voltage is equal to described the The low-voltage of two voltage domains, triggers the low electricity that second chip detection is equal to the second voltage domain to the transmission-line voltage After pressure, low level is exported.
When the data of the first chip reception the second chip transmission are stated, if the corresponding signal of the data is electricity high Flat, the transmission-line voltage triggers first chip detection to the transmission line higher than the high voltage in the first voltage domain After voltage is higher than the high voltage in the first voltage domain, high level is exported;If the corresponding signal of the data is low level, described Transmission-line voltage is equal to described the with the high voltage of voltage domain, triggers the first detection electric circuit inspection of first chip described in After transmission-line voltage is equal to the high voltage in the first voltage domain, low level is exported.
More specifically, when first chip 10 is in the first transmission state signal, it is, first chip 10 Data are transmitted to second chip 20, now the first chip 10 is transmitting terminal, and the second chip 20 is receiving terminal, if the data Corresponding signal is high level, and the first switch T1 of first chip 10 is turned on, the second modulus of conversion of second chip 20 Switch in block all ends, and electric current is from the low-voltage port V3 of second chip 20 by the second of second chip 20 To voltage conversion circuit, transmission line, the first voltage of first chip 10 flows to V1 to electric current to current converter circuit T1, I1, To cause the transmission-line voltage less than the low-voltage V3 in the second voltage domain, in triggering second chip second compares After device CMP2 detects the transmission-line voltage less than the low-voltage V3 in the second voltage domain, high level is exported;If the number It is low level according to corresponding signal, the second switch T1B of first chip 10 is turned on, to cause that the transmission-line voltage is equal to The low-voltage V3 in the second voltage domain, triggers the second comparator CMP2 in second chip and detects the transmission line electricity After pressure is equal to the low-voltage V3 in the second voltage domain, low level is exported.
When first chip is in secondary signal transmission state, first chip 10 is receiving terminal, the second chip 20 is transmitting terminal, and first chip 10 receives the data of the transmission of the second chip 20, if the corresponding signal of the data is High level, the 3rd switch T2 conductings in second chip 20, the switch in the first modular converter 100 in the first chip is complete Portion ends, and electric current turns from the high voltage end V4 of second chip 20, the second voltage by second chip 20 to electric current The switch T2 of the current source I2 changed in circuit and the 3rd, transmission line, the first electric current of first chip 10 to voltage conversion circuit The 102 high voltage end V2 to the first chip of stream, the transmission-line voltage triggers institute higher than the high voltage V2 in the first voltage domain State the first chip first comparator CMP1 detect the transmission-line voltage higher than the first voltage domain high voltage V2 after, Output high level;If the corresponding signal of the data is low level, the 4th switch T2B conductings of second chip 20 are described Transmission-line voltage is equal to the high voltage V2 in the first voltage domain and low-voltage V3 of second chip, triggers first core After first detection electric circuit inspection of piece is equal to the high voltage V2 in the first voltage domain to the transmission-line voltage, low electricity is exported It is flat.
As shown in figure 5, Fig. 5 is another application examples of two-way transmission interface conversion circuit provided in an embodiment of the present invention Circuit connection diagram, now, the interface conversion circuit is accomplished that the first chip 10 and work for being operated in first voltage domain V3~V4 Make the signal transmission between the 3rd chip 30 of tertiary voltage domain V1~V2, the first chip 10 and the 3rd chip 30 are both provided with Two-way transmission interface conversion circuit provided in an embodiment of the present invention, signal interaction is carried out in the first chip 10 and the 3rd chip 30 When, only the first modular converter work of the second modular converter of the first chip 10 and the 3rd chip 30, the of the first chip 10 Second modular converter of one modular converter and the 3rd chip 30 does not work.
When first chip is to three chip transmission of data, if the corresponding signal of the data is high level, 3rd switch conduction, to cause the transmission-line voltage higher than the high voltage in the tertiary voltage domain, triggering the described 3rd After high voltage of the chip detection to the transmission-line voltage higher than the tertiary voltage domain, high level is exported;If the descending letter Number be low level, the 4th switch conduction, with cause the transmission-line voltage be equal to the tertiary voltage domain high voltage, touch After sending out the 3rd chip detection described and being equal to the high voltage in the tertiary voltage domain to the transmission-line voltage, low level is exported.
When first chip receives the data of the 3rd chip transmission, if the corresponding signal of the data is electricity high Flat, the transmission-line voltage triggers first chip detection to the transmission line less than the low-voltage in the first voltage domain After voltage is less than the low-voltage in the first voltage domain, high level is exported;If the corresponding signal of the data is low level, described Transmission-line voltage is equal to the low-voltage in the first voltage domain, and trigger first chip first detects electric circuit inspection to transmission After line voltage is equal to the low-voltage in the first voltage domain, low level is exported.
When first chip 10 is in three transmission state signals, first chip 10 is to the 3rd chip 30 Transmission data, the first chip 10 is transmitting terminal, and the 3rd chip 30 is receiving terminal, if the corresponding signal of the data is high level, The 3rd switch T2 conductings, electric current is from the high voltage end V4 of first chip 10, the second voltage of first chip 10 To the second current source I2, the 3rd switch T2, transmission line, the first electric current of the 3rd chip 30 in current converter circuit 202 To voltage conversion circuit 102, the high voltage end V2 of the 3rd chip is flowed to, due to the clamping action of diode so that the transmission Line voltage higher than the high voltage V2 in the tertiary voltage domain, trigger the 3rd chip first comparator CMP1 detect it is described After transmission-line voltage is higher than the high voltage V2 in the tertiary voltage domain, high level is exported;If the corresponding signal of the data is low Level, the 4th switch T2B conductings of first chip 10, to cause that the transmission-line voltage is equal to the tertiary voltage domain High voltage V2, after triggering high voltage V2 of the 3rd chip detection to the transmission-line voltage equal to the tertiary voltage domain, Output low level.
When first chip 10 is in four transmission state signals, first chip 10 receives the 3rd chip The data of 30 transmission, now the first chip 10 is receiving terminal, and the 3rd chip 30 is transmitting terminal, if the corresponding signal of the data is High level, the first switch T1 conductings of the 3rd chip 30, electric current is from the low-voltage end V3 of first chip 10 by institute State the second electric current of the first chip 10 to voltage conversion circuit 202, transmission line, the first voltage of the 3rd chip 30 to electric current First switch T1, the first current source I1 in change-over circuit 101, flow to the ground voltage end V1 of the first chip, the transmission line electricity Force down in the low-voltage in the first voltage domain, trigger first chip detection and be less than described first to the transmission-line voltage After the low-voltage of voltage domain, high level is exported;If the corresponding signal of the data is low level, the T1B of the 3rd chip 30 Conducting, the transmission-line voltage is equal to the low-voltage in the first voltage domain, triggers the first detection circuit of first chip After transmission-line voltage is detected equal to the low-voltage in the first voltage domain, low level is exported.
It is also possible to be described in another form, that is to say, that the embodiment of the present invention can also be provided Another interface circuit, the interface circuit, comprising the second modular converter in the second chip, and the first conversion in the first chip Module, or, the first modular converter in the second modular converter and the 3rd chip in the first chip, principle is similar to, this implementation Example is illustrated only by taking the embodiment shown in Fig. 4 as an example.
The interface circuit that the present embodiment is provided, including first interface unit(Equivalent to the first modulus of conversion in the first chip Block), the first interface unit is arranged on the first chip 10, and the first interface unit is further included:First electric current to electricity Voltage conversion circuit, first voltage are to current converter circuit, and the first detection circuit;First electric current is to voltage conversion circuit Including at least one diode, first electric current to voltage conversion circuit includes at least one diode, the first voltage Include first switch, second switch and the first current source to current converter circuit, the first detection circuit compares including first Device, the first input end of the first comparator is input into the high-pressure side in the first voltage domain, the connection transmission of its second input Line,
Second interface unit(Equivalent to the second modular converter of the second chip), the second interface unit is arranged on second Chip 20, second chip 20 is operated in the second electric current described in second voltage domain includes at least one 2 to voltage conversion circuit Pole pipe, the second voltage to current converter circuit includes the 3rd switch, the 4th switch and the second current source, second detection Circuit includes the second comparator, and the first input end of second comparator connects the low-pressure end in the second voltage domain, and it the Two inputs connect transmission line, wherein the low-pressure end in second voltage domain and first voltage with high-pressure side be connected.
Similar with foregoing embodiment, first electric current to voltage conversion circuit can only include a diode, should Diode is the first diode, the anode of first diode of termination of the first switch in the first interface unit, first The current input terminal of the current source of another termination first of switch, the current output terminal of the first current source connects the low of first voltage domain Pressure side, the high-pressure side in the negative electrode connection first voltage domain of the first diode, the height in one end connection first voltage domain of second switch Pressure side, the other end connect the first diode anode, first comparator the second input connection first switch, second switch and The node that first diode is connected jointly, the node is used as the transmission end of first interface unit and the transmission end of second interface unit It is connected,
First electric current can also include two or more diodes to voltage conversion circuit, and each diode is first Tail is sequentially connected in series to form the first diode string, and one end of the first switch in the first interface unit connects the first diode string An outermost diode anode, the current input terminal of the current source of another termination first of first switch, the first electric current The low-pressure end in the current output terminal connection first voltage domain in source, the negative electrode of an outermost diode of the first diode string connects Connect the high-pressure side in first voltage domain, the high-pressure side in one end connection first voltage domain of second switch, other end connection first switch With the common node of the first diode string, the second input connection first switch of first comparator, second switch and the The node that one diode string is connected jointly, the node is used as the transmission end of first interface unit and the transmission end of second interface unit It is connected.
Second electric current can include a diode to voltage conversion circuit, and the diode is the second diode, institute State one of the 3rd switch in the second interface unit negative electrode for terminating the second diode, the electric current of another termination second of the 3rd switch The current output terminal in source, the high-pressure side in the current input terminal connection second voltage domain of the second current source, the anode of the second diode The low-pressure end in connection second voltage domain, the low-pressure end in one end connection second voltage domain of the 4th switch, other end connection the two or two The negative electrode of pole pipe, the second input of the second comparator connects what the 3rd switch, the 4th switch and the second diode were connected jointly Node, the node is connected as the transmission end of second interface unit with the transmission end of first interface unit.
The second electric current can also include two or more to voltage conversion circuit described in the second interface unit Diode, each diode head and the tail are sequentially connected in series to form the second diode string, the 3rd switch in the second interface unit The negative electrode of an outermost diode of one the second diode string of termination, the electricity of the current source of another termination second of the 3rd switch Stream output end, the high-pressure side in the current input terminal connection second voltage domain of the second current source, the second diode string it is outermost One low-pressure end in the anode connection second voltage domain of the second diode, the low pressure in one end connection second voltage domain of the 4th switch The common node of end, the switch of other end connection the 3rd and the second diode string, the second input connection the 3rd of the second comparator The node of switch, the 4th switch and the second diode string connection jointly, the node as second interface unit transmission end and the The transmission end of one interface unit is connected.
When the first interface unit sends data to second interface unit, the 3rd switch and the in second interface unit Four switches are constantly in cut-off state, and the data that send as needed control the on or off of first switch, while control the Two switches on or off states and first switch is conversely, the comparative result of now the second comparator output is exactly second to connect The data that mouth unit is received;
First switch and second switch in the first interface unit are constantly in cut-off state, send as needed The on or off of the switch of data control the 3rd, while the phase that the on or off state of the switch of control the 4th is switched with the 3rd Instead, the comparative result of now first comparator output is exactly the data that first interface unit is received.
Description on the embodiment, refers to foregoing embodiment, seldom repeats.
Bidirectional interface change-over circuit provided in an embodiment of the present invention is employed, by setting the conversion between electric current and voltage Circuit and the comparator as voltage detecting circuit, it is possible to achieve same holding wire, carry out signal between two voltage domains Transmission.
Above-described specific embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, should be understood that and the foregoing is only specific embodiment of the invention, be not intended to limit the present invention Protection domain, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc. all should include Within protection scope of the present invention.

Claims (10)

1. a kind of two-way transmission interface conversion circuit, it is characterised in that including:
First modular converter, is arranged on the first chip, and first chip operation is in first voltage domain, first modular converter Further include:First electric current detects circuit to voltage conversion circuit, first voltage to current converter circuit and first;It is described First electric current includes at least one diode to voltage conversion circuit, and the first voltage to current converter circuit is opened including first Pass, second switch and the first current source, the first detection circuit include first comparator, and the first of the first comparator is defeated Enter the high pressure that end is connected the first voltage domain with one end of at least one diode, the other end of the second switch End, the other end of the second input of the first comparator and at least one diode, the first switch it is another End, one end connection transmission line of the second switch, conducting of the first switch with the second switch and cut-off state phase Instead, wherein, diode at least one diode is to be connected in series.
2. two-way transmission interface conversion circuit as claimed in claim 1, it is characterised in that first electric current to voltage conversion Circuit includes a diode, and the diode is the first diode, a termination first of the first switch in the modular converter The anode of diode, the current input terminal of the current source of another termination first of first switch, the current output terminal of the first current source The low-pressure end in connection first voltage domain, the high-pressure side in the negative electrode connection first voltage domain of the first diode, one end of second switch The high-pressure side in connection first voltage domain, the other end connects the anode of the first diode, the second input connection of first comparator The node of first switch, second switch and the first diode connection jointly, the node as chip transmission end and the second chip Transmission end be connected, institute the second chip operation in second voltage domain, low-voltage and the first voltage in the second voltage domain The high voltage in domain is equal.
3. the two-way transmission interface conversion circuit as described in any one of claim 1 to 2, it is characterised in that also include:
Second modular converter, is arranged on the first chip, and it includes that the second electric current turns to voltage conversion circuit, second voltage to electric current Change circuit, and the second detection circuit;Second electric current includes at least one diode, described second to voltage conversion circuit Voltage includes the 3rd switch, the 4th switch and the second current source to current converter circuit, and the second detection circuit includes second Comparator, the first input end of second comparator connects the low-pressure end in the first voltage domain, the connection of its second input Transmission line, the 3rd switch is opposite with the conducting of the described 4th switch and cut-off state.
4. two-way transmission interface conversion circuit as claimed in claim 3, it is characterised in that
Second electric current includes a diode to voltage conversion circuit, and the diode is the second diode, the modulus of conversion The negative electrode of one the second diode of termination of the 3rd switch in block, the electric current output of the current source of another termination second of the 3rd switch End, the high-pressure side in the current input terminal connection second voltage domain of the second current source, the anode connection first voltage of the second diode The low-pressure end in domain, the low-pressure end in one end connection first voltage domain of the 4th switch, the other end connects the negative electrode of the second diode, the The node that the switch of second input connection the 3rd of two comparators, the 4th switch and the second diode are connected jointly, the node is made For the transmission end of the first chip is connected with the transmission end of the 3rd chip, the 3rd chip operation in tertiary voltage domain, described The high voltage of three voltage domains is equal with the low-voltage in the first voltage domain.
5. two-way transmission interface conversion circuit as claimed in claim 1 or 2, it is characterised in that when first chip is to institute When stating the second chip transmission of data, if the corresponding signal of the data is high level, the first switch in first chip is led Logical, to cause the transmission-line voltage less than the low-voltage in the second voltage domain, triggering second chip detection is described in After transmission-line voltage is less than the low-voltage in the second voltage domain, high level is exported;If the corresponding signal of the data is low electricity Flat, the second switch conducting, to cause that the transmission-line voltage is equal to the low-voltage in the second voltage domain, triggers described the After two chip detections are equal to the low-voltage in the second voltage domain to the transmission-line voltage, low level is exported.
6. two-way transmission interface conversion circuit as claimed in claim 1 or 2, it is characterised in that receive institute when the first chip is stated When stating the data of the second chip transmission, if the corresponding signal of the data is high level, the transmission-line voltage is higher than described the The high voltage of one voltage domain, triggers height electricity of first chip detection to the transmission-line voltage higher than the first voltage domain After pressure, high level is exported;If the corresponding signal of the data is low level, the transmission-line voltage is equal to the first voltage domain High voltage, trigger the first detection electric circuit inspection of first chip to the transmission-line voltage equal to the first voltage domain High voltage after, export low level.
7. two-way transmission interface conversion circuit as claimed in claim 4, it is characterised in that when first chip is to described During three chip transmission of data, if the corresponding signal of the data is high level, the 3rd switch conduction, to cause the transmission Line voltage triggers the 3rd chip detection to the transmission-line voltage higher than described higher than the high voltage in the tertiary voltage domain After the high voltage in tertiary voltage domain, high level is exported;If the corresponding signal of the data is low level, the 4th switch is led Logical, to cause that the transmission-line voltage is equal to the high voltage in the tertiary voltage domain, triggering the 3rd chip detection is described in After transmission-line voltage is equal to the high voltage in the tertiary voltage domain, low level is exported;
When first chip receives the data of the 3rd chip transmission, if the corresponding signal of the data is high level, The transmission-line voltage triggers first chip detection to the transmission-line voltage less than the low-voltage in the first voltage domain After low-voltage less than the first voltage domain, high level is exported;If the corresponding signal of the data is low level, the transmission Line voltage is equal to the low-voltage in the first voltage domain, and the first detection electric circuit inspection for triggering first chip is electric to transmission line After pressure is equal to the low-voltage in the first voltage domain, low level is exported.
8. a kind of interface circuit, it is characterised in that including:
First interface unit, the first interface unit is arranged on the first chip, first chip operation in first voltage domain, The first interface unit is further included:First electric current to voltage conversion circuit, first voltage to current converter circuit and First detection circuit;First electric current includes at least one diode, the first voltage to electric current to voltage conversion circuit Change-over circuit includes first switch, second switch and the first current source, and the first detection circuit includes first comparator, described The first input end of first comparator is connected described with one end of at least one diode, the other end of the second switch The high-pressure side in first voltage domain, the other end of the second input of the first comparator with least one diode, institute The other end, one end connection transmission line of the second switch of first switch are stated, wherein, at least one diode two Pole pipe is to be connected in series;
Second interface unit, the second interface unit is arranged on the second chip, second chip operation in second voltage domain, It includes the second electric current to voltage conversion circuit, second voltage to current converter circuit, and the second detection circuit;
Second electric current includes at least one diode, the second voltage to current converter circuit bag to voltage conversion circuit The 3rd switch, the 4th switch and the second current source are included, the second detection circuit includes the second comparator, second comparator First input end connect the low-pressure end in the second voltage domain, wherein its second input connection transmission line, second voltage domain Low-pressure end be connected with the high-pressure side of first voltage.
9. interface circuit as claimed in claim 8, it is characterised in that in the first interface unit, described at least one One diode is multiple diodes, and each diode head and the tail are sequentially connected in series to form the first diode string, the first interface unit In first switch one end connect the first diode string an outermost diode anode, the other end of first switch Connect the current input terminal of the first current source, the low-pressure end in the current output terminal connection first voltage domain of the first current source, the one or two The high-pressure side in the negative electrode connection first voltage domain of an outermost diode of pole pipe string, one end connection first of second switch The common node of the high-pressure side of voltage domain, other end connection first switch and the first diode string, the of first comparator The node that two inputs connection first switch, second switch and the first diode string are connected jointly, the node is used as first interface The transmission end of unit is connected with the transmission end of second interface unit;Or, at least one diode is a diode, should Diode is the first diode, and one of the first switch in the first interface unit terminates the anode of first diode, the The current input terminal of the current source of another termination first of one switch, the current output terminal connection first voltage domain of the first current source Low-pressure end, the high-pressure side in the negative electrode connection first voltage domain of outermost one of them first diode of the first diode string, The middle node of the high-pressure side in one end connection first voltage domain of second switch, other end connection first switch and the first diode string Point, the node that the second input connection first switch of first comparator, second switch and the first diode are connected jointly, the section Point is connected as the transmission end of first interface unit with the transmission end of second interface unit;
In the second interface unit, described at least one first diodes are multiple diodes, and each diode head and the tail are successively Series connection forms the second diode string, the outermost of a second diode string of termination of the 3rd switch in the second interface unit A negative electrode for diode, the 3rd switch the current source of another termination second current output terminal, the electric current of the second current source The high-pressure side in input connection second voltage domain, the anode connection of outermost second diode of the second diode string the The low-pressure end of two voltage domains, the low-pressure end in one end connection second voltage domain of the 4th switch, the switch of other end connection the 3rd and the The common node of two diode strings, the switch of the second input connection the 3rd of the second comparator, the 4th switch and the second diode The node of the common connection of string, the node is connected as the transmission end of second interface unit with the transmission end of first interface unit;Or Person, described at least one first diodes are a diode, and the diode is the second diode, in the second interface unit The 3rd switch one termination the second diode negative electrode, the 3rd switch the current source of another termination second current output terminal, The high-pressure side in the current input terminal connection second voltage domain of the second current source, the anode connection second voltage domain of the second diode Low-pressure end, the low-pressure end in one end connection second voltage domain of the 4th switch, the other end connects the negative electrode of the second diode, the second ratio The node of the switch of the second input connection the 3rd, the 4th switch and the second diode compared with device connection jointly, the node is used as the The transmission end of two interface units is connected with the transmission end of first interface unit.
10. interface circuit as claimed in claim 9, it is characterised in that
When the first interface unit sends data to second interface unit, the 3rd switch and the 4th in second interface unit is opened Pass is constantly in cut-off state, and the data for sending as needed control the on or off of first switch, while control second is opened The on or off state of pass is with first switch conversely, the comparative result of now the second comparator output is exactly second interface list The data that unit receives;
When the second interface unit sends data to the first interface unit, the first switch in the first interface unit Cut-off state is constantly in second switch, the on or off of the switch of data control the 3rd for sending as needed, same to time control The on or off state of the 4th switch is made with the 3rd switch conversely, the comparative result of now first comparator output is exactly the The data that one interface unit is received.
CN201310617724.6A 2013-11-27 2013-11-27 A kind of two-way transmission interface conversion circuit Active CN103647544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310617724.6A CN103647544B (en) 2013-11-27 2013-11-27 A kind of two-way transmission interface conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310617724.6A CN103647544B (en) 2013-11-27 2013-11-27 A kind of two-way transmission interface conversion circuit

Publications (2)

Publication Number Publication Date
CN103647544A CN103647544A (en) 2014-03-19
CN103647544B true CN103647544B (en) 2017-07-04

Family

ID=50252718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310617724.6A Active CN103647544B (en) 2013-11-27 2013-11-27 A kind of two-way transmission interface conversion circuit

Country Status (1)

Country Link
CN (1) CN103647544B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104300960B (en) * 2014-10-23 2017-08-29 无锡中感微电子股份有限公司 Adaptive input output circuit and its chip
CN106301337B (en) * 2015-05-13 2019-12-06 恩智浦有限公司 Method and system for two-way communication
CN106253641B (en) * 2016-08-26 2018-12-28 重庆西南集成电路设计有限责任公司 A kind of rectifier diode replacement circuit and reverse-biased cut-off driving circuit
CN111901008B (en) * 2020-09-29 2021-01-05 深圳英集芯科技有限公司 Single-wire communication apparatus, communication system, and single-wire communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5661416A (en) * 1994-05-02 1997-08-26 Hitachi, Ltd. Interface circuit and interface-network system using the same
CN202455332U (en) * 2011-12-31 2012-09-26 河南辉煌科技股份有限公司 Signal transmission circuit
CN203632640U (en) * 2013-11-27 2014-06-04 无锡中星微电子有限公司 Two-way transmission interface converting circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5661416A (en) * 1994-05-02 1997-08-26 Hitachi, Ltd. Interface circuit and interface-network system using the same
CN202455332U (en) * 2011-12-31 2012-09-26 河南辉煌科技股份有限公司 Signal transmission circuit
CN203632640U (en) * 2013-11-27 2014-06-04 无锡中星微电子有限公司 Two-way transmission interface converting circuit

Also Published As

Publication number Publication date
CN103647544A (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN103647544B (en) A kind of two-way transmission interface conversion circuit
CN105337483A (en) Device for preventing current from flowing backwards
CN203632689U (en) Multi-network-port electric power receiving-end equipment and electric power receiving device thereof
CN106941349A (en) A kind of low delay optical coupling isolation circuit and RS485 isolate telecommunication circuit
CN106602896A (en) Totem pole bridgeless circuit and system thereof
CN201860486U (en) Multipath LED loaded open circuit protective circuit
CN105703618B (en) A kind of circuit and implementation method for realizing high-power power supply using routine POE
CN106095708A (en) The electric current loop means of communication of two-wire system half-duplex one master and multiple slaves multi computer communication and system
CN100549887C (en) Bus line data transceiver
CN105472782B (en) A kind of wireless communication terminal
CN202383491U (en) Slave power supply and valve control circuit of M-BUS
CN101872998B (en) Power supply switching circuit
CN203632640U (en) Two-way transmission interface converting circuit
CN108988845A (en) Nonpolarity RS485 realizes the circuit of polarity upset
CN108270210A (en) Power supply switch device
CN105846809B (en) A kind of buffer circuit and buffer chip
CN206422761U (en) A kind of switching signal detects circuit
CN202602603U (en) Alternating current solid relay
CN201700036U (en) Protection circuit for open circuit
CN207399159U (en) A kind of high-speed differential signal switching switch
CN209375659U (en) Optical module and optical communication equipment
CN106533218A (en) Three-phase rectifying circuit and driving control method
CN106788432A (en) D/A converting circuit
CN206077379U (en) Repeat circuit and half duplex communication circuit for half duplex communication
CN109039659A (en) G.fast reverse power supply system, terminal device and local side apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Wuxi District of Jiangsu city of Wuxi province Qingyuan Road 214135 No. 18 Taihu International Science Park sensor network university science and Technology Park 530 building A1001

Applicant after: WUXI ZHONGGAN MICROELECTRONIC CO., LTD.

Address before: A 530 building 214135 Jiangsu Province, Wuxi city Wuxi District Taihu international science and Technology Park Qingyuan Road 10

Applicant before: Wuxi Vimicro Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant