CN207440541U - A kind of redundancy communication controller based on arm processor - Google Patents
A kind of redundancy communication controller based on arm processor Download PDFInfo
- Publication number
- CN207440541U CN207440541U CN201721272487.4U CN201721272487U CN207440541U CN 207440541 U CN207440541 U CN 207440541U CN 201721272487 U CN201721272487 U CN 201721272487U CN 207440541 U CN207440541 U CN 207440541U
- Authority
- CN
- China
- Prior art keywords
- arm processor
- arm
- bus network
- processor
- communication
- 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
Abstract
The utility model discloses a kind of redundancy communication controllers based on arm processor, it is characterized in that, including arm processor group, arm processor group includes the arm processor of two interconnections, arm processor group connects remote I/O data collector by two RS485 bus network, arm processor group connects monitoring device by two RS485 bus network, and multiple UART ports, I are integrated on arm processor2C, SPI interface.The utility model hardware realization is simple, reliable, and production cost is low, and debugging simply, conveniently, has played the hardware benefits under two kinds of communication modes, improved the communication reliability of remote I/O data collector and monitoring device to greatest extent.
Description
Technical field
The utility model is related to a kind of redundancy communication controllers based on arm processor, belong to industrial production control process
In, the data communication technology field of monitoring device and remote I/O data collector.
Background technology
Industrial production control during, traditional monitoring signal measurement method be by spot sensor output resistance,
The signals such as potential, electric current are transmitted to conducting wire on the computer monitoring device or measuring instrumentss of control room, carry out data acquisition and
Display.This mode needs substantial amounts of signal cable, and production cost is high.In order to save signal cable and project installation expense, work
Occur local mounted embedded remote I/O data collectors in industry.Collector is connected to form distributed survey by twisted-pair feeder
Amount system, then by on-scene communication bus data transfer to control room monitoring device.Due to remote I/O data collector
Measurement data be by digital quantity mode remote transmission, there is strong antijamming capability, high certainty of measurement, and scene
Installing engineering is at low cost, therefore widely used by industrial processes.
In order to which the data communication between embedded remote I/O data collector equipment is better achieved, often with communication
Controller carries out redundancy communication management to collector.Since communication controler is generally using multi -CPU working method, data are improved
The real-time and reliability of communication.
Since RS485 bus communication modes realize simple, reliable, the extensive use during industrial production control.
Fig. 1 is the double-network redundant communication controler functional block diagram realized using multi -CPU, dual port RAM mode, mainly by four microprocessors
Device, two dual port RAMs and 4 road RS485 communication interface circuits compositions.
Double-network redundant communication generally has two ways, such as the parallel communication of double nets and double net switching communications:
(1) the parallel communication of double nets
Two networks are carried out at the same time communication, and the communication data on a network is as another backup.It realizes process
For:The measurement data of the remote I/O of upload is write dual port RAM by MCU1 by network A, and MCU2 takes out data from dual port RAM
By corresponding transmission of network to monitoring device, the course of work of another network is identical;
(2) double net switching communications
For a usual network as major network into row data communication (such as network A), another network is used as secondary net spare,
It communicates again when needing (such as network B).
A. major network MCU1 reads the measurement data of remote I/O from network A, if communicating successfully, writes data to dual port RAM
In, MCU2 reads data from dual port RAM and sends monitoring device to;If communication is unsuccessful, MCU1 notifies MCU3 to be read from network B
The measurement data of remote I/O is taken, corresponding MCU4 and monitoring device swap data.
B. when major network communication recovery is normal, then MCU1 notifies MCU3 to stop communication.
The advantages of this double net switching communication mode is can mitigate monitoring device and long-range I/O data collectors logical
Trust business burden, a communication network is only needed to carry out data exchange when normal.
This double-network redundant communication mode being made of four CPU, the Micro-processor MCV switching communication in two networks
When, it is necessary to transfer handshake, and with handshake whole system data transfer is made to become comparatively laborious.And the communication mode institute
The hardware device needed is more, and the capacity of dual port RAM is small, it is impossible to meet the needs of communicating now.
The content of the invention
The technical problems to be solved in the utility model is:Provide it is a kind of it is simple, reliable, production cost is low based on ARM
The redundancy communication controller of processor, it is more to solve the required hardware device of existing communication mode, the capacity of dual port RAM
It is small, when switching communicates, by transferring the problem of handshake is comparatively laborious.
In order to solve the above-mentioned technical problem, the technical solution of the utility model there is provided a kind of based on arm processor
Redundancy communication controller, which is characterized in that including arm processor group, arm processor group is included at the ARM of two interconnections
Device is managed, arm processor group connects remote I/O data collector by two RS485 bus network, and arm processor group passes through two
A RS485 bus network connects monitoring device, and multiple UART ports, I are integrated on arm processor2C, SPI interface.
Preferably, two arm processors in the arm processor group are respectively the first arm processor and the 2nd ARM
Processor, two RS485 bus network are respectively the first RS485 bus network and the 2nd RS485 bus network.
Preferably, a UART interface of first arm processor is connected long-range by the first RS485 bus network
I/O data collectors, another UART interface of the first arm processor connect monitoring device by the first RS485 bus network;
One UART interface of the second arm processor connects remote I/O data collector, the 2nd ARM by the 2nd RS485 bus network
Another UART interface of processor connects monitoring device by the 2nd RS485 bus network.
Preferably, a UART interface of first arm processor is connected long-range by the first RS485 bus network
I/O data collectors, another UART interface of the first arm processor connect remote I/O number by the 2nd RS485 bus network
According to collector, a UART interface of the second arm processor connects monitoring device, the 2nd ARM by the first RS485 bus network
Another UART interface of processor connects monitoring device, the first arm processor and second by the 2nd RS485 bus network
Pass through SPI interface or I between arm processor2C interface connects.
The hardware realization of the utility model is simple, reliable, and production cost is low, and debugging simply, conveniently, plays to greatest extent
Hardware benefits under two kinds of communication modes improve the communication reliability of remote I/O data collector and monitoring device.This practicality
It is new by adjusting communication interface connecting object, realize a kind of double-network redundant communication controler for changing, combining.
Description of the drawings
Fig. 1 is the double-network redundant communication controler functional block diagram realized using multi -CPU, dual port RAM mode;
Fig. 2 makees communication interface when parallel communication uses for a kind of double nets of the redundancy communication controller based on arm processor
Connection diagram;
Fig. 3 is that a kind of double nets of redundancy communication controller based on arm processor make communication interface when switching communication uses
Connection diagram.
Specific embodiment
To be clearer and more comprehensible the utility model, hereby with preferred embodiment, and attached drawing is coordinated to be described in detail below.
Embodiment 1
With the development of microelectric technique, multiple UART ports, I are integrated2C, 32 arm processors of SPI interface are in insertion
It is widely applied in formula system, the utility model realizes that a kind of double-network redundant for changing, combining communicates by two arm processors
Controller.
A kind of redundancy communication controller based on arm processor, as shown in Fig. 2, it includes arm processor group, ARM processing
Device group includes the arm processor of two interconnections, and arm processor group connects remote I/O number by two RS485 bus network
According to collector, arm processor group connects monitoring device by two RS485 bus network, is integrated on arm processor multiple
UART port, I2C, SPI interface.
Two arm processors in arm processor group are respectively the first arm processor and the second arm processor, two
RS485 bus network is respectively the first RS485 bus network and the 2nd RS485 bus network.One of first arm processor
UART interface connects remote I/O data collector, another UART of the first arm processor by the first RS485 bus network
Interface connects monitoring device by the first RS485 bus network;One UART interface of the second arm processor passes through second
RS485 bus network connects remote I/O data collector, another UART interface of the second arm processor passes through the 2nd RS485
Bus network connects monitoring device.
In the present embodiment, double nets of communication controler are made parallel communication and are used, and communication interface connection is as shown in Figure 2.RS485
Bus network A (i.e. the first RS485 bus network) is by ARM1Processor (i.e. the first arm processor) manages, ARM1Processor is from one
A UART interface reads the measurement data of remote I/O data collector by RS485 bus network A, then from another UART
Interface gives monitoring device by RS485 bus network.RS485 bus network B (i.e. the 2nd RS485 bus network) is by ARM2Place
It manages device (i.e. the second arm processor) to manage, communication process and ARM1Processor is identical.
Embodiment 2
In the present embodiment, as shown in figure 3, a UART interface of the first arm processor passes through the first RS485 bus network
Remote I/O data collector is connected, another UART interface of the first arm processor is connected by the 2nd RS485 bus network
Remote I/O data collector, a UART interface of the second arm processor connect monitoring dress by the first RS485 bus network
It puts, another UART interface of the second arm processor connects monitoring device, the first ARM processing by the 2nd RS485 bus network
Pass through SPI interface or I between device and the second arm processor2C interface connects.
Double nets of communication controler are made switching communication and are used, and communication interface is connected as shown in figure 3, its course of work is as follows:
(1)ARM1Processor (i.e. the first arm processor) is first from RS485 bus networks A (i.e. the first RS485 bus network)
Read the measurement data of certain remote I/O data collector:
If a. communicating successfully, measurement data is passed through SPI interface or I2C interface gives ARM2Processor (i.e. the 2nd ARM
Processor), ARM2Processor gives monitoring device data again;
If b. communication is unsuccessful, ARM1Processor is then read from RS485 bus networks B (i.e. the 2nd RS485 bus network)
The measurement data of this remote I/O data collector:If communicating successfully, measurement data is passed through SPI interface or I2C interface is sent
To ARM2Processor, ARM2Processor gives monitoring device data again;If communication is unsuccessful, then it represents that this remote I/O data
Collector may break down, and ARM is given with the equipment failure state data of agreement2Processor, ARM2Processor is again data
Monitoring device is given, prompts live certain equipment problematic.
(2)ARM1The step of processor continues to read the measurement data of next remote I/O data collector, repeat (1).
Other are same as Example 1.
The communication network switching of the utility model, without handshake, is realized simple, reliable by a processor management.
It is required according to user's on-scene communication, can set and adjust interface connecting object with software, to change the logical of controller
Believe working method, i.e. ARM in Fig. 21Processor, ARM2Two UART interface working methods of processor all lead one from Xiang Yuan for one
Journey I/O data collectors ask the conduct " master " of measurement data, the conduct " from " of the request of data of response monitoring device;In Fig. 3
ARM1Two UART interface working methods of processor to remote I/O data collector request measurement data are all " master ", ARM2Place
Two UART interface working methods for managing the request of data of device response monitoring device are all " from ".It is this according to communication mode with soft
The advantages of part changes hardware realization function, and maximum has played two kinds of hardware connection modes.With the utility model realize change,
The redundancy communication controller of combination, improves equipment telecommunication management ability and reliability, so as to enhance the applicability of equipment.
Claims (4)
1. a kind of redundancy communication controller based on arm processor, which is characterized in that including arm processor group, arm processor
Group includes the arm processor of two interconnections, and arm processor group connects remote I/O data by two RS485 bus network
Collector, arm processor group connect monitoring device by two RS485 bus network, multiple UART are integrated on arm processor
Mouth, I2C, SPI interface.
A kind of 2. redundancy communication controller based on arm processor as described in claim 1, which is characterized in that the ARM
Two arm processors in processor group are respectively the first arm processor and the second arm processor, two RS485 bus network
Respectively the first RS485 bus network and the 2nd RS485 bus network.
3. a kind of redundancy communication controller based on arm processor as claimed in claim 2, which is characterized in that described the
One UART interface of one arm processor connects remote I/O data collector by the first RS485 bus network, at the first ARM
Another UART interface for managing device connects monitoring device by the first RS485 bus network;One UART of the second arm processor
Interface connects remote I/O data collector, another UART interface of the second arm processor by the 2nd RS485 bus network
Monitoring device is connected by the 2nd RS485 bus network.
4. a kind of redundancy communication controller based on arm processor as claimed in claim 2, which is characterized in that described the
One UART interface of one arm processor connects remote I/O data collector by the first RS485 bus network, at the first ARM
Another UART interface for managing device connects remote I/O data collector, the second arm processor by the 2nd RS485 bus network
A UART interface pass through the first RS485 bus network connect monitoring device, another UART interface of the second arm processor
Monitoring device is connected by the 2nd RS485 bus network, passes through SPI interface between the first arm processor and the second arm processor
Or I2C interface connects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721272487.4U CN207440541U (en) | 2017-09-29 | 2017-09-29 | A kind of redundancy communication controller based on arm processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721272487.4U CN207440541U (en) | 2017-09-29 | 2017-09-29 | A kind of redundancy communication controller based on arm processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207440541U true CN207440541U (en) | 2018-06-01 |
Family
ID=62295851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721272487.4U Active CN207440541U (en) | 2017-09-29 | 2017-09-29 | A kind of redundancy communication controller based on arm processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207440541U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608204A (en) * | 2017-09-29 | 2018-01-19 | 上海微程电气设备有限公司 | Redundancy communication controller based on arm processor |
-
2017
- 2017-09-29 CN CN201721272487.4U patent/CN207440541U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608204A (en) * | 2017-09-29 | 2018-01-19 | 上海微程电气设备有限公司 | Redundancy communication controller based on arm processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202870808U (en) | FPGA realization device of SPI serial port module | |
CN204808315U (en) | System based on inter -plate communication is realized to SPI serial peripheral hardware interface protocol | |
CN107608204A (en) | Redundancy communication controller based on arm processor | |
CN102325149A (en) | Intelligent network remote terminal unit (RTU) system of electrified railway | |
CN104731727A (en) | Double control monitoring and management system and method for storage system | |
CN208188815U (en) | BMC module system | |
CN105868133A (en) | Remote and concentrated serial port management method for multi-node mainboard | |
CN207440541U (en) | A kind of redundancy communication controller based on arm processor | |
CN104484257B (en) | A kind of general 1553B bus communication emulation test system and method | |
CN208386579U (en) | A kind of 1553B bus detection system based on Ethernet | |
CN107766241A (en) | A kind of server physical serial interface shared system and serial ports sharing method | |
CN205240980U (en) | Small -size elevator remote monitering system and failure alarm system | |
CN109687943B (en) | Dual-computer backup redundancy control system | |
CN206686217U (en) | A kind of multiserver network share framework | |
CN110750475A (en) | Method and device for sharing one physical serial port by multiple CPUs, embedded equipment and medium | |
CN105100717B (en) | Image processor | |
CN204795120U (en) | Split type extensible network message storage device | |
CN205003537U (en) | Train communication equipment | |
CN209044319U (en) | A kind of isolation switch device having more board information monitorings | |
CN209015145U (en) | A kind of information output apparatus | |
CN208000578U (en) | A kind of blade type data processing equipment | |
CN207882728U (en) | A kind of control system | |
CN103200248B (en) | Based on the communication means of the power param eter supervision of embedded system | |
CN110022255A (en) | The ubiquitous electric power platform of internet of things of modularization based on mixing communication network data exchange | |
CN109828448A (en) | A kind of isolation switch device having more board information monitorings |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |