CN206350008U - Interface circuit compatible with RS232/RS485/RS422 communication - Google Patents
Interface circuit compatible with RS232/RS485/RS422 communication Download PDFInfo
- Publication number
- CN206350008U CN206350008U CN201621347893.8U CN201621347893U CN206350008U CN 206350008 U CN206350008 U CN 206350008U CN 201621347893 U CN201621347893 U CN 201621347893U CN 206350008 U CN206350008 U CN 206350008U
- Authority
- CN
- China
- Prior art keywords
- communication
- unit
- type
- compatibility
- interface 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims abstract description 109
- 238000006243 chemical reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 101001128814 Pandinus imperator Pandinin-1 Proteins 0.000 description 4
- 101001024685 Pandinus imperator Pandinin-2 Proteins 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 101100244014 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) ppi-5 gene Proteins 0.000 description 2
- 101150023294 PIN4 gene Proteins 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 101150037009 pin1 gene Proteins 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Communication Control (AREA)
Abstract
The utility model relates to an interface circuit of compatible RS232 RS485 RS422 communication, include: a main control unit for sending out a control instruction; the communication compatible interface unit is electrically connected with the main control unit and is used for switching the communication types; and the controlled equipment unit is electrically connected with the communication compatible interface unit and used for receiving the control command. The interface circuit compatible with RS232/RS485/RS422 communication can realize the mutual conversion among RS232 TTL, RS232, RS485 and RS422 communication signals. The circuit does not need the logic control of processors such as MCU, uses less electronic components and circuit boards with smaller size, and can meet the requirement of low cost.
Description
Technical field
The communication field that the utility model belongs between equipment or circuit board, more particularly to a kind of compatible RS232/RS485/
The interface circuit of RS422 communications.
Background technology
At present, technology of serial communication is widely used in circuit or product design, communication type include RS232TTL,
RS232, RS485 and RS422.Due to the uncertainty for the control device communication modes that user uses, and rear end is controlled sets
The uncertainty of standby communication modes, because communication modes are incompatible and can not be controlled when causing the product to use.
To reduce in the incompatibility during use, circuit in the early stage or product design, it just must take into consideration product and lead to
Interrogate the compatibility of signal.The trend of current new product designs is functional diversities, i.e., the functional module that interiors of products is used is gradually
Increase, circuit logic is complicated, and the circuit element used is more, therefore causes circuit board size increasing, and circuit board cost is higher.
The content of the invention
The utility model gradually increases to solve existing communicating circuit plate functional module, and circuit logic is complicated, uses
Circuit element is more, therefore causes circuit board size increasing, the higher technical problem of circuit board cost and a kind of compatibility is provided
The interface circuit of RS232/RS485/RS422 communications.
The utility model is adopted the technical scheme that to solve technical problem present in known technology:
The interface circuit of the compatible RS232/RS485/RS422 communications includes:
Send the main control unit of control instruction;
Electrically connected with main control unit, the communication compatibility interface unit for the switching of communication type;
Electrically connected with communication compatibility interface unit, the controlled plant unit for receiving control instruction.
Further, described communication compatibility interface unit includes:
In actual use, according to control device and the communication type of controlled plant, appropriate communication interface type is selected,
Ensure the normal communication type selecting unit of communication link of equipment room;
The communication type switch unit switched in RS232TTL communication signals to other any one communication types;
In actual use, according to different selections, the communication of the current two kinds of communication types for completing switching of display in real time
Type display unit.
Further, the communication type selecting unit includes key switch or toggle switch or single-pole double-throw switch (SPDT).
Further, MAX3160EAP+ chips are installed in the communication type switch unit.
Further, the communication type display unit includes surface-mount type or plug-in type light emitting diode.
The utility model has the advantages and positive effects of:The interface electricity of the compatible RS232/RS485/RS422 communications
Road can realize the mutual phase transformation between RS232TTL, RS232, RS485 and RS422 communication signal.Circuit does not need the processing such as MCU
The logic control of device, using less electronic component, the circuit board of reduced size, and can meet the requirement of low cost.
Brief description of the drawings
Fig. 1 is the structure of the interface circuit for the compatible RS232/RS485/RS422 communications that the utility model embodiment is provided
Schematic diagram;
Fig. 2 is the unit cascaded theory diagram of communication compatibility interface that the utility model embodiment is provided;
Fig. 3 is the schematic diagram for the communication type selecting unit that the utility model embodiment is provided;
Fig. 4 is the schematic diagram for the communication type switch unit that the utility model embodiment is provided;
Fig. 5 is the schematic diagram for the communication type display unit that the utility model embodiment is provided;
In figure:1st, main control unit;2nd, compatibility interface unit is communicated;3rd, controlled plant unit.
Embodiment
For invention, features and effects of the present utility model can be further appreciated that, following examples are hereby enumerated, and coordinate
Accompanying drawing describes in detail as follows.
Structure of the present utility model is explained in detail with reference to Fig. 1 to Fig. 5.
Communicating compatibility interface unit 2 includes communication type selecting unit, communication type switch unit, communication type display list
Member.Communication type selecting unit refers to that in actual use, according to control device and the communication type of controlled plant, selection is appropriate
Communication interface type, it is ensured that the communication link of equipment room is normal.Communication type switching is single, refers to RS232 TTL communication signals
To the switching of other any one communication types.Communication type display is single, refers in actual use, according to different selections,
The current two kinds of communication types for completing switching of display in real time.
In one of the embodiments, described main control unit 1 includes, and circuit aspect refers to micro-control unit MCU, complicated
Programmable logic device (CPLD), digital signal processor DSP etc.;The shaped article of control instruction can be sent by referring in product aspect.
In one of the embodiments, described controlled plant unit 3 includes, and refers to micro-control unit in circuit aspect
MCU, complex programmable logic device (CPLD), digital signal processor DSP etc.;Product aspect refer to can receive control instruction into
Type product.
In one of the embodiments, described communication type selecting unit includes key switch, toggle switch, hilted broadsword pair
The mechanical switch such as throw switch.
In one of the embodiments, described communication type switch unit includes MAX3160EAP+ chips.
In one of the embodiments, described communication type display unit includes surface-mount type or plug-in type light-emitting diodes
Pipe.
In one of the embodiments, two communication type switch units are cascaded, can complete RS232 communication signals,
The switching of any two kinds of signals in RS485 communication signals, RS422 communication signals.
Fig. 1 is the theory diagram for the interface circuit that compatibility RS232/RS485/RS422 communicates, including main control unit 1 is communicated
Compatibility interface unit 2, controlled plant unit 3 realizes RS232 TTL communication signals and communicated to RS232/RS485/RS422 and believed
Number switching.
Fig. 2 is the theory diagram that the communication compatibility interface unit 2 that the utility model embodiment is provided is cascaded, and passes through master control list
Member 1, communication compatibility interface unit 2, communication compatibility interface unit 2, controlled plant unit 3 realizes RS232/RS485/RS422
Any switching laws of the communication signal to RS232/RS485/RS422 communication signals.
Fig. 3 is the schematic diagram for the communication type selecting unit that the utility model embodiment is provided, and selects machine in the present embodiment
Tool is switched, including toggle switch and single-pole double-throw switch (SPDT) or key switch.Selection is the reason for abandon electronic switch, electronic switch
Extra logic controller is needed to produce switching signal, this virtually also increases circuit cost and circuit complexity.And it is mechanical
Switch, then can realize reduction circuit cost, simplify circuit design, reduce the targets such as circuit board size.
Communication type selecting unit uses mechanical switch, and the level handoff functionality of 3 I/O signals can be achieved.The communication type
When selecting unit selects toggle switch, include the toggle switch SW1/SW2 of DIP-2 types;10K resistance R1/R3/R5;1K resistance R2/
R4/R6.Toggle switch SW1 pin4 meet R1, another termination GND of R1;Toggle switch SW1 pin1 meet R2, another termination 3.3V of R2.
I/O signal is drawn from SW1 pin4 and R1 junction, and when SW1-1 is turned on, I/O signal is 3V, meets TTL high level standards;
When SW1-1 disconnects, I/O signal is 0V, meets TTL low level standards.Similarly, toggle switch SW1-2, toggle switch SW2-1
Changeable low and high level can be produced.When the unit selects single-pole double-throw switch (SPDT), include model SS-12D00 switch SW4/
SW5/SW6,1K resistance R7/R8/R10/R11/R13/R15.The Pin2 of single-pole double-throw switch (SPDT) connects I/O signal, and Pin1 meets R7/R10/
R13 one end, Pin1 connects R8/R13/R15 one end, R7/R10/R13 another termination 3.3V, the R8/R13/R15 other end
Meet GND.As switch connection Pin2 and Pin1, I/O signal is 3.3V high level, as switch connection Pin2 and Pin3, I/O signal
For 0V low levels.
Fig. 4 is the schematic diagram for the communication type switch unit that the utility model embodiment is provided, in the present embodiment, the communication
Type switch unit master chip only selects a chip:The MAX3160EAP chips of MAXIM companies, it is possible to realize RS232TTL
The switching of signal and RS232/RS485/RS422 signals, while meeting, product component is less, and circuit board size is less will
Ask, while the difficulty of product purchasing stock can be reduced.The unit includes U1 chip MAX3160EAP, electric capacity C1/C2/C3/C4/
C5, capacitor's capacity 0.1uF, pressure-resistant 50V.The Pin2 of chip meets filter capacitor C1, Pin1 and Pin3 and meets charge pump capacitor C4,
Pin18 and Pin19 meet charge pump capacitor C5, and Pin17 meets electric capacity C3, Pin20 and meets electric capacity C1.Chip U1 Pin16 is
RS232TTL end signals input RS232_TTL_Rx, and Pin8 is that RS232 TTL end signals export RS232_TTL_Tx;When switching to
During RS422 communication signals, RS422_A/B/Y/Z is respectively Pin13/Pin14/Pin6/Pin5;Believe when switching to RS485 communications
Number when, RS485_A/B is respectively Pin6/Pin5;When switching to RS232 signals, RS232_RX/TX is respectively Pin13/
Pin5.It is chip pin Pin11/Pin12/Pin15 to switch communication signal type, and its signal definition is respectively RS485/RS232,
HDPLX, DE485, the setting that this 3 pin levels pass through communication type selecting unit.IO multilevel types and the pass of communication switching
It is that shown in table 1, wherein ' 0 ' represents low level, ' 1 ' represents high level.As signal RS485/RS232, HDPLX, DE485 level
When being combined as ' 011 ', communication type is RS232;When level combinations are ' 110 ', communication type is RS485;Level combinations are
When ' 101 ', communication type is RS422.
Table 1
Fig. 5 is the schematic diagram for the communication type display unit that the utility model embodiment is provided, communication type display unit
Including light emitting diode D1/D2/D3,330R resistance R9/R12/R14.The positive pole of light emitting diode meets 3.3V, negative pole connecting resistance
R9/R12/R14 one end, the resistance R9/R12/R14 other end meets switching IO respectively.It is a certain when switching to according to table 1
During communication type, its corresponding switching IO has and only 1 I/O signal is low level, so in actual use, when switching to
During RS232 communication types, light emitting diode D3 is bright;When switching to RS485 types, light emitting diode D1 is bright;Switch to RS422 classes
During type, light emitting diode D2 is bright.Pass through the light on and off situation of indicator lamp, here it is apparent that current RS232 TTL signals are switched to
Any communication signal type.Display unit is only applicable 3 LED and 3 resistance, signal designation function is achieved that, in user
Debugging in use, has preferable practicality.
When communicating the cascade of compatibility interface unit 2, first communication compatibility interface unit 2RS232 TTL ends output signal pair
Connect second RS232 TTL ends input signal of communication compatibility interface unit 2, first RS232 of communication compatibility interface unit 2
TTL ends input signal docks second RS232 TTL ends output signal of communication compatibility interface unit 2.Such a connected mode is realized
The connection of communication channel, passes through the communication type for setting two units, it is possible to realize RS232/RS485/RS422 communication letters
Number to RS232/RS485/RS422 communication signals any two groups of signals switching.
Described above is only, to preferred embodiment of the present utility model, not to make any formal to the utility model
Limitation, it is every according to technical spirit of the present utility model to any simple modification made for any of the above embodiments, equivalent variations with
Modification, is belonged in the range of technical solutions of the utility model.
Claims (5)
1. a kind of interface circuit of compatible RS232/RS485/RS422 communications, it is characterised in that the compatible RS232/RS485/
The interface circuit of RS422 communications includes:
Send the main control unit of control instruction;
Electrically connected with main control unit, the communication compatibility interface unit for the switching of communication type;
Electrically connected with communication compatibility interface unit, the controlled plant unit for receiving control instruction.
2. the interface circuit of compatibility RS232/RS485/RS422 communications as claimed in claim 1, it is characterised in that described
Communication compatibility interface unit includes:
The appropriate communication interface type of selection, it is ensured that the normal communication type selecting unit of communication link of equipment room;
The communication type switch unit switched in RS232TTL communication signals to other any one communication types;
The communication type display unit of the current two kinds of communication types for completing switching of display in real time.
3. the interface circuit of compatibility RS232/RS485/RS422 communications as claimed in claim 2, it is characterised in that described logical
Interrogating type selection unit includes key switch or toggle switch or single-pole double-throw switch (SPDT).
4. the interface circuit of compatibility RS232/RS485/RS422 communications as claimed in claim 2, it is characterised in that described logical
MAX3160EAP+ chips are installed in news type switch unit.
5. the interface circuit of compatibility RS232/RS485/RS422 communications as claimed in claim 2, it is characterised in that described logical
Interrogating type display unit includes surface-mount type or plug-in type light emitting diode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621347893.8U CN206350008U (en) | 2016-12-09 | 2016-12-09 | Interface circuit compatible with RS232/RS485/RS422 communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621347893.8U CN206350008U (en) | 2016-12-09 | 2016-12-09 | Interface circuit compatible with RS232/RS485/RS422 communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206350008U true CN206350008U (en) | 2017-07-21 |
Family
ID=59322702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621347893.8U Expired - Fee Related CN206350008U (en) | 2016-12-09 | 2016-12-09 | Interface circuit compatible with RS232/RS485/RS422 communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206350008U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708213A (en) * | 2019-09-26 | 2020-01-17 | 深圳市智微智能软件开发有限公司 | Interface test circuit, device and method for RS422 and RS485 interfaces |
CN111474402A (en) * | 2020-05-27 | 2020-07-31 | 华普电力有限公司 | High-voltage live detection device based on wireless communication |
-
2016
- 2016-12-09 CN CN201621347893.8U patent/CN206350008U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708213A (en) * | 2019-09-26 | 2020-01-17 | 深圳市智微智能软件开发有限公司 | Interface test circuit, device and method for RS422 and RS485 interfaces |
CN111474402A (en) * | 2020-05-27 | 2020-07-31 | 华普电力有限公司 | High-voltage live detection device based on wireless communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106021152A (en) | Master-slave serial device concentrator and asynchronous duplex one-to-many serial communication method | |
CN206350008U (en) | Interface circuit compatible with RS232/RS485/RS422 communication | |
CN101404001A (en) | Serial port signal and USB signal compatible control circuit board and communication data cable | |
CN109376105A (en) | M.2 interface module, device and the control method of compatible multiple interfaces agreement | |
CN107204992B (en) | Multifunctional serial server and data transmission method | |
CN204166372U (en) | A kind of intelligent home control system | |
CN209708119U (en) | A kind of half-duplex RS 232-RS485 automatic switching circuit and communication equipment | |
CN103268300B (en) | A kind of serial interface circuit of serial communication management server | |
CN117271416A (en) | Interface circuit of self-adaptation RS232 and RS485 | |
CN101246639A (en) | Electric switch and electric switch control system sharing control wire | |
CN206991300U (en) | A kind of multiplexing USB interface | |
CN203706202U (en) | Transmission converter for USB signals and serial wireless signals | |
CN209388297U (en) | A kind of expansion equipment and communicating circuit | |
CN202720638U (en) | Serial conversion circuit | |
CN205942681U (en) | Serial communication interface that can dispose | |
CN205124032U (en) | LED lamp cluster direct current bilateral control ware based on APP technique | |
CN106372025B (en) | Bus type communicating circuit | |
CN213042273U (en) | Circuit for converting two-wire system serial bus interface into single-wire half-duplex bus interface | |
CN107122319A (en) | One kind communication multiplex circuit | |
CN203311230U (en) | Household intelligent control system | |
CN204360371U (en) | A kind of USBKey | |
CN210092491U (en) | USB Hub with interface blind plugging function | |
CN202111682U (en) | Universal multi-channel switch converter | |
CN207425960U (en) | A kind of battery pack telecommunication circuit | |
CN202975787U (en) | Acquisition and control platform for Internet of Things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20200120 Granted publication date: 20170721 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20230120 Granted publication date: 20170721 |
|
PD01 | Discharge of preservation of patent | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170721 |
|
CF01 | Termination of patent right due to non-payment of annual fee |