CN207743959U - A kind of data transmission circuit based on RS232 - Google Patents

A kind of data transmission circuit based on RS232 Download PDF

Info

Publication number
CN207743959U
CN207743959U CN201721478981.6U CN201721478981U CN207743959U CN 207743959 U CN207743959 U CN 207743959U CN 201721478981 U CN201721478981 U CN 201721478981U CN 207743959 U CN207743959 U CN 207743959U
Authority
CN
China
Prior art keywords
diode
triode
optocoupler
anode
resistance
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.)
Expired - Fee Related
Application number
CN201721478981.6U
Other languages
Chinese (zh)
Inventor
梁伟杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Huaying Seoul Electric Technology Co Ltd
Original Assignee
Zhuhai Huaying Seoul Electric Technology 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 Zhuhai Huaying Seoul Electric Technology Co Ltd filed Critical Zhuhai Huaying Seoul Electric Technology Co Ltd
Priority to CN201721478981.6U priority Critical patent/CN207743959U/en
Application granted granted Critical
Publication of CN207743959U publication Critical patent/CN207743959U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Electronic Switches (AREA)

Abstract

The utility model discloses a kind of data transmission circuits based on RS232, including data receiver circuit, data receiver circuit to include:The ground terminal of the RS232 interface cathode with the first charging capacitor respectively, another input terminal connection of first optocoupler, the anode of the first line of RS232 interface and the first diode, the anode of second diode is connected, the cathode of second diode is connected by first resistor with the input terminal of the first optocoupler, the anode of the cathode of first diode and the first charging capacitor, the cathode of third diode is connected, the anode of third diode is connected with the second circuit of RS232 interface, the output end of first optocoupler accesses the base stage of the first triode by second resistance, and the collector transmission data for passing through the first triode.The utility model uses full discrete component isolation method, and using triode, diode and optocoupler do separate unit, form RS232 communication interfaces, reduce cost, can improve the efficiency of data transmission.

Description

