CN206596010U - A kind of Real- time monitor of the bus systems of RS 422 - Google Patents
A kind of Real- time monitor of the bus systems of RS 422 Download PDFInfo
- Publication number
- CN206596010U CN206596010U CN201720113018.1U CN201720113018U CN206596010U CN 206596010 U CN206596010 U CN 206596010U CN 201720113018 U CN201720113018 U CN 201720113018U CN 206596010 U CN206596010 U CN 206596010U
- Authority
- CN
- China
- Prior art keywords
- switch module
- level switch
- real
- line level
- line
- 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
- Selective Calling Equipment (AREA)
Abstract
The utility model discloses a kind of Real- time monitor of the bus systems of RS 422, provided with sending line level switch module, receive line level switch module, master controller, network interface module and power module for being powered for Real- time monitor;A+ line and A line of two differential signal inputs of line level switch module respectively with the monitored buses of RS 422 is sent to be electrically connected, receive B+ line and B line of two differential signal inputs of line level switch module respectively with the monitored buses of RS 422 to be electrically connected, sending line level switch module and receiving line level switch module can be converted to the differential signal of two differential signal input input in real time level signal and the output for adapting to master controller;Master controller is respectively to sending line level switch module and receiving the level signal progress data encapsulation of line level switch module output, and the packet encapsulated is sent into host computer by network interface module.The utility model reduces the introducing of extra for monitoring in real time.
Description
Technical field
The utility model is related to a kind of Real- time monitor of RS-422 bus systems.
Background technology
Today's society is among intelligent, automation tide, so the application of various communication bus is quite varied.
Wherein RS422 buses are as a kind of bi-directional full-duplex bus, and it supports long-distance transmissions, many slave modes, full-duplex communication etc.
Good characteristics, have been widely used in industrial automation, machine intelligence and related intelligence system.Due to present data transfer
Amount is huge, the importance of transmission data is improved, therefore in order to improve the reliability of bus transfer data, substantial amounts of monitoring bus system
It is introduced into.These monitoring systems need all data of transmitted in both directions on real-time controlling bus, record and preserve, but not shadow
Ring the proper communication of principal and subordinate both sides.
The RS422 monitoring bus technology of traditional scheme is by the communication cable of finite length, from RS422 bus transmission lines
A certain position is drawn signal wire and is directly connected on computer, and the data carried out by upper computer software in observation and record trunk are believed
Breath, this scheme will draw bus cable due to monitor on the spot according to supervisor position, therefore add route bus
Complexity, simultaneously because the data received are the real transmission data message in bus, host computer can not be determined in bus
Data flow, while wanting the moment to be monitored at the scene, it is impossible to carry out long-range ipc monitor.
RS422 buses are additionally, since usually as long range transmission, many slave buses, maximum transmission distance is 4000 English
Chi, most 10 slaves, the reliability that actual bus communication system communicates for guarantee transmitter with all slaves, it usually needs
Multiple positions carry out monitoring bus in one communication system, and can realize that remote monitoring is handled official business;And traditional RS422 buses
Monitoring scheme fails to realize the demand.
Utility model content
Technical problem to be solved in the utility model is:A kind of Real- time monitor of RS-422 bus systems is provided.
Above-mentioned technical problem is solved, the technical scheme that the utility model is used is as follows:
A kind of Real- time monitor of RS-422 bus systems, it is characterised in that:Described Real- time monitor is provided with transmission line
Level switch module, reception line level switch module, master controller, network interface module and the power supply for being powered for Real- time monitor
Module;The A+ lines of two differential signal inputs for sending line level switch module respectively with monitored RS-422 buses
With A- lines electrical connection, it is described receive line level switch module two differential signal inputs respectively with monitored RS-422
B+ lines and B- the lines electrical connection of bus, the transmission line level switch module and reception line level switch module can be by them
The differential signal of two differential signal inputs input is converted to the level signal that adapts to the master controller and defeated in real time
Go out;The master controller accesses internet realization by the network interface module and communicated with the ICP/IP protocol of host computer, the master
Controller to the transmission line level switch module and receives the level signal progress data that line level switch module is exported respectively
Encapsulation, and the packet encapsulated is sent to the host computer by the network interface module.
In order to realize the remote control for the collection that data are transmitted to monitored RS-422 buses, as of the present utility model
Preferred embodiment:The transmission line level switch module and reception line level switch module are respectively provided with work Enable Pin, described
Master controller is electric provided with the work Enable Pin respectively with the transmission line level switch module and reception line level switch module
The transmission line control signal output end and reception line control signal output end of connection, the master controller can be described upper
Line control signal output end is sent at it and the output end generation of reception line control signal is corresponding under the control for the instruction that machine is sent
Control signal, starts and stops to the difference to control the transmission line level switch module and receive line level switch module
Signal is changed.
It is used as preferred embodiment of the present utility model:Described master controller by model STM32F103C8T6 master
Control chip (U4) and its peripheral circuit composition;The transmission line level switch module and reception line level switch module are by transient state
Suppress diode, first resistor, second resistance, 3rd resistor, the 4th resistance, the 5th resistance, the first electric capacity, model MAX485
Electrical level transferring chip and the 6th resistance composition, wherein, the Transient Suppression Diode is in parallel with first resistor composition electric
Road, and the parallel circuit two ends as described two differential signal inputs, wherein one end of the parallel circuit passes through the
The B that A pins, the other end that two resistance connect the electrical level transferring chip connect the electrical level transferring chip by 3rd resistor draws
Pin, the A pins of the electrical level transferring chip are grounded by the 4th resistance eutral grounding, B pins by the 5th resistance eutral grounding, GND pin,
The VCC pin of the electrical level transferring chip connects 3.3V dc sources, another road by first capacity earth all the way, described
Electrical level transferring chipPass through the 6th resistance eutral grounding, the RO of the electrical level transferring chip after pin and DE pin short circuits
Pin is used as the work Enable Pin as the output end for exporting the level signal, DI pins.
In order to be adapted to auto industry and automobile industry application, preferred embodiment of the present utility model is used as:Described
Power module turns 5V DC power suppliers including 12V and 5V turns 3.3V DC power suppliers, and the 12V turns 5V DC power suppliers
It is that the 5V turns 3.3V DC power suppliers and powered that outside 12V dc sources, which are converted to after 5V voltages, and it is straight that the 5V turns 3.3V
It after 3.3V voltages is that the Real- time monitor is powered that the 5V voltage conversions are by stream power module.
It is used as preferred embodiment of the present utility model:Described network interface module is using model USR-TCP232-T's
USART turns network interface module.
It is used as preferred embodiment of the present utility model:Described Real- time monitor is additionally provided with indicating lamp module;The master
Controller can receive the level signal for sending line level switch module or reception line level switch module output
When drive the indicating lamp module light.
Compared with prior art, the utility model has the advantages that:
First, the utility model is provided with transmission line level switch module, reception line level switch module, master controller, net
Mouth mold block, realizes real time remote data acquisition of the host computer to monitored RS-422 buses transceiving data, and it can supervised
Control RS-422 buses optional position realize the data acquisition and do not influence the data transfer of monitored RS-422 buses, compared to
Existing monitoring scheme reduces the introducing of extra.
Second, because master controller of the present utility model is respectively to sending line level switch module and receiving line level conversion
The level signal of module output carries out data encapsulation so that host computer can be by the difference of the packet encapsulation mode received
And judge that the packet is to belong to send the signal that line level switch module still falls within the level switch module output of reception line,
So as to easily identify the data transfer direction of monitored RS-422 buses, the data flow to monitored RS-422 buses is realized
To tracking.
3rd, the utility model is by using the transmission line level switch module with work Enable Pin and receives line level
Modular converter, can realize the remote control for the collection that data are transmitted to monitored RS-422 buses.
Brief description of the drawings
The utility model is described in further detail with specific embodiment below in conjunction with the accompanying drawings:
Fig. 1 is the schematic block circuit diagram of Real- time monitor of the present utility model;
Fig. 2 is the circuit theory diagrams of transmission line level switch module and reception line level switch module in the utility model;
Fig. 3-1 is the circuit theory diagrams of the main control chip of composition master controller in the utility model;
Fig. 3-2 is the circuit theory diagrams of the peripheral circuit of main control chip in the utility model;
Fig. 4 is the circuit theory diagrams of network interface module in the utility model;
Fig. 5 turns the circuit theory diagrams of 5V DC power suppliers for 12V in the utility model;
Fig. 6 turns the circuit theory diagrams of 3.3V DC power suppliers for 5V in the utility model;
Fig. 7 is the circuit theory diagrams of indicating lamp module in the utility model.
Embodiment
As shown in figure 1, the utility model discloses a kind of Real- time monitor of RS-422 bus systems, its inventive concept
For:Real- time monitor is provided with transmission line level switch module, reception line level switch module, master controller, network interface module and use
In the power module powered for Real- time monitor;Send line level switch module two differential signal inputs respectively with by
A+ lines and the electrical connection of A- lines of RS-422 buses are monitored, two differential signal inputs point of line level switch module is received
B+ lines and B- lines not with monitored RS-422 buses are electrically connected, and are sent line level switch module and are received line level conversion mould
Block can be converted to the differential signal of two differential signal input input in real time the level for adapting to master controller
Signal is simultaneously exported;Master controller accesses internet realization by network interface module and communicated with the ICP/IP protocol of host computer, main control
Device is respectively to sending line level switch module and receiving the level signal progress data encapsulation of line level switch module output, and will
The packet of encapsulation is sent to host computer by network interface module;In which it is assumed that A equipment and B device pass through monitored RS-
Data transfer is realized in the connection of 422 buses, then, A+ lines and A- lines are the circuit used when A equipment sends data to B device, B+
Line and B- lines are that A equipment receives the circuit used during the data of B device transmission.
The operation principle of Real- time monitor of the present utility model is:When A equipment sends data to B device, data pass through A
+ line and A- lines are transmitted, and send line level switch module and the differential signal transmitted on A+ lines and A- lines is converted into adaptation
In output after the level signal of master controller, and when A equipment receives the data that B device is sent, then receive line level conversion mould
The differential signal transmitted on B+ lines and B- lines is converted to and exported after the level signal for adapting to master controller by block;Master controller
Respectively to sending line level switch module and receiving the level signal progress data encapsulation of line level switch module output, and will envelope
The packet of dress is sent to host computer by network interface module, that is, realizes host computer and receive and dispatch number to monitored RS-422 buses
According to real time remote data acquisition, it can realize the data acquisition in the optional position of monitored RS-422 buses and not influence
The data transfer of monitored RS-422 buses, compared to the introducing that existing monitoring scheme reduces extra;Also, due to master
Controller carries out data encapsulation to the level signal for sending line level switch module and the level switch module output of reception line respectively,
Host computer is enabled to judge that the packet is to belong to transmission line electricity by the difference of the packet encapsulation mode that receives
Flat modular converter still falls within the signal for receiving the output of line level switch module, so as to easily identify that monitored RS-422 is total
The data transfer direction of line, realizes and the data flow of monitored RS-422 buses is tracked.
On the basis of foregoing invention design, the utility model uses following preferred structure:
In order to realize the remote control for the collection that data are transmitted to monitored RS-422 buses, above-mentioned transmission line level turns
Mold changing block and reception line level switch module are respectively provided with work Enable Pin, and master controller is provided with respectively with sending line level conversion mould
The transmission line control signal output end and reception line traffic control of the work Enable Pin electrical connection of block and reception line level switch module
Signal output part processed, master controller can host computer send instruction control under its send line control signal output end and
Receive line control signal output end and produce corresponding control signal, turned with controlling to send line level switch module and receiving line level
Mold changing BOB(beginning of block) and stopping are changed to differential signal.
Referring to Fig. 3-1 and Fig. 3-2, above-mentioned master controller by model STM32F103C8T6 main control chip (U4) and its
Peripheral circuit is constituted.Above-mentioned transmission line level switch module and line level switch module is received by Transient Suppression Diode, the
One resistance, second resistance, 3rd resistor, the 4th resistance, the 5th resistance, the first electric capacity, model MAX485 level conversion core
Piece and the 6th resistance composition, their connected mode are identical, wherein, referring to Fig. 2, send the specific connection of line level switch module
Mode is:Transient Suppression Diode TVS1 and first resistor R8 constitutes parallel circuit, and the two ends of the parallel circuit are used as transmission
Two differential signal input of line level switch module, wherein one end of the parallel circuit passes through second resistance R9 connections electricity
Flat conversion chip U2 A pins, the other end passes through the B pins of 3rd resistor R6 connection electrical level transferring chips, electrical level transferring chip
U2 A pins are grounded GND, B pin by the 4th resistance R10 and pass through the 5th resistance R5 ground connection GND, GND pin ground connection GND, electricity
Flat conversion chip U2 VCC pin connects 3.3V dc sources, another road and is grounded GND by the first electric capacity C7 all the way, and level turns
Change chip U2'sGND is grounded by the 6th resistance R7 after pin and DE pin short circuits, electrical level transferring chip U2 RO pins are made
Work Enable Pin is used as the output end for outputs level signals, DI pins;Receive the specific connection of line level switch module
Mode is:Transient Suppression Diode TVS2 and first resistor R14 constitutes parallel circuit, and the two ends of the parallel circuit are used as reception
Two differential signal input of line level switch module, wherein one end of the parallel circuit is connected by second resistance R16
Electrical level transferring chip U3 A pins, the other end passes through the B pins of 3rd resistor R12 connection electrical level transferring chips, level conversion core
Piece U3 A pins are grounded GND, B pin by the 5th resistance R11 ground connection GND, GND pin ground connection GND by the 4th resistance R17,
Electrical level transferring chip U3 VCC pin connects 3.3V dc sources, another road and is grounded GND, level by the first electric capacity C11 all the way
Conversion chip U3'sGND is grounded by the 6th resistance R13 after pin and DE pin short circuits, electrical level transferring chip U3 RO draws
Pin is used as work Enable Pin as the output end for outputs level signals, DI pins.
Above-mentioned transmission line level switch module and receive line level switch module operation principle be:Utilize two-way half-duplex
The MAX485 chips of pattern realize that full-duplex mode communicates, and complete to be converted to Transistor-Transistor Logic level into the function of RS-485 level, also
Realize the communication with RS422 buses;Specifically:WhenWhen pin is logical zero, MAX485 chips are in reception state;When
When DE pins are logic 1, MAX485 chips are in transmission state, because MAX485 is operated in half-duplex state, only need to use
One pin of single-chip microcomputer controls this by DI pinsPin and DE pins;When the level of A pins is higher than B pins,
It is 1 to represent the data sent;When the level of A pins is less than B pins, it is 0 to represent the data sent.
In order to be adapted to auto industry and automobile industry application, referring to Fig. 5 and Fig. 6, above-mentioned power module turns 5V including 12V
DC power supplier and 5V turn 3.3V DC power suppliers, and 12V turns 5V DC power suppliers and is converted to outside 12V dc sources
Turn 3.3V DC power suppliers after 5V voltages for 5V to power, it is 3.3V voltages that 5V, which turns 3.3V DC power suppliers by 5V voltage conversions,
Powered afterwards for Real- time monitor, wherein, 12V turn 5V DC power suppliers by model LM2576-5V power supply chip U6 and its
Peripheral circuit is constituted, and 5V turns power supply chip U5 and its peripheral circuit of the 3.3V DC power suppliers by model AMS1117-3.3V
Composition.
Referring to Fig. 4, above-mentioned network interface module turns network interface module U1 using model USR-TCP232-T USART.
Referring to Fig. 7, Real- time monitor of the present utility model is additionally provided with indicating lamp module;Master controller can be sent receiving
Driving indicating lamp module lights when line level switch module or the level signal of reception line level switch module output, wherein, should
Indicating lamp module is made up of triode Q3, resistance R24, resistance R25, light emitting diode D5.
The utility model is not limited to above-mentioned embodiment, according to the above, according to the ordinary skill of this area
Knowledge and customary means, under the premise of the above-mentioned basic fundamental thought of the utility model is not departed from, the utility model can also be made
The equivalent modifications of other diversified forms, replace or change, all fall among protection domain of the present utility model.
Claims (6)
1. a kind of Real- time monitor of RS-422 bus systems, it is characterised in that:Described Real- time monitor is electric provided with line is sent
Flat modular converter, reception line level switch module, master controller, network interface module and the power supply mould for being powered for Real- time monitor
Block;Two differential signal inputs for sending line level switch module respectively with the A+ lines of monitored RS-422 buses and
A- lines are electrically connected, and two differential signal inputs for receiving line level switch module is total with monitored RS-422 respectively
B+ lines and B- the lines electrical connection of line, the transmission line level switch module and receive line level switch module can by its two
The differential signal of individual differential signal input input is converted to the level signal for adapting to the master controller and output in real time;
The master controller accesses internet realization by the network interface module and communicated with the ICP/IP protocol of host computer, the main control
Device to the transmission line level switch module and receives the level signal progress data encapsulation that line level switch module is exported respectively,
And the packet encapsulated is sent to the host computer by the network interface module.
2. Real- time monitor according to claim 1, it is characterised in that:The transmission line level switch module and reception line
Level switch module is respectively provided with work Enable Pin, and the master controller is provided with respectively with the transmission line level switch module and connecing
The transmission line control signal output end and reception line control signal of the work Enable Pin electrical connection of take-up level switch module are defeated
Go out end, the master controller can the host computer send instruction control under its send line control signal output end and
Receive line control signal output end and produce corresponding control signal, to control the transmission line level switch module and receive line electricity
Flat turn changes the mold BOB(beginning of block) and stops changing the differential signal.
3. Real- time monitor according to claim 2, it is characterised in that:Described master controller is by model
STM32F103C8T6 main control chip (U4) and its peripheral circuit composition;The transmission line level switch module and reception line electricity
Flat modular converter is by Transient Suppression Diode, first resistor, second resistance, 3rd resistor, the 4th resistance, the 5th resistance,
One electric capacity, model MAX485 electrical level transferring chip and the 6th resistance composition, wherein, the Transient Suppression Diode with it is described
First resistor constitutes parallel circuit, and the two ends of the parallel circuit are used as described two differential signal inputs, parallel connection electricity
The wherein one end on road is connected the A pins of the electrical level transferring chip, the other end by second resistance and connects institute by 3rd resistor
The B pins of electrical level transferring chip are stated, the A pins of the electrical level transferring chip pass through the 5th electricity by the 4th resistance eutral grounding, B pins
Resistance ground connection, GND pin ground connection, the VCC pin of the electrical level transferring chip connect 3.3V dc sources, another road and pass through institute all the way
The first capacity earth is stated, the electrical level transferring chipPass through the 6th resistance eutral grounding, institute after pin and DE pin short circuits
The RO pins for stating electrical level transferring chip are enabled as the output end for exporting the level signal, DI pins as the work
End.
4. Real- time monitor according to claim 3, it is characterised in that:Described power module turns 5V direct currents including 12V
Power module and 5V turn 3.3V DC power suppliers, and the 12V turns 5V DC power suppliers and is converted to outside 12V dc sources
It is that the 5V turns 3.3V DC power suppliers and powered after 5V voltages, the 5V turns 3.3V DC power suppliers and turns the 5V voltages
Be changed to after 3.3V voltages is that the Real- time monitor is powered.
5. Real- time monitor according to claim 3, it is characterised in that:Described network interface module uses model USR-
TCP232-T USART turns network interface module.
6. Real- time monitor according to claim 3, it is characterised in that:Described Real- time monitor is additionally provided with indicator lamp mould
Block;What the master controller can be exported in the reception transmission line level switch module or the reception line level switch module
The indicating lamp module is driven to light during level signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720113018.1U CN206596010U (en) | 2017-02-07 | 2017-02-07 | A kind of Real- time monitor of the bus systems of RS 422 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720113018.1U CN206596010U (en) | 2017-02-07 | 2017-02-07 | A kind of Real- time monitor of the bus systems of RS 422 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206596010U true CN206596010U (en) | 2017-10-27 |
Family
ID=60128756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720113018.1U Active CN206596010U (en) | 2017-02-07 | 2017-02-07 | A kind of Real- time monitor of the bus systems of RS 422 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206596010U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143266A (en) * | 2019-12-24 | 2020-05-12 | 成都国翼电子技术有限公司 | RS422 bus multi-master device link control system |
CN111385178A (en) * | 2019-12-24 | 2020-07-07 | 成都国翼电子技术有限公司 | RS422 bus link monitoring and network failure protection system |
-
2017
- 2017-02-07 CN CN201720113018.1U patent/CN206596010U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143266A (en) * | 2019-12-24 | 2020-05-12 | 成都国翼电子技术有限公司 | RS422 bus multi-master device link control system |
CN111385178A (en) * | 2019-12-24 | 2020-07-07 | 成都国翼电子技术有限公司 | RS422 bus link monitoring and network failure protection system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206596010U (en) | A kind of Real- time monitor of the bus systems of RS 422 | |
CN101594171B (en) | Power cord chopper communication transceiving circuit | |
CN104796356A (en) | Vehicle-mounted Ethernet switch and signal transceiving and train reconnecting method for railway vehicles | |
CN110045709A (en) | One kind being based on EtherCAT technical grade remote I/O module | |
CN104052462B (en) | A kind of isolation telecommunication circuit | |
CN204481852U (en) | Vehicle-mounted Ethernet switch used for rail vehicle | |
CN105721059A (en) | Profibus-DP photoelectric signal conversion system | |
CN203149559U (en) | Multi-slave-structure MBUS host machine device | |
CN201237839Y (en) | Traffic signaling machine | |
CN204639396U (en) | Based on the submerged-arc welding system that wireless carrier controls | |
CN203301498U (en) | Redundant communication circuit based on RS485 serial interface | |
CN102023582B (en) | Valve electric actuator with multiple control modes and control method thereof | |
CN208766655U (en) | A kind of communication transfer interface module for silo communication | |
CN106125638A (en) | A kind of airborne teledata concentrator based on bus output | |
CN209014959U (en) | A kind of hand behaviour case control system | |
CN103176435A (en) | Device and method of interface for achieving connection of distributed control system and measuring device | |
CN201623714U (en) | Two-way communication circuit | |
CN101738988B (en) | Communication circuit of programmer for electric vehicle controller | |
CN207000365U (en) | A kind of remote control of new-energy automobile | |
CN206363106U (en) | A kind of multi-functional I/O module for robot | |
CN201364476Y (en) | Hand-held programmer communication circuit | |
CN207939421U (en) | A kind of high-voltage frequency converter absolute position harvester | |
CN202404431U (en) | Input interface device realizing interconnection between distributed control system and measurement equipment | |
CN209087133U (en) | A kind of signal carrier transmission device | |
CN206698237U (en) | A kind of two-way wired digital communication equipment and grounding current monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |