CN100576843C - A kind of data transmission circuit - Google Patents

A kind of data transmission circuit Download PDF

Info

Publication number
CN100576843C
CN100576843C CN200510006087A CN200510006087A CN100576843C CN 100576843 C CN100576843 C CN 100576843C CN 200510006087 A CN200510006087 A CN 200510006087A CN 200510006087 A CN200510006087 A CN 200510006087A CN 100576843 C CN100576843 C CN 100576843C
Authority
CN
China
Prior art keywords
communication interface
data
resistance
links
circuit
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
CN200510006087A
Other languages
Chinese (zh)
Other versions
CN1805429A (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.)
Vertiv Corp
Original Assignee
Liebert Corp
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 Liebert Corp filed Critical Liebert Corp
Priority to CN200510006087A priority Critical patent/CN100576843C/en
Publication of CN1805429A publication Critical patent/CN1805429A/en
Application granted granted Critical
Publication of CN100576843C publication Critical patent/CN100576843C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of data transmission circuit, comprise direction controller and RS485 communication interface circuit, the two electrical connection, the reiving/transmitting state of direction controller control RS485 communication interface circuit, direction controller one end reads the signal source signal by single bus, and the reiving/transmitting state of signal source signal controlling RS485 communication interface circuit in view of the above, when RS485 communication interface circuit is transmit status, the signal source signal is sent, direction controller comprises multidiameter option switch and logic gates, the data terminal of multidiameter option switch links to each other with signal source by single bus, the first passage output of multidiameter option switch and the input of second channel and logic gates coupling, the logic gates other end and RS485 communication interface which couple.Signal source signal in this data transmission circuit be control signal be again transmission signals, and link to each other with signal source by single bus and just can realize the reception and the transmission of whole signals.

Description

A kind of data transmission circuit
[technical field]
The present invention relates to a kind of data transmission circuit, relate in particular to a kind of remote data transmission circuit of the RS485 of being applied to communication interface circuit.
[background technology]
In present stage, data transmission manner has two kinds of parallel communications and serial communications, because the line that parallel communications is taked is more, thus seldom be used, thereby extensively adopt serial communication mode.But, even adopt serial communication mode, remove ground wire, need 2 data lines just can finish the reception and the transmission of whole signals at least, as shown in Figure 1.For example RS232 just must RXD and TXD two data lines.
[summary of the invention]
Technical problem to be solved by this invention provides a kind of data transmission circuit, and this data transmission circuit only needs single bus and signal source swap data just can finish whole signal transmission and reception.In order to solve above technical problem, technical scheme of the present invention is:
A kind of data transmission circuit, comprise direction controller and RS485 communication interface circuit, the two electrical connection, described direction controller is controlled the reiving/transmitting state of described RS485 communication interface circuit, it is characterized in that: described direction controller one end reads the signal source signal by single bus, and the reiving/transmitting state of the described RS485 communication interface of signal source signal controlling circuit in view of the above, when RS485 communication interface circuit is transmit status, described signal source signal is sent; Described direction controller comprises multidiameter option switch and logic gates, the data terminal of described multidiameter option switch links to each other with signal source by single bus, the first passage output of described multidiameter option switch and the input of second channel and the coupling of described logic gates, the described logic gates other end and RS485 communication interface which couple.
Described multidiameter option switch is field effect transistor variable connector or relay.
Described direction controller also comprises the electrical isolation circuit, the input of the first passage of described electrical isolation circuit links to each other with described multidiameter option switch first passage output, the output of the second channel of described electrical isolation circuit links to each other with described multidiameter option switch second channel input, the first passage output of described electrical isolation circuit and the input of second channel and described RS485 communication interface which couple.
Also comprise the 4th pull down resistor R4, the 5th pull down resistor R5, the 3rd pull-up resistor R 3 and the 8th pull down resistor R8, the end of described the 4th pull down resistor R4 connects described single bus, other end ground connection, the 5th pull down resistor R5 one end is connected in the first passage output X0 of multidiameter option switch U2, the other end links to each other with ground, the end of the 3rd pull-up resistor R3 links to each other with power supply VCC, the other end links to each other with the correction data end of RS485 communication interface circuit U 3, the end ground connection of the 8th pull down resistor R8, the other end links to each other with the negative data end of RS485 communication interface circuit.
Also comprise the 6th pull-up resistor R6, the second pull-up resistor R2, the 9th resistance R 9, the tenth resistance R 10, the 11 resistance R 11 and the 12 resistance R 12, the end of the 6th pull-up resistor R6 is connected in described single bus, the other end links to each other with power supply VCC, the second pull-up resistor R2, one end is connected in the first passage output X0 of multidiameter option switch U2, the other end links to each other with power supply VCC, the 9th resistance R 9 and the tenth resistance R 10 are serially connected with between power supply VCC and the ground, the 9th resistance R 9 links to each other with the correction data end of RS485 communication interface circuit U 3 with the contact of the tenth resistance R 10, the 11 resistance R 11 and the 12 resistance R 12 are serially connected with between power supply VCC and the ground, and the 11 resistance R 11 links to each other with the negative data end of RS485 communication interface circuit U 3 with the contact of the 12 resistance R 12.
Technique effect of the present invention is: direction controller one end reads the signal source signal by single bus, and the reiving/transmitting state of the described RS485 communication interface of signal source signal controlling circuit in view of the above, when RS485 communication interface circuit is transmit status, described signal source signal is sent, be this signal source signal be control signal be again transmission signals, and just can realize the transmission and the reception of whole signals by a data lines and signal source swap data.
[description of drawings]
Fig. 1 is a prior art data transmission circuit schematic diagram;
Fig. 2 is a data transmission circuit structure principle chart of the present invention;
Fig. 3 is the data transmission circuit structure principle chart of the embodiment of the invention one;
Fig. 4 is that the data transmission circuit of the embodiment of the invention one is applied to carry out the data transmission circuit schematic diagram between two signal sources;
Fig. 5 is a data transmission circuit constructing communication network structural representation of the present invention;
Fig. 6 is the embodiment of the invention two data transmission circuit structure principle charts;
Fig. 7 is that the data transmission circuit of the embodiment of the invention two is applied to carry out the data transmission circuit schematic diagram between two signal sources;
Fig. 8 is an electrical isolation circuit structure schematic diagram of the present invention;
Fig. 9 is the application principle figure of data transmission circuit of the present invention on uninterrupted power supply.
[embodiment]
The invention is further described with reference to the accompanying drawings.
Please refer to Fig. 2.A kind of data transmission circuit, comprise direction controller and RS485 communication interface circuit, the two electrical connection, described direction controller one end reads the signal source signal by single bus, and the reiving/transmitting state of the described RS485 communication interface of signal source signal controlling circuit in view of the above, when RS485 communication interface circuit is transmit status, this signal source signal is transferred to another signal source, as shown in Figure 2, wherein said direction controller comprises multidiameter option switch U2 and logic gates, the data terminal of multidiameter option switch U2 links to each other with signal source by single bus, the first passage output X0 of described multidiameter option switch U2 and the input X1 of second channel and logic gates coupling, the logic gates other end and 3 couplings of RS485 communication interface circuit U, as shown in Figure 3.
Embodiment one
Described data transmission circuit also comprises the 4th pull down resistor R4, the 5th pull down resistor R5, the 3rd pull-up resistor R3 and the 8th pull down resistor R8, the end of the 4th pull down resistor R4 connects single bus, other end ground connection, the 5th pull down resistor R5 one end is connected in the first passage output X0 of multidiameter option switch U2, the other end links to each other with ground, the end of the 3rd pull-up resistor R3 links to each other with power supply VCC, the other end links to each other with the correction data end DATA+ of RS485 communication interface circuit U 3, the end ground connection of the 8th pull down resistor R8, the other end links to each other with the negative data end DATA-of RS485 communication interface circuit U 3.
Now this circuit is divided into several sections its concrete course of work is described.
Please refer to Fig. 3, multidiameter option switch U2 adopts the CD4052 chip, the data terminal DATA of multidiameter option switch U2 links to each other with signal source by single bus, be used to read the signal of signal source, the first passage output X0 of multidiameter option switch U2 and the input of inverter U4B, the end of the 5th pull down resistor R5 (other end ground connection), the Data Receiving of RS485 communication interface circuit U 3 allows end RE and data transmission to allow end DE to link to each other, the output of inverter U4B links to each other with the data sending terminal D of RS485 communication interface circuit U 3, the correction data end DATA+ of RS485 communication interface circuit U 3 and negative data end DATA-link to each other with the positive and negative data terminal of the RS485 communication interface circuit of the transmission circuit of another signal source respectively, the correction data end DATA+ of RS485 communication interface circuit U 3 links to each other with power supply VCC by the 3rd pull-up resistor R3, and the negative data end DATA-of RS485 communication interface circuit U 3 is by the 8th pull down resistor R8 ground connection.The data receiver R of RS485 communication interface circuit U 3 links to each other with the input of inverter U4A, link to each other with power supply VCC by the 7th pull-up resistor R7 simultaneously, the output of inverter U4A links to each other with the second channel input X1 of multidiameter option switch U2 and the logic control end A of multidiameter option switch U2, the end of the 4th pull down resistor R4 is connected in described single bus, other end ground connection, as shown in Figure 3.
Its operation principle is:
When the signal of signal source is logical zero, multidiameter option switch U2 data terminal DATA reads this logical zero by single bus, data terminal DATA is a logical zero, the first passage output X0 of multidiameter option switch U2 is a logical zero, it is logical zero that the Data Receiving permission end RE of RS485 communication interface circuit U 3 and data transmission at this moment allows to hold DE, according to the character of RS485 communication interface circuit U 3, control RS485 communication interface circuit U 3 is for receiving data pattern.
When the signal of signal source is logical one, multidiameter option switch U2 data terminal DATA reads this logical one by single bus, data terminal DATA is a logical one, the first passage output X0 of multidiameter option switch U2 is a logical one, it is logical one that the Data Receiving permission end RE of RS485 communication interface circuit U 3 and data transmission at this moment allows to hold DE, according to the character of RS485 communication interface circuit U 3, control RS485 communication interface circuit U 3 is for sending out data pattern.
Being applied to carry out between two signal source S1, S2 transfer of data with this embodiment data transmission circuit below is that example is introduced described data transmission circuit as the operation principle that receives repeater and outgoing repeater.Please refer to Fig. 4, two signal source S1 and S2, signal source S1 carries out exchanges data by multidiameter option switch U2, logic gates, RS485 communication interface circuit U 3, RS485 communication interface circuit U 31, multidiameter option switch U21 and signal source S2 successively.
Doing the operation principle that receives repeater is:
As shown in Figure 4, when for the reception repeater, it is drop-down making multidiameter option switch U2 data terminal DATA because of the 4th pull down resistor R4, when as long as multidiameter option switch U2 data terminal DATA is not logical one, the first passage output X0 of multidiameter option switch U2 is a logical zero under the drop-down effect of R5, thereby the Data Receiving of RS485 communication interface circuit U 3 allows end RE and data to send and allows end DE is logical zero, and control RS485 communication interface circuit U 3 is for receiving data pattern.
When signal source S2 output signal is logical one, be that its control RS485 communication interface circuit U 31 is in a data pattern, and by U4B oppositely after, the data sending terminal D of U31 is a logical zero, character according to RS485 communication interface circuit, the correction data end DATA+ of RS485 communication interface circuit U 31 and negative data end DATA-are logical zero, then be in the data receiver R output low level of the RS485 communication interface circuit U 3 of receiving data pattern, it is logical zero, behind the process inverter U4A is logical one, thereby the second channel input X1 of multidiameter option switch U2 is a logical one, make the data among the data terminal DATA of multidiameter option switch U2 equal logical one, i.e. the reception of signal source S1 success the signal that transmits of signal source S2.
When signal source S2 output signal is logical zero, be that its control RS485 communication interface circuit U 31 also is in the receipts data pattern, promptly control RS485 communication interface circuit U 3 and RS485 communication interface circuit U 31 all is in the receipts data pattern, under the 3rd pull-up resistor R3 and the 8th pull down resistor R8 effect, the correction data end DATA+ of RS485 communication interface circuit U 3 and negative data end DATA-are logical one, the data receiver R of RS485 communication interface circuit U 3 is a logical one at this moment, behind the process inverter U4A is logical zero, thereby the second channel input X1 of multidiameter option switch U2 is a logical zero, make the data among the data terminal DATA of multidiameter option switch U2 equal logical zero, this logical zero is identical with signal among the signal source S2, also promptly successful reception the signal among the signal source S2.
Do the operation principle of outgoing repeater:
As shown in Figure 4, when the signal that reads signal source by single bus as the data terminal DATA of multidiameter option switch U2 is logical one, the data terminal DATA of multidiameter option switch U2 is a logical one, the Data Receiving of RS485 communication interface circuit U 3 allows end RE and data to send and allows end DE is logical one, character according to RS485 communication interface circuit U 3, control RS485 communication interface circuit U 3 is for sending out data pattern, when the RS485 of signal source S2 communication interface circuit U 31 is accepting state, this signal logic 1 is transferred to signal source S2, and the concrete receiving course of signal source S2 as mentioned above.
Fig. 5 is the schematic diagram of data transmission circuit constructing communication network of the present invention.This communication networking is made up of repeater 1, repeater 2...... repeater N.When having one to be in transmit status among repeater 1, repeater 2...... or the repeater N, then this repeater that is in transmit status sends to signal in its signal source other repeater.Its concrete transmitting-receiving course of work is identical with two signal source situations.
Embodiment two
Present embodiment is compared with embodiment's one, described data transmission circuit comprises the 6th pull-up resistor R6, the second pull-up resistor R2, the 9th resistance R 9, the tenth resistance R 10, the 11 resistance R 11 and the 12 resistance R 12, the end of the 6th pull-up resistor R6 is connected in described single bus, the other end links to each other with power supply VCC, the first passage output X0 of multidiameter option switch U2 and the input of inverter U4B, the end of the second pull-up resistor R2 (another termination power VCC), the data sending terminal D of RS485 communication interface circuit U 3 links to each other, the output of inverter U4B allows end RE and data transmission to allow end DE to link to each other with the reception of RS485 communication interface circuit U 3, the 9th resistance R 9 and the tenth resistance R 10 are serially connected with between power supply VCC and the ground, the 9th resistance R 9 links to each other with the correction data end DATA+ of RS485 communication interface circuit U 3 with the contact of the tenth resistance R 10, the 11 resistance R 11 and the 12 resistance R 12 are serially connected with between power supply VCC and the ground, the 11 resistance R 11 links to each other with the negative data end DATA-of RS485 communication interface circuit U 3 with the contact of the 12 resistance R 12, as shown in Figure 6, when as long as multidiameter option switch U2 data terminal DATA is not logical one, the first passage output X0 of multidiameter option switch U2 is a logical one drawing on the R2 under the effect, pass through reverser U4B again, thereby the Data Receiving of RS485 communication interface circuit U 3 allows end RE and data to send and allows end DE is logical zero, control RS485 communication interface circuit U 3 is for receiving data pattern, its as the fundamental diagram that receives repeater and outgoing repeater as shown in Figure 7, concrete working method is similar to embodiment one.
Embodiment three
In the 3rd embodiment of the present invention, itself and first embodiment difference is that described direction controller also comprises the electrical isolation circuit, the input TXD1 of the first passage of described electrical isolation circuit links to each other with described multidiameter option switch U2 first passage output X0, the output RXD3 of the second channel of described electrical isolation circuit links to each other with described multidiameter option switch U2 second channel input X1, the first passage output TXD2 of described electrical isolation circuit links to each other with the input of inverter U4B, the input RXD2 of the second channel of electrical isolation circuit links to each other with the output of inverter U4A, this electrical isolation circuit is used to solve the electrical isolation problem of long Distance Transmission, as shown in Figure 8.
Certainly multidiameter option switch U2 can also adopt the CMOS4051 multidiameter option switch or utilize relay to realize.
This data transmission circuit can be applied to uninterrupted power supply, promptly is applied to UPS, as shown in Figure 9.This moment, signal source was the signal source of UPS, just can realize the transfer of data between UPS1 and the UPS2.

Claims (5)

1. data transmission circuit, comprise direction controller (1) and RS485 communication interface circuit, the two electrical connection, the reiving/transmitting state of the described RS485 communication interface circuit of described direction controller (1) control, it is characterized in that: described direction controller (1) one end reads the signal source signal by single bus, and the reiving/transmitting state of the described RS485 communication interface of signal source signal controlling circuit in view of the above, when RS485 communication interface circuit is transmit status, described signal source signal is sent; Described direction controller (1) comprises multidiameter option switch (U2) and logic gates, the data terminal of described multidiameter option switch (U2) links to each other with signal source by single bus, the first passage output (X0) of described multidiameter option switch (U2) and the input (X1) of second channel and described logic gates coupling, the described logic gates other end and RS485 communication interface which couple.
2. according to the described data transmission circuit of claim 1, it is characterized in that: described multidiameter option switch (U2) is field effect transistor variable connector or relay.
3. according to the described data transmission circuit of claim 2, it is characterized in that: described direction controller (1) also comprises the electrical isolation circuit, the input of the first passage of described electrical isolation circuit (TXD1) links to each other with described multidiameter option switch (U2) first passage output (X0), the output of the second channel of described electrical isolation circuit (RXD3) links to each other with described multidiameter option switch (U2) second channel input (X1), the first passage output (TXD2) of described electrical isolation circuit and the input (RXD2) of second channel and described RS485 communication interface which couple.
4. according to each described data transmission circuit in the claim 1 to 3, it is characterized in that: also comprise the 4th pull down resistor (R4), the 5th pull down resistor (R5), the 3rd pull-up resistor (R3) and the 8th pull down resistor (R8), one end of described the 4th pull down resistor (R4) connects described single bus, other end ground connection, the 5th pull down resistor (R5) end is connected in the first passage output (X0) of multidiameter option switch (U2), the other end links to each other with ground, the end of the 3rd pull-up resistor R3 links to each other with power supply (VCC), the other end links to each other with the correction data end (DATA+) of RS485 communication interface circuit (U3), one end ground connection of the 8th pull down resistor (R8), the other end links to each other with the negative data end (DATA-) of RS485 communication interface circuit (U3).
5. according to each described data transmission circuit in the claim 1 to 3, it is characterized in that: also comprise the 6th pull-up resistor (R6), second pull-up resistor (R2), the 9th resistance (R9), the tenth resistance (R10), the 11 resistance (R11) and the 12 resistance (R12), one end of the 6th pull-up resistor (R6) is connected in described single bus, the other end links to each other with power supply (VCC), second pull-up resistor (R2) end is connected in the first passage output (X0) of multidiameter option switch (U2), the other end links to each other with power supply (VCC), the 9th resistance (R9) and the tenth resistance (R10) are serially connected with between power supply (VCC) and the ground, the 9th resistance (R9) links to each other with the correction data end (DATA+) of RS485 communication interface circuit (U3) with the contact of the tenth resistance (R10), the 11 resistance (R11) and the 12 resistance (R12) are serially connected with between power supply (VCC) and the ground, and the 11 resistance (R11) links to each other with the negative data end (DATA-) of RS485 communication interface circuit (U3) with the contact of the 12 resistance (R12).
CN200510006087A 2005-01-11 2005-01-11 A kind of data transmission circuit Active CN100576843C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510006087A CN100576843C (en) 2005-01-11 2005-01-11 A kind of data transmission circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510006087A CN100576843C (en) 2005-01-11 2005-01-11 A kind of data transmission circuit

Publications (2)

Publication Number Publication Date
CN1805429A CN1805429A (en) 2006-07-19
CN100576843C true CN100576843C (en) 2009-12-30

Family

ID=36867266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510006087A Active CN100576843C (en) 2005-01-11 2005-01-11 A kind of data transmission circuit

Country Status (1)

Country Link
CN (1) CN100576843C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982817B (en) * 2010-10-22 2012-07-11 王振国 Circuitry capable of transmitting multi-channel data streams through single bus interface

Also Published As

Publication number Publication date
CN1805429A (en) 2006-07-19

Similar Documents

Publication Publication Date Title
CN101140557A (en) System and method of RS232/RS48 compatibility interface
CN100399740C (en) Controller local net bus physical relay
CN102461100A (en) Data transmission device for remote monitoring and remote controlling a distributed process system
CN101907887A (en) Mineral hydraulic bracket controller, bracket control system and communication method
CN206498408U (en) For the net mate device in the networks of bus-type FC AE 1553
CN109600288B (en) Isolation circuit and electronic control unit of controller area network CAN signal
CN102904786A (en) Optical fiber CAN (controller area network) bus node unit and CAN bus topology thereof
CN100576843C (en) A kind of data transmission circuit
CN101296091A (en) Method for conveying electric power and serial bus signal based on Ethernet cable
CN102801594A (en) CAN (Controller Area Network) bus repeater of electro-hydraulic control system of coal mine hydraulic bracket
CN104683266A (en) Bidirectional packet transfer fail-over switch for serial communication
CN203057158U (en) 485 communication circuit and communication system
CN102609388B (en) Slave node circuit, communication method and communication device
CN106301450A (en) Repeat circuit and half duplex communication circuit for half duplex communication
CN101882124B (en) RS422/485 double-use signal converter capable of automatically judging connector
CN201820120U (en) Self-adapting multibus execution mechanism controller
CN103957145B (en) CAN repeater and its data relay method with dual master control module
CN202003197U (en) Mining hydraulic bracket controller, bracket control system
CN205427840U (en) Long distance transmission's I2C bus communication interface circuit
CN101662405B (en) Communication circuit of CAN bus
CN206077379U (en) Repeat circuit and half duplex communication circuit for half duplex communication
CN101156336B (en) Electrooptical coupling device
CN117118882B (en) Signal monitoring device of high-speed serial bus
CN1708027A (en) Method for transmitting Ethernet equipment duplex mode information
CN1964245A (en) RS485 character-oriented anti-interference device against idle synchronous serial communication bus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Columbo Road, Ohio, Dearborn 1050

Patentee after: Vitamin Corporation

Address before: ohio

Patentee before: Libot Inc.