A combined interface of rs232 and rs485

A RS485, combined technology, applied in the field of communication interfaces, can solve the problems of easy interference and short transmission distance, and achieve the effect of solving communication mismatch, simplifying operation and maintenance, and simplifying port resources.

Active Publication Date: 2020-07-14
保定北特电气设备制造有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, RS232 is full-duplex, but the transmission distance is short and easy to be interfered, and it is a single-point communication mode. It is replaced by RS485 communication interface, but RS485 is a half-duplex transmission mode, forming the two most commonly used RS232 and RS485. The existence of communication mode

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A combined interface of rs232 and rs485
  • A combined interface of rs232 and rs485
  • A combined interface of rs232 and rs485

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] refer to Figure 1-5 , a specific embodiment of the present invention includes,

[0022] Interface and external input protection module 1, used to provide interfaces in two modes, RS232 and RS485, and suppress overvoltage signals and overcurrent signals from entering the subsequent circuit;

[0023] The voltage difference comparison analysis and RS485 protection module 2 is used to control the on-off of the RS485 circuit according to the output of the voltage comparator to realize the protection of the RS485 circuit.

[0024] RS232 and RS485 main circuit and TTL isolation conversion module 3, used for signal communication between RS232 and RS485, and introducing interference signals and abnormal voltage and current signals to external communication;

[0025] The power module 4 is used to provide 5V isolated power for the RS232 main circuit and the RS485 main circuit;

[0026] The MCU control unit 5 is communicatively connected with the RS232 and RS485 main circuits an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an RS232 and RS485 combined interface which comprises an interface and external input protection module, a pressure difference comparison analysis and RS485 protection module,an RS232 and RS485 main circuit and TTL isolation conversion module, a power supply module and a MCU control unit, wherein the interface and external input protection module is used for providing bothRS232 and RS485 modes of interfaces and suppressing an overvoltage signal and an overcurrent signal from entering a post circuit; the pressure difference comparison analysis and RS485 protection module is used for controlling on-off of an RS485 circuit according to an output of a voltage comparator so as to implement protection on the RS485 circuit; the RS232 and RS485 main circuit and TTL isolation conversion module is used for carrying out signal communication of an RS232 main circuit and an RS485 circuit and introducing an interference signal and an abnormal voltage current signal for external communication; the power supply module is used for providing a 5V isolation power supply for the RS232 main circuit and the RS485 main circuit; and the MCU control unit is in communication connection with the RS232 and RS485 main circuit and TTL isolation conversion module and is used for transceiving a post control instruction. According to the invention, the defects in the prior art can beimproved, compatible communication of the RS232 and RS485 interfaces is implemented, problems of program design and hardware incompatibility are greatly simplified, and the RS232 and RS485 combined interface is beneficial to better maintenance and communication interconnection of equipment.

Description

technical field [0001] The invention relates to a communication interface, in particular to a combined RS232 and RS485 interface. Background technique [0002] With the acceleration of industrialization and information level, various electronic communication devices rely on RS232 and RS485 interfaces more and more widely, as the two most widely used interface standards of RS232 and RS485. Among them, RS232 is full-duplex, but the transmission distance is short and easy to be interfered, and it is a single-point communication mode. It is replaced by RS485 communication interface, but RS485 is a half-duplex transmission mode, forming the two most commonly used RS232 and RS485. The existence of communication mode. Therefore, developing a combined interface that can meet the requirements of RS232 communication and be compatible with RS485 interface has become a problem to be solved urgently in this field. Contents of the invention [0003] The technical problem to be solved ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/02H04B15/00
CPCH04B15/00H04L12/02
Inventor 冯军伟张连忠
Owner 保定北特电气设备制造有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products