CN108508876A - A kind of improved daisy chain RS485 control circuits and short-circuit solution - Google Patents
A kind of improved daisy chain RS485 control circuits and short-circuit solution Download PDFInfo
- Publication number
- CN108508876A CN108508876A CN201810474969.0A CN201810474969A CN108508876A CN 108508876 A CN108508876 A CN 108508876A CN 201810474969 A CN201810474969 A CN 201810474969A CN 108508876 A CN108508876 A CN 108508876A
- Authority
- CN
- China
- Prior art keywords
- control panel
- control
- module
- dpdt relay
- input
- 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.)
- Granted
Links
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
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0259—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
- G05B23/0286—Modifications to the monitored process, e.g. stopping operation or adapting control
-
- 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
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Safety Devices In Control Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention belongs to RS485 wiring control circuits fields, more particularly to a kind of improved daisy chain RS485 control circuits, including multiple end to end control panels, the control panel is equipped with MCU control module, RS485 input modules R1, dpdt relay S2, dpdt relay S1, RS485 output module R2, dpdt relay S5, dpdt relay S6, spare RS485 input modules R3, spare RS485 output modules R4, and the dpdt relay S1 can be directly connected to dpdt relay S6.By using 6 double-point double-throw switch and respectively to RS485 input modules and RS485 input modules, spare module is set, solution guarantee is provided for the short circuit of daisy chain RS485 control circuits, by the handover operation of double-point double-throw switch, location of short circuit in control circuit may be implemented and judge and overcome.
Description
Technical field
The invention belongs to RS485 wiring control circuits fields, and in particular to a kind of improved daisy chain RS485 control circuits
And short-circuit solution.
Background technology
Because of the remote of RS485, multinode and the low characteristic of transmission cost so that RS485 becomes data transmission
It is preferred.Daisy chain RS485 communication control modes have connects multiple devices using limited signal transmssion line, shares same clothes
Business, and the advantages of bus contention is with the problems such as obstruction is not present.
But in daisy chain RS485 control circuits, if there is the phenomenon of some RS485 chip short circuit, whole system from
It will be uncontrolled after location of short circuit, it will influence the efficiency of entire communicating circuit.
Invention content
The present invention provides a kind of improved daisy chain RS485 controls for defect existing for daisy chain RS485 control circuits
Circuit and short-circuit solution, can effectively solve the problem that the short circuit problem of daisy chain RS485 control circuits, ensure daisy chain
The normal communication of RS485 control circuits controls.
The technical solution adopted by the present invention is as follows:
A kind of improved daisy chain RS485 control circuits, including multiple end to end control panels, it is characterised in that:Institute
Control panel is stated equipped with MCU control module, defeated by the RS485 of dpdt relay S3 connection MCU control module input terminals
Enter module R1, the dpdt relay S2 for connecting RS485 input module R1 input terminals, connection dpdt relay S2 to be used for
Control the dpdt relay S1 of adjacent control partitioned signal input, by dpdt relay S4 connection MCU control modules
The RS485 output modules R2 of output end, the dpdt relay S5 for connecting RS485 output module R2 output ends, connection double-pole
Double-throw relay S5 for control signal be output to the dpdt relay S6 of adjacent control panel and be located at double-pole double throw after
Spare RS485 input modules R3 between electric appliance S2 and dpdt relay S3, dpdt relay S4 and double-pole are located at
Spare RS485 output modules R4, the dpdt relay S1 and dpdt relay S6 between double-throw relay S5
It can directly be connected to.
The MCU control module uses model PIC18FXXX chips.
Further, the multiple end to end control panel is n+1 control panel, and it is main control to select a control panel
Plate, remaining n are each to press connection relation sequence label from control panel, being directly connected to master board output end is from control panel
From control panel 1, it is from control panel n to be directly connected to master board input terminal.
When initial fault-free, the RS485 signals of the control circuit are arrived from the RS485 output module R2 of master board
From the RS485 input module R1 of control panel 1, again by from control panel 1 after from the processing of the MCU control module of control panel 1
RS485 output modules R2 sets out ... ..., the RS485 input module R1 from control panel n is reached, through the MCU processing from control panel n
Afterwards one is thusly-formed by giving the RS485 input module R1 of master board from the RS485 output modules R2 of control panel n again
Communication link.
In the event of failure, the short-circuit solution of the improved daisy chain RS485 control circuits provided, includes the following steps:
1), the MCU control module of master board sends whether one checked RS485 all in system at regular intervals
Normal instruction has the answer of corresponding format after receiving this instruction from control panel, meanwhile, it also can periodically be given from control panel
It is next to check instruction from control panel transmission, if not receiving instruction for a long time from control panel m (1≤m≤n), judge
Either to there is short circuit or open circuit to ask from the RS485 output modules R2 of control panel m-1 from the RS485 input modules R1 of control panel m
Topic.
2) it, first passes through from the dpdt relay S2 and S3 on control panel m by signal and is switched to spare RS485 inputs mould
Then block R3 retransmits viewing command and sees whether instruction can be received, the Resolving probiems if receiving instruction;
If 3), still can not receive finger, enable, judge to may be problematic from the RS485 output modules R2 of control panel m-1,
First RS485 input module R1 will be switched to from the input module on control panel m, retransmit instruction and require it to from control panel m-1
It is checked by switching dpdt relay S4 and S5 by signal to spare RS485 output modules R4, then to from control panel m transmissions
Instruction, if from from control panel m receive instruction if Resolving probiems;
If 4), will be same from the output module of control panel m-1 and from the input module of control panel m, again without solution
Shi Xuanyong spare modules, are checked from whether control panel m can receive instruction, if can if Resolving probiems;
If 5), still cannot solve, go out from control panel m-1 and to communicate twisted-pair feeder from the RS485 between control panel m
Failure, manual maintenance;
If 6), used from some spare module on control panel m, then when something goes wrong if pass through switch S1
With S6 so that from the RS485 signals on control panel m directly across so no longer receiving instruction from control panel m.
The present invention is by using 6 double-point double-throw switch and is set respectively to RS485 input modules and RS485 input modules
Spare module is set, provides solution guarantee for the short circuit of daisy chain RS485 control circuits, the switching for passing through double-point double-throw switch is grasped
Make, location of short circuit in control circuit may be implemented and judge and overcome, ensure the patency of RS485 control circuits, improve
The universality of RS485 control circuits.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is controling circuit structure figure of the present invention.
Specific implementation mode
Improved daisy chain RS485 control circuits as shown in Figure 1, including multiple end to end control panels, feature exist
In:The control panel is equipped with MCU control module, passes through dpdt relay S3 connection MCU control module input terminals
RS485 input modules R1, the dpdt relay S2 for connecting RS485 input module R1 input terminals, connection double-pole double throw relay
Device S2 is used to control the dpdt relay S1 of adjacent control partitioned signal input, by dpdt relay S4 connections MCU
The RS485 output modules R2 of control module output end, the dpdt relay S5 for connecting RS485 output module R2 output ends,
Connection dpdt relay S5 is used to control signal and is output to the dpdt relay S6 of adjacent control panel and is located at double
Spare RS485 input modules R3 between dpdt double-pole double-throw (DPDT) relay S2 and dpdt relay S3, it is located at dpdt relay
Spare RS485 output modules R4 between S4 and dpdt relay S5, the dpdt relay S1 and double-pole double throw
Relay S6 can be directly connected to.
The MCU control module uses model PIC18FXXX chips.
Further, the multiple end to end control panel is n+1 control panel, and it is main control to select a control panel
Plate, remaining n are from control panel, and each control panel presses connection relation sequence label, be directly connected to master board output end be from
Control panel 1, it is from control panel n to be directly connected to master board input terminal.
When initial fault-free, the RS485 signals of the control circuit are arrived from the RS485 output module R2 of master board
From the RS485 input module R1 of control panel 1, again by from control panel 1 after from the processing of the MCU control module of control panel 1
RS485 output modules R2 sets out ... ..., the RS485 input module R1 from control panel n is reached, through the MCU processing from control panel n
Afterwards one is thusly-formed by giving the RS485 input module R1 of master board from the RS485 output modules R2 of control panel n again
Communication link.
In the event of failure, the short-circuit solution of the improved daisy chain RS485 control circuits provided, includes the following steps:
1), the MCU control module of master board sends whether one checked RS485 all in system at regular intervals
Normal instruction has the answer of corresponding format after receiving this instruction from control panel, meanwhile, it also can periodically be given from control panel
It is next to check instruction from control panel transmission, if instruction was not received for a long time from control panel m (1≤m≤n), from control
The RS485 input modules R1 of making sheet m either has short circuit or breaking problem from the RS485 output modules R2 of control panel m-1.
2) it, first passes through from the dpdt relay S2 and S3 on control panel m by signal and is switched to spare RS485 inputs mould
Then block R3 retransmits viewing command and sees whether instruction can be received, the Resolving probiems if receiving instruction;
If 3), still can not receive instruction, judge to may be problematic from the RS485 output modules R2 of control panel m-1,
First RS485 input module R1 will be switched to from the input module on control panel m, retransmit instruction and require it to from control panel m-1
It is checked by switching dpdt relay S4 and S5 by signal to spare RS485 output modules R4, then to from control panel m transmissions
Instruction, if from from control panel m receive instruction if Resolving probiems;
If 4), will be same from the output module of control panel m-1 and from the input module of control panel m, again without solution
Shi Xuanyong spare modules, are checked from whether control panel m can receive instruction, if can if Resolving probiems;
If 5), still cannot solve, go out from control panel m-1 and to communicate twisted-pair feeder from the RS485 between control panel m
Failure, manual maintenance;
If 6), used from some spare module on control panel m, then when something goes wrong if pass through switch S1
With S6 so that from the RS485 signals on control panel m directly across so no longer receiving instruction from control panel m.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, although with reference to aforementioned reality
Applying example, invention is explained in detail, for those skilled in the art, still can be to aforementioned each implementation
Technical solution recorded in example is modified or equivalent replacement of some of the technical features.All essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.
Claims (4)
1. a kind of improved daisy chain RS485 control circuits, including multiple end to end control panels, it is characterised in that:It is described
Control panel is equipped with MCU control module, is inputted by the RS485 of dpdt relay S3 connection MCU control module input terminals
Module R1, the dpdt relay S2 for connecting RS485 input module R1 input terminals, connection dpdt relay S2 are for controlling
Make the dpdt relay S1, defeated by dpdt relay S4 connections MCU control module of adjacent control partitioned signal input
The RS485 output modules R2 of outlet, the dpdt relay S5 for connecting RS485 output module R2 output ends, connection double-pole are double
Relay S5 is thrown to be output to the dpdt relay S6 of adjacent control panel for controlling signal and be located at double-pole double throw relay
Spare RS485 input modules R3 between device S2 and dpdt relay S3, it is located at dpdt relay S4 and double-pole is double
The spare RS485 output modules R4 between relay S5 is thrown, the dpdt relay S1 and dpdt relay S6 can
To be directly connected to.
2. improved daisy chain RS485 control circuits according to claim 1, it is characterised in that:The MCU control module
Using model PIC18FXXX chips.
3. improved daisy chain RS485 control circuits according to claim 1, it is characterised in that:The multiple head and the tail phase
The control panel connected is n+1 control panel, and it is master board to select a control panel, and remaining n are from control panel, each from control
Plate presses connection relation sequence label, and it is to be directly connected to master board input from control panel 1 to be directly connected to master board output end
End is from control panel n.
4. the short-circuit solution of the improved daisy chain RS485 control circuits described in claim 3, which is characterized in that including
Following steps:
(1), master board MCU control module send one at regular intervals and check RS485 all in system whether just
Normal checks instruction, and the answer of corresponding format is had after receiving this instruction from control panel, meanwhile, it also can timing from control panel
Instruction is checked from control panel transmission, to next if from control panel m(1≤m≦n)Instruction was not received for a long time, then was sentenced
The disconnected RS485 input modules R1 from control panel m either has short circuit or open circuit to ask from the RS485 output modules R2 of control panel m-1
Topic;
(2), by being switched to spare RS485 input modules R3 from the dpdt relay S2 and S3 on control panel m by signal,
Then the MCU control module of master board retransmits viewing command, sees it is that can receive instruction from control panel m is no, if receiving finger
Enable then Resolving probiems;
(3)If, still can not receive instruction from control panel m, judge it is problematic from the RS485 output modules R2 of control panel m-1,
First RS485 input module R1 will be switched to from the input module on control panel m, retransmit instruction and require it to from control panel m-1
By switching dpdt relay S4 and S5 by signal to spare RS485 output modules R4, master board is again to from control panel m
Instruction is checked in transmission, the Resolving probiems if receiving instruction from control panel m;
(4)If, again without solution, the input module from the output module of control panel m-1 and from control panel m is selected simultaneously
With spare module, check whether control panel m can receive instruction, if can if Resolving probiems;
(5)If, still cannot solve, to be judged as from control panel m-1 and communicating multiple twin from the RS485 between control panel m
Line is out of order, manual maintenance;
(6)If, from control panel m spare RS485 input modules or the spare output modules of RS485 used, then
It is then connected to when something goes wrong so that from the RS485 signals on control panel m with S6 by the dpdt relay S1 of switching thereon
Directly across.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810474969.0A CN108508876B (en) | 2018-05-17 | 2018-05-17 | Daisy chain RS485 control circuit and short circuit solving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810474969.0A CN108508876B (en) | 2018-05-17 | 2018-05-17 | Daisy chain RS485 control circuit and short circuit solving method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108508876A true CN108508876A (en) | 2018-09-07 |
CN108508876B CN108508876B (en) | 2021-08-20 |
Family
ID=63400666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810474969.0A Active CN108508876B (en) | 2018-05-17 | 2018-05-17 | Daisy chain RS485 control circuit and short circuit solving method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108508876B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11585835B2 (en) | 2021-01-15 | 2023-02-21 | Red Lion Controls, Inc. | System of determining the sequence and positioning of pluggable modules |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1469595A (en) * | 2002-05-31 | 2004-01-21 | 日本电气株式会社 | Loop network system |
CN101056184A (en) * | 2006-04-12 | 2007-10-17 | 日立通讯技术株式会社 | Network system and communication device |
CN101989932A (en) * | 2009-08-07 | 2011-03-23 | 巨尔(上海)光电照明有限公司 | RS485-based automatic error detection method |
CN103326911A (en) * | 2013-07-03 | 2013-09-25 | 富盛科技股份有限公司 | Self healing ring RS485 bus structure with short circuit and circuit break prevention |
US20140185432A1 (en) * | 2012-12-27 | 2014-07-03 | Futurewei Technologies, Inc. | System and Method for Spare Capacity Allocation for Shared Backup Path Protection for Dual Link Failures Using Successive Survivable Routing |
US20140281079A1 (en) * | 2013-03-13 | 2014-09-18 | Atieva, Inc. | Fault-tolerant loop for a communication bus |
CN104767633A (en) * | 2014-01-07 | 2015-07-08 | 艾默生网络能源有限公司 | Industrial Ethernet system |
-
2018
- 2018-05-17 CN CN201810474969.0A patent/CN108508876B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1469595A (en) * | 2002-05-31 | 2004-01-21 | 日本电气株式会社 | Loop network system |
CN101056184A (en) * | 2006-04-12 | 2007-10-17 | 日立通讯技术株式会社 | Network system and communication device |
CN101989932A (en) * | 2009-08-07 | 2011-03-23 | 巨尔(上海)光电照明有限公司 | RS485-based automatic error detection method |
US20140185432A1 (en) * | 2012-12-27 | 2014-07-03 | Futurewei Technologies, Inc. | System and Method for Spare Capacity Allocation for Shared Backup Path Protection for Dual Link Failures Using Successive Survivable Routing |
US20140281079A1 (en) * | 2013-03-13 | 2014-09-18 | Atieva, Inc. | Fault-tolerant loop for a communication bus |
CN103326911A (en) * | 2013-07-03 | 2013-09-25 | 富盛科技股份有限公司 | Self healing ring RS485 bus structure with short circuit and circuit break prevention |
CN104767633A (en) * | 2014-01-07 | 2015-07-08 | 艾默生网络能源有限公司 | Industrial Ethernet system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11585835B2 (en) | 2021-01-15 | 2023-02-21 | Red Lion Controls, Inc. | System of determining the sequence and positioning of pluggable modules |
Also Published As
Publication number | Publication date |
---|---|
CN108508876B (en) | 2021-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2528392A1 (en) | Multi-functional port | |
CN1125370A (en) | Method and apparatus for matching functional unit in series muster and slave device | |
EP1198909B1 (en) | Electrical insulation device with optocoupler for bidirectional connecting lines | |
CN111427824A (en) | Serial port communication circuit | |
CN105550078B (en) | A kind of active and standby free switching 1553B bus interface boards | |
CN108508876A (en) | A kind of improved daisy chain RS485 control circuits and short-circuit solution | |
CN101170780B (en) | Method for dual mode terminal to prevent from current backflow between two radio modules | |
CN103744755A (en) | Implement system for primary and standby veneer single port shared protection and method thereof | |
JPH09247766A (en) | Remote supervisory control system | |
JPH04286239A (en) | Communication equipment | |
CN101630302B (en) | Distributing-type digit processing system | |
CN206649304U (en) | The switching circuit and Dual-Computer Hot-Standby System of Dual-Computer Hot-Standby System | |
KR200301942Y1 (en) | transmission path switching control device of the transferring system | |
JPH10290268A (en) | Synchronous serial communication circuit and communicating method | |
CN117579407A (en) | Communication equipment switching circuit, method, circuit board and device | |
CN1280747C (en) | Module, rear panel and bidirectional multiplexer | |
JPH0141070B2 (en) | ||
CN107741740A (en) | A kind of more board system failure report methods | |
KR100428766B1 (en) | Subscriber Switching Device of ADSL and Subscriber Port and Subscriber Unit Switching Method Utilizing | |
KR960006449A (en) | Circuitry for interfacing with multiple ports in a redundant switching system | |
KR970032107A (en) | Data matching device and method of video system on demand | |
JPS59188244A (en) | System switching system | |
JPS6223651A (en) | Data transmission equipment | |
JPH07107021A (en) | Remote equipment control system | |
JPH02301228A (en) | Automatic switching control circuit |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221219 Address after: 233000 Chaoyang Industrial Park, the intersection of Middle Ring Road and Guxing Road, Longzihu District, Bengbu City, Anhui Province Patentee after: Anhui Weidi Intelligent Glass Co.,Ltd. Address before: 230012 no.1399 wulishan Road, Xinzhan District, Hefei City, Anhui Province Patentee before: Hefei Wedi Color Glass Co.,Ltd. |
|
TR01 | Transfer of patent right |