Summary of the invention
The purpose of this invention is to provide a kind of computer interlock system, some design philosophy of this system can overcome the defective of active computer interlock system recited above.
DS6-11 type computer interlock system adopts industrial control computer, the embedded type CPU control system with high reliability, and the utilization network communications technology constitutes the multiple machine distributing control system.Computer interlock system of the present invention comprises: control desk subsystem, interlocking machine subsystem, input subsystem, output subsystem, monitoring subsystem and the network service subsystem that connects each subsystem.Wherein, input subsystem and output subsystem are responsible for the state acquisition and the device drives of field apparatus, and they couple together by network service subsystem and interlocking machine subsystem, and with upwards transmission of image data, the control result who accepts to calculate is also carried out; The interlocking machine subsystem is the core of total system, and the interlocking software of its operation is analyzed computing to the data of field, whole station, sends various control commands according to the principle of fault-safety; The man-machine interaction of control desk subsystem responsible; Monitoring subsystem is then to whole station field data with manual operation is write down and playback.
The total system structure is shown in Fig. 1 " DS6-11 type computer interlock hardware system pie graph ".Wherein the computing machine of control desk subsystem, interlocking machine subsystem, monitoring subsystem employing is a PC bus industrial control microcomputer; What input subsystem, output subsystem adopted is PC104 bus embedded type industrial computer, and cabinet and power supply are integral structure, have the ability and the obstacle overcome ability of good adaptation industry spot environment.Each subsystem connects by multitiered network, and wherein upper wire is made of the two nets of ARCNET, and sharing of responsible various service contaminations is connected with the A machine of interlocking, interlocking B machine, the apparent A machine of control, the apparent B machine of control and monitoring machine; Lower net by two respectively independently the double-redundancy CAN net constitute, be responsible for the download with control command of uploading of image data, connect interlocking A (or B) machine, input A (or B) extension set and output A (or B) extension set, the CAN Network Transfer Media adopts optical cable.
Interlocking subsystem of the present invention is made of industrial control computer, abbreviates interlocking machine as, is divided into the A machine and becomes the two-node cluster hot backup form with B mechanism.Interlocking machine is obtained the on-site signal equipment state that input subsystem is gathered by the CAN of lower floor network and input subsystem real-time Communication for Power; Receive the operational order of the man-machine interface that the control desk subsystem sends by upper strata ARCNET net, the computing of interlocking produces output command; By the CAN of lower floor network and output subsystem real-time Communication for Power, drive relay by output subsystem, realize control to track switch and signal and velocity encoded cine relay.
The control desk subsystem shows that by the control of two redundancies computing machine (be called for short control and show machine), driving control desk, a display equipment of standing, control show transfer trunk and form, control shows machine and communicates by ARCNET redundant network and interlocking machine and monitoring equipment, to interlocking machine sending console operational order, from information such as interlocking machine acception station field device information, route state, operation indicating and warnings, and the drive pattern telltale shows relevant information, simultaneously push-botton operation information is sent to monitoring unit, be used for monitoring and record.The apparent transfer trunk of control is transferred to video, mouse, the voice lines of two apparent machines outputs of control on the driving control desk and field, station display equipment of control cabin, and realizes automaticallying switch between them according to the impulse singla that the apparent machine of control sends.
Monitoring subsystem plays a part the change information of record, printing signal facility switching amount, so that offer help for the maintainer.Monitoring subsystem comprises monitoring unit and chopping machine.Monitoring unit shows machine reception push-botton operation information by the ARCNET network service on upper strata from controlling, from interlocking machine received signal equipment state, system outlet order, input/output port state, system failure alarm message etc.Monitoring subsystem can also be by Ethernet interface realization and dispatching monitor system and Long-Range Surveillance System on-line communication, and the operation conditions of the computer interlock system of realizing in the control center respectively standing monitors.
In contrast to other ripe relatively application, whole computer interlock system has carried out very big improvement on structure, mode of operation and the network service subsystem of IOS.This point is emphasized in claim to some extent.
The network service subsystem is made up of the communication software and the network service line that are distributed in interlocking subsystem, the apparent subsystem of control, monitoring subsystem, input subsystem, the output subsystem.The network service subsystem comprises upper layer network and lower floor's network, described upper layer network is made of the two nets (A net and B net) of ARCNET, its will interlock A machine, interlocking B machine, control shows that A machine, control show the B machine, monitoring machine links together, and the control information in the transmission system between them; Described lower floor network by two difference independently double-redundancy CAN net (A net and B net) constitute, its will interlock A (or B) machine, input A (or B) extension set and output A (or B) extension set links together, lower floor's network layer network that makes progress is carried Information Monitoring, obtains control information and two-shipper synchrodata from upper layer network.
Adopt CAN bus fibre signalling methods between interlocking machine and the input and output extension set.Each extension set all is equipped with embedded type CPU control system and CAN network interface card, connects with optical fiber between network interface card, adopts the CAN2.0A agreement, and carries out data transmission between the interlocking machine.This mode has strengthened anti-interference resistance and the stability in the transmission course greatly, thereby has guaranteed the reliability and the safety of system.For the network architecture that makes communication is optimized more, between interlocking machine and each extension set, increased CAN ferry optics comunication concentrator, improved network extensibility.
The control computer that input, output subsystem adopt is a PC104 bus embedded type industrial computer, and cabinet and power supply are integral structure, have the ability and the obstacle overcome ability of good adaptation industry spot environment.All IO interface of system all realize the electrical isolation of computer equipment and field apparatus through photoelectrical coupler, can prevent the electric interference from on-the-spot aspect effectively.Input subsystem adopts dynamic input mode collection to be connected to the relay node state of field apparatus, utilizes state encoding to represent the input information that collects.Distinguish described on-position of a relay for described state encoding with enough big code distance, thereby learn the various information of field apparatus, improved the accuracy of Information Monitoring.The dynamic pulse mode is adopted in the output of output subsystem, and have that OPADD latchs and reads back check, output data latch and read back check, driving data is read back check function (seeing the specific embodiment).
The specific embodiment
Referring now to description of drawings the preferred embodiments of the present invention.Yet the present invention can be permitted with how different formal representations, and should not limit the invention to accurate form disclosed herein; More accurately, the embodiment that herein provides is intended to thoroughly and intactly openly the present invention, and intactly passes on scope of the present invention to those skilled in the art.
A kind of computer interlock system of the present invention is that two-shipper dynamic redundancy heat is equipped with system, and two All-China Federation of Taiwan Compatriots's lock machines can active and standby each other machine.Interlocking machine has three kinds of states: promptly mode of operation, heat are equipped with state and cold machine state.The mode of operation of two-shipper is: according to power-up sequence, what at first put into operation is working machine automatically, and what dropped into the back is hot standby host.Automatic state out of service behind the working machine et out of order in service, hot standby host transfers working machine automatically to.In order to satisfy the handling labor needs, system provides artificial two-shipper switching command, and the on-site signal equipment state is unaffected in the handoff procedure.
The gordian technique that constitutes Dual-Computer Hot-Standby System is the synchronous and switching control problem of two-shipper.The native system reserve machine puts into operation and working machine realizes that synchronous process is: reserve machine at first sends synchronization request to working machine, and working machine accepts request, and by network service intermediateness information is sent to reserve machine.After reserve machine received the intermediate information that working machine sends, oneself set up intermediate data.After reserve machine confirmed that intermediate data received normally in continuous 3 seconds, reserve machine can enter heat and be equipped with state.The interlocking machine subsystem has automatic switchover and manual switching dual mode.Automatic switchover realizes by self-checking function.When system's trace routine detects system's operation exception or equipment some fault takes place, will make interlocking machine out of service.If fault occurs in working machine, then two-shipper automaticallyes switch, and reserve machine becomes working machine; If the reserve machine et out of order is out of service automatically.If the fault machine withdraws from because of the IO fault, by software control poll is carried out in the trouble point, can enter heat after the pending fault reparation automatically and be equipped with state; If the fault machine withdraws from because of other fault, can shut down maintenance, after pending fault is got rid of,, enter heat through above-mentioned synchronizing process and be equipped with state by manual reset.Manual switching can be engaged in the attendant confirming that another interlocking machine after heat is equipped with state, manually cuts out localpower by electricity, realizes manual switching.
Lower floor's network of DS6-11 by two respectively independently the double-redundancy CAN net constitute, be responsible for the download with control command of uploading of image data, connect interlocking A (or B) machine, input A (or B) extension set and output A (or B) extension set, input, output subsystem and interlocking subsystem all are equipped with the CAN network communications adapter, use the hub of multimode optical fiber connection mode, adopt the CAN bus communication protocol.Between the computing machine of the computing machine of IOS and interlocking subsystem, realize the actv. electrical isolation, thereby improved anti-electromagnetic interference of system and anti-lightning strike performance.
By CAN network connection diagram shown in Figure 2, optical fiber interface CAN network communications adapter is set in interlocking machine and input extension set and output on the extension set, on the multimode shaven head of realizing opto-electronic conversion is arranged.All optical fiber unifications are wired to CAN ferry optics comunication concentrator, pass through optical fiber bonded assembly communication structure between done subsystem and between subsystem and the interlock system, and each CAN network communications adapter is as a node in the CAN network of living in.CAN ferry optics comunication concentrator itself is the hinge that a photosignal is concentrated conversion, this concentrator connection mode can need not adopt stelliform connection topology configuration between interlocking machine and input and output extension set, therefore saved a large amount of CAN network communications adapters, also make the CAN network that very big extensibility has been arranged, the installation on the engineering is also more simple.The system control cpu of each extension set or interlocking machine as the CAN node of network before data transmission, the regulation of abideing by CAN2.0A communication protocol, pack the data to frame, carry out opto-electronic conversion again, arrive other destination nodes by fiber medium then, carry out opto-electronic conversion once more, just obtain original transmission data after removing unnecessary message information.
The IOS of DS6-11 computer interlock system adopts Based Intelligent Control, have backpack power module and embedded type CPU control system, the former is by conversion 30V direct supply, for the circuit in the subsystem provides 5V power supply, the latter adopts the control of PC104 bus embedded type industrial computer to gather or driving circuit, the output information that receives by network service, form output voltage, current control field apparatus through the circuit conversion of output board, himself program realizes self check and carries out information interaction with the upper strata interlocking.
It is 5V signal input computing machine with the 30V signal transition of relay node input that input subsystem uses photoelectricity isolation tablet.Every block of light has 48 tunnel inputs on tablet, the front end of circuit card is provided with the luminotron indicator lamp, indicates the mode of operation of each road circuit.The input extension set adopts bus organization, and various templates are by the total wire joint communication of negative.Shown in Fig. 3 input subsystem cabinet shape assumption diagram: the positive left side of cabinet is risen and is inserted CPU board, state encoding plate and 14 block message collection plates successively.The cabinet back is furnished with various sockets, power supply, I/O, grid line and the lightning protection ground wire in the external world can be drawn by these sockets and receive cabinet inside.Input subsystem adopts dynamic input mode to gather input information with state encoding, and each input object only takies an input interface, can reduce the quantity of input interface to a great extent.For example, only need an input interface just can gather the state of DBJ, two relays of FBJ for one group of track switch.For the signal of expression with a kind of different conditions of equipment, the present invention adopts the signal encoding design plan with enough big code distance.These signals are delivered on the front contact or back contact of expression relay of corresponding device, and input interface reads in signal from the intermediate contact of corresponding relay, takes back light on tablet by cable.This input mode can be checked the fault of input interface effectively, as swinging cross, broken string and string sign indicating number, guarantees the reliability of input information.For example when certain acquisition interface swinging cross (with direct current 30V or other status codes), this interface will be gathered less than correct coding (collect and stablize data or mess code), thereby be easy to judge the acquisition interface fault.Every All-China Federation of Taiwan Compatriots lock machine comprises a light every the state plate, in order to produce 15 kinds of different status codes (being represented by 8 impulse singlas).15 kinds of status codes of Shi Yonging are defined as follows in the present invention:
Status code 1 (ZT1): expression track switch location;
Status code 2 (ZT2): expression track switch antiposition;
Status code 3 (ZT3): expression track clear;
Status code 4 (ZT4): expression orbit occupancy;
Status code 5 (ZT5): the expression shunting signal is open;
Status code 6 (ZT6): the expression shunting signal is closed;
Status code 7 (ZT7): the open green light of expression train signal;
Status code 8 (ZT8): the expression train signal is closed (red light);
Status code 9 (ZT9): the open single amber light of expression train signal;
Status code 10 (ZT10): the open two amber lights of expression train signal;
Status code 11 (ZT11): expression departures signal at clear is two green or home signal is open greenish-yellow;
Status code 12 (ZT12): the open guiding of expression home signal;
Status code 13 (ZT13): expression track switch four is opened or the signal filament burn out;
Status code 14 (ZT14): allow to handle relay and fall;
Status code 15 (ZT15): allow to handle relay energized;
Other scattered relay, as: the state of JSBJ, FSBJ, ZCJ, ZJ is represented to fall with ZT14, and ZT15 represents to pick up.
The detector switch state is represented switch running state at the scene with ZT14, represents that with ZT15 switch is in test mode.
The state plate sends to state encoding with field apparatus and uses on the node of cable bonded assembly relay front and back, different conditions according to field apparatus, the intermediate node of various relays picks up or falls, form different loops, be that the state encoding on the node was sent tablet back to before and after intermediate node can collect, according to these codings just can simple and effective judgement field apparatus state.
Shown in Fig. 4 output subsystem cabinet shape assumption diagram: output subsystem is made up of power source conversion plate, cpu motherboard, some groups of output boards and the drive plate drive plate of two 24 tunnel of one 48 tunnel output strips (in every group by).Removing the power source conversion backboard bears at the base plate back side, 5V is provided power supply, be assembled in other all template sets in the 6U high standard cabinet, integrated PC104 data and address bus on the passive backplane of cabinet rear end, CPU board, output board and drive plate are connected on bus by backplane slot, are all drawn by the base plate back side with signal relay equipment bonded assembly cable.Output subsystem also has the OBD (On-Board Diagnostics) faulty condition, to the function that the output result carries out retaking of a year or grade, has guaranteed the reliability and the safety of output data.
After the interlocking subsystem of responsible computing draws the data of control, send the output extension set to by lower floor's CAN network, the CPU decomposition data of unpacking voluntarily of output extension set, pass to output board, on tablet, finish digital to analogy conversion, analog signal enters the drive plate that directly links to each other with cable with equipment, reaches the purpose that drives output relay by the charging and discharging circuit on the drive plate.By the data flow of Fig. 5 output subsystem internal bus figure indication, CPU board is sent into output board to driving data by address bus gating output board and drive plate, and output board is the output of controlling and driving plate again.Meanwhile 74 serial latch chips on CPU gating output board and the drive plate send the data of oneself receiving to data bus, compare one by one after the CPU retaking of a year or grade two-stage data, confirm the errorless last output that just allows, and so far finish an output flow process.The dynamic pulse mode is adopted in the output of output subsystem, and the cycle of Dynamic Signal is 16.6Hz and by software control.Use multimode optical fibers to connect between output extension set and the interlocking machine, adopt the CAN bus communication protocol, output extension set and interlocking computing machine are effectively isolated, promoted the electromagnetic interference and the lightning protection properties of system.
Though by the description to embodiment the present invention has been described, and has described these embodiment simultaneously in detail, the application is not intended to the scope of appended claim is limited or be restricted to by any way such details.Other advantage and modification will be conspicuous for a person skilled in the art.Therefore, the present invention is not limited to provide aspect its broad and the specific detail that illustrates, representational apparatus and method and illustrative example.Therefore, can break away from these details, and can not break away from the spirit or scope of total inventive concept of the application.Therefore be intended to cover any and all this application, modification and the embodiment that are in the scope of the present invention by appended claim.