CN106971586A - The whistle control system of principal and subordinate's automated back-up switching - Google Patents

The whistle control system of principal and subordinate's automated back-up switching Download PDF

Info

Publication number
CN106971586A
CN106971586A CN201710312501.7A CN201710312501A CN106971586A CN 106971586 A CN106971586 A CN 106971586A CN 201710312501 A CN201710312501 A CN 201710312501A CN 106971586 A CN106971586 A CN 106971586A
Authority
CN
China
Prior art keywords
master board
signal lamp
interface
lamp driving
control
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
Application number
CN201710312501.7A
Other languages
Chinese (zh)
Other versions
CN106971586B (en
Inventor
曹泉
何小晨
李豪
万海明
付林峰
刘绍兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN HAGONGDA TRAFFIC ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN HAGONGDA TRAFFIC ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHENZHEN HAGONGDA TRAFFIC ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHENZHEN HAGONGDA TRAFFIC ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201710312501.7A priority Critical patent/CN106971586B/en
Publication of CN106971586A publication Critical patent/CN106971586A/en
Application granted granted Critical
Publication of CN106971586B publication Critical patent/CN106971586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/097Supervising of traffic control systems, e.g. by giving an alarm if two crossing streets have green light simultaneously

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a kind of whistle control system of principal and subordinate's automated back-up switching, including a master board, one from master control borad, first CAN, second CAN and several signal lamp driving plates, master board is provided with the first CAN interface and the second CAN interface, the third and fourth CAN interface is provided with from control panel, each signal lamp driving plate is provided with the 5th and the 6th CAN interface, first, 3rd and the 5th CAN interface is connected in the first CAN, second, 4th and the 6th CAN interface is connected in the second CAN, master board is connected by serial ports with from master board, master board issues Signalized control scheme by the first or second CAN to signal lamp driving plate.The present invention can effectively solve master control borad it is abnormal when whole system can not work and the problem of abnormal restoring needs to re-download configuration parameter, improve the stability and reliability of whole traffic signal control system.

Description

The whistle control system of principal and subordinate's automated back-up switching
Technical field
The present invention relates to traffic signaling equipment field, more particularly to a kind of whistle control system of principal and subordinate's automated back-up switching.
Background technology
Traffic signaling equipment, as road traffic signal controller, is the important component of Traffic Systems, is city Road is normal orderly current to have played important function.The composition of traffic signaling equipment mainly includes master control borad, control panel, LCD and shown Display screen, communication interface plate, signal lamp driving plate, power panel and other patch panels etc..Wherein main control section is exactly Master control borad, master control borad is responsible for determining issuing for whole crossing control program, and is driven according to crossing control program control signal lamp Dynamic plate is accordingly controlled.
At present, what the existing semaphore of in the market was substantially used, which be all based on a master control borad mode, is controlled, its There is the deficiency of the following aspects:1st, when master control borad occurs abnormal, whole belisha beacon can not all work, and will so make Passed through into crossing disorder, influence crossing is passed through;2nd, after master control borad exception, safeguard that replacing renews master control borad, lead before The parameter for controlling plate is lost, it is necessary to reconfigure parameter;3rd, due to the state without monitoring master control borad, so in master control borad exception Afterwards, it is impossible to accomplish to be timely fed back to control centre, traffic police is caused to arrive in-situ processing in time abnormal;4th, master control borad and signal lamp Use single communication port between driving plate to be communicated, whole system can not normally coordinate work when communication line is abnormal Make.
The content of the invention
The technical problem to be solved in the present invention is that the drawbacks described above for prior art can be solved effectively there is provided one kind Whole system can not work and the problem of abnormal restoring needs to re-download configuration parameter when master control borad is abnormal, improve whole traffic The whistle control system of principal and subordinate's automated back-up switching of the stability and reliability of whistle control system.
The technical solution adopted for the present invention to solve the technical problems is:Construct a kind of signal of principal and subordinate's automated back-up switching Control system, including master board, one from master control borad, the first CAN, the second CAN and several signal lamps Driving plate, the master board is provided with the first CAN interface and the second CAN interface, described to be provided with the 3rd from control panel CAN interface and the 4th CAN interface, each signal lamp driving plate are equipped with the 5th CAN interface and the 6th CAN interface, first CAN interface, the 3rd CAN interface and the 5th CAN interface are all connected to described In first CAN, second CAN interface, the 4th CAN interface and the 6th CAN interface are all connected to institute State in the second CAN, the master board is also connected by serial ports with described from master board, each signal lamp driving Plate is also connected with corresponding signal lamp respectively, and the master board is by first CAN or the second CAN to described Signal lamp driving plate issues the state of Signalized control scheme or the collection signal lamp;
When the master board is monitored in first CAN, any one signal lamp driving plate can not normal communication When, then it is switched to second CAN and is communicated, is driven when monitoring any one signal lamp in second CAN Dynamic plate can not normal communication when, the master board by first CAN or the second CAN broadcast inform remaining Signal lamp driving plate enters acquiescence emergency plan pattern, the master board log and upper hair warning message;
When the master board, which detects first CAN, can not receive the signal of all signal lamp driving plates, Then it is switched to second CAN to be communicated, when can not also receive all signal lamp driving plates in second CAN Signal when, the master board by the serial ports inform it is described be controlled power switching from control panel, by Signalized control Power is controlled described in handing over to from control panel.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the master board includes main process task Device, the primary processor is connected in first CAN by first CAN interface, and the primary processor leads to Second CAN interface is crossed to be connected in second CAN;It is described from control panel include from processor, it is described from Processor is connected in first CAN by the 3rd CAN interface, described to pass through the described 4th from processor CAN interface is connected in second CAN.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, each signal lamp driving plate is equal Including drive control circuit, the drive control circuit is connected to first CAN by the 5th CAN interface On, the drive control circuit is connected in second CAN by the 6th CAN interface, the driving control Circuit processed is also connected with corresponding signal lamp.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the master board and from control panel Change by the way of hot plug.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the serial ports is that RS232 communications connect Mouth, RS422 communication interfaces or RS485 communication interfaces.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the flow bag of the master board Include:
A) the master board start completion initialization;
B) judge whether configuration file is effective, in this way, perform step D);Otherwise, step C is performed);
C) call config update sub-process to carry out configuration file renewal, perform step D);
D CAN monitoring subroutine) is performed, first CAN, the second CAN and all CAN nodes is monitored State, perform step E);
E) perform master board and interact sub-process from control panel;
F) master board issues control information to the signal lamp driving plate according to the Signalized control scheme;
G the state of the whistle control system of principal and subordinate's automated back-up switching) is monitored;
H) log information as requested.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the step C) further comprise:
C1) check configuration status and judge whether configuration is effective, in this way, update configuration information and carried out to described from control panel Backup, performs step C4);Otherwise, the configuration status from control panel is obtained by the serial ports, performs step C2);
C2) judge whether the configuration status from control panel is effective, in this way, obtain the configuration information from control panel And stored, perform step C3);Otherwise, alarm needs to carry out configuration parameter download by configuring client, performs step Rapid C4);
C3) put the master board configuration effective, perform step C4);
C4) return.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the step D) further comprise:
D1) first CAN is monitored, and judges whether first CAN is normal, in this way, uses First CAN is communicated, and performs step D2);Otherwise, the first CAN abnormal log is recorded, and is reported Alert prompting, performs step D3);
D2) inform that the signal lamp driving plate is switched to first CAN by first CAN broadcast, Perform step D7);
D3) second CAN is monitored, and judges whether second CAN is normal, in this way, uses Second CAN is communicated, and performs step D4);Otherwise, the second CAN abnormal log is recorded, and is reported Alert prompting, performs step D5);
D4) inform that the signal lamp driving plate is switched to second CAN by second CAN broadcast, Perform step D7);
D5) informed by the serial ports and described take over control, execution step D6 from control panel);
D6 CAN control) is discharged, step D7 is performed);
D7) return.
In the whistle control system that principal and subordinate's automated back-up of the present invention switches, the flow bag from control panel Include:
A ') described system initialization operation is carried out after start-up from control panel;
B ') the monitoring serial ports heartbeat message;
C ') judge whether heartbeat is normal, in this way, the master board according to the condition adjudgement of the master control borad of reception Situation, performs step D ');Otherwise, monitor first CAN and just whether the second CAN judge the master board Often, step D ' are performed);
D ') judge whether the master board is normal, in this way, it is controlled by the master board;Otherwise, to described One CAN is monitored, and performs step E ');
E ') judge whether first CAN is normal, in this way, communicated, performed using first CAN Step F ');Otherwise, the first CAN abnormal log is recorded, and carries out remote alarms, step G ' are performed);
F ') inform that the signal lamp driving plate is switched to first CAN by first CAN broadcast, Return to step B ');
G ') second CAN is monitored, perform step H ');
H ') judge whether second CAN is normal, in this way, communicated, performed using second CAN Step I ');Otherwise, the second CAN abnormal log is recorded, and carries out remote alarms, step J ' are performed);
I ') inform that the signal lamp driving plate is switched to second CAN by second CAN broadcast, Return to step B ');
J ') principal and subordinate's automated back-up switching whistle control system it is abnormal, into contingency mode, return to step B ').
Implement the whistle control system of principal and subordinate's automated back-up switching of the present invention, have the advantages that:Due to provided with One master board, one from master control borad, the first CAN, the second CAN and several signal lamp driving plates, work as master control Making sheet monitor in the first CAN any one signal lamp driving plate can not normal communication when, be switched to the second CAN and enter Row communication, when monitor in the second CAN any one signal lamp driving plate can not normal communication when, master board passes through the One CAN or the broadcast of the second CAN inform that remaining signal lamp driving plate enters acquiescence emergency plan pattern, master board Log and upper hair warning message;All signal lamp driving plates can not be received when master board detects the first CAN During signal, it is switched to the second CAN and is communicated, when can not also receives all signal lamp driving plates in the second CAN During signal, master board is informed from control panel by serial ports is controlled power switching, and Signalized control power is handed over to from control Plate is controlled, therefore whole system can not work when can effectively solve master control borad exception and abnormal restoring needs to re-download to match somebody with somebody The problem of putting parameter, improves the stability and reliability of whole traffic signal control system.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation in whistle control system one embodiment that principal and subordinate's automated back-up of the present invention switches;
Fig. 2 is the execution flow chart of master board in the embodiment;
Fig. 3 be the embodiment in call config update sub-process carry out configuration file renewal particular flow sheet;
Fig. 4 is execution CAN monitoring subroutine in the embodiment, monitors first CAN, the 2nd CAN total The particular flow sheet of the state of line and all CAN nodes;
Fig. 5 is the execution flow chart in the embodiment from control panel.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In the whistle control system embodiment that principal and subordinate's automated back-up of the present invention switches, the letter of principal and subordinate's automated back-up switching The structural representation of number control system is as shown in Figure 1.In Fig. 1, the whistle control system of principal and subordinate's automated back-up switching includes one Individual master board 1, one from master control borad 2, the first CAN CAN1, the second CAN CAN2 and several signal lamp driving plates 3, it is worth mentioning at this point that, a crossing may be included in multiple signal lamp driving plates 3, Fig. 1 lists two, signal as an example Lamp driving plate 3 is according to the Signalized control scheme control signal lamp (belisha beacon) received.
In the present embodiment, master board 1 is provided with the first CAN interface 11 and the second CAN interface 12, from control panel 2 are provided with the 3rd CAN interface 21 and the 4th CAN interface 22, and each signal lamp driving plate 3 is equipped with the 5th CAN The CAN interface 32 of interface 31 and the 6th, wherein, the first CAN interface 11, the 3rd CAN interface 21 and the 5th CAN are total Line interface 31 is all connected on the first CAN CAN1, the second CAN interface 12, the 4th CAN interface 22 and the 6th CAN interface 32 is all connected on the second CAN CAN2, and master board 1 is also connected by serial ports with from master board 2, Each signal lamp driving plate 3 is also connected with corresponding signal lamp respectively, and above-mentioned serial ports can be that RS232 communication interfaces, RS422 lead to Communication interface or RS485 communication interfaces etc., preferred RS232 communication interfaces in the present embodiment.Above-mentioned first CAN interface 11 and Two CAN interfaces 12 are master board 1, the communication link between control panel 2 and signal lamp driving plate 3, and master board 1 is led to Cross the first CAN CAN1 or the second CAN CAN2 and issue Signalized control scheme or collection signal to signal lamp driving plate 3 The state of lamp.
Under normal circumstances, master board 1 is communicated by the first CAN CAN1 with signal lamp driving plate 3, realizes letter Signal lamp control program issue and signal lamp state collection etc.;Master board 1 can regularly monitor every on the first CAN CAN1 The communication state of individual signal lamp driving plate 3, if it is confirmed that wherein any one signal lamp driving plate 3 on the first CAN CAN1 Can not normal communication, then sent by the first CAN CAN1 and be broadcast to other control system and be switched to the second CAN CAN2 Communicated, confirmed while sending broadcast message by the second CAN CAN2 to all signal lamp driving plates 3.
It is being switched to after the second CAN CAN2 communicated, is passing through between master board 1 and signal lamp driving plate 3 Two CAN CAN2 are communicated, and all transmissions of Signalized control scheme and the collection of signal lamp state are all based on Second CAN CAN2.Equally, master board 1 can regularly monitor each signal lamp driving plate 3 on the second CAN CAN2 Communication state, if it is determined that on the second CAN CAN2 wherein any one signal lamp driving plate 3 can not normal communication, then say Bright to communicate, there is exception in device line, and now master board 1 passes through the first CAN CAN1 or the second CAN CAN2 Broadcast informs that remaining signal lamp driving plate 3 enters acquiescence emergency plan pattern, and all drivings all can be according to default emergent control Molding formula carries out the control of signal lamp.Master board 1 is also by log information and upper hair warning message.Above-mentioned is control panel Under normal circumstances, master board 1 is directed to the CAN handover scheme in the case of the communication state for detecting signal lamp driving plate 3.
Illustrated below to master board 1 and from the switching of control panel 2.Under normal circumstances, master board 1 passes through first CAN CAN1 or the second CAN CAN2 are communicated with signal lamp driving plate 3, while by serial ports with entering from control panel 2 Row communication;Master board 1 and pass through serial ports timing from control panel 2 and send heartbeat message, and master board 1 can be by all configurations Information back-up portion is to from control panel 2, while operationally also can regularly send current demand signal lights control scheme as requested Information is to from control panel 2.It is same in addition to by keeping data interaction between serial ports and master board 1 from control panel 2, will also prison The situation of the first CAN CAN1 or second two buses of CAN CAN2 is controlled, in case when serial ports is abnormal, can determine master The state of control panel 1, it is ensured that Signalized control scheme will not be conflicted when sending.
The signal of all signal lamp driving plates 3 can not be received by the first CAN CAN1 when master board 1 is detected When, then it is switched to the second CAN CAN2 and is communicated, if can not equally receives institute in the second CAN CAN2 buses When having the signal of signal lamp driving plate 3, then informed by serial ports from control panel 2 and be controlled power switching, Signalized control is weighed Hand over to and be controlled from control panel 2.
When the heartbeat timeout from control panel 2 and master board 1, at the same from control panel 2 monitor the first CAN CAN1 or When the order of master board 1 is invalid on second CAN CAN2, then from the active obtaining CAN control of control panel 2, and And broadcast informs that all signal lamp driving plates 3 receive the data from control panel 2, all Signalized control schemes are with from control panel 2 What is sent is defined, while all status informations are all sent to from control panel 2.
After abnormal master board 1 is replaced with normal master board 1, from control panel 2 can automatic identification, and The configuration parameter for the whistle control system that current principal and subordinate's automated back-up is switched reverts to master board 2, while according to main control The bus self-inspection situation of plate 1, judges whether to need control right transfer to master board 1, if the self-inspection of master board 1 passes through, Then inform that the control of all signal lamp driving plates 3 is transferred into master board 1 from control panel 2 by broadcast transmission order, Signal lamp driving plate 3 is switched over according to order, is received the data of master board 1 and is transmitted data to destination address, cuts Change to master board 1.Master board 1 simultaneously will also send one and determine that information informs all CANs (the first CAN CAN1 and the second CAN CAN2) on node, now by the adapter control of master board 1.
The present invention can effectively improve system reliability, in the case where exception and no manual intervention occurs in master board 1 It can still automatically switch to and continue to control from control panel 2, it is ensured that crossing normal order;Master board 1 and automatic from control panel 2 Switching can effectively reduce fault rate, the automated back-up configuration parameter of master board 1 can effectively reduce maintenance cost and Maintenance difficulties.
In the present embodiment, master board 1 includes primary processor 13, and primary processor 13 is connected by the first CAN interface 11 It is connected on the first CAN CAN1, primary processor 13 is connected on the second CAN CAN2 by the second CAN interface 12; Include from control panel 2 from processor 23, the first CAN CAN1 is connected to from processor 23 by the 3rd CAN interface 21 On, it is connected to from processor 23 by the 4th CAN interface 22 on the second CAN CAN2.
In the present embodiment, each signal lamp driving plate 3 includes drive control circuit 33, and drive control circuit 33 passes through the Five CAN interfaces 31 are connected on the first CAN CAN1, and drive control circuit 33 is connected by the 6th CAN interface 32 It is connected on the second CAN CAN2, drive control circuit 33 is also connected with corresponding signal lamp.
Worth one is mentioned that, in the present embodiment, and master board 1 and the replacing from control panel 2 can use hot plug Mode, can so ensure change control panel when do not influence the normal operation of belisha beacon.
Fig. 2 is the execution flow chart of master board in the present embodiment, and in Fig. 2, the flow of master board includes:
Step S01 master boards start completion is initialized:In this step, the initialization of master board start completion.
Step S02 judges whether configuration file is effective:In this step, judge whether configuration file is effective, if it is determined that As a result it is yes, then performs step S04;Otherwise, step S03 is performed.
Step S03 calls config update sub-process to carry out configuration file renewal:If above-mentioned steps S02 judged result is No, i.e., configuration file is invalid, then performs this step.In this step, config update sub-process is called to carry out configuration file renewal.Hold Go this step, perform step S04.
Step S04 performs CAN monitoring subroutine, the first CAN of monitoring, the second CAN and all CAN nodes State:In this step, CAN monitoring subroutine, the first CAN of monitoring, the second CAN and all CAN sections are performed The state of point.
Step S05 performs master board and interacts sub-process from control panel:In this step, master board is performed and from control Plate interacts sub-process, including heartbeat message and Signalized control scheme information etc..
Step S06 master boards issue control information to signal lamp driving plate according to Signalized control scheme:In this step, Master board issues control information to signal lamp driving plate according to Signalized control scheme.
The state of the whistle control system of step S07 monitoring principal and subordinate automated back-up switchings:In this step, monitoring principal and subordinate is automatic Back up the state of the whistle control system of switching, including signal lamp state, driving board status, power supply status and communication state etc..
Step S08 log information as requested:In this step, log information as requested.Above-mentioned steps S01 It is that circulation is performed to step S08.
For the present embodiment, above-mentioned steps S03 can also be refined further, and the flow chart after it is refined is as shown in Figure 3. In Fig. 3, above-mentioned steps S03 further comprises:
Step S31 checks configuration status and judges whether configuration is effective:In this step, the configuration status of master board is checked And judge whether configuration effective, if it is determined that result be yes, then execution step S32;Otherwise, step S33 is performed.
Step S32 updates configuration information to be backed up to from control panel:If above-mentioned steps S31 judged result is yes, That is master board configuration is effective, then performs book step.In this step, update configuration information and backed up to from control panel.Hold Go this step, perform step S38.
Step S33 obtains the configuration status from control panel by serial ports:If above-mentioned steps S31 judged result is no, I.e. master board invalid configuration, then perform this step.In this step, the configuration status from control panel is obtained by serial ports, preferentially Configuration status from control panel is obtained by RS232 communication interfaces.This step has been performed, step S34 is performed.
Whether step S34 judges effective from the configuration status of control panel:In this step, the configuration status from control panel is judged Whether effectively, from control panel reduce before master board configuration information, if it is determined that result be yes, then perform step S36;Otherwise, step S35 is performed.
Step S35 alarms need to carry out configuration parameter download by configuring client:If above-mentioned steps S34's sentences Disconnected result is no, then performs this step.In this step, alarm needs to carry out under configuration parameter by configuring client Carry.This step has been performed, step S38 is performed.
Step S36 obtains the configuration information from control panel and stored:If above-mentioned steps S34 judged result is It is then to perform this step.In this step, alarm needs to carry out configuration parameter download by configuring client.Perform Step, performs step S37.
It is effective that step S37 puts master board configuration:In this step, master board configuration is put effective.This step has been performed, has been held Row step S38.
Step S38 is returned:In this step, return.
For the present embodiment, above-mentioned steps S04 can also be refined further, and the flow chart after it is refined is as shown in Figure 4. In Fig. 4, above-mentioned steps S04 further comprises:
Step S41 is monitored to the first CAN, and judges whether the first CAN is normal:In this step, this step In rapid, the first CAN is monitored, and judges whether the first CAN normal, if it is determined that result be yes, then hold Row step S42;Otherwise, step S44 is performed.
Step S42 is communicated using the first CAN:If above-mentioned steps S41 judged result is yes, sheet is performed Step.In this step, communicated using the first CAN.This step has been performed, step S43 is performed.
Step S43 informs that signal lamp driving plate is switched to the first CAN by the broadcast of the first CAN:In this step, Inform that signal lamp driving plate is switched to the first CAN by the broadcast of the first CAN, performed this step, performed step S51。
Step S44 records the first CAN abnormal log, and carries out alarm:If above-mentioned steps S41 judgement knot Fruit is yes, then performs this step.In this step, the first CAN abnormal log is recorded, and carry out alarm.Perform Step, performs step S45.
Step S45 is monitored to the second CAN, and judges whether the second CAN is normal:In this step, to Two CANs are monitored, and judge whether the second CAN normal, if it is determined that result be yes, then perform step S46; Otherwise, step S48 is performed.
Step S46 is communicated using the second CAN:If above-mentioned steps S45 judged result is yes, sheet is performed Step.In this step, communicated using the second CAN.This step has been performed, step S47 is performed.
Step S47 informs that signal lamp driving plate is switched to the second CAN by the broadcast of the second CAN:In this step, Inform that signal lamp driving plate is switched to the second CAN by the broadcast of the second CAN.This step has been performed, step is performed S51。
Step S48 records the second CAN abnormal log, and carries out alarm:If above-mentioned steps S45 judgement knot Fruit is no, then performs this step.In this step, the second CAN abnormal log is recorded, and carry out alarm.Perform Step, performs step S49.
Step S49 is informed from control panel by serial ports takes over control:In this step, informed by serial ports from control panel Take over control.
Step S50 discharges CAN control:In this step, CAN control is discharged.
Step S51 is returned:In this step, return.
Above-mentioned steps S41 to step S51 illustrates how total according to the first CAN CAN1 and the 2nd CAN master board is Line CAN2 state, switches over and obtains to CAN and discharge CAN controls.
Fig. 5 be in the present embodiment from the execution flow chart of control panel, Fig. 5, include from the flow of control panel:
Step S01 ' carry out system initialization operation after start-up from control panel:In this step, starting from control panel System initialization operation is carried out afterwards.
The heartbeat message of step S02 ' monitoring serial ports:In this step, the heartbeat message of monitoring serial port, that is, pass through The state of RS232 communication port condition monitoring master boards.
Step S03 ' judge whether heartbeat is normal:In this step, judge whether heartbeat normal, if it is determined that result be It is then to perform step S05 ';Otherwise, step S04 ' are performed.
Step S04 ' monitor the first CAN and the second CAN judges whether master board is normal:If above-mentioned steps S03 ' judged result is no, then performs this step.In this step, the first CAN of monitoring and the second CAN judge master control Whether making sheet is normal.This step has been performed, step S06 ' are performed.
Step S05 ' are according to the situation of the condition adjudgement master board of the master control borad of reception:If above-mentioned steps S04 ''s sentences Disconnected result is yes, then performs this step.In this step, according to the situation of the condition adjudgement master board of the master control borad of reception.Hold Go this step, perform step S06 '.
Step S06 ' judge whether master board is normal:In this step, judge whether master board is normal, if it is determined that As a result it is yes, then performs step S07 ';Otherwise, step S08 ' are performed.
Step S07 ' are controlled by master board:If above-mentioned steps S06 ' judged result is yes, this step is performed Suddenly.In this step, it is controlled by master board.
Step S08 ' are monitored to the first CAN:If above-mentioned steps S06 ' judged result is no, sheet is performed Step.In this step, the first CAN is monitored.This step has been performed, step S09 ' are performed.
Step S09 ' judge whether the first CAN is normal:In this step, judge whether the first CAN is normal, if The result judged is yes, then performs step S10 ';Otherwise, step S12 ' are performed.
Step S10 ' are communicated using the first CAN:If above-mentioned steps S09 ' judged result is yes, perform This step.In this step, communicated using the first CAN.This step has been performed, step S11 ' are performed.
Step S11 ' inform that signal lamp driving plate is switched to the first CAN by the broadcast of the first CAN:This step In, inform that signal lamp driving plate is switched to the first CAN by the broadcast of the first CAN.This step, return to step are performed S02 '.
Step S12 ' record the first CAN abnormal log, and carry out remote alarms:What if above-mentioned steps S09 ' judged As a result it is no, then performs this step.In this step, the first CAN abnormal log is recorded, and carry out remote alarms.Perform This step, performs step S13 '.
Step S13 ' are monitored to the second CAN:In this step, the second CAN is monitored.Perform Step, performs step S14 '.
Step S14 ' judge whether the second CAN is normal:In this step, judge whether the second CAN is normal, if The result judged is yes, then performs step S15 ';Otherwise, step S17 ' are performed.
Step S15 ' are communicated using the second CAN:If above-mentioned steps S14 ' judged result is yes, perform This step.In this step, communicated using the second CAN.This step has been performed, step S16 ' are performed.
Step S16 ' inform that signal lamp driving plate is switched to the second CAN by the broadcast of the second CAN:This step In, inform that signal lamp driving plate is switched to the second CAN by the broadcast of the second CAN.This step, return to step are performed S02 '.
Step S17 ' record the second CAN abnormal log, and carry out remote alarms:If above-mentioned steps S14 ' judgement As a result it is no, then performs this step.In this step, the second CAN abnormal log is recorded, and carry out remote alarms.Perform This step, performs step S18 '.
The whistle control system of step S18 ' principals and subordinates automated back-up switching is abnormal, into contingency mode:In this step, principal and subordinate The whistle control system of automated back-up switching is abnormal, into contingency mode.This step, return to step S02 ' are performed.This implementation Example can be according to the state of the state, the first CAN and the second CAN of master board, it is determined whether adapter bus marco Power, then performs Signalized control after control is obtained, while recover normal in master board performs parameter reduction behaviour afterwards Make etc..
In a word, the present invention realizes dual control fabrication handoff functionality using master board and by the way of control panel;Master board All communicated with from control panel using two-way CAN bus with signal lamp driving plate;Master board and between control panel preferably Communicated using RS232 communication interfaces, realize control information synchronization and complete heartbeat monitor.Master board and all may be used from control panel Individually to monitor the communication state of bus apparatus in the first CAN and the second CAN;Master board and all have from control panel There is hot drawing plugging function, and master board and the hot-swap from control panel can be realized.Therefore master control borad can effectively be solved abnormal When whole system can not work and the problem of abnormal restoring needs to re-download configuration parameter, improve whole traffic signalization system The stability and reliability of system.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (9)

1. a kind of whistle control system of principal and subordinate's automated back-up switching, it is characterised in that including a master board, one from master Plate, the first CAN, the second CAN and several signal lamp driving plates are controlled, the master board is provided with the first CAN Interface and the second CAN interface, it is described to be provided with the 3rd CAN interface and the 4th CAN interface, Mei Gesuo from control panel State signal lamp driving plate and be equipped with the 5th CAN interface and the 6th CAN interface, first CAN interface, the 3rd CAN interface and the 5th CAN interface are all connected in first CAN, second CAN interface, Four CAN interfaces and the 6th CAN interface are all connected in second CAN, and the master board also passes through string Mouth is connected with described from master board, and each signal lamp driving plate is also connected with corresponding signal lamp respectively, the master control Making sheet issues Signalized control scheme to the signal lamp driving plate by first CAN or the second CAN or adopted Collect the state of the signal lamp;
When the master board monitor in first CAN any one signal lamp driving plate can not normal communication when, Then it is switched to second CAN to be communicated, when monitoring any one signal lamp driving plate in second CAN Can not normal communication when, the master board by first CAN or the second CAN broadcast inform remaining signal Lamp driving plate enters acquiescence emergency plan pattern, the master board log and upper hair warning message;
When the master board, which detects first CAN, can not receive the signal of all signal lamp driving plates, then cut Change to second CAN to be communicated, when can not also receive the letter of all signal lamp driving plates in second CAN Number when, the master board by the serial ports inform it is described be controlled power switching from control panel, Signalized control is weighed and moved It is controlled described in being sent to from control panel.
2. the whistle control system of principal and subordinate's automated back-up switching according to claim 1, it is characterised in that the main control Plate includes primary processor, and the primary processor is connected in first CAN by first CAN interface, institute Primary processor is stated to be connected in second CAN by second CAN interface;It is described to include from control panel from Device is managed, it is described to be connected to from processor by the 3rd CAN interface in first CAN, it is described from processor It is connected to by the 4th CAN interface in second CAN.
3. the whistle control system of principal and subordinate's automated back-up switching according to claim 1 or 2, it is characterised in that Mei Gesuo Stating signal lamp driving plate includes drive control circuit, and the drive control circuit is connected by the 5th CAN interface Onto first CAN, the drive control circuit is connected to the 2nd CAN by the 6th CAN interface In bus, the drive control circuit is also connected with corresponding signal lamp.
4. the whistle control system of principal and subordinate's automated back-up switching according to claim 3, it is characterised in that the main control Plate and changing by the way of hot plug from control panel.
5. the whistle control system of principal and subordinate's automated back-up according to claim 1 switching, it is characterised in that the serial ports is RS232 communication interfaces, RS422 communication interfaces or RS485 communication interfaces.
6. the whistle control system of principal and subordinate's automated back-up switching according to claim 1, it is characterised in that the main control The flow of plate includes:
A) the master board start completion initialization;
B) judge whether configuration file is effective, in this way, perform step D);Otherwise, step C is performed);
C) call config update sub-process to carry out configuration file renewal, perform step D);
D CAN monitoring subroutine) is performed, the shape of first CAN, the second CAN and all CAN nodes is monitored State, performs step E);
E) perform master board and interact sub-process from control panel;
F) master board issues control information to the signal lamp driving plate according to the Signalized control scheme;
G the state of the whistle control system of principal and subordinate's automated back-up switching) is monitored;
H) log information as requested.
7. the whistle control system of principal and subordinate's automated back-up switching according to claim 6, it is characterised in that the step C) Further comprise:
C1) check configuration status and judge whether configuration is effective, in this way, update configuration information standby from control panel progress described in Part, perform step C4);Otherwise, the configuration status from control panel is obtained by the serial ports, performs step C2);
C2) judge whether the configuration status from control panel is effective, in this way, gone forward side by side described in acquisition from the configuration information of control panel Row storage, performs step C3);Otherwise, alarm needs to carry out configuration parameter download by configuring client, performs step C4);
C3) put the master board configuration effective, perform step C4);
C4) return.
8. the whistle control system of principal and subordinate's automated back-up switching according to claim 6 or 7, it is characterised in that the step Rapid D) further comprise:
D1) first CAN is monitored, and judges whether first CAN is normal, in this way, using described First CAN is communicated, and performs step D2);Otherwise, the first CAN abnormal log is recorded, and carries out alarm and is carried Show, perform step D3);
D2) inform that the signal lamp driving plate is switched to first CAN by first CAN broadcast, perform Step D7);
D3) second CAN is monitored, and judges whether second CAN is normal, in this way, using described Second CAN is communicated, and performs step D4);Otherwise, the second CAN abnormal log is recorded, and carries out alarm and is carried Show, perform step D5);
D4) inform that the signal lamp driving plate is switched to second CAN by second CAN broadcast, perform Step D7);
D5) informed by the serial ports and described take over control, execution step D6 from control panel);
D6 CAN control) is discharged, step D7 is performed);
D7) return.
9. according to claim 6 or 7 principal and subordinate's automated back-up switching whistle control system, it is characterised in that it is described from The flow of control panel includes:
A ') described system initialization operation is carried out after start-up from control panel;
B ') the monitoring serial ports heartbeat message;
C ') judge whether heartbeat is normal, in this way, the feelings of master board according to the condition adjudgement of the master control borad of reception Condition, performs step D ');Otherwise, monitor first CAN and the second CAN judge whether the master board is normal, Perform step D ');
D ') judge whether the master board is normal, in this way, it is controlled by the master board;Otherwise, to described first CAN is monitored, and performs step E ');
E ') judge whether first CAN is normal, in this way, communicated using first CAN, perform step F ');Otherwise, the first CAN abnormal log is recorded, and carries out remote alarms, step G ' are performed);
F ') inform that the signal lamp driving plate is switched to first CAN by first CAN broadcast, return Step B ');
G ') second CAN is monitored, perform step H ');
H ') judge whether second CAN is normal, in this way, communicated using second CAN, perform step I ');Otherwise, the second CAN abnormal log is recorded, and carries out remote alarms, step J ' are performed);
I ') inform that the signal lamp driving plate is switched to second CAN by second CAN broadcast, return Step B ');
J ') principal and subordinate's automated back-up switching whistle control system it is abnormal, into contingency mode, return to step B ').
CN201710312501.7A 2017-05-05 2017-05-05 The whistle control system of principal and subordinate's automated back-up switching Active CN106971586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710312501.7A CN106971586B (en) 2017-05-05 2017-05-05 The whistle control system of principal and subordinate's automated back-up switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710312501.7A CN106971586B (en) 2017-05-05 2017-05-05 The whistle control system of principal and subordinate's automated back-up switching

Publications (2)

Publication Number Publication Date
CN106971586A true CN106971586A (en) 2017-07-21
CN106971586B CN106971586B (en) 2019-11-26

Family

ID=59332018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710312501.7A Active CN106971586B (en) 2017-05-05 2017-05-05 The whistle control system of principal and subordinate's automated back-up switching

Country Status (1)

Country Link
CN (1) CN106971586B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109162818A (en) * 2018-10-31 2019-01-08 潍柴动力股份有限公司 A kind of control system of engine, control method and engine
CN111148331A (en) * 2019-12-26 2020-05-12 珠海雷特科技股份有限公司 ArtNet light control system with offline synchronous playing function and control method
CN111984471A (en) * 2020-08-14 2020-11-24 苏州浪潮智能科技有限公司 Cabinet power BMC redundancy management system and method
US20230095544A1 (en) * 2021-09-24 2023-03-30 Fujifilm Business Innovation Corp. Control device, image forming apparatus, and non-transitory computer readable medium storing control program

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879308Y (en) * 2005-12-01 2007-03-14 张永军 New traffic signal machine
CN200990401Y (en) * 2006-05-12 2007-12-12 上海神力科技有限公司 Double-machine redundancy control system based on CAN bus
CN101477748A (en) * 2009-01-19 2009-07-08 深圳市同洲电子股份有限公司 Traffic condition management method and system
CN201270093Y (en) * 2008-09-27 2009-07-08 连云港杰瑞电子有限公司 Distributed road traffic signal control system
JP2009193459A (en) * 2008-02-15 2009-08-27 Toshiba Corp Traffic signal controller
CN201387666Y (en) * 2009-02-27 2010-01-20 上海宝康电子控制工程有限公司 Traffic control system with master/slave computer collision detection
JP2011129089A (en) * 2009-12-21 2011-06-30 Korea Electronics Telecommun Control device and method for active idle stop of route bus
CN201918021U (en) * 2010-10-13 2011-08-03 金跃利 Traffic light control system
CN102194322A (en) * 2011-03-17 2011-09-21 生茂光电科技股份有限公司 Signal lamp circuit of mobile traffic post
CN202352081U (en) * 2011-09-30 2012-07-25 哈尔滨工业大学 Intelligent traffic light control system based on wireless sensor network
CN102692912A (en) * 2012-06-11 2012-09-26 成都瑞特数字科技有限责任公司 Onsite-level low-cost redundancy measuring and controlling network based on wired and wireless hot spare redundancy communication
CN103019218A (en) * 2012-12-26 2013-04-03 北京国铁路阳技术有限公司 Railway signal device utilizing dual-CPU (central processing unit) redundancy and control method of railway signal device
CN203038470U (en) * 2012-10-12 2013-07-03 段宏伟 Dual-computer hot-standby traffic signal lamp control system
JP2013137742A (en) * 2011-10-26 2013-07-11 Daiwa:Kk Display device
CN103247182A (en) * 2013-04-26 2013-08-14 青岛海信网络科技股份有限公司 Traffic signal controller and signal light control method thereof
CN203149848U (en) * 2013-02-04 2013-08-21 陈斌 Signal detection control device and traffic signal fault automatic inspection system
CN103345845A (en) * 2013-06-15 2013-10-09 汕头市鼎安电子科技有限公司 Traffic signal control system with self-healing function
CN103680156A (en) * 2013-04-08 2014-03-26 沈阳广信先锋交通高技术有限公司 Multi-agent traffic signal control system
CN103971532A (en) * 2013-02-04 2014-08-06 北京桓润世嘉科技有限公司 Signal detection and control equipment and traffic signal failure automatic inspection system

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879308Y (en) * 2005-12-01 2007-03-14 张永军 New traffic signal machine
CN200990401Y (en) * 2006-05-12 2007-12-12 上海神力科技有限公司 Double-machine redundancy control system based on CAN bus
JP2009193459A (en) * 2008-02-15 2009-08-27 Toshiba Corp Traffic signal controller
CN201270093Y (en) * 2008-09-27 2009-07-08 连云港杰瑞电子有限公司 Distributed road traffic signal control system
CN101477748A (en) * 2009-01-19 2009-07-08 深圳市同洲电子股份有限公司 Traffic condition management method and system
CN201387666Y (en) * 2009-02-27 2010-01-20 上海宝康电子控制工程有限公司 Traffic control system with master/slave computer collision detection
JP2011129089A (en) * 2009-12-21 2011-06-30 Korea Electronics Telecommun Control device and method for active idle stop of route bus
CN201918021U (en) * 2010-10-13 2011-08-03 金跃利 Traffic light control system
CN102194322A (en) * 2011-03-17 2011-09-21 生茂光电科技股份有限公司 Signal lamp circuit of mobile traffic post
CN202352081U (en) * 2011-09-30 2012-07-25 哈尔滨工业大学 Intelligent traffic light control system based on wireless sensor network
JP2013137742A (en) * 2011-10-26 2013-07-11 Daiwa:Kk Display device
CN102692912A (en) * 2012-06-11 2012-09-26 成都瑞特数字科技有限责任公司 Onsite-level low-cost redundancy measuring and controlling network based on wired and wireless hot spare redundancy communication
CN203038470U (en) * 2012-10-12 2013-07-03 段宏伟 Dual-computer hot-standby traffic signal lamp control system
CN103019218A (en) * 2012-12-26 2013-04-03 北京国铁路阳技术有限公司 Railway signal device utilizing dual-CPU (central processing unit) redundancy and control method of railway signal device
CN203149848U (en) * 2013-02-04 2013-08-21 陈斌 Signal detection control device and traffic signal fault automatic inspection system
CN103971532A (en) * 2013-02-04 2014-08-06 北京桓润世嘉科技有限公司 Signal detection and control equipment and traffic signal failure automatic inspection system
CN103680156A (en) * 2013-04-08 2014-03-26 沈阳广信先锋交通高技术有限公司 Multi-agent traffic signal control system
CN103247182A (en) * 2013-04-26 2013-08-14 青岛海信网络科技股份有限公司 Traffic signal controller and signal light control method thereof
CN103345845A (en) * 2013-06-15 2013-10-09 汕头市鼎安电子科技有限公司 Traffic signal control system with self-healing function

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李妮: "城市交通信号机的冗余方案研究", 《万方数据》 *
王冠凌: "基于无线技术的交通灯系统设计", 《工业仪表与自动化装置》 *
邹细勇: "交通信号灯系统中的故障监控设计", 《万方数据》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109162818A (en) * 2018-10-31 2019-01-08 潍柴动力股份有限公司 A kind of control system of engine, control method and engine
CN111148331A (en) * 2019-12-26 2020-05-12 珠海雷特科技股份有限公司 ArtNet light control system with offline synchronous playing function and control method
CN111984471A (en) * 2020-08-14 2020-11-24 苏州浪潮智能科技有限公司 Cabinet power BMC redundancy management system and method
CN111984471B (en) * 2020-08-14 2022-11-25 苏州浪潮智能科技有限公司 Cabinet power BMC redundancy management system and method
US20230095544A1 (en) * 2021-09-24 2023-03-30 Fujifilm Business Innovation Corp. Control device, image forming apparatus, and non-transitory computer readable medium storing control program

