CN106896750A - The serial ports redundancy switching method and device of a kind of controller system - Google Patents
The serial ports redundancy switching method and device of a kind of controller system Download PDFInfo
- Publication number
- CN106896750A CN106896750A CN201710155696.9A CN201710155696A CN106896750A CN 106896750 A CN106896750 A CN 106896750A CN 201710155696 A CN201710155696 A CN 201710155696A CN 106896750 A CN106896750 A CN 106896750A
- Authority
- CN
- China
- Prior art keywords
- serial
- module
- current detection
- detection module
- spst
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 10
- 238000001514 detection method Methods 0.000 claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 22
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 10
- 238000004519 manufacturing process Methods 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009432 framing Methods 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
The invention discloses a kind of serial ports redundancy switching device of controller system, it is characterized in that, including the first current detection module, first serial module, control unit, the second current detection module, second serial module, four-way single-pole single-throw switch (SPST) and outside serial port module;Described control unit and the connection of first current detection module, the first current detection module and four-way single-pole single-throw switch (SPST), the four-way single-pole single-throw switch (SPST) is also connected with first serial module, second serial module and outside serial port module, the other end of the first serial module connects first current detection module, and the other end of the second serial module connects second current detection module.The serial ports redundancy switching method and device of a kind of controller system that the present invention is provided, with serial ports redundancy communication it is with low cost, manufacture and design that simple, communication robust is reliable, avoid communication crash and serial ports failure good characteristic.
Description
Technical field
The present invention relates to data processing field, and in particular to the serial ports redundancy switching method and dress of a kind of controller system
Put.
Background technology
At present in industrial automation, because serial communication interface is simple, program simplicity is write, can be aobvious with computer
Show related commissioning information, it is not necessary to by other external hardwares, such that it is able to easily carry out program debugging, so single-chip microcomputer
Serial Communication is widely used.
But in serial communication, communication port occurs software and hardware failure.If only one of which serial ports carries out data
Communication, after error serial ports failure, system communication will paralyse.Current serial communication is communicated using single port, is not involved with monolithic
Serial ports redundancy switching method between machine, more neither one main website are to the serial ports redundancy handover scheme of multiple slave stations, once occur
Failure, cannot be communicated.And the serial ports redundancy switching method based on autonomous redundant server of the prior art, also cannot
Directly on application band single-chip microcomputer.
The content of the invention
The technical problems to be solved by the invention are to provide the serial ports redundancy switching method and device of a kind of controller system,
With serial ports redundancy communication it is with low cost, manufacture and design that simple, communication robust is reliable, avoid communication crash and serial ports failure it is excellent
Good characteristic.
To achieve these goals, the technical solution adopted in the present invention is:A kind of serial ports redundancy of controller system is cut
Changing device, wherein, including the first current detection module, first serial module, control unit, the second current detection module, second
Serial port module, four-way single-pole single-throw switch (SPST) and outside serial port module;Described control unit and first current detection module,
First current detection module and four-way single-pole single-throw switch (SPST) are connected, and the four-way single-pole single-throw switch (SPST) is also and first serial
Module, second serial module and outside serial port module connection, other end connection first electricity of the first serial module
Stream detection module, the other end of the second serial module connects second current detection module.
A kind of serial ports redundancy switching device of above-mentioned controller system, wherein, the four-way single-pole single-throw switch (SPST) one
The end connection outside serial port module, the other end connects the first serial module or second serial module.
The method that above-mentioned serial ports redundancy switching device carries out serial ports redundancy switching, wherein, including:
S1, the control centre control first current detection module to detect whether the electric current of the first serial module is just
Normal electric current during work, if so, into S2, if it is not, into S5;
If S2, the first serial blocks current are normal, the control centre controls first current detection module to described
First serial module sends information, and whether the information that judgement sends has response;If so, into S4, if not having, into S3;
If S3, the first serial module are not responded, the four-way single-pole single-throw switch (SPST) is switched to second serial module,
If there is information to return after switching, first serial module is judged to damage;If being returned without information, alarm is sent, it is necessary to tie up
Repair personnel inspection and other end communication line problem.
If S4, the first serial module have response, judge that first serial module is normal, without switching;
If S5, the first serial blocks current are abnormal, the first serial module damage, the four-way are directly judged
Single-pole single-throw switch (SPST) is switched to the work of second serial module.
Beneficial effects of the present invention are:Design uses double-serial port design, and one is run, a redundancy backup, so that
Realize serial ports Redundancy Design;Serial ports redundancy communication is with low cost, manufactures and designs simple, communication robust reliability, it is to avoid communication is crashed
With serial ports failure.
Brief description of the drawings
Fig. 1 is a kind of structural framing figure of the serial ports redundancy switching device of controller system.
Specific embodiment
For technological means, creation characteristic, reached purpose and effect for making present invention realization are easy to understand, with reference to
Specific embodiment and accompanying drawing, are expanded on further the present invention.
Fig. 1 is a kind of structural framing figure of the serial ports redundancy switching device of controller system.
Refer to Fig. 1, a kind of serial ports redundancy switching device of controller system, wherein, including the first current detection module,
First serial module, control unit, the second current detection module, second serial module, four-way single-pole single-throw switch (SPST) and outside
Serial port module;Described control unit and first current detection module, the first current detection module and four-way hilted broadsword list
Throw switch is connected, the four-way single-pole single-throw switch (SPST) also with first serial module, second serial module and outside serial ports mould
Block is connected, and the other end of the first serial module connects first current detection module, the second serial module it is another
One end connects second current detection module.
A kind of serial ports redundancy switching device of controller system that the present invention is provided, wherein, the four-way single-pole single-throw(SPST
Switch one end connection outside serial port module, the other end connects the first serial module or second serial module.
A kind of serial ports redundancy switching method of controller system that the present invention is provided, wherein, including:
S1, the control centre control first current detection module to detect whether the electric current of the first serial module is just
Normal electric current during work, if so, into S2, if it is not, into S5;
If S2, the first serial blocks current are normal, the control centre controls first current detection module to described
First serial module sends information, and whether the information that judgement sends has response;If so, into S4, if not having, into S3;
If S3, the first serial module are not responded, the four-way single-pole single-throw switch (SPST) is switched to second serial module,
If there is information to return after switching, first serial module is judged to damage;If being returned without information, alarm is sent, it is necessary to tie up
Repair personnel inspection and other end communication line problem.
If S4, the first serial module have response, judge that first serial module is normal, without switching;
If S5, the first serial blocks current are abnormal, the first serial module damage, the four-way are directly judged
Single-pole single-throw switch (SPST) is switched to the work of second serial module.
Beneficial effects of the present invention are:Design uses double-serial port design, and one is run, a redundancy backup, so that
Realize serial ports Redundancy Design;Serial ports redundancy communication is with low cost, manufactures and designs simple, communication robust reliability, it is to avoid communication is crashed
With serial ports failure.
It should be understood that the preparation method of the embodiment of the present invention is only used for the explanation present invention, rather than to this hair
Bright limitation, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes
Be all fall within the protetion scope of the claimed invention with improvement.The claimed scope of the invention is by appending claims and its waits
Effect thing is defined.
Claims (3)
1. the serial ports redundancy switching device of a kind of controller system, it is characterised in that including the first current detection module, the first string
Mouth mold block, control unit, the second current detection module, second serial module, four-way single-pole single-throw switch (SPST) and outside serial ports mould
Block;Described control unit and first current detection module, the second current detection module and four-way single-pole single-throw switch (SPST)
Connection, the four-way single-pole single-throw switch (SPST) is also connected with first serial module, second serial module and outside serial port module,
The other end of the first serial module connects first current detection module, the other end connection of the second serial module
Second current detection module.
2. a kind of serial ports redundancy switching device of controller system according to claim 1, it is characterised in that the four-way
Road single-pole single-throw switch (SPST) one end connection outside serial port module, the other end connects the first serial module or second serial
Module.
3. the method for carrying out serial ports redundancy switching using the serial ports redundancy switching device described in claim 2, it is characterised in that bag
Include:
S1, the control centre control first current detection module to detect whether the electric current of the first serial module is just
Normal electric current during work, if so, into S2, if it is not, into S5;
If S2, the first serial blocks current are normal, the control centre controls first current detection module to described
First serial module sends information, and whether the information that judgement sends has response;If so, into S4, if not having, into S3;
If S3, the first serial module are not responded, the four-way single-pole single-throw switch (SPST) is switched to second serial module,
If there is information to return after switching, first serial module is judged to damage;If being returned without information, alarm is sent, it is necessary to tie up
Repair personnel inspection and other end communication line problem.
If S4, the first serial module have response, judge that first serial module is normal, without switching;
If S5, the first serial blocks current are abnormal, the first serial module damage, the four-way are directly judged
Single-pole single-throw switch (SPST) is switched to the work of second serial module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710155696.9A CN106896750A (en) | 2017-03-16 | 2017-03-16 | The serial ports redundancy switching method and device of a kind of controller system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710155696.9A CN106896750A (en) | 2017-03-16 | 2017-03-16 | The serial ports redundancy switching method and device of a kind of controller system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106896750A true CN106896750A (en) | 2017-06-27 |
Family
ID=59193977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710155696.9A Pending CN106896750A (en) | 2017-03-16 | 2017-03-16 | The serial ports redundancy switching method and device of a kind of controller system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106896750A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408436A (en) * | 2018-10-22 | 2019-03-01 | 航宇救生装备有限公司 | For overloading the switching circuit and method of 422 serial ports of starter double redundancy |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697531A (en) * | 2009-10-30 | 2010-04-21 | 北京星网锐捷网络技术有限公司 | Method, device and equipment for multiplexing port |
CN102385371A (en) * | 2011-09-29 | 2012-03-21 | 东南大学 | Layered redundancy automatic monitoring system of field bus type marine engine room |
CN103176939A (en) * | 2013-01-16 | 2013-06-26 | 安徽工程大学 | Redundant serial communication device with automatic replacing function |
CN103809471A (en) * | 2012-11-15 | 2014-05-21 | 中国科学院沈阳自动化研究所 | Novel automatic switchover emergency processing device and implementing method thereof |
CN103838230A (en) * | 2014-03-11 | 2014-06-04 | 南京景曜智能科技有限公司 | Digital steering engine control system with scalable redundancy and shaft number and breakdown switching method |
GB201414868D0 (en) * | 2013-08-27 | 2014-10-08 | Guangxi Maisha Electric Group Co Ltd | Remote wireless communication control system for submerged arc furnace reactive compensation |
WO2015120753A1 (en) * | 2014-02-12 | 2015-08-20 | 韩磊 | Electric vehicle battery pack replacement system consisting of computers, internet, multiple robots |
CN105653487A (en) * | 2015-12-09 | 2016-06-08 | 重庆川仪自动化股份有限公司 | Serial port redundancy switching method, apparatus and system for safety shield door control system |
CN106094804A (en) * | 2016-07-18 | 2016-11-09 | 中国电子信息产业集团有限公司第六研究所 | A kind of cross-platform PLC plate level frock based on QT test system and method for testing thereof |
CN106444498A (en) * | 2016-09-23 | 2017-02-22 | 中国运载火箭技术研究院 | Flight control computer of CPU board card pluggable replacement |
-
2017
- 2017-03-16 CN CN201710155696.9A patent/CN106896750A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697531A (en) * | 2009-10-30 | 2010-04-21 | 北京星网锐捷网络技术有限公司 | Method, device and equipment for multiplexing port |
CN102385371A (en) * | 2011-09-29 | 2012-03-21 | 东南大学 | Layered redundancy automatic monitoring system of field bus type marine engine room |
CN103809471A (en) * | 2012-11-15 | 2014-05-21 | 中国科学院沈阳自动化研究所 | Novel automatic switchover emergency processing device and implementing method thereof |
CN103176939A (en) * | 2013-01-16 | 2013-06-26 | 安徽工程大学 | Redundant serial communication device with automatic replacing function |
GB201414868D0 (en) * | 2013-08-27 | 2014-10-08 | Guangxi Maisha Electric Group Co Ltd | Remote wireless communication control system for submerged arc furnace reactive compensation |
WO2015120753A1 (en) * | 2014-02-12 | 2015-08-20 | 韩磊 | Electric vehicle battery pack replacement system consisting of computers, internet, multiple robots |
CN103838230A (en) * | 2014-03-11 | 2014-06-04 | 南京景曜智能科技有限公司 | Digital steering engine control system with scalable redundancy and shaft number and breakdown switching method |
CN105653487A (en) * | 2015-12-09 | 2016-06-08 | 重庆川仪自动化股份有限公司 | Serial port redundancy switching method, apparatus and system for safety shield door control system |
CN106094804A (en) * | 2016-07-18 | 2016-11-09 | 中国电子信息产业集团有限公司第六研究所 | A kind of cross-platform PLC plate level frock based on QT test system and method for testing thereof |
CN106444498A (en) * | 2016-09-23 | 2017-02-22 | 中国运载火箭技术研究院 | Flight control computer of CPU board card pluggable replacement |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408436A (en) * | 2018-10-22 | 2019-03-01 | 航宇救生装备有限公司 | For overloading the switching circuit and method of 422 serial ports of starter double redundancy |
CN109408436B (en) * | 2018-10-22 | 2022-03-18 | 航宇救生装备有限公司 | Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455005B (en) | Controller redundancy and switching method | |
CN103955188A (en) | Control system and method supporting redundancy switching function | |
CN104111881B (en) | A kind of arbitration device for dual-computer redundancy Hot Spare computing machine | |
CN103647781A (en) | Mixed redundancy programmable control system based on equipment redundancy and network redundancy | |
CN102122157B (en) | Redundancy architecture control system and method thereof capable of keeping original system function and performance | |
CN103941633A (en) | PLC redundancy control method and system | |
CN110794805B (en) | Robot safety circuit and control method thereof | |
CN111107572A (en) | Redundancy backup method and device | |
CN107957692B (en) | Controller redundancy method, device and system | |
CN109188895A (en) | A kind of servo-control system based on Redundancy Design | |
CN105099825B (en) | A kind of safeguard method and device of external Bypass | |
CN102866698B (en) | Human machine interface (HMI) redundant communication method for distributed control system controller | |
CN115913906A (en) | Redundancy control system and method for ship | |
KR20140141938A (en) | Redundancy method of communication module in Programmable Logic Controller system | |
CN105306352A (en) | Industrial field bus protocol gateway device | |
CN204086849U (en) | Programmable Logic Controller redundancy control system | |
CN104834246A (en) | Automobile controller and state synchronization method applied to automobile controller | |
CN103793300B (en) | Fast active-standby switching device in hot-standby system and active-standby switching method | |
CN103809429A (en) | Hardware arbitration mixture redundancy intelligent controller and redundancy backup method | |
CN102611600B (en) | Method and device for locating short circuit position of CAN (Controller Area Network) network | |
CN106896750A (en) | The serial ports redundancy switching method and device of a kind of controller system | |
CN204406385U (en) | The management devices of computer system | |
US8631174B2 (en) | Systems, methods, and apparatus for facilitating communications between an external controller and fieldbus devices | |
CN104267642A (en) | System and method for outputting reliable current signals | |
CN101739317B (en) | Method for switching two-computer software redundancy system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170627 |
|
WD01 | Invention patent application deemed withdrawn after publication |