A kind of data transmission circuit based on RS232
Technical field
The utility model is related to electronic technology field more particularly to a kind of data transmission circuits based on RS232.
Background technology
What control device and controlled device in the prior art, such as motor etc. were communicated often uses RS232 interface, But electrical Interference can be had by directly carrying out communication using RS232 interface, to influence the accuracy of communication.At present on the market Similar product communicates mainly by RS232 communication interfaces, using dedicated serial communication core external control devices with this system Piece influences each other to two systems and does not use quarantine measures, be easy to cause the damage to working at height vehicle device.
Further for electronic interferences are reduced, some dedicated isolating chips of use make two systems be isolated, but dedicated One price of isolating chip, the operating voltage of chip is relatively low, and chip is easily damaged in system power supply shakiness.
In order to solve this problem the utility model uses full discrete component isolation method, using triode, diode and Optocoupler does separate unit, forms RS232 communication interfaces, overcomes problem above.
Utility model content
High for the RS232 private communication isolating chips price of the prior art and ineffective problem, this practicality are new Type provides a kind of data transmission circuit based on RS232, can improve the efficiency of data transmission while cost is reduced.
2. technical solution
To solve the above problems, technical solution provided by the utility model is:
A kind of data transmission circuit based on RS232, including data receiver circuit, the data receiver circuit include: The ground terminal of RS232 interfaces is connect with the cathode of the first charging capacitor C45, first another input terminals of optocoupler U6 respectively, RS232 The first line of interface is connected with the anode of the anode of the first diode D19, the second diode D18, the second diode D18 Cathode be connected with the input terminal of the first optocoupler U6 by first resistor R88, the cathode of the first diode D19 and institute State the anode of the first charging capacitor C45, the cathode of third diode D17 is connected, the anode of the third diode D17 with Second circuit of RS232 interfaces is connected, and the output end of the first optocoupler U6 accesses the first triode by second resistance R76 The base stage of Q8, and pass through the collector transmission data of the first triode Q8.
Optionally, further include data transmission circuit, including:Tertiary circuit is connected with the emitter of the second triode Q18, institute The collector for stating the second triode Q18 is connected by 3rd resistor R5 with the base stage of the second triode Q18, and described Anode and the institute of 4th diode D20 in parallel and the 4th diode D20 between the base stage and emitter of two triode Q18 State the base stage of the second triode Q18, another output end of the second optocoupler U5 is connected, the output end of the second optocoupler U5 with it is described The anode of first charging capacitor C45 is connected, the anode phase of the cathode and the second charging capacitor C7 of the first charging capacitor C45 Even, the cathode of the second charging capacitor C7 is connected with the collector of the second triode Q18, and the second optocoupler U5's is defeated Enter end by the 4th resistance R89 to be connected with operating voltage, another input terminal of the second optocoupler U5 passes through third transistor Q13 Carry out the reception of data.
Optionally, further include the 5th diode D21, the anode of the 5th diode D21 and the second triode Q18 Collector be connected, the cathode of the 5th diode D21 is connected with the anode of the first diode D19.
Optionally, the collector of the first triode Q8 is connected by the 5th resistance R45 with operating voltage, and described first The base stage of triode Q8 by the 6th resistance R72 ground connection, and the first optocoupler U6 output ends connect the 7th resistance R90 one end, The other end of one end of the first capacitance C39, the 7th resistance R90 is connected with operating voltage, and the first capacitance C39's is another End ground connection.First the first capacitances of capacitance C39 C39
Optionally, one end of the collector of the third transistor Q13 and the 8th resistance R44, the 9th resistance R36 one end It is connected, the other end of the 8th resistance R44 is connected with operating voltage, the other end ground connection of the 9th resistance R36, wherein The model of the third transistor Q13:MUN5233.
Description of the drawings
Fig. 1 is the circuit diagram for the data transmission circuit based on RS232 that the utility model embodiment provides.
Specific implementation mode
To further appreciate that the content of the utility model, the utility model is described in detail in conjunction with accompanying drawings and embodiments.
Referring to Fig. 1, Fig. 1 is the circuit diagram for the data transmission circuit based on RS232 that the utility model embodiment provides, packet Data receiver circuit is included, data receiver circuit includes:The ground terminal of RS232 interface respectively with the cathode of the first charging capacitor C45, Another input terminal connections of first optocoupler U6, anode, the second diode of the first line of RS232 interface and the first diode D19 The anode of D18 is connected, and the cathode of the second diode D18 is connected by first resistor R88 with the input terminal of the first optocoupler U6, and first The cathode of diode D19 is connected with the cathode of the anode of the first charging capacitor C45, third diode D17, third diode D17 Anode be connected with the second circuit of RS232 interface, the output end of the first optocoupler U6 passes through second resistance R76 and accesses the one or three pole The base stage of pipe Q8, and pass through the collector transmission data of the first triode Q8.
In the utility model, first line, ground terminal, the second circuit and tertiary circuit are respectively 3,5, the 4 of RS232 interface With 2 foot positions, external equipment RS232 communication interfaces are input to the first optocoupler U6 by the second diode D18, first resistor R88 Input terminal, another input terminal of the first optocoupler U6 is ground connection input terminal, is connected simultaneously respectively at the cathode of the first charging capacitor C45 Ground connection.And connect with the first triode Q8 by second resistance R76 by the output end of the first optocoupler U6, and pass through the one or three pole The collector of pipe Q8 exports, and the both ends of second resistance R76 are grounded by the first capacitance C39, the 6th resistance R72 respectively, and first The collector of triode Q8 is connected by the 5th resistance R45 with operating voltage.
Keep apart the electric effect mutual with high-altitude operation vehicle using the first optocoupler U6, when external equipment needs to send When information is to system, since the transmission data line of external equipment it is wide to send certain time according to the communication baud rate of setting The low and high level of degree is to represent data 0 or 1, and when the data of transmission are 1, the transmission signal wire of RS232 can export high level, and When the data of transmission are 0, the transmission signal wire of RS232 can export low level, using this characteristic, the height for making RS232 send out, and low electricity It is flat to pass through diode and current-limiting resistance, it is connected on the infrared emission foot of optocoupler, realizes the transmission of data.
In addition, when MCU needs to send information to the ends RS232 (being to receive for the ends RS232), also bag data transmission circuit, Including:Tertiary circuit is connected with the emitter of the second triode Q18, and the collector of the second triode Q18 passes through 3rd resistor R5 It is connected with the base stage of the second triode Q18, and the 4th diode in parallel between the base stage and emitter of the second triode Q18 The anode of D20 and the 4th diode D20 are connected with another output end of the base stage of the second triode Q18, the second optocoupler U5, the The output end of two optocoupler U5 is connected with the anode of the first charging capacitor C45, the cathode of the first charging capacitor C45 and the second charging electricity The anode for holding C7 is connected, and the cathode of the second charging capacitor C7 is connected with the collector of the second triode Q18, the second optocoupler U5's Input terminal is connected by the 4th resistance R89 with operating voltage, another input terminal of the second optocoupler U5 by third transistor Q13 into The reception of row data RX.Similarly, when TX is the data for needing to send, pass through the tenth collection of the resistance R52 through third transistor Q13 Electrode carries out coupling transmission, and the collector of third transistor Q13 carries out RC filtering by the second capacitance C36, the 8th resistance R44, And it is sent to an input terminal of the second optocoupler U5, another input terminal of the second optocoupler U5 accesses work by the 4th resistance R89 Voltage is sent to the base stage of the second triode Q18 by the 4th diode D20, and transmit after the second optocoupler U5 coupling outputs To the pin 2. of RS232
Therefore the switching circuit that the transmission of RX signals that compares is formed using diode and triode, receives the red of optocoupler end External signal 0 or 1.
Preferably, further include the 5th diode D21, the collector of the anode of the 5th diode D21 and the second triode Q18 It is connected, the cathode of the 5th diode D21 is connected with the anode of the first diode D19.RS232 is maintained using the 5th diode D21 Voltage difference between the balance of interface voltage, i.e. the second charging capacitor C7 and the first charging capacitor C45.
In the utility model, the collector of the first triode Q8 is connected by the 5th resistance R45 with operating voltage, and first The base stage of triode Q8 by the 6th resistance R72 ground connection, and the first optocoupler U6 output ends connect the 7th resistance R90 one end, One end of first capacitance C39, the other end of the 7th resistance R90 are connected with operating voltage, the other end ground connection of the first capacitance C39. Rx signals are subjected to coupling output to MCU by the first triode Q8, the amplification factor of signal output is improved, has obtained more stable Signal.
In addition the collector of third transistor Q13 is connected with one end of one end of the 8th resistance R44, the 9th resistance R36, the The other end of eight resistance R44 is connected with operating voltage, the other end ground connection of the 9th resistance R36, wherein third transistor Q13's Model:MUN5233.Further increase the stability that Tx signals are sent to RS232 interface.
Schematically the utility model and embodiments thereof are described above, description is not limiting, attached drawing Shown in also be the utility model one of embodiment, actual structure is not limited to this.So if this field Those of ordinary skill enlightened by it, without deviating from the purpose of the present invention, not inventively design Frame mode similar with the technical solution and embodiment, all should belong to the protection range of the utility model.

Claims (5)

1. a kind of data transmission circuit based on RS232, which is characterized in that including data receiver circuit, the data receiver electricity Road includes:The ground terminal of RS232 interface respectively with the cathode of the first charging capacitor (C45), the first optocoupler (U6) another input terminal Connection, the first line of RS232 interface are connected with the anode of the anode of the first diode (D19), the second diode (D18), institute The cathode for stating the second diode (D18) is connected by first resistor (R88) with the input terminal of first optocoupler (U6), and described The cathode of one diode (D19) is connected with the cathode of the anode of first charging capacitor (C45), third diode (D17), institute The anode for stating third diode (D17) is connected with the second circuit of RS232 interface, and the output end of first optocoupler (U6) passes through Second resistance (R76) accesses the base stage of the first triode (Q8), and sends number by the collector of first triode (Q8) According to.
2. the data transmission circuit according to claim 1 based on RS232, which is characterized in that further include that data send electricity Road, including:Tertiary circuit is connected with the emitter of the second triode (Q18), and the collector of second triode (Q18) passes through 3rd resistor (R5) is connected with the base stage of second triode (Q18), and in the base stage and hair of second triode (Q18) The 4th diode (D20) of parallel connection and the anode of the 4th diode (D20) and second triode (Q18) between emitter-base bandgap grading Base stage, the second optocoupler (U5) another output end be connected, the output end of second optocoupler (U5) with it is described first charging electricity The anode for holding (C45) is connected, and the cathode of first charging capacitor (C45) is connected with the anode of the second charging capacitor (C7), institute The cathode for stating the second charging capacitor (C7) is connected with the collector of second triode (Q18), second optocoupler (U5) Input terminal is connected by the 4th resistance (R89) with operating voltage, and another input terminal of second optocoupler (U5) passes through the three or three Pole pipe (Q13) carries out the reception of data.
3. the data transmission circuit according to claim 2 based on RS232, which is characterized in that further include the 5th diode (D21), the anode of the 5th diode (D21) is connected with the collector of second triode (Q18), the five or two pole The cathode of pipe (D21) is connected with the anode of first diode (D19).
4. the data transmission circuit according to claim 2 based on RS232, which is characterized in that first triode (Q8) collector is connected by the 5th resistance (R45) with operating voltage, and the base stage of first triode (Q8) passes through the 6th Resistance (R72) is grounded, and the first optocoupler (U6) output end connect one end of the 7th resistance (R90), the first capacitance (C39) one End, the other end of the 7th resistance (R90) are connected with operating voltage, the other end ground connection of first capacitance (C39).
5. the data transmission circuit according to claim 2 based on RS232, which is characterized in that the third transistor (Q13) collector is connected with one end of one end of the 8th resistance (R44), the 9th resistance (R36), the 8th resistance (R44) The other end be connected with operating voltage, the other end of the 9th resistance (R36) ground connection, wherein the third transistor (Q13) Model:MUN5233.
CN201721478981.6U 2017-11-08 2017-11-08 A kind of data transmission circuit based on RS232 Expired - Fee Related CN207743959U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721478981.6U CN207743959U (en) 2017-11-08 2017-11-08 A kind of data transmission circuit based on RS232

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721478981.6U CN207743959U (en) 2017-11-08 2017-11-08 A kind of data transmission circuit based on RS232

Publications (1)

Publication Number Publication Date
CN207743959U true CN207743959U (en) 2018-08-17

Family

ID=63115452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721478981.6U Expired - Fee Related CN207743959U (en) 2017-11-08 2017-11-08 A kind of data transmission circuit based on RS232

Country Status (1)

Country Link
CN (1) CN207743959U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061779A (en) * 2019-04-28 2019-07-26 重庆三峡学院 A kind of optical fiber telecommunications system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061779A (en) * 2019-04-28 2019-07-26 重庆三峡学院 A kind of optical fiber telecommunications system

Similar Documents

Publication Publication Date Title
CN206181051U (en) RS485 communication circuit
CN203444468U (en) Communication convertor
CN202870145U (en) DC simulation signal acquisition circuit for public transformation terminal
CN101594171B (en) Power cord chopper communication transceiving circuit
CN207743959U (en) A kind of data transmission circuit based on RS232
CN203658773U (en) Signal control circuit and signal control device
CN203445871U (en) RS485 communication circuit
CN205982421U (en) Smart electric meter of wifi communication
CN206224464U (en) A kind of communicator with antijamming capability
CN106100128B (en) Monitoring device is isolated in active power distribution network intelligent terminal accumulator
CN204575732U (en) A kind of electrokinetic cell voltage sampling circuit
CN108566243A (en) A kind of optical interface 1+1 protection isolated form multi-service Ethernet optical transmitter and receiver based on FPGA
CN209486487U (en) Analog quantity wireless control apparatus
CN103780279A (en) Indoor energy efficiency management terminal communication module
CN203312785U (en) Lightning protection circuit of telemetry terminal machine
CN204270057U (en) The mutual circuit of intelligent electric instrument
CN208924258U (en) A kind of RS485 full duplex communication circuit of ammeter
CN208689571U (en) A kind of multiplex roles circuit for photoelectric direct reading module
CN205864075U (en) A kind of active power distribution network intelligent terminal's accumulator isolation monitoring device
CN207704226U (en) A kind of wireless switching amount harvester
CN204349577U (en) A kind of communication DC remote electric power system special high-pressure carrier equipment
CN103414520A (en) Optical signal receiving-sending device
CN208476295U (en) Bluetooth communication modules suitable for generating set and mobile communication
CN208092097U (en) Novel P1 port communications circuit and its manufactured electric energy meter
CN216817396U (en) Conversion circuit for converting four-wire system TTL interface into two-wire system bus interface

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180817

Termination date: 20211108

CF01 Termination of patent right due to non-payment of annual fee