Also Published As

Publication number Publication date
CN106971586B (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN106971586B (en) The whistle control system of principal and subordinate's automated back-up switching
CN1536819B (en) Method for implementing dual location in next network
CN100407646C (en) Method for realizing data service backup
CN103941633B (en) PLC redundancy control method and system
CN101546187B (en) Redundant PLC system
CN101373990B (en) Method and apparatus for link backup
CN101317379A (en) Service take-over method based on equipment disaster tolerance, service switching equipment and backup machine
CN106941424B (en) Redundancy switching method and device based on TTDP protocol
WO2012126219A1 (en) Roadside identifier station and method for primary/standby roadside unit switching
CN101110609A (en) Method and system for implementing communication of main and standby module
CN104394240B (en) A kind of train passenger information system hangs together solution hanging method
CN100395962C (en) Method and system for equipment switching in communication system
KR100433667B1 (en) Apparatus for and method of remotely controlling variable message sign board
CN1855838B (en) Interface inverting method
CN101553004B (en) System and method for sharing resources in mobile communication system
CN101667863A (en) Device and method for enhancing channel alarm triggering in multiplex section shared ring net protection
CN209593485U (en) A kind of AIoT equipment, a kind of Internet of Things network control system
CN102917388B (en) Self-repairing method for base stations, cut-through management and control device, cluster head base station and communication system
US20140371930A1 (en) Energy distribution network
JP3165372B2 (en) Load control monitoring system
JP2884664B2 (en) Modem switching method
JPH11234221A (en) Operation control panel device for train radio equipment and control method therefor
CN101399850A (en) Method for controlling process of application server and system thereof
JPH09162976A (en) Method for controlling module operation state of distributed processing system
CN106533938A (en) Wireless router having service protection function and working method thereof

Legal Events

Date Code Title Description
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