CN204290960U - Based on a pair multiple spot full-duplex communication device of RS-232C agreement - Google Patents
Based on a pair multiple spot full-duplex communication device of RS-232C agreement Download PDFInfo
- Publication number
- CN204290960U CN204290960U CN201420823266.1U CN201420823266U CN204290960U CN 204290960 U CN204290960 U CN 204290960U CN 201420823266 U CN201420823266 U CN 201420823266U CN 204290960 U CN204290960 U CN 204290960U
- Authority
- CN
- China
- Prior art keywords
- module
- chip
- communication
- road
- control module
- 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
Links
Landscapes
- Bidirectional Digital Transmission (AREA)
- Communication Control (AREA)
Abstract
The utility model discloses a kind of a pair multiple spot full-duplex communication device based on RS-232C agreement.This device comprises control module, communication protocol processing module and level switch module, control module adopts a MCU chip, control module comprises control signal generation, original communication data send and original communication data reception module, communication protocol processing module adopts two CPLD chips, two CPLD chips comprise communications protocol respectively and control, send data transaction and receive data conversion module, and level switch module adopts eight road serial port level chance-over circuits.Adopt this device, in maximum eight communication directions, controlled full-duplex communication can be carried out by selected any amount and direction simultaneously.Divided by functional module, make system have well arranged, each Implement of Function Module succinct reliable, control feature flexibly, thus overcome and utilize RS-232C agreement to carry out the technical barrier of full-duplex communication when one-to-many communication pattern.
Description
Technical field
The utility model relates to communication system, especially relates to a kind of a pair multiple spot full-duplex communication device based on RS-232C agreement.
Background technology
RS-232C communication protocol is most important in data communication and is a kind of communication protocol following data communication standard completely.Under One-to-one communication pattern, utilize RS-232C communication protocol to carry out full-duplex communication and at least need eight signals: six control signals and two data-signals, and meet the signal of RS-232C communication protocol electrical characteristic and Transistor-Transistor Logic level signal incompatible, need conversion.Due to these reasons, current RS-232C communication protocol is mainly still used in One-to-one communication pattern.And when needing the communication pattern of one-to-many, the full-duplex communication based on RS-232C communication protocol realizes just very difficult: or a pair multimodal half-duplex operation even simplex can only be realized; Although or achieving the full-duplex communication of one-to-many, system is too complicated, and cost is high, and controls dumb, can not set arbitrarily, cause the significant wastage of telecommunication system resources to communication direction and amount of communications, makes one-to-many communication lose meaning.Therefore, the control that multiple directions carry out full-duplex communication is not easily realized simultaneously.
Summary of the invention
In view of prior art Problems existing and defect, the utility model provides a kind of a pair multiple spot full-duplex communication device based on RS-232C agreement.The design can realize the full duplex data communication control program based on RS-232C communication protocol of point to multi--point.Present design adopts MCU chip to be the control module of core processing unit; Employing CPLD chip is the communication protocol processing module of core processing unit; Adopt serial port level conversion chip to be the level switch module of core processing unit, constitute a kind of point to multi--point full-duplex communication device based on RS-232C communication protocol.
The technical scheme that the utility model is taked is: a kind of a pair multiple spot full-duplex communication device based on RS-232C agreement, it is characterized in that: this device comprises control module, communication protocol processing module and level switch module, control module adopts a MCU chip, control module comprises control signal generation module, original communication data transmission blocks and original communication data reception module, communication protocol processing module adopts two CPLD chips, be respectively a CPLD chip and the 2nd CPLD chip, one CPLD chip and the 2nd CPLD chip comprise communications protocol control module respectively, send data conversion module and receive data conversion module, level switch module adopts eight road serial port level chance-over circuits, the control signal generation module of control module is connected with a CPLD chip of communication protocol processing module and the communications protocol control module of the 2nd CPLD chip respectively, the original communication data transmission blocks of control module is connected with a CPLD chip of communication protocol processing module and the transmission data conversion module of the 2nd CPLD chip respectively, the original communication data reception module of control module is connected with a CPLD chip of communication protocol processing module and the reception data conversion module of the 2nd CPLD chip respectively, one CPLD chip of communication protocol processing module and the communications protocol control module of the 2nd CPLD chip send data conversion module and are connected with eight road serial port level chance-over circuits respectively with reception data conversion module, eight road serial port level chance-over circuits connect eight modulator-demodulators respectively.
For the main cause utilizing RS-232C communication protocol to carry out full-duplex communication difficulty during one-to-many communication pattern be because RS-232C communication protocol need the control signal used and data-signal more; And meet the signal of relevant communication protocol electrical characteristic and use more Transistor-Transistor Logic level signal incompatible, need conversion; When potential communication direction is more, system is often made to become very complicated, or the problem that overhead is excessive, the utility model carries out three grades of Functional Designs to the one-to-many full-duplex communication system device based on RS-232C communication protocol: the first order is control module, take MCU as core processing unit, be mainly used in the control of communication, the generation of original communication data and process, do not relate to the content of RS-232C communication protocol; The second level is communication protocol processing module, with CPLD(two) for core processing unit, the communication data that each CPLD chip is responsible for four communication directions carries out receiving and sending according to the requirement of RS-232C communication protocol; The third level is level switch module, with serial port level conversion chip for core processing unit, forms eight groups of identical serial port level chance-over circuits, is responsible for the conversion between the Transistor-Transistor Logic level of eight communication directions and the signal of RS-232C communication protocol electrical characteristic.
The beneficial effect that the utility model produces is: adopt this communicator, can in maximum eight communication directions by selected any amount and direction carry out simultaneously controlled, based on the full-duplex communication of RS-232C communication protocol.Divided by the function of control-communication protocol process-level conversion, make system have well arranged, each discrete function module realize succinct reliable, control feature flexibly, thus overcome and utilize RS-232C communication protocol to carry out the technical barrier of full-duplex communication when one-to-many communication pattern.
Accompanying drawing explanation
Fig. 1 is the utility model System's composition theory diagram;
Fig. 2 is control module block diagram in Fig. 1;
Fig. 3 is communication protocol processing module block diagram in Fig. 1;
Fig. 4 is a level switch module wherein road serial port level chance-over circuit block diagram in Fig. 1.
Embodiment
Below in conjunction with accompanying drawing, the utility model is further described:
With reference to Fig. 1, Fig. 2 and Fig. 3, this device comprises control module, communication protocol processing module and level switch module, control module adopts a MCU chip, control module comprises control signal generation module, original communication data transmission blocks and original communication data reception module, communication protocol processing module adopts two CPLD chips, be respectively a CPLD chip and the 2nd CPLD chip, one CPLD chip and the 2nd CPLD chip comprise communications protocol control module respectively, send data conversion module and receive data conversion module, level switch module adopts eight road serial port level chance-over circuits, the control signal generation module of control module is connected with a CPLD chip of communication protocol processing module and the communications protocol control module of the 2nd CPLD chip respectively, the original communication data transmission blocks of control module is connected with a CPLD chip of communication protocol processing module and the transmission data conversion module of the 2nd CPLD chip respectively, the original communication data reception module of control module is connected with a CPLD chip of communication protocol processing module and the reception data conversion module of the 2nd CPLD chip respectively, one CPLD chip of communication protocol processing module and the communications protocol control module of the 2nd CPLD chip send data conversion module and are connected with eight road serial port level chance-over circuits respectively with reception data conversion module, eight road serial port level chance-over circuits connect eight modulator-demodulators respectively.
Referring to figs. 1 through Fig. 4, the MCU chip model that the utility model adopts is ATMEGA128, and a CPLD chip of employing and the model of the 2nd CPLD chip are EPM3128, and eight road serial port level chance-over circuits adopt an ADM211 chip respectively; The 1-4 road control signal of the control signal generation module of control module is connected to the RTS end of each ADM211 chip in the serial port level chance-over circuit of 1-4 road, DTR end, DSR end, CTS end, DCD end and RI end respectively by the communications protocol control module of the first chip, and the 5-8 road control signal of the control signal generation module of control module is connected to the RTS end of each ADM211 chip in the serial port level chance-over circuit of 5-8 road, DTR end, DSR end, CTS end, DCD end and RI end respectively by the communications protocol control module of the second chip; The original transmission in the 1-4 road data of the original communication data transmission blocks of control module are connected to the TXD end of each ADM211 chip in the serial port level chance-over circuit of 1-4 road respectively by the transmission data conversion module of the first chip; The original transmission in the 5-8 road data of the original communication data transmission blocks of control module are connected to the TXD end of each ADM211 chip in the serial port level chance-over circuit of 5-8 road respectively by the transmission data conversion module of the second chip; The 1-4 road of the original communication data reception module of control module initially receives data are connected to each ADM211 chip in the serial port level chance-over circuit of 1-4 road RXD end respectively by the reception data conversion module of the first chip; The 5-8 road of the original communication data reception module of control module initially receives data are connected to each ADM211 chip in the serial port level chance-over circuit of 5-8 road RXD end respectively by the reception data conversion module of the second chip.
With reference to Fig. 1, the utility model whole system is divided into three zones module, control module, communication protocol processing module and level switch module respectively, each functional module functional independence, responsibility are distinct, difference in functionality intermodule is connected by data wire and control line simultaneously, communicated data signal and control signal, thus make three functional modules form the system that possesses complete function.Utilize MCU chip as control module core processing unit, first transmit control signal, control two CPLD chips and select communication direction (communication direction quantity can be 1-8 arbitrary integer); MCU chip passes to corresponding CPLD chip by needing the initial data sent afterwards, obtains the data received from CPLD chip simultaneously; CPLD chip is then according to the initial data packing that the data demand of RS-232C communication protocol will need to send, pass through serial port level chance-over circuit, selected communication direction is sent, processed receiving from corresponding communication direction the data come by serial port level chance-over circuit simultaneously, revert to initial data, and send back to MCU chip and process; Serial port level chance-over circuit is then responsible for changing between Transistor-Transistor Logic level signal and RS-232C communication protocol electrical characteristic signal mutually.
With reference to Fig. 2, the core processing unit of control module of the present utility model is MCU chip, control signal generation module wherein, original communication data transmission blocks are connected with the communication protocol processing module of next stage with control line by data wire with original communication data reception module, the various control signal of main transmission, control CPLD CE or turn off the data communication in respective communication direction, thus the amount of communications of the whole communication system of convenient, flexible control and communication direction is selected; Produce simultaneously and receive process original communication data.
With reference to Fig. 3, communication protocol processing module of the present utility model is divided into two CPLD chips, each CPLD chip is responsible for the data communication of four communication directions, comprise the transmitting-receiving of data message and control information, and the conversion be responsible between original communication data and transceiving communication data, namely according to the requirement of RS-232C communication protocol, the initial data packing that control module is sent here, or the communication data received is reverted to initial data, and sends back to control module; And according to the instruction that control module is sent, the level shifting circuit to respective communication direction transmits control signal, thus open or turn off the work of serial port level conversion chip, thus realize unlatching or the shutoff of the data communication channel in respective communication direction.
With reference to Fig. 4, level switch module of the present utility model is made up of the serial port level chance-over circuit that eight tunnels are identical, and each road circuit is responsible for the conversion between the Transistor-Transistor Logic level signal of a communication direction and RS-232C communication protocol electrical characteristic signal.Core processing unit is special serial port level conversion chip, the state of this chip can be controlled in work and standby middle switching by control signal, when chip operation is at holding state, do not carry out the conversion work of level, at this moment corresponding communication direction communication is turned off, thus realizes the requirement of the operating state controlling respective communication direction.
Claims (2)
1. a pair multiple spot full-duplex communication device based on RS-232C agreement, it is characterized in that: this device comprises control module, communication protocol processing module and level switch module, control module adopts a MCU chip, control module comprises control signal generation module, original communication data transmission blocks and original communication data reception module, communication protocol processing module adopts two CPLD chips, be respectively a CPLD chip and the 2nd CPLD chip, one CPLD chip and the 2nd CPLD chip comprise communications protocol control module respectively, send data conversion module and receive data conversion module, level switch module adopts eight road serial port level chance-over circuits, the control signal generation module of control module is connected with a CPLD chip of communication protocol processing module and the communications protocol control module of the 2nd CPLD chip respectively, the original communication data transmission blocks of control module is connected with a CPLD chip of communication protocol processing module and the transmission data conversion module of the 2nd CPLD chip respectively, the original communication data reception module of control module is connected with a CPLD chip of communication protocol processing module and the reception data conversion module of the 2nd CPLD chip respectively, one CPLD chip of communication protocol processing module and the communications protocol control module of the 2nd CPLD chip send data conversion module and are connected with eight road serial port level chance-over circuits respectively with reception data conversion module, eight road serial port level chance-over circuits connect eight modulator-demodulators respectively.
2. a pair multiple spot full-duplex communication device based on RS-232C agreement according to claim 1, it is characterized in that: the MCU chip model of employing is ATMEGA128, the CPLD chip adopted and the model of the 2nd CPLD chip are EPM3128, and eight road serial port level chance-over circuits adopt an ADM211 chip respectively; The 1-4 road control signal of the control signal generation module of control module is connected to the RTS end of each ADM211 chip in the serial port level chance-over circuit of 1-4 road, DTR end, DSR end, CTS end, DCD end and RI end respectively by the communications protocol control module of the first chip, and the 5-8 road control signal of the control signal generation module of control module is connected to the RTS end of each ADM211 chip in the serial port level chance-over circuit of 5-8 road, DTR end, DSR end, CTS end, DCD end and RI end respectively by the communications protocol control module of the second chip; The original transmission in the 1-4 road data of the original communication data transmission blocks of control module are connected to the TXD end of each ADM211 chip in the serial port level chance-over circuit of 1-4 road respectively by the transmission data conversion module of the first chip; The original transmission in the 5-8 road data of the original communication data transmission blocks of control module are connected to the TXD end of each ADM211 chip in the serial port level chance-over circuit of 5-8 road respectively by the transmission data conversion module of the second chip; The 1-4 road of the original communication data reception module of control module initially receives data are connected to each ADM211 chip in the serial port level chance-over circuit of 1-4 road RXD end respectively by the reception data conversion module of the first chip; The 5-8 road of the original communication data reception module of control module initially receives data are connected to each ADM211 chip in the serial port level chance-over circuit of 5-8 road RXD end respectively by the reception data conversion module of the second chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420823266.1U CN204290960U (en) | 2014-12-23 | 2014-12-23 | Based on a pair multiple spot full-duplex communication device of RS-232C agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420823266.1U CN204290960U (en) | 2014-12-23 | 2014-12-23 | Based on a pair multiple spot full-duplex communication device of RS-232C agreement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204290960U true CN204290960U (en) | 2015-04-22 |
Family
ID=52874086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420823266.1U Active CN204290960U (en) | 2014-12-23 | 2014-12-23 | Based on a pair multiple spot full-duplex communication device of RS-232C agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204290960U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115617728A (en) * | 2022-09-07 | 2023-01-17 | 英业达科技有限公司 | One-to-many communication circuit |
CN117336380A (en) * | 2023-12-01 | 2024-01-02 | 浙江国利信安科技有限公司 | Network communication system, method, apparatus and medium for communication |
-
2014
- 2014-12-23 CN CN201420823266.1U patent/CN204290960U/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115617728A (en) * | 2022-09-07 | 2023-01-17 | 英业达科技有限公司 | One-to-many communication circuit |
CN115617728B (en) * | 2022-09-07 | 2023-10-31 | 英业达科技有限公司 | One-to-many communication circuit |
CN117336380A (en) * | 2023-12-01 | 2024-01-02 | 浙江国利信安科技有限公司 | Network communication system, method, apparatus and medium for communication |
CN117336380B (en) * | 2023-12-01 | 2024-03-05 | 浙江国利信安科技有限公司 | Network communication system, method, apparatus and medium for communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100561457C (en) | A kind of system of RS232/RS485 compatibility interface and method thereof | |
CN203658996U (en) | Chip interface multiplex circuit and mobile terminal | |
CN103812962B (en) | Automatic device communication address allocation system based on serial interface and working method | |
CN106021152A (en) | Master-slave serial device concentrator and asynchronous duplex one-to-many serial communication method | |
CN104142900A (en) | Communication interface converting device | |
CN204650513U (en) | Distributed structure/architecture equipment and serial port circuit thereof | |
CN103501236A (en) | Method and device for generating network control plane logical topology | |
CN201839319U (en) | Plc remote diagnosis control system | |
CN204290960U (en) | Based on a pair multiple spot full-duplex communication device of RS-232C agreement | |
CN107908584B (en) | Multi-path RS-485 communication network | |
CN201638145U (en) | RS232/RS485 (Recommend Standard 232/Recommend Standard 485) integrated interface circuit | |
CN104506208A (en) | One-to-multipoint duplex communication device based on RS-232C protocols | |
CN204993390U (en) | A two transmission system for data collection station | |
CN103034604A (en) | Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof | |
CN203982366U (en) | Based on ARM and FPGA serial port device flexibly at a high speed | |
CN205788168U (en) | Master-slave mode serial equipment hub | |
CN205092859U (en) | RS485 trunk circuit | |
CN204089768U (en) | RS485 automatic reversing circuit | |
CN205942681U (en) | Serial communication interface that can dispose | |
CN102609388B (en) | Slave node circuit, communication method and communication device | |
CN201622783U (en) | LED module communication circuit and LED display screen | |
CN103268300A (en) | Serial interface circuit of serial communication management server | |
CN204129454U (en) | A kind of data conversion adaptive circuit and electronic equipment | |
CN105471752B (en) | Equipment, the method and system of rack stacking are realized based on switching network | |
CN203606826U (en) | RS232 switching circuit, looping-in communication circuit and multipoint control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant |