CN103523054A - Automatic control system of locomotive-depot signal system - Google Patents

Automatic control system of locomotive-depot signal system Download PDF

Info

Publication number
CN103523054A
CN103523054A CN201310509448.1A CN201310509448A CN103523054A CN 103523054 A CN103523054 A CN 103523054A CN 201310509448 A CN201310509448 A CN 201310509448A CN 103523054 A CN103523054 A CN 103523054A
Authority
CN
China
Prior art keywords
signal
license number
data
switch
route
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
CN201310509448.1A
Other languages
Chinese (zh)
Other versions
CN103523054B (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.)
China Railway Engineering Consulting Group Co Ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310509448.1A priority Critical patent/CN103523054B/en
Publication of CN103523054A publication Critical patent/CN103523054A/en
Application granted granted Critical
Publication of CN103523054B publication Critical patent/CN103523054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention provides an automatic control system of a locomotive-depot signal system. The automatic control system comprises a sensor and annunciator unit, a turnout unit, a wagon number transfer unit and a dispatching unit, wherein the sensor and annunciator unit, the turnout unit and the wagon number transfer unit finish different types of signal acquisition and logic programming respectively and store signals in storage units distributed to the sensor and annunciator unit, the turnout unit and the wagon number transfer unit respectively, and by calling information of the storage units, the dispatching unit conducts logic judgment and calculation, operates the corresponding signals and finishes access operation and control. According to the automatic control system of the locomotive-depot signal system, the accident rate is reduced to the minimum by adopting a structured program development mode and a perfect logic control function; application of structure variables of the automatic control system enables an upper control display function to be stronger; a simulation debugging function makes laboratory debugging possible, development time is shortened, meanwhile, the error probability of programming is reduced, and debugging cost is saved.

Description

The automation control system of locomotive depot's signal system
Technical field
Design automation control technology of the present invention, especially relates to the railway system and realizes locomotive depot's automation control system by structured programming.
Background technology
The generally application of automated control technology has realized automatic control and management in large railway control, and the control of railway locomotive Duan He car depot lags behind large railway.
The current locomotive depot of the , railway system, the yard engine of a lot of sections, or operate by the mode of manually pulling railway switches, such locomotive depot needs a fairly perfect and practical control program replace manual operation, realizes locomotive depot's automation control.Simultaneously in having completed the locomotive depot of automatic improving, automation control aspect yet exists some to control function imperfections, maintenance and transformation is loaded down with trivial details, interlocked control is not in place situation.
In locomotive depot's automatic improving of the railway system, the scheme of employing has: PLC control program, and the hardware controls scheme of industrial computer+plate, this two schemes all can be realized the function of Automatic dispatching.Adopt PLC control to have advantages of more: reliability is high, is not subject to the impact of software virus, and wiring is simple, it is convenient to control, and is a reasonable hardware controls platform.No matter which kind of scheme all needs to carry out software control programming.
In locomotive depot's automatic improving of the , railway system, there are three kinds of programming modes all can realize identical control function at present.The programming mode comprising has: Linear programming, modularization programming and structured programming.
Linear programming: adopting more in most of project is Linear programming method, and the signal condition that namely each route relates to according to it, carries out independently programming Control; Its advantage is that each route is all independently, is beneficial to the misprogrammed and the operating troubles that check and solve this route; Shortcoming: programing work amount is too large, the PLC built-in variable relating to disperses, and goes wrong and should not search, and easily occurs careless omission and hand mistake; During debugging, need each route, each function will test and put in place, debugging is trouble.
Modularization programming Ye Jiao branch programming: this control method is that equipment has carried out piecewise programming, the control of route is a part, in this controll block inside, still adopts Linear programming method, does not solve the shortcoming of Linear programming.
Structured programming: this is a kind of advanced person's programmed method, it has broken the state of physical device and the restriction of data, and different forms parameter substitution actual parameter, programmes.Have at present some projects to adopt this programmed method, but the method for extraction form parameters and output control are various, present different effects.
The problem that other track switches exist in controlling at present comprises:
1, software program is complicated, revises more loaded down with trivial details: programing work amount is too large, and the PLC built-in variable relating to disperses, and goes wrong and should not search, and easily occurs careless omission and hand mistake;
While 2, debugging, need each route, each function will test and put in place, debugging is trouble;
3, program organization is unreasonable, and route control program is structurally introduced track switch state and control, and the independence that track switch is controlled has been subject to impact, and it is more random that integral body seems, the test function of simulation track switch action cannot be realized;
4, upper control management software insufficiency, does not have record and the demonstration of meter shaft data in upper management and monitoring, alert data and meter shaft data can not export in EXCEL; Operation indicating insufficiency: there is no " operation order mistake " prompting, there is no " route operation failure " prompting, there is no " manual unlocking time delay " prompting etc., there is no signal guidance panel;
5, license number transmission procedure has influence on the communication between PLC and computing machine, and real-time is poor, because the reason of program organization makes CPU scan license number transmission procedure always, causes increase the sweep time of CPU.Because the communication function response of PLC is just to process afterwards user program is complete, therefore, process the cycle stretch-out of upper machine communication, the demonstration of upper monitoring picture and dispatcher's operation are all affected, and real-time is poor;
6, license number can only show 5 figure places, can not show the letter in " harmony " engine number, uses the memory word storage license number of 16, and its scope is: 0-65535, therefore, can only show the license number of maximum 5 figure places; Show that letter can only adopt character string to store license number, like this, the memory cell of PLC requires to increase, the variation that the instruction of programming also will respond, operation to character string, adds the unreasonable of program organization, has more increased the weight of the burden of PLC, communication between PLC and computing machine makes the matter worse, and real-time is poorer;
7, interfering signal affects meter shaft number, cause red band automatically not eliminate, route can not automatic unlocking, the basis of meter shaft control system is the count value of sensor, and installation of sensors is on track limit, and sensor is inductance type coil pickup, therefore be subject to the impact in railway current magnetic field larger, counting inaccurate, causes the route can not automatic unlocking, at this moment must pass through manual unlocking mode and could eliminate red band.
Current railroad track track switch control method must solve PLC programming in the past and debug complicated problem, Linear programming more complicated, thus cause PLC long sweep time, operation shows serious hysteresis, makes troubles to the operation of operating personal; Meanwhile, in debugging, the place of modifying at needs, carry out the large-scale work of repetition, revises to debugging and makes troubles, and particularly, in transformation project, within the short time, complete is a challenge.
Summary of the invention
The problem existing in the object of the invention is to solve current control system on the basis of the research that the control of railway locomotive depot and management are carried out, the structured programming of controlling by railroad track track switch and management, program organization is reproduced, make engineering debug simple, revise convenient, saving programming time, improve programming efficiency, and consummating function, realize laboratory simulation debugging, reduce the loaded down with trivial details work of realistic simulation debug process, reduce the waste of artificial and expense.
In order to solve the problems of the technologies described above, of the present invention adopted technical solution is such:
An automation control system for locomotive depot's signal system, described control system comprises:
Sensor and signal unit, described sensor and signal unit comprise signal subroutine module;
Track switch unit, described track switch unit comprises switch machine subroutine module;
License number buanch unit, described license number buanch unit comprises license number BSR module;
Scheduling unit, described scheduling unit comprises scheduling subroutine module, long scheduling subroutine module and command logic output program module;
Wherein, described sensor and signal unit, track switch unit and license number buanch unit complete different separately acquisition of signals and programming in logic, and signal storage in the memory cell of distributing separately, described scheduling unit is by calling described each location information, carry out logic judgement and calculating, operate corresponding signal, coordination, completes route operation and controls.
Described signal subroutine module comprises function:
Reading data:
First read in the data that are stored in block data, these data are the specified data of signal storage data label NO, are kept in the local storage of continuous 10 bytes that LBB60 starts;
Counting and interference protection are processed:
According to sensor signal LA and LB, the positive rise sensor count value that adds up, puts into respectively LBB66 and LBB67.In the situation that there is no gating, in every 10 seconds, remove count value one time.While having sensor signal in 100MS, the count value in LBB66 and LBB67 will cut 1 simultaneously simultaneously;
Report to the police:
According to the incoming signal receiving, sensor count value is counted, different according to count value, while surpassing 4, report sensor fault, while there is no bright light, counting surpasses 2 reports and makes a dash across the red light;
Operation shows:
The order of sending according to upper computer (the top button in block data and terminal button signal), top button and the flicker of terminal button, both can only have a flicker, and rear operation is effective.Button signal keeps 200 milliseconds and will reset;
Ann reset:
The order top button signal of sending according to upper computer and upper " closing demonstration " function button, operate accordingly, resets " sensor fault demonstration " and " alarm display of making a dash across the red light ";
Closing signal lamp:
The order top button signal of sending according to upper computer and upper " closing signal " function button, carry out the operation of closing signal.
Manually open again signal lamp:
When signal is top and possesses " formal gating " signal, there is no local flaw signal simultaneously, do not report to the police, there is no " closing demonstration " and " closing signal ", the adverse party signal that do not make a dash across the red light, according to top button signal order, opens signal lamp again;
Signal lamp is controlled output:
According to the status signal of signal in block data, control signal machine relay, outputs to on-site signal machine;
Reseting data:
Receive scheduling subroutine reset command or system actuation signal, make the block data of signal reset to virgin state;
Data are returned and are deposited:
Continuous 10 byte datas that finally LBB60 started are returned and are deposited in the specified corresponding region of block data of signal storage data label NO.
Described signal subroutine module comprises encapsulation subroutine module, described encapsulation subroutine module the is integrated detection signal of signal, operational order and input/output argument, and described input parameter comprises:
Take turns the A detection signal data pattern BOOL code name LA that compresses switch;
Take turns the B detection signal data pattern BOOL code name LB that compresses switch;
Signal lamp local flaw signal data pattern BOOL code name DJ;
Signal lamp return signal data pattern BOOL code name XJ_F;
Take turns the A timer data pattern TIMER code name TA that compresses switch;
Take turns the B timer data pattern TIMER code name TB that compresses switch;
Signal storage data label data pattern WORD code name NO;
Described output parameter comprises:
Signal is exported white modulating signal, data pattern BOOL code name XJ.
Described railway switch control subprogram comprise function:
Reading data:
Read in the specified data of the data label NO that is stored in block data and be kept in the local storage of continuous 10 bytes that LBB60 starts;
Report to the police:
The state of exporting and return the state judgement track switch of expression according to run signal, in the situation that program is not sent output action signal, track switch " expression signal " disappears, and will quote " squeezing trouble " warning; In the situation that sending output action signal, surpass and within 20 seconds, there is no return signal, will quote " moving overtime " and report to the police;
Ann reset:
In M/C track switch, track switch is again during gating or interrupt while resetting, and warning automatically resets;
M/C track switch:
Upper " total fixed behaviour ", " total anti-behaviour " function button by M/C button and system complete the M/C of track switch jointly;
Railway switch control output:
Comprise that determining behaviour exports and anti-behaviour's output, when ordering manually or automatically, switch machine is moved, output control signal self-locking, when forwarding position or overtime warning to, the release of output control signal; Control signal output keeps two seconds to actual delivery channel, controls switch machine relay, and switch machine relay has auto-lock function, position limit switch power cut-off in switch machine driving circuit;
Locking output:
When there is switch machine action directive, switch machine puts in place, or the appearance of manual locking signal, sends switch machine " locking output ", disconnects switch machine power source for relay control, prevents maloperation;
Tripping operation output:
When there is time out fault or squeeze trouble fault, send " tripping operation output " signal, disconnect switch machine power supply;
Simulation switch machine operation function:
According to the state of output signal, time delay is after 5 seconds, holding signal, and the corresponding positions in juxtaposition PLC input image area, can change with control signal its actual position signal in follow-up scheduler program, reaches the operation of simulation switch machine;
Data are returned and are deposited:
Continuous 10 byte datas that LBB60 is started are returned and are deposited in the specified corresponding region of block data of switch machine storage data label NO.
Described scheduling subroutine completes following functions:
Reading data:
First read in the data that are stored in block data, the data that N_ZD is specified, are kept in the local storage of continuous 10 bytes that LBB60 starts, and the data that N_YD is specified are kept in the local storage of continuous 10 bytes that LBB70 starts;
The process control of route gating:
If have button flash signal in left end and right-hand member signal block data simultaneously, will be according to top button and terminal button, two ends signal all not by other route preliminary elections, do not have in the situation of conflicting signal, put the initial endpoint signal of this route, route gating signal maintenance, route two ends signal preselected signal, and then starting Sequential output control signal by terminal, this signal is kept in each position of C_BYTE byte, for " logic output " program; When preselected signal exceeds 60 seconds, when " formal gating " signal does not also have, sentence the failure of route gating, the signal data at the route two ends that automatically reset;
Route Open control:
When all switch machines of route all put in place on request, and return to expression signal, put signal " formal gating " signal at route two ends, put initial endpoint signal machine output signal simultaneously, route is open-minded;
The judgement of route fault:
Open-minded when route, the count value of initial endpoint signal machine is less than at 4 o'clock, and terminal count value surpasses 2, sentences terminal signaling machine place and makes a dash across the red light, and at this moment will close initial endpoint signal machine output signal; Open-minded when route, when any one switch machine on route occurs that " expression signal " disconnects, signal will cut out;
Route release:
After surpassing 4, the top of route counting starts to judge whether both sides' count value equates, if (1), when the sensor of route both sides signal does not all have fault, judgement terminal A counting equals top A counting, and meanwhile, terminal B counting equals top B counting, at this moment, send unlock command; If (2), when the sensor of route both sides signal has fault, only judge that both sides' terminal count that all trouble free A holds or B holds equals top counting, at this moment, sends unlock command; After 8 seconds, send top and the terminal reset command of route, and released route gating signal;
The license number preparation that passes a parameter:
When route release, license number need to be moved on to terminal from top, put transmission commencing signal, " direction of transfer ", " even hanging digital display shows location number at top ", " left end garage data address ", " right-hand member garage data address " parameter are set, these parameters are sent to " license number driver routine ".
Described license number transmits subprogram and completes following function:
Positioning garage beginning address:
According to the data block number of left end garage data address, right-hand member garage data address and storage license number, locate the beginning address in He You garage, left garage;
Calculate and transmit license number number:
The parameter transmitting according to scheduling subroutine, if direction of transfer is from left end to right-hand member delivery vehicle number, first according to " even hanging digital display shows location number at top " and " the left end garage data address " that receive, judgement Zhong“ top, garage connect hang number display position " the right also have the license number of several existence, calculate and transmit license number number.If direction of transfer is to transmit from right to left side license number, transmit license number number=" even hanging digital display shows location number at top ".Transmitting license number number can not surpass 3, namely connects extension and can not surpass 3, surpasses at 3 o'clock, is set to 3;
Calculate the address, room in left end garage:
Right-hand member during to left end delivery vehicle, need to be sent to the license number of right-hand member on first empty parking space of left end, and the actual license number in judgement left end garage calculates the address of first empty parking space;
Transmit license number:
From left end garage, pass to right-hand member garage: first according to the transmission license number number (1-3) calculating, the license number in right-hand member garage 1-3 the parking stall that move right out successively, then, the continuous license number on the right from left end garage copies on the parking stall that right-hand member vacates, and the delivery vehicle bit position license number of left end is removed;
From right-hand member garage, pass to left end garage: according to the transmission license number number (1-3) calculating, the 1-3 license number in right-hand member garage is sent on the continuous position that the address, room in the left end garage calculating starts, then, the license number on the right in right-hand member garage is moved to the left, and rightmost car bit position license number is removed;
Reset and transmit signal:
After transmission, the transmission signal that resets and arranged by scheduler program.
Described control system also comprises management imformation system, comprises function:
1) systemic-function
System logs in: only log in actv. user and just can operate;
Configure user: for user provides a function that configures user and password;
Log off: only have system manager's ability ' logging off ';
Sensor counting: all the sensors has all carried out data logging, can recall figure, analyzes;
Event recorder: native system carries out record to more than 800 events, comprising: operation, event and fault;
Allow mobile license number: in the situation that authorizing, system manager can arbitrarily carry out move operation to all license numbers in picture;
2) operating function
Close demonstration: can close the warning of making a dash across the red light, sensor warning;
Closing signal: can closing signal lamp;
Manual release: can not automatic unlocking in the situation that, carry out manual release operation;
Signal operation: display comprises: signal output and show again, signal fracture of wire, the warning of making a dash across the red light, sensor fault, top operation, terminal operation;
Switch locking/unlocking operation: manually locking track switch and release track switch, manually, after locking track switch, track switch can not operate;
The manual open operation of signal: at path formally after gating, while having the signal of initiating terminal sign to close, by manual clearing signal;
Warning export function: realize all alarm loggings;
License number imports and exports function: license number is exported to from master control unit to Microsoft Excel file, then, import to Beck-up Control System from file, reduce the computer input work capacity of engine dispatcher;
Locomotive coupling: the locomotive of click to need connect hanging in garage, during clearing signal, after automatic unlocking, this engine number will be sent in garage, the left side together with the license number on its left side automatically left; During clearing signal, after automatic unlocking, this engine number will be sent in garage, the right automatically together with the license number on its right to the right; While hanging license number over 3 companies, only transmit continuous three license numbers at two ends, input license number, deletes license number: complete the operation of license number.
The control function of described scheduling subroutine also comprises:
1) railway switch control output
First to judge whether head and end has operation, when two ends have in the situation of operation, and guarantee not have conflicting signal, two ends, not by preliminary election, enter strobe state by path, put two ends for " preliminary election ", juxtaposition head end signal, once this path gating will carry out follow-up control output;
2) signal is controlled output
On path, all switch machines, all after positive stop, are put two ends " key player on a team " signal, if signal end is " top ", make local terminal signal open, by the corresponding positions in scheduling feature output signal direct control signal data field, realize;
When locomotive inlet passage, count value surpasses 2, when in path, switch machine occurs that signal appears making a dash across the red light in not closely connected and the other side, and closing signal machine;
3) path release
Release has two kinds of modes:
Automatic unlocking mode: when locomotive rolls terminal away from, after top sensor counting is greater than 4, the A at two ends, two sensors of B compare respectively, after all meeting terminal count and being more than or equal to 1 for top counting, starts timing, unlocking signal output after 8 seconds;
Unlocking manner manually: after manual operation or automatic unlocking failure, adopt release manually.Artificial closing signal machine is after 30 seconds, and manual release is just effective;
4) license number transfer control
When unlocking signal sends, and whether the garage being connected with terminal according to top number and top require locomotive coupling, the desired direction of transfer of configuration license number transmitting function, connects and hang number, garage parameter and activate license number driver routine.
Feature of the present invention and advantage:
L adopts structured program development mode, is conducive to promote;
The logic control function that l is perfect, is down to accident rate minimum;
The application of l structure variable, makes upper control Presentation Function more powerful;
L simulative debugging function, makes laboratory debugging become possibility, has shortened the development time, reduces the error probability of programming simultaneously, saves debugging cost.
Accompanying drawing explanation
The integral structure framework of Fig. 1 reality function of the present invention and block data.
The encapsulation of Fig. 2 signal subprogram;
Fig. 3 signal subprogram input/output argument;
Fig. 4 sensor handler;
Fig. 5 signal data cell;
Fig. 6 is signal subprogram;
The encapsulation of Fig. 7 switch machine subprogram;
Fig. 8 switch machine subprogram input _ output parameter;
Fig. 9 railway switch control program;
Figure 10 switch machine dry run control program;
Figure 11 switch machine subprogram block data;
Figure 12 is switch machine subprogram;
The encapsulation of Figure 13 scheduling subroutine;
Figure 14 scheduling subroutine input/output argument;
Figure 15 is scheduling subroutine;
Figure 16 license number transmits subprogram encapsulation;
Figure 17 is that license number transmits subprogram.
The specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, the present invention is described in more detail.
Technical matters to be solved by this invention is exactly from actual application, using the problem that the occurs point of penetration as research, find out logical relation each other, draw the overall framework of a control program, and working out the processing methods such as the interface of subprogram and data processing method and upper signature, picture, departure point is simple, practical, easy to maintenance.
One, overall structure
In main program OB1, call FC1 (signal program), FC2 (track switch program), FC3 (scheduler program), FC4 (long scheduler program), FC8 (conflicting signal program), FC9 (command logic output program).The all functions of control program, the integral structure framework of block data in Fig. 1, have been listed.
Two, structured programming
Structured programming object is the duplicated code of minimizing program, and identical control is sorted out, and identical device is carried out to actv. information processing, meanwhile, can carry out easily Function Integration Mechanism.
Through the analysis to detected object and control object, sensor and signal are placed in a unit and are processed, track switch is a unit, license number shifts as a unit, outside all detection signals and the needs of demonstration can be contained in three unit like this, how these three unit organically being combined is the key of this control system, Here it is scheduling unit, scheduling to each route, all need to detect the coherent signal of different routes, and three unit are organically merged, complete route operation and control.
The blockette that this control system is write has:
Signal subprogram FC11;
Track switch subprogram FC12;
Scheduling subroutine FC10 or FC16;
Long scheduling subroutine FC13;
License number branch subroutine FC15;
Other supplementary subroutines etc.
By these subprograms, complete different separately acquisition of signals and programming in logic, and signal storage in the memory cell of distributing separately, scheduler program, by calling location information, carries out logic judgement and calculating, operates corresponding signal, coordination.
In FC1, FC2, FC3, FC4 program block, call respectively different subprograms, in this program block, connect the input/output signal of each equipment.
Relation between each subprogram and processing are as shown in Figure 1.The data of calling in double-lined arrow are from the data in block data, and single line solid arrow calls the position signal of track switch reality.
Three, control the realization of function
1, signal subprogram
(1) program packing forms
This subprogram is integrated detection signal and the operational order of signal, the package blocks that Fig. 2 is subprogram, its parameter (input, output) is 1 signal subprogram input/output argument as shown in Figure 3
The encapsulation of Fig. 2 signal subprogram; Fig. 3 signal subprogram input/output argument
Input parameter in this subprogram: take turns the A detection signal data pattern BOOL code name LA that compresses switch; Take turns the B detection signal data pattern BOOL code name LB that compresses switch; Signal lamp local flaw signal data pattern BOOL code name DJ; Signal lamp return signal data pattern BOOL code name XJ_F; Take turns the A timer data pattern TIMER code name TA that compresses switch; Take turns the B timer data pattern TIMER code name TB that compresses switch; Signal storage data label data pattern WORD code name NO.
Output parameter: signal is exported white modulating signal, data pattern BOOL code name XJ.
Signal storage data label is the memory address of signal data, as W#16#1105, represents that data are stored in continuous 10 bytes that the DBB50 in DB11 starts.(50=05*10), be actually an index address.
(2) sensor handler
Fig. 4 sensor handler, it is to guarantee reliably, in order to eliminate sensor signal shakiness (trembling), to cause error count signal that there are two sensors, object in each signal side, adopted the method for semaphore lock time delay, the signal occurring within 100MS can only record a signal.
(3) data storage
For fear of interlocking, before not completing, by other route, utilized and cause confusion, adopted preliminary election mechanism, as long as by after preliminary election, with regard to no longer allowing other routes, select, namely by preliminary election in the situation that, can be by picture disply ' selection path conflict prompting ', only, after path release, preliminary election and the formal signal of selecting just disappear simultaneously.
In program, adopt the mode of status data block to record state and the operational circumstances of each signal, each signal takies continuous 10 byte data unit, concrete data structure and content as shown in Figure 5:
The operation signal of each signal, serviceability and breakdown signal etc. are kept in status word separately, locomotive coupling, count value and for the byte of working at the second word to the five words.10 byte content that these are continuous, can also can be operated by scheduler program by signal procedure operation, contacting between it and scheduler program is exactly these data, by scheduler program, according to state and data, carry out scheduling actions, the transmission of preliminary election, key player on a team, release, clearing signal and license number etc.
(4) signal subprogram is described
Fig. 6 is signal subprogram, and this program receives the input and output signal of relevant signal, connection be the actual input and output signal of PLC signaling module.
Reading data:
First this program reads in the data that are stored in block data (the specified data of signal storage data label NO), is kept in the local storage of continuous 10 bytes that LBB60 starts.
Counting and interference protection are processed:
According to sensor signal LA and LB, the positive rise sensor count value that adds up, puts into respectively LBB66 and LBB67.In the situation that there is no gating, in every 10 seconds, remove count value one time.While having sensor signal in 100MS, the count value in LBB66 and LBB67 will cut 1 simultaneously simultaneously.
Report to the police:
Subprogram is counted sensor count value according to the incoming signal receiving, and according to count value different (while surpassing 4) report sensor fault, while there is no bright light, counting surpasses 2 reports and makes a dash across the red light;
Operation shows:
The order of sending according to upper computer (the top button in block data and terminal button signal), top button and the flicker of terminal button, both can only have a flicker, and rear operation is effective.Button signal keeps 200 milliseconds and will reset.
Ann reset:
The order top button signal of sending according to upper computer and upper " closing demonstration " function button, operate accordingly, resets " sensor fault demonstration " and " alarm display of making a dash across the red light ".
Closing signal lamp:
The order top button signal of sending according to upper computer and upper " closing signal " function button, carry out the operation of closing signal.
Manually open again signal lamp:
This signal is top, possesses " formal gating " signal, there is no local flaw signal, does not report to the police, and there is no " closing demonstration " and " closing signal " function, and the adverse party signal that do not make a dash across the red light, at this moment has top button signal order, will open again signal lamp.
Signal lamp is controlled output:
According to the status signal of signal in block data, control signal machine relay, outputs to on-site signal machine.(this subprogram of signal status signal can operate, and scheduler program also can operate).
Reseting data:
Receive scheduling subroutine reset command or system actuation signal, can make the block data of signal reset to virgin state.
Data are returned and are deposited:
Continuous 10 byte datas that finally LBB60 started are returned and are deposited in the specified corresponding region of block data of signal storage data label NO.
2, railway switch control subprogram
(1) encapsulating structure
The encapsulation of Fig. 7 switch machine subprogram, Fig. 8 switch machine subprogram input _ output parameter
(2) railway switch control program
Fig. 9 railway switch control program, switch machine is in operational process, from navigating to the time that antiposition (or from antiposition to location) need to several 10 seconds, if there is problem, surpass while still there is no in-position after certain time of run (20 seconds), to produce overtime warning, and cut off power supply, avoid causing larger fault.
According to the feature of electric part, the control signal of normotopia and antiposition is exported to electric, only needs a pulse (2 seconds) can connect electric circuit, and electric circuit can self-sustaining.
The release of self-hold circuit has three kinds of approach:
Limit switch in electric circuit (protection in switch control circuit)
Locking relay in circuit
Circuit supply power supply
Under normal circumstances, after circuit is connected, through regular hour in-position, limit switch works, and discharges self-sustaining electric circuit.
After route gating, all switch machines on gating route are all exported " locking " signal, and switch machine is locked.Switch machine at lock-out state can not be operated.
(3) switch machine debug function
Figure 10 switch machine dry run control program, controls in function at this, has adopted first the mode of control inputs image area state, has realized the function that carrying device is not debugged.This is relevant to whole program organization.In artificial debugging, the Determines of switch machine the operation of scheduling feature, could export follow-up railway switch control signal after only having switch machine to put in place, Siemens PLC C operation is sequentially first scan input signal, then be to process user program, finally carry out result output.Therefore,, according to this feature, it is feasible in user program, input being carried out to set operation.
First in this function block, the fixed behaviour of definition puts in place, instead put in place the type of signal of behaviour is " IN_OUT ", can input also exportablely, and in program, operation is just effectively like this.
The first row in Fig. 3-8, " SET " represents to enter simulative debugging, and it is changed into " CLR " will enter in service normally.Such processing, is very easy to program test, can carry out in laboratory dry run, and finds to process interlocking problem.
This program, by the mode of analog simulation, has been carried out the test of each route in laboratory, in working control, test conforms to completely with practical application.
This mode has reduced engineering staff's burn in period at the scene, meanwhile, has reduced the complicated processes of on-the-spot all route tests, has reduced the duration of engineering.
(4) switch machine data structure
Figure 11 switch machine subprogram definition data block, the data of switch machine signal are kept in 10 continuous data bytes, its state and control signal are kept in first mode control word, can utilize easily form access variable demonstration and the operation continuously of structure variable in upper control.
(5) switch machine subprogram is described
Figure 12 is the input and output signal that switch machine subprogram receives relevant switch machine (track switch), connection be the actual input and output signal of PLC signaling module.
Reading data:
First this program reads in the data that are stored in block data (the specified data of switch machine storage data label NO), is kept in the local storage of continuous 10 bytes that LBB60 starts.
Report to the police:
The state of exporting and return the state judgement track switch of expression according to run signal, in the situation that program is not sent output action signal, track switch " expression signal " disappears, and will quote " squeezing trouble " warning; In the situation that sending output action signal, surpass and within 20 seconds, there is no return signal, will quote " moving overtime " and report to the police.
Ann reset:
Warning is in M/C track switch, and track switch is again during gating or interrupt while resetting, and warning automatically resets.
M/C track switch:
Together with upper " total fixed behaviour " " total anti-behaviour " function button of M/C button (this signal is operated by host computer) and system, complete the M/C of track switch.
Railway switch control output (fixed behaviour's output and anti-behaviour's output):
Order makes switch machine action (command signal must be the impulse singla of push button, and autocommand is got positive rise signal) manually or automatically, output control signal self-locking, and when forwarding position or overtime warning to, the release of output control signal.Control signal output keeps two seconds to actual delivery channel, controls switch machine relay, and switch machine relay has auto-lock function, position limit switch power cut-off in switch machine driving circuit.
Locking output:
When there is switch machine action directive, switch machine puts in place, or the appearance of manual locking signal, sends switch machine " locking output ", disconnects switch machine power source for relay control, prevents maloperation.
Tripping operation output:
When there is time out fault or squeeze trouble fault, send " tripping operation output " signal, disconnect switch machine power supply.
Simulation switch machine operation function:
According to the state of output signal, time delay is after 5 seconds, holding signal, and the corresponding positions in juxtaposition PLC input image area, can change with control signal its actual position signal in follow-up scheduler program, reaches the object of simulation switch machine operation.
Data are returned and are deposited:
Continuous 10 byte datas that finally LBB60 started are returned and are deposited in the specified corresponding region of block data of switch machine storage data label NO.
3, scheduling subroutine
(1) encapsulating structure
The encapsulation of Figure 13 scheduling subroutine, Figure 14 scheduling subroutine input/output argument
Scheduling subroutine is divided into FC10 " left side-> right scheduler program " and FC16 " right side-> left scheduler program ".The difference of two subprograms is only to export control byte.
(2) control function
The output of A railway switch control
Scheduling subroutine is the core of this software, want this path of gating, first to judge whether head and end has operation, under having the situation of operation, two ends (and guarantee not have conflicting signal, two ends are not by preliminary election), this path enters strobe state, at this moment, put two ends for " preliminary election ", juxtaposition head end signal.Once this path gating, will carry out follow-up control output.
It should be noted that: during switch machine operation, need larger electric current, if all switch machines on path all start simultaneously, can produce larger starting current, require power configuration larger, simultaneously to power surges, reduce power source life.Require to adopt the mode of sequence starting, after namely a switch machine running puts in place, restart next switch machine, therefore, this dispatcher software need to gather the corresponding position signal of each switch machine on path, only has after previous putting in place, just exports next control signal.Output signal is kept to be controlled in output byte " C_BYTE ".
Therefore output signal and incoming signal are one to one, concerning certain switch machine, comprehensive aisled output signal, as long as there is any one path to have output, switch machine just moves, " output logic " part in Here it is Fig. 2.
B signal is controlled output
Signal opening is all switch machines all after positive stop on path, put two ends " key player on a team " signal, if signal end is " top ", make local terminal signal open, by the corresponding positions in scheduling feature output signal direct control signal data field, realize.
Signal has cut out following condition
Locomotive is inlet passage (count value surpasses 2, just think inlet passage);
In path, switch machine occurs not closely connected;
There is the signal that makes a dash across the red light in the other side.
The release of C path
Release has two kinds of modes:
Automatic unlocking mode: when locomotive rolls terminal away from---after sensor counting in top is greater than 4, the A at two ends, two sensors of B compare respectively, all meet terminal count and are more than or equal to after [top counting-1], start timing, unlocking signal output after 8 seconds;
Unlocking manner manually: after manual operation or automatic unlocking failure, adopt release manually.After artificial closing signal machine 30S, manual release is just effective.
D license number transfer control
When unlocking signal sends, meanwhile, the garage number being connected with terminal according to top, and whether top requires locomotive coupling to carry out the desired direction of transfer of configuration license number transmitting function, connect and hang number, garage parameter.And activate license number driver routine.
(3) scheduling subroutine is described
Figure 15 is scheduling subroutine, and this program completes following functions:
Reading data:
First this program reads in the data that are stored in block data, and the data that N_ZD is specified are kept in the local storage of continuous 10 bytes that LBB60 starts; The data that N_YD is specified, are kept in the local storage of continuous 10 bytes that LBB70 starts.
The process control of route gating:
If have button flash signal in left end and right-hand member signal block data simultaneously, will be according to top button and terminal button, two ends signal all not by other route preliminary elections, do not have in the situation of conflicting signal, put the initial endpoint signal of this route, route gating signal maintenance, route two ends signal preselected signal, and then starting Sequential output control signal by terminal, this signal is kept in each position of C_BYTE byte, for " logic output " program.When preselected signal exceeds 60 seconds, when " formal gating " signal does not also have, sentence the failure of route gating, the signal data at the route two ends that automatically reset.
Route Open control:
When all switch machines of route all put in place on request, and return to expression signal, put signal " formal gating " signal at route two ends, put initial endpoint signal machine output signal simultaneously, route is open-minded.
The judgement of route fault:
Open-minded when route, the count value of initial endpoint signal machine is less than at 4 o'clock, and terminal count value surpasses 2, sentences terminal signaling machine place and makes a dash across the red light, and at this moment will close initial endpoint signal machine output signal; Open-minded when route, when any one switch machine on route occurs that " expression signal " disconnects, signal will cut out.
Route release:
After surpassing 4, the top of route counting just starts to judge whether both sides' count value equates, in two kinds of situation: (1) is not when the sensor of route both sides signal all has fault, judgement terminal A counting equals top A counting, simultaneously, terminal B counting equals top B counting, at this moment, send unlock command; (1), when the sensor of route both sides signal has fault, only judge that both sides' terminal count that all trouble free A holds or B holds equals top counting, at this moment, sends unlock command; After 8 seconds, send top and the terminal reset command of route, and released route gating signal.
The license number preparation that passes a parameter:
When route release, license number need to be moved on to terminal from top, this program is put transmission commencing signal, " direction of transfer ", " even hanging digital display shows location number at top ", " left end garage data address ", " right-hand member garage data address " parameter are set, these parameters are sent to " license number driver routine ".
4, license number transmits subprogram
Figure 16 license number transmits subprogram encapsulation, and this subprogram completes the two-way transmitting function of license number, in completing the process of this function:
When direction transmits, first judge the engine number having existed in left garage left, on empty parking space subsequently, be arranged in order corresponding license number;
While transmitting to the right, rightmost license number in left garage be found out, to the right, be transmitted successively.
The storage of this garage license number is character type, and a license number takies 10 bytes, and therefore, license number is numbered at most 8 characters.100 bytes of each car inventory allocation, therefore deposit at most 10 engine numbers.
Subprogram is described, and Figure 17 is that license number transmits subprogram, and this program completes following function:
Positioning garage beginning address:
According to the data block number of left end garage data address, right-hand member garage data address and storage license number, locate the beginning address in He You garage, left garage.
Calculate and transmit license number number:
The parameter transmitting according to scheduling subroutine, if direction of transfer is from left end to right-hand member delivery vehicle number, first according to " even hanging digital display shows location number at top " and " the left end garage data address " that receive, judgement Zhong“ top, garage connect hang number display position " the right also have the license number of several existence, calculate and transmit license number number.If direction of transfer is to transmit from right to left side license number, transmit license number number=" even hanging digital display shows location number at top ".Transmitting license number number can not surpass 3, namely connects extension and can not surpass 3, surpasses at 3 o'clock, is set to 3.
Calculate the address, room in left end garage:
Right-hand member during to left end delivery vehicle, need to be sent to the license number of right-hand member on first empty parking space of left end, and the actual license number in judgement left end garage calculates the address of first empty parking space.
Transmit license number:
From left end garage, pass to right-hand member garage: first according to the transmission license number number (1-3) calculating, the license number in right-hand member garage 1-3 the parking stall that move right out successively, then, the continuous license number on the right from left end garage copies on the parking stall that right-hand member vacates, and the delivery vehicle bit position license number of left end is removed;
From right-hand member garage, pass to left end garage: according to the transmission license number number (1-3) calculating, the 1-3 license number in right-hand member garage is sent on the continuous position that the address, room in the left end garage calculating starts, then, the license number on the right in right-hand member garage is moved to the left, and rightmost car bit position license number is removed.
Reset and transmit signal:
After transmission, the transmission signal that resets and arranged by scheduler program.
5, management imformation system
Management imformation system radical function has:
1) systemic-function
Login system: only log in actv. user and just can operate;
Configure user: for user provides a function that configures user and password;
Log off: only have system manager's ability ' logging off ';
Sensor counting: all the sensors has all carried out data logging, can recall figure, analyzes;
Event recorder: native system carries out record to more than 800 events, comprising: operation, event and fault.
Allow mobile license number: in the situation that authorizing, system manager can arbitrarily carry out move operation to all license numbers in picture.
2) operating function
Close demonstration: after this button is pressed, shown in green, then press signal top button, can close the warning of making a dash across the red light, sensor warning.
Closing signal: after this button is pressed, shown in green, then press signal top button, can closing signal lamp.
Manual release: can not automatic unlocking in the situation that, carry out manual release operation, press this button, to eject dialog box as Fig. 8, and select "Yes", the button under manual release is shown in red, press logical total fixed behaviour, total anti-behaviour: after this button is pressed, shown in green, then click corresponding track switch, will carry out M/C track switch and move accordingly.
Signal operation: mouse right click signal, will show window as shown in Figure 9, display comprises: signal export and show again, signal fracture of wire, the warning of making a dash across the red light, sensor fault, top operation, terminal operation etc.This function is corresponding with the data field in PLC program, in WINCC, adopt the mode of structure variable, set up signature very convenient, label variable is regular simultaneously, in action pane, use the function of variable prefix, can greatly improve the efficiency of Design of Monitoring and Control System.
Switch locking/unlocking operation: the button of clicking under track switch label gets final product manual locking track switch and release track switch, manually, after locking track switch, track switch can not operate.
The manual open operation of signal: at path formally after gating, there is the signal of initiating terminal sign to close when (automatic or manual is closed), " closing signal " button is not lighted, if again click the top button at this signal place, signal is by manual clearing signal (noting: click the top button at terminal signaling machine place, terminal signaling can not opened).
3) other functions
Warning export function: realize all alarm loggings, export to from SQL2005 data bank in Microsoft Excel file.
License number imports and exports function: license number is kept in the block data of PLC, if system need to be switched to standby control system from master control unit, first license number to be exported to from master control unit to Microsoft Excel file, then, from file, import to Beck-up Control System, reduce the computer input work capacity of engine dispatcher.
Locomotive coupling: after this button is pressed, shown in green, then the locomotive of click to need connect hanging in garage, this license number shows pink colour, during clearing signal, after automatic unlocking, this engine number will be sent in garage, the left side together with the license number on its left side automatically left; During clearing signal, after automatic unlocking, this engine number will be sent in garage, the right automatically together with the license number on its right to the right.While hanging license number over 3 companies, only transmit continuous three license numbers at two ends.
Input license number, deletes license number: complete the operation of license number.
The present invention has advantages of:
1) software program of the present invention is simple, revises easily:
The function of modular, it is the ripe logical block through field application, while being applied to another engineering item, only need to revise input and output, can realize the control programming of signal and track switch equipment, for route, track switch state in corresponding route be modified, programing work amount greatly reduces, and seldom occurs error code.
2) program organization is reasonable:
Whole control program is rational in infrastructure and perfect, and route adopts pre-gating and formal gating two states, avoids in track switch operational process the gating of another conflicting route and the confusion that causes.The core of whole system is scheduler program, scheduler program provides scheduling signals, functions of the equipments piece is responsible for execution, and the state of judgment device itself offers scheduler program, act in accordance with the division of their functions and duties, orderliness is clear like this, and increase and the cancellation of controlling function are all very convenient, only need to revise corresponding function block.The test function of simulation track switch action is very easy to realize, and at track switch, controls in subprogram and increases this function, during for scene, skips this function, realizes the convenient conversion of simulation and debugging.
3) upper control management software is multiple functional:
In upper management and monitoring, realized record and the demonstration of meter shaft data, alert data and meter shaft data can export in EXCEL; Operation indicating is multiple functional, and prompt window comprises: " operation order mistake " prompting, and " route operation failure " prompting, " manual unlocking time delay " prompting etc., signal guidance panel and track switch guidance panel need to increase very easily according to user.
4) license number transmission procedure does not have influence on the communication between PLC and computing machine, and real-time is good:
License number transmitting function is to carry out once in moment of route release, rather than CPU scans license number transmission procedure always, causes CPU to scan always.Therefore, this function almost takies the sweep time of CPU, and the cycling scanning time of whole program is no more than 100ms(and comprises communication time fragment), the demonstration of upper monitoring picture and the real-time of operation are very good.
5) license number is alpha type
The storage of this garage license number is character type, and a license number takies 10 bytes, and therefore, license number numbering mostly is 8 characters most.100 bytes of each car inventory allocation, therefore deposit at most 10 engine numbers.The demonstration of license number and modification are all character type, are applicable to all locomotive identifications.
6) solved the problem that interfering signal affects meter shaft number
By the count value of analyte sensors, discovery is arranged on two sensors at same signal place, when occurring to disturb, count simultaneously, therefore, adopt the sensor installation that staggers, be allowed to condition under normal operation and can not count simultaneously, if counted (100ms is set) in this program within very short time in simultaneously, software will shield this counting, solve like this problem of electromagnetic interference, and effect in service is very obvious.For the situation of artificial coil pickup under normal circumstances, in program, adopt and there is no the sensor on gating route, if there is counting, within 10 seconds, be no more than two, to automatically remove, and surpass the warning of will making a dash across the red light of two countings, the while also will be removed count value automatically, after path gating, also will automatically remove one time count value.Count value is accurate, and route will be after locomotive passes through, and automatic unlocking route has reduced and occurred red band and the probability of not release.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect have been carried out to further detailed description; institute is understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

  1. The automation control system of 1.Yi Zhong locomotive depot signal system, is characterized in that, described control system comprises:
    Sensor and signal unit, described sensor and signal unit comprise signal subroutine module;
    Track switch unit, described track switch unit comprises switch machine subroutine module;
    License number buanch unit, described license number buanch unit comprises license number BSR module;
    Scheduling unit, described scheduling unit comprises scheduling subroutine module, long scheduling subroutine module and command logic output program module;
    Wherein, described sensor and signal unit, track switch unit and license number buanch unit complete different separately acquisition of signals and programming in logic, and signal storage in the memory cell of distributing separately, described scheduling unit is by calling described each location information, carry out logic judgement and calculating, operate corresponding signal, coordination, completes route operation and controls.
  2. 2. control system according to claim 1, is characterized in that, described signal subroutine module comprises function:
    Reading data:
    First read in the data that are stored in block data, these data are the specified data of signal storage data label NO, are kept in the local storage of continuous 10 bytes that LBB60 starts;
    Counting and interference protection are processed:
    According to sensor signal LA and LB, the positive rise sensor count value that adds up, put into respectively LBB66 and LBB67:
    ?in the situation that there is no gating, in every 10 seconds, remove count value one time:
    ?while having sensor signal in 100MS, the count value in LBB66 and LBB67 will cut 1 simultaneously simultaneously;
    Report to the police:
    According to the incoming signal receiving, sensor count value is counted, different according to count value, while surpassing 4, report sensor fault, while there is no bright light, counting surpasses 2 reports and makes a dash across the red light;
    Operation shows:
    The order of sending according to upper computer (the top button in block data and terminal button signal), top button and the flicker of terminal button, both can only have a flicker, and rear operation is effective:
    Button signal keeps 200 milliseconds and will reset;
    Ann reset:
    The order top button signal of sending according to upper computer and upper " closing demonstration " function button, operate accordingly, resets " sensor fault demonstration " and " alarm display of making a dash across the red light ";
    Closing signal lamp:
    The order top button signal of sending according to upper computer and upper " closing signal " function button, carry out the operation of closing signal:
    Manually open again signal lamp:
    When signal is top and possesses " formal gating " signal, there is no local flaw signal simultaneously, do not report to the police, there is no " closing demonstration " and " closing signal ", the adverse party signal that do not make a dash across the red light, according to top button signal order, opens signal lamp again;
    Signal lamp is controlled output:
    According to the status signal of signal in block data, control signal machine relay, outputs to on-site signal machine;
    Reseting data:
    Receive scheduling subroutine reset command or system actuation signal, make the block data of signal reset to virgin state;
    Data are returned and are deposited:
    Continuous 10 byte datas that finally LBB60 started are returned and are deposited in the specified corresponding region of block data of signal storage data label NO.
  3. 3. control system according to claim 2, it is characterized in that, described signal subroutine module comprises encapsulation subroutine module, described encapsulation subroutine module the is integrated detection signal of signal, operational order and input/output argument, and described input parameter comprises:
    Take turns the A detection signal data pattern BOOL code name LA that compresses switch;
    Take turns the B detection signal data pattern BOOL code name LB that compresses switch;
    Signal lamp local flaw signal data pattern BOOL code name DJ;
    Signal lamp return signal data pattern BOOL code name XJ_F;
    Take turns the A timer data pattern TIMER code name TA that compresses switch;
    Take turns the B timer data pattern TIMER code name TB that compresses switch;
    Signal storage data label data pattern WORD code name NO;
    Described output parameter comprises:
    Signal is exported white modulating signal, data pattern BOOL code name XJ.
  4. 4. control system according to claim 3, is characterized in that, described railway switch control subprogram comprise function:
    Reading data:
    Read in the specified data of the data label NO that is stored in block data and be kept in the local storage of continuous 10 bytes that LBB60 starts;
    Report to the police:
    The state of exporting and return the state judgement track switch of expression according to run signal, in the situation that program is not sent output action signal, track switch " expression signal " disappears, and will quote " squeezing trouble " warning; In the situation that sending output action signal, surpass and within 20 seconds, there is no return signal, will quote " moving overtime " and report to the police;
    Ann reset:
    In M/C track switch, track switch is again during gating or interrupt while resetting, and warning automatically resets;
    M/C track switch:
    Upper " total fixed behaviour ", " total anti-behaviour " function button by M/C button and system complete the M/C of track switch jointly;
    Railway switch control output:
    Comprise that determining behaviour exports and anti-behaviour's output, when ordering manually or automatically, switch machine is moved, output control signal self-locking, when forwarding position or overtime warning to, the release of output control signal; Control signal output keeps two seconds to actual delivery channel, controls switch machine relay, and switch machine relay has auto-lock function, position limit switch power cut-off in switch machine driving circuit;
    Locking output:
    When there is switch machine action directive, switch machine puts in place, or the appearance of manual locking signal, sends switch machine " locking output ", disconnects switch machine power source for relay control, prevents maloperation;
    Tripping operation output:
    When there is time out fault or squeeze trouble fault, send " tripping operation output " signal, disconnect switch machine power supply;
    Simulation switch machine operation function:
    According to the state of output signal, time delay is after 5 seconds, holding signal, and the corresponding positions in juxtaposition PLC input image area, can change with control signal its actual position signal in follow-up scheduler program, reaches the operation of simulation switch machine;
    Data are returned and are deposited:
    Continuous 10 byte datas that LBB60 is started are returned and are deposited in the specified corresponding region of block data of switch machine storage data label NO.
  5. 5. control system according to claim 4, is characterized in that, described scheduling subroutine completes following functions:
    Reading data:
    First read in the data that are stored in block data, the data that N_ZD is specified, are kept in the local storage of continuous 10 bytes that LBB60 starts, and the data that N_YD is specified are kept in the local storage of continuous 10 bytes that LBB70 starts;
    The process control of route gating:
    If have button flash signal in left end and right-hand member signal block data simultaneously, will be according to top button and terminal button, two ends signal all not by other route preliminary elections, do not have in the situation of conflicting signal, put the initial endpoint signal of this route, route gating signal maintenance, route two ends signal preselected signal, and then starting Sequential output control signal by terminal, this signal is kept in each position of C_BYTE byte, for " logic output " program; When preselected signal exceeds 60 seconds, when " formal gating " signal does not also have, sentence the failure of route gating, the signal data at the route two ends that automatically reset;
    Route Open control:
    When all switch machines of route all put in place on request, and return to expression signal, put signal " formal gating " signal at route two ends, put initial endpoint signal machine output signal simultaneously, route is open-minded;
    The judgement of route fault:
    Open-minded when route, the count value of initial endpoint signal machine is less than at 4 o'clock, and terminal count value surpasses 2, sentences terminal signaling machine place and makes a dash across the red light, and at this moment will close initial endpoint signal machine output signal; Open-minded when route, when any one switch machine on route occurs that " expression signal " disconnects, signal will cut out;
    Route release:
    After surpassing 4, the top of route counting starts to judge whether both sides' count value equates, if (1), when the sensor of route both sides signal does not all have fault, judgement terminal A counting equals top A counting, and meanwhile, terminal B counting equals top B counting, at this moment, send unlock command; If (2), when the sensor of route both sides signal has fault, only judge that both sides' terminal count that all trouble free A holds or B holds equals top counting, at this moment, sends unlock command; After 8 seconds, send top and the terminal reset command of route, and released route gating signal;
    The license number preparation that passes a parameter:
    When route release, license number need to be moved on to terminal from top, put transmission commencing signal, " direction of transfer ", " even hanging digital display shows location number at top ", " left end garage data address ", " right-hand member garage data address " parameter are set, these parameters are sent to " license number driver routine ".
  6. 6. control system according to claim 5, is characterized in that, described license number transmits subprogram and completes following function:
    Positioning garage beginning address:
    According to the data block number of left end garage data address, right-hand member garage data address and storage license number, locate the beginning address in He You garage, left garage;
    Calculate and transmit license number number:
    The parameter transmitting according to scheduling subroutine, if direction of transfer is from left end to right-hand member delivery vehicle number, first according to " even hanging digital display shows location number at top " and " the left end garage data address " that receive, judgement Zhong“ top, garage connect hang number display position " the right also have the license number of several existence, calculate and transmit license number number:
    ?if direction of transfer is to transmit from right to left side license number, transmit license number number=" even hanging digital display shows location number at top ":
    ?transmitting license number number can not surpass 3, namely connects extension and can not surpass 3, surpasses at 3 o'clock, is set to 3;
    Calculate the address, room in left end garage:
    Right-hand member during to left end delivery vehicle, need to be sent to the license number of right-hand member on first empty parking space of left end, and the actual license number in judgement left end garage calculates the address of first empty parking space;
    Transmit license number:
    From left end garage, pass to right-hand member garage: first according to the transmission license number number (1-3) calculating, the license number in right-hand member garage 1-3 the parking stall that move right out successively, then, the continuous license number on the right from left end garage copies on the parking stall that right-hand member vacates, and the delivery vehicle bit position license number of left end is removed;
    From right-hand member garage, pass to left end garage: according to the transmission license number number (1-3) calculating, the 1-3 license number in right-hand member garage is sent on the continuous position that the address, room in the left end garage calculating starts, then, the license number on the right in right-hand member garage is moved to the left, and rightmost car bit position license number is removed;
    Reset and transmit signal:
    After transmission, the transmission signal that resets and arranged by scheduler program.
  7. 7. control system according to claim 6, is characterized in that, described control system also comprises management imformation system, comprises function:
    1) systemic-function
    System logs in: only log in actv. user and just can operate;
    Configure user: for user provides a function that configures user and password;
    Log off: only have system manager's ability ' logging off ';
    Sensor counting: all the sensors has all carried out data logging, can recall figure, analyzes;
    Event recorder: native system carries out record to more than 800 events, comprising: operation, event and fault;
    Allow mobile license number: in the situation that authorizing, system manager can arbitrarily carry out move operation to all license numbers in picture;
    2) operating function
    Close demonstration: can close the warning of making a dash across the red light, sensor warning;
    Closing signal: can closing signal lamp;
    Manual release: can not automatic unlocking in the situation that, carry out manual release operation;
    Signal operation: display comprises: signal output and show again, signal fracture of wire, the warning of making a dash across the red light, sensor fault, top operation, terminal operation;
    Switch locking/unlocking operation: manually locking track switch and release track switch, manually, after locking track switch, track switch can not operate;
    The manual open operation of signal: at path formally after gating, while having the signal of initiating terminal sign to close, by manual clearing signal;
    Warning export function: realize all alarm loggings;
    License number imports and exports function: license number is exported to from master control unit to Microsoft Excel file, then, import to Beck-up Control System from file, reduce the computer input work capacity of engine dispatcher;
    Locomotive coupling: the locomotive of click to need connect hanging in garage, during clearing signal, after automatic unlocking, this engine number will be sent in garage, the left side together with the license number on its left side automatically left; During clearing signal, after automatic unlocking, this engine number will be sent in garage, the right automatically together with the license number on its right to the right; While hanging license number over 3 companies, only transmit continuous three license numbers at two ends, input license number, deletes license number: complete the operation of license number.
  8. 8. control system according to claim 7, is characterized in that, the control function of described scheduling subroutine also comprises:
    1) railway switch control output
    First to judge whether head and end has operation, when two ends have in the situation of operation, and guarantee not have conflicting signal, two ends, not by preliminary election, enter strobe state by path, put two ends for " preliminary election ", juxtaposition head end signal, once this path gating will carry out follow-up control output;
    2) signal is controlled output
    On path, all switch machines, all after positive stop, are put two ends " key player on a team " signal, if signal end is " top ", make local terminal signal open, by the corresponding positions in scheduling feature output signal direct control signal data field, realize;
    When locomotive inlet passage, count value surpasses 2, when in path, switch machine occurs that signal appears making a dash across the red light in not closely connected and the other side, and closing signal machine;
    3) path release
    Release has two kinds of modes:
    Automatic unlocking mode: when locomotive rolls terminal away from, after top sensor counting is greater than 4, the A at two ends, two sensors of B compare respectively, after all meeting terminal count and being more than or equal to 1 for top counting, starts timing, unlocking signal output after 8 seconds;
    Unlocking manner manually: after manual operation or automatic unlocking failure, adopt release manually:
    ?artificial closing signal machine is after 30 seconds, and manual release is just effective;
    4) license number transfer control
    When unlocking signal sends, and whether the garage being connected with terminal according to top number and top require locomotive coupling, the desired direction of transfer of configuration license number transmitting function, connects and hang number, garage parameter and activate license number driver routine.
CN201310509448.1A 2013-10-25 2013-10-25 The automation control system of locomotive depot's signal system Active CN103523054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310509448.1A CN103523054B (en) 2013-10-25 2013-10-25 The automation control system of locomotive depot's signal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310509448.1A CN103523054B (en) 2013-10-25 2013-10-25 The automation control system of locomotive depot's signal system

Publications (2)

Publication Number Publication Date
CN103523054A true CN103523054A (en) 2014-01-22
CN103523054B CN103523054B (en) 2016-03-16

Family

ID=49925519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310509448.1A Active CN103523054B (en) 2013-10-25 2013-10-25 The automation control system of locomotive depot's signal system

Country Status (1)

Country Link
CN (1) CN103523054B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334729A (en) * 2015-11-27 2016-02-17 王先宏 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control
CN108241311A (en) * 2018-02-05 2018-07-03 安徽微泰导航电子科技有限公司 A kind of microrobot electronics disability system
CN113978515A (en) * 2021-11-11 2022-01-28 西南交通大学 Centralized dispatching command system for transportation production operation of railway vehicle service section

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5442711A (en) * 1977-09-12 1979-04-04 Hitachi Ltd Control system for controlling departure and course of trains
CA1162652A (en) * 1980-03-01 1984-02-21 Karl-Ulrich Dobler Electronic interlocking system
JPH02158454A (en) * 1988-12-09 1990-06-18 Railway Technical Res Inst Interlocking inspection method for electronic interlocking device for railroad signal
JPH03220059A (en) * 1990-01-24 1991-09-27 Nippon Signal Co Ltd:The Programming for memory of electronic interlocking device
US6259978B1 (en) * 1996-12-06 2001-07-10 Union Switch & Signal, Inc. Programmable relay driver
CN2529802Y (en) * 2002-01-11 2003-01-08 铁道专业设计院 Railroad switch central controller of railroad depot
CN101452287A (en) * 2007-12-08 2009-06-10 鞍山钢铁集团公司铁路运输公司 Railway signal microcomputer interlock system
CN102541562A (en) * 2011-12-30 2012-07-04 北京交通大学 Method for generating PLC (programmable logic controller) code for interlocking system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5442711A (en) * 1977-09-12 1979-04-04 Hitachi Ltd Control system for controlling departure and course of trains
CA1162652A (en) * 1980-03-01 1984-02-21 Karl-Ulrich Dobler Electronic interlocking system
JPH02158454A (en) * 1988-12-09 1990-06-18 Railway Technical Res Inst Interlocking inspection method for electronic interlocking device for railroad signal
JPH03220059A (en) * 1990-01-24 1991-09-27 Nippon Signal Co Ltd:The Programming for memory of electronic interlocking device
US6259978B1 (en) * 1996-12-06 2001-07-10 Union Switch & Signal, Inc. Programmable relay driver
CN2529802Y (en) * 2002-01-11 2003-01-08 铁道专业设计院 Railroad switch central controller of railroad depot
CN101452287A (en) * 2007-12-08 2009-06-10 鞍山钢铁集团公司铁路运输公司 Railway signal microcomputer interlock system
CN102541562A (en) * 2011-12-30 2012-07-04 北京交通大学 Method for generating PLC (programmable logic controller) code for interlocking system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334729A (en) * 2015-11-27 2016-02-17 王先宏 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control
CN108241311A (en) * 2018-02-05 2018-07-03 安徽微泰导航电子科技有限公司 A kind of microrobot electronics disability system
CN108241311B (en) * 2018-02-05 2024-03-19 安徽微泰导航电子科技有限公司 Micro-robot electronic disabling system
CN113978515A (en) * 2021-11-11 2022-01-28 西南交通大学 Centralized dispatching command system for transportation production operation of railway vehicle service section
CN113978515B (en) * 2021-11-11 2022-11-01 西南交通大学 Centralized dispatching command system for transportation production operation of railway vehicle service section

Also Published As

Publication number Publication date
CN103523054B (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN102175940B (en) Testing method of digital protection tester with fault data model base for protection testing
CN201017361Y (en) Rail motor car set examine and repair operation safety interlock monitoring system
CN102692598B (en) Electric cabinet logic tester device of railway vehicle
CN103523054B (en) The automation control system of locomotive depot's signal system
CN101327803B (en) Electric locomotive off-shift operation safe monitoring system
CN101299299B (en) On-site control method of ramp afflux controller and system thereof
CN106337588A (en) A Control System and Control Method of Repeated Combined Intelligent Parking Equipment
CN102157212B (en) Indicating method and system for nuclear power plant back-up control panel
CN103294018B (en) Intelligent key managing system and self-inspection processing method thereof
CN101727689A (en) One-stop electronic identification system for entry-exit port
CN110687863A (en) Virtualization integrated control system and method for rail transit comprehensive backup disk
CN109606433B (en) Road traffic signal simulation system applied to tramcar
CN112684715A (en) Full-automatic operation semi-physical simulation test system for subway
CN110994797A (en) Intelligent inspection system and method for secondary equipment of 500kV transformer substation
CN112722016A (en) Automatic test system and method for rail transit train automatic control system
CN201307233Y (en) Power car servicing safety monitoring system
CN106327592A (en) One-dimensional or two-dimensional code processing module for subway automatic ticket checker
CN107082074B (en) Intelligent stock way indicator for shunting railway
CN207037451U (en) A kind of thermal power plant automobile coal Sampling Machine Unattended remote managing and control system
CN208334957U (en) A kind of exhaust gas concentration control system
CN115578906A (en) Intelligent programmable computer interlocking simulation training platform
CN209117820U (en) A kind of relay protection test system
CN100573502C (en) A kind of instrument and equipment supervisory systems
CN203102598U (en) Traffic control device based on single chip
CN113393162A (en) Comprehensive scheduling method, device, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230105

Address after: China Railway Design Building, No. 15, Guang'an Road, Fengtai District, Beijing 100055

Patentee after: CHINA RAILWAY ENGINEERING CONSULTATION GROUP Co.,Ltd.

Address before: No. 603, Building 27, Modekou Xili, Shijingshan District, Beijing, 100041

Patentee before: Wang Xianhong

TR01 Transfer of patent right