CN110329312B - Method for controlling annunciator by interlocking system - Google Patents

Method for controlling annunciator by interlocking system Download PDF

Info

Publication number
CN110329312B
CN110329312B CN201910733862.8A CN201910733862A CN110329312B CN 110329312 B CN110329312 B CN 110329312B CN 201910733862 A CN201910733862 A CN 201910733862A CN 110329312 B CN110329312 B CN 110329312B
Authority
CN
China
Prior art keywords
state
signal
relay
command
annunciator
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.)
Active
Application number
CN201910733862.8A
Other languages
Chinese (zh)
Other versions
CN110329312A (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.)
Hunan CRRC Times Signal and Communication Co Ltd
Original Assignee
Hunan CRRC Times Signal and Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan CRRC Times Signal and Communication Co Ltd filed Critical Hunan CRRC Times Signal and Communication Co Ltd
Priority to CN201910733862.8A priority Critical patent/CN110329312B/en
Publication of CN110329312A publication Critical patent/CN110329312A/en
Application granted granted Critical
Publication of CN110329312B publication Critical patent/CN110329312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L5/00Local operating mechanisms for points or track-mounted scotch-blocks; Visible or audible signals; Local operating mechanisms for visible or audible signals
    • B61L5/12Visible signals
    • B61L5/18Light signals; Mechanisms associated therewith, e.g. blinders

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to the field of rail transit signal control, in particular to a method for controlling a signal machine by an interlocking system. The invention comprises the following steps: step S1: the interlocking system receives interlocking control commands corresponding to different lamp colors; step S2: determining a relay corresponding to a signal machine to be driven according to a signal machine command table, wherein the signal machine command table lists corresponding actions of all relays of the signal machine when interlocking control commands of different lamp colors are listed by an enumeration method; step S3: driving a relay to perform sucking up or dropping down actions; step S4: and acquiring state values fed back after all the relays execute corresponding actions, matching and checking the state values with the state of the annunciator corresponding to the light color in the state table of the annunciator, and determining whether the annunciator is correctly opened. The invention is compatible with all types of signaler lighting circuits, and can automatically adapt to the corresponding signaler lighting circuit only by carrying out a small amount of data configuration according to circuit logic.

Description

Method for controlling annunciator by interlocking system
Technical Field
The invention relates to the field of rail transit signal control, in particular to a method for controlling a signal machine by an interlocking system.
Background
The signal machine is a signal device arranged beside a railway track, and is mainly used for transmitting various states along the railway, so that drivers and shunting personnel can conveniently and quickly know the railway condition in front, and measures are taken to control the in and out of a train or the speed of the train.
The interlocking system establishes the mutual restriction relationship among the signal machine, the turnout and the access road through a technical means, thereby ensuring the safety of railway stations and shunting operation. In general, an interlock system controls a display state of a traffic signal by controlling a traffic signal lighting circuit.
Due to different design preferences of the signal lighting circuit, the interfaces of the interlocking system and the signal lighting circuit need to be adaptively adjusted, the software version of the interlocking system cannot be stable, frequent upgrading is needed, and unnecessary time and cost waste is caused.
Chinese patent CN201110256206.7 discloses a computer interlocking system and a method for controlling urban rail traffic signals. The computer interlocking system at least comprises an interlocking control unit and an input and output unit, wherein: when receiving an interlocking operation command, the interlocking control unit performs two-by-two or two-out interlocking logic operation on the interlocking operation command according to the current state information of each signal device, determines the state information of the signal device to be controlled by the interlocking operation command according to the result of the interlocking logic operation and outputs the state information to the input and output unit; and the input and output unit outputs driving information to the signal device to be controlled by the interlocking operation command to control the signal device to reach the determined state. However, the patent does not solve the technical problem that the complex and variable signaler lighting circuit and the interlock system interface processing cannot be stably compatible.
Disclosure of Invention
The invention aims to provide a method for controlling a signal machine by an interlocking system, which solves the problem that the interlocking system and a lighting circuit interface of the signal machine cannot be stably and compatibly controlled in the prior art.
In order to achieve the above object, the present invention provides a method for controlling a semaphore by an interlock system, comprising the steps of:
step S1: the interlocking system receives interlocking control commands corresponding to different lamp colors;
step S2: determining a relay corresponding to a signal machine to be driven according to a signal machine command table, wherein the signal machine command table lists corresponding actions of all relays of the signal machine when interlocking control commands of different lamp colors are listed by an enumeration method;
step S3: driving a relay to perform sucking up or dropping down actions;
step S4: and acquiring state values fed back after all the relays execute corresponding actions, matching and checking the state values with the state of the signal machine corresponding to the light colors in the signal machine state table, and determining whether the signal machine is correctly opened, wherein the corresponding states of all the relays are listed in the signal machine state table by an enumeration method when the signal machine is in different light colors.
In an embodiment, in step S2, the traffic signal command table is generated for the light color corresponding to the traffic signal command parameter, the interlock control commands of different light colors correspond to one or more traffic signal command parameters, and the traffic signal command parameter is formed by arranging and combining the driving values of all the relays in a certain order.
In one embodiment, the drive value of each relay in the semaphore command table is a binary number of one bit:
when the relay drives the attraction, the driving value of the relay is 1;
when the relay is driven to fall, the drive value of the relay is 0.
In an embodiment, the semaphore command parameter is in hexadecimal, octal or binary representation.
In one embodiment, in step S4, the traffic signal state table is generated by mapping the light colors to the traffic signal state parameters, and the traffic signal states of different light colors correspond to one or more traffic signal state parameters, where the traffic signal state parameters are formed by arranging and combining state values of all relays according to a certain order.
In one embodiment, the state value of each relay in the semaphore state table is a binary number of two bits:
when the state of the relay is the suction state, the state value of the relay is 10;
when the state of the relay is in a falling state, the state value of the relay is 01;
when the state of the relay is the irrelevant state, the state value of the relay is 00,
the irrelevant state means that the suction or falling state of the relay does not affect the lighting of the lamp with the corresponding lamp color.
In an embodiment, the matching check in step S4 specifically includes matching the state values according to a certain sequence based on the relays except the irrelevant state in the state table of the traffic signal, and if the state values are consistent, the check is passed, the traffic signal is correctly opened, and if the state values are not consistent, the check is not passed, and the traffic signal is not correctly opened.
In one embodiment, the semaphore state parameter is in hexadecimal, octal or binary representation.
In an embodiment, in step S2, the interlock system determines, according to the semaphore command parameter in the semaphore command state mapping table, a relay corresponding to the semaphore to be driven, where the semaphore command state mapping table is generated by the semaphore command parameter in the semaphore command table and the semaphore state parameter in the semaphore state table in a one-to-one correspondence of different light colors;
in step S4, the interlock system collects the state values fed back after all the relays perform corresponding actions to form a semaphore state parameter, performs matching verification with the semaphore state parameter corresponding to the light color in the semaphore command state mapping table, and if the verification passes, the semaphore is correctly opened, and if the verification does not pass, the semaphore is not correctly opened.
In one embodiment, the interlocking system is a computer interlocking system, a point type interlocking system, a full-automatic driving system-based interlocking system, a big-speed railway common-speed interlocking system or a high-speed railway interlocking system of a communication-based train automatic control system.
The method for controlling the annunciators by the interlocking system provided by the invention has the advantages that the high-level abstract unification treatment is carried out on the annunciator lighting circuit, the problem of frequent change of the interlocking system software version caused by the complexity and the changeability of the annunciator lighting circuit is solved, the method is compatible with all types of annunciator lighting circuits, the corresponding annunciator lighting circuit can be automatically adapted only by carrying out a small amount of data configuration according to the circuit logic, the version fixation is facilitated, and the safety and the reliability of the interlocking system are improved.
Drawings
The above and other features, properties and advantages of the present invention will become more apparent from the following description of the embodiments with reference to the accompanying drawings in which like reference numerals denote like features throughout the several views, wherein:
FIG. 1 is a schematic diagram of a lighting circuit of a traffic signal according to an embodiment of the present invention;
FIG. 2 discloses a flow chart of a method of an interlock system control signal according to an embodiment of the invention;
FIG. 3 discloses a schematic flow diagram of an interlock system control signal in accordance with an embodiment of the present invention;
fig. 4 discloses a signaling machine command parameter parsing flow chart according to an embodiment of the invention;
fig. 5 discloses a signaling machine state parameter generation flow chart according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic diagram of a traffic signal lighting circuit according to an embodiment of the present invention. By taking fig. 1 as an example, a method for controlling a traffic signal by an interlock system is provided by performing abstract processing on a traffic signal lighting circuit. In practical applications, the lighting circuit varies widely and is only described in an abstract way.
In the embodiment shown in fig. 1, the U lamp, the L lamp, the H lamp, the UU lamp, the B lamp, and the YB lamp are sucked up or dropped down by the relays LXJ1, LXJ2, LXJ3, ZXJ1, ZXJ2, DDJ1, DDJ2, LUXJ1, LUXJ2, TXJ1, TXJ2, YXJ1, YXJ2, and DJ according to a certain operation, thereby lighting the signal lamps of different lamp colors. The U lamp is the yellow light signal, and the L lamp is the green light signal, and the H lamp is the red light signal, and the UU lamp is two yellow light signals, and the B lamp is the white light signal of shunting, and the YB lamp is the guide white light signal.
In the embodiment of fig. 1, when the UU lamp needs to be lighted, the LXJ1 relay and the LXJ2 relay are sucked up, and other relays fall down;
when the U lamp needs to be lightened, the relays LXJ1, LXJ2, LXJ3, ZXJ1 and ZXJ2 need to be sucked up, and other relays fall down;
when the LU lamp needs to be lightened, the relays LXJ1, LXJ2, LXJ3, ZXJ1, ZXJ2, LUXJ1 and LUXJ2 are required to suck up, and other relays fall down;
when the L lamp needs to be lit, the relays LXJ1, LXJ2, LXJ3, ZXJ1, ZXJ2, TXJ1, and TXJ2 are required to be sucked up, and the other relays fall down.
And for the lighting of signal lamps with different lamp colors, the interlocking system gives out a corresponding interlocking control command to drive the corresponding relay to suck or fall.
Fig. 2 discloses a flow chart of a method of an interlock system control signal according to an embodiment of the invention. Fig. 3 discloses a schematic information flow diagram of an interlock system control signal in accordance with an embodiment of the present invention. In the embodiment shown in fig. 2 and fig. 3, the interlock system of the present invention includes a main program module 11, a lighting logic module 12, an IO driver module 13, an acquisition processing module 14, and a verification module 15 of the interlock system.
In the embodiment shown in fig. 2 and 3, the present invention provides a method for controlling a semaphore by an interlock system, comprising the steps of:
step S1: the main program module 11 of the interlocking system gives an interlocking control command to light the signal lamp with the specified lamp color, and the lighting logic module 12 of the interlocking system receives the corresponding interlocking control command.
Step S2: the interlocking system determines the relays corresponding to the signalers to be driven according to a signaler command table, and the signaler command table lists corresponding actions of all the relays of the signalers when interlocking control commands of different lamp colors are listed by an enumeration method.
Step S3: the drive relay executes the sucking or dropping action, sends an interlocking control command to the IO drive module 13, sets the memory position of the relay needing to be sucked to be 1, the IO drive module drives the relay corresponding to the position with the memory value of 1 to suck according to the data received by the module, sets the memory position of the relay needing to drop to be 0, and the IO drive module drives the relay corresponding to the position with the memory value of 0 to drop according to the data received by the module;
step S4: the relay executes corresponding actions, the lighting circuit of the annunciator corresponding to the light color is lighted, the acquisition processing module 14 of the interlocking system acquires state values fed back by all the relays, the verification module 15 of the interlocking system performs matching verification on the acquired state values and the state of the annunciator in the state table of the annunciator to determine whether the annunciator is correctly opened, and the state table of the annunciator lists the corresponding states of all the relays in different light colors by an enumeration method.
The following further illustrates the method for controlling the annunciator by the interlocking system, taking the lighting of the U lamp as an example, and comprises the following steps:
step S1: the main program module 11 of the interlock system gives an interlock control command to light the U lamp, and the lighting logic module 12 of the interlock system receives the corresponding interlock control command.
Step S2: the interlocking system determines that one of the relays corresponding to the signal machine needing to be driven and sucked is the relay LXJ according to the signal machine command table;
step S3: sending an interlocking control command to the IO driving module 13, setting the memory position of the relay LXJ to be "1", and the IO driving module 13 driving and sucking up the relay LXJ corresponding to the position with the memory value of "1" according to the data received by the module;
step S4: the lighting circuit lights the U lamp, the acquisition processing module 14 of the interlocking system acquires state values fed back by all relays, and the checking module 15 of the interlocking system performs matching checking on the acquired state values and the state of the annunciator in the state table of the annunciator to determine whether the annunciator is correctly opened.
In the method for controlling the traffic signal by the interlock system, the traffic signal command table and the traffic signal state table may form the traffic signal command state mapping table according to different light colors, so that the roles of the two tables, i.e., the traffic signal command table and the traffic signal state table, in the steps S2 and S4 are completed through one table, i.e., the traffic signal command state mapping table.
In the method for controlling the traffic signal by the interlock system, the traffic signal command table, the traffic signal state table, and the command state mapping table are the key points of the present invention, and the composition structure and the functions of the 3 tables are described in detail below.
And the annunciator command table lists the corresponding actions of the interlocking control command and all relays of the annunciator in different light colors by an enumeration method.
And the annunciator command table is generated by corresponding the light colors and the annunciator command parameters, different light colors correspond to one interlocking control command, each interlocking control command corresponds to one or more annunciator command parameters, and the annunciator command parameters are formed by arranging and combining the driving values of all relays according to a certain sequence. When the signal lamp with a certain lamp color needs to be lightened, the corresponding signal machine command parameter is found through the signal machine command table, and therefore the relay needing to be acted is determined.
Table 1 is a traffic signal command table according to an embodiment of the present invention. The semaphore command table lists as many as possible all the relays that may be present in the semaphore drive. All relays in table 1 are represented as follows: SNJJ, USUJ, DDJ, LUJ, LJ, DXJ, LUXJ, YXJ, TXJ, ZXJ, LXJ.
Wherein: the relay SNJJ is a flash monitoring relay and is used for monitoring whether the flash energy of the USU signal is normally opened or not and assisting in lighting a yellow flash signal; the relay USUJ is a yellow flashing relay and is used for lightening a yellow flashing signal when being sucked; the relay DDJ is a lighting relay and is used for lighting signal light when being sucked; the relay LUJ is a green-yellow light signal relay and is used for lighting a green-yellow light signal when being sucked; the relay LJ is a green light signal relay and is used for lighting a green light signal when being attracted; the relay DXJ is a shunting signal relay and is used for lightening a shunting signal when being sucked; the relay LUXJ is a green-yellow signal relay and is used for lightening a green-yellow signal when being sucked; the relay YXJ is a guide signal relay and is used for lightening a guide signal when being sucked; the relay TXJ is a passing signal relay and is used for lightening a passing signal of the train when the train is sucked; the relay ZXJ is a positive line relay and is used for indicating whether a train enters a positive line track or not and lightening a positive line train receiving signal during suction; relay LXJ is a train signal relay that lights the semaphore enable signal when it is picked up.
The relays are numbered 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10 in sequence and are arranged in the order of the numbers. The driving operation of the relay is expressed by a driving value, which is a binary number of 1 bit.
"↓" in table 1 indicates the relay being driven and sucked up, and "↓" indicates the relay being driven and fallen down, and the corresponding driving value is "0".
The signal machine command parameter is formed by arranging and combining the driving values of all relays according to a certain sequence. In the embodiment of table 1, the traffic signal command parameter is the "traffic signal command parameter" in the rightmost column of each row, and is a 16-bit value composed from left to right in the order of numbers according to the driving values of all the relays on the left side, and is represented by hexadecimal in table 1.
Table 1 signal command table example 1
Figure BDA0002161502440000071
And (4) lighting the signal lamp with the corresponding lamp color according to the suction and falling of the relay, and naming the corresponding signal machine command parameters.
The first row of command parameters is '0 x 0100', the corresponding relay is driven to suck up and fall down so as to light the H lamp, the signal lamp command parameters correspond to the lamp color H, the lamp color H is a red lamp signal, and the interlocking control command is a lamp color H command;
the second row of command parameters is 0x0101, the corresponding relay is driven to suck up and fall down so as to light the UU lamp, the signal lamp command parameters correspond to the lamp color UU, the lamp color UU is a double yellow lamp signal, and the interlocking control command is a lamp color UU command;
a third row command parameter of 0x0301 drives a corresponding relay to suck up and drop down so as to light the USU lamp, the signal lamp command parameter corresponds to the lamp color USU, the lamp color USU is a yellow flashing yellow signal, and the interlocking control command is a lamp color USU command;
a fourth row command parameter of 0x0103 drives a corresponding relay to suck up and drop down so as to light a U lamp, the signal lamp command parameter corresponds to a lamp color U, the lamp color U is a yellow lamp signal, and the interlocking control command is a lamp color U command;
a fifth row command parameter of 0x0113, which drives a corresponding relay to suck up and drop down so as to light the LU lamp, wherein the signal lamp command parameter corresponds to the light color LU, the light color LU is a green-yellow signal, and the interlocking control command is a light color LU command;
the sixth line command parameter "0 x 0143" drives the corresponding relay to suck up and drop down to illuminate the L lamp, the signal lamp command parameter corresponds to the lamp color L, which is a green lamp signal, and the interlock control command is a lamp color L command.
In other embodiments, the signal command parameter may be represented in the form of octal or binary, and the driving value of the relay may also be represented by a binary number of digits.
Byte1 in table 1 has a reserved bit as an extension to the subsequent addition of a relay. Obviously, the number of bytes in the semaphore command table can be further expanded or reduced according to hardware storage operation resources and the number of all relays expected.
In the embodiment shown in table 1, the traffic signal command parameters are in one-to-one correspondence with the lamp colors, that is, one lamp color corresponds to the suck-up and drop actions of a group of relays.
In other embodiments, one lamp color corresponds to the suck-up and drop actions of the plurality of sets of relays, and at this time, the plurality of signal command parameters can illuminate the lamp of the lamp color by driving the corresponding relay suck-up and drop actions. Table 2 shows an example of the traffic signal command table 2, and the symbols and the definition of each parameter in table 2 refer to table 1.
As shown in table 2, although the first row command parameter "0 x 0113" and the second row command parameter "0 x 0183" are different from each other in the relay for driving the suck-up/drop operation, the LU lamp can be turned on similarly, and therefore, these two sets of command parameters correspond to the lamp color LU.
The third line command parameter "0 x 0143" and the fourth line command parameter "0 x 0107" drive the corresponding relays for the suck-up, drop-down operation, but the L lamp can be lit similarly, and therefore, the two sets of command parameters correspond to the lamp color L.
Table 2 semaphore command table embodiment 2
Figure BDA0002161502440000091
The state table of the signal machine lists the corresponding states of all the relays in different lamp colors by an enumeration method.
And the signal machine state table is generated by correspondingly generating the light colors and the signal machine state parameters, the signal machine states of different light colors correspond to one or more signal machine state parameters, and the signal machine state parameters are formed by arranging and combining the state values of all the relays according to a certain sequence.
Table 3 is a signal state table according to an embodiment of the present invention. The semaphore state table lists as many as possible all relays that may be present in the semaphore acquisition. All relays in table 3 are as follows: DJ. LXJ, ZXJ, TXJ, YXJ, LUXJ, DXJ, LJ, LUJ, DDJ, USUJ, SNJJ. Wherein: and the relay DJ is a filament relay and is used for checking whether the main filament of the annunciator is broken, and the rest relays are consistent with the description in the table 1.
The relays are numbered 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and 11 in sequence and are arranged in the sequence of numbers. The state of the relay is represented by a state value, which is a binary number of two bits.
In table 3, "×" indicates that the state of the relay is in the suck-up state, the corresponding state value is "10", "↓" indicates that the state of the relay is in the drop-down state, the corresponding state value is "01", "×" indicates that the state of the relay is in the irrelevant state, and the corresponding state value is "00".
The irrelevant state means that the lamp lighting of the corresponding lamp color is not affected by the suction or dropping state of the relay.
The irrelevant state is determined by matching the state values in a certain order according to the relays whose states are sucking up "↓" or dropping down "↓" in table 3, and if the state values of the relays are consistent with those in table 3, the check is passed and the traffic signal is correctly opened. The other relays are not matched any more, and the state of the relay which is not matched any more is an irrelevant state, and the corresponding state value is '00'.
Taking the lamp color U in table 3 as an example, the corresponding state parameter is "0 x 0008046A", and if the states of the relays DJ, LXJ, ZXJ, TXJ, LUXJ, and DDJ can satisfy the requirements, the state values of the other relays are not considered any more, the states of the relays are irrelevant, and the corresponding state value is "00".
The signal machine state parameter is formed by arranging and combining state values of all relays according to a certain sequence.
In the embodiment shown in table 3, the semaphore state parameter is the "semaphore state parameter" at the rightmost side of each row, and is a 32-bit value composed from left to right in the order of numbering according to the state values of all relays on the left, and is represented in hexadecimal.
Table 3 semaphore state table example 1
Figure BDA0002161502440000101
And (4) lighting the signal lamp with the corresponding lamp color according to the suction and falling of the relay, and naming the corresponding state parameter of the signal machine.
The first row of state parameters, 0x00080106, consists of the suck-up and drop-down state values of the corresponding relays for lighting the H lamp, the signal lamp state parameter corresponds to the lamp color H, the lamp color H is a red signal, and the signal state parameter is the lamp color H state;
the second row of state parameters "0 x 0008001A" is composed of the suck-up and drop-down state values of the corresponding relays for lighting the UU lamp, the signal lamp state parameters correspond to the lamp color UU, the lamp color UU is a double yellow lamp signal, and the signal state parameters are the lamp color UU state;
a third row state parameter of 0x00A8001A, which is composed of a suction-falling state value of a corresponding relay for lighting the USU lamp, the signal lamp state parameter corresponds to the lamp color USU, the lamp color USU is a yellow flashing signal, and the signal state parameter is the lamp color USU state;
a fourth row state parameter of "0 x 0008046A" consisting of the suck-up and drop-down state values of the corresponding relays for lighting the U lamp, the signal lamp state parameter corresponding to the lamp color U, the lamp color U being a yellow signal, the signal state parameter being the lamp color U state;
a fifth row status parameter "0 x 0008086A", which is composed of the suck-up and drop status values of the corresponding relays for lighting the LU lamp, the signal lamp status parameter corresponds to the light color LU, the light color LU is a green-yellow signal, and the signal status parameter is the light color LU status;
the sixth row of status parameters "0 x000800 AA" is composed of the suck-up and drop-down status values of the corresponding relay that lights the L lamp, the signal light status parameter corresponds to the light color L, which is the green light signal, and the signal status parameter is the light color L status.
In other embodiments, the semaphore state parameter may be represented in octal or binary form, etc. The drive value of the relay may also be represented by a single bit or a binary number of bits.
Byte3 Byte in table 3 is a reserved Byte as an extension to the subsequent addition of a relay. Obviously, the number of bytes of the semaphore state table can be further expanded or reduced according to hardware storage operation resources and the number of all relays expected.
In the embodiment of table 3, the semaphore state parameter is one-to-one corresponding to the light color, that is, one light color corresponds to the suck-up-and-drop state of a group of relays.
In other embodiments, one color corresponds to the suck-up and drop-down states of multiple sets of relays, and the suck-up and drop-down states of multiple relays can illuminate the signal lamp with the color. Table 4 shows an example of the traffic signal state table 2, and table 3 refers to the symbols and the definition of each parameter in table 4.
As shown in table 4, the first row status parameter "0 x 0008086A" and the second row status parameter "0 x000a 400A" can also illuminate the LU lamp by the relay in different pick-up and drop-down states, and therefore, the two sets of status parameters correspond to the lamp color LU.
The third row state parameter "0 x000800 AA" and the fourth row state parameter "0 x 0008800A" are different from the pick-up and drop-down state relay, and therefore, the two sets of state parameters correspond to the color L of the lamp.
Table 4 semaphore state table example 2
Figure BDA0002161502440000121
The interlocking system can realize the self-adaptive light color control of the annunciator according to the annunciator command table and the annunciator state table.
Taking the UU lamp lighting as an example, the main program module 11 of the interlock system sends an interlock control command "0 x 0101" according to table 1, and the lighting logic module 12 of the interlock system receives the interlock control command, and then analyzes the command according to table 1, and drives the relays DDJ and LXJ to suck up, and drives other relays to fall down. The acquisition processing module 14 of the interlocking system forms a starting signal state parameter according to the state values of all relay states of the signal, the check module 15 of the interlocking system searches for the signal state parameter corresponding to the signal command parameter "0 x 0101" to be "0 x 0008001A" according to the table 3 to check and match, if the signal state parameter formed by the acquisition processing module 14 is not consistent with the value, the signal is considered to be not correctly opened, and if the signal state parameter is consistent with the value, the signal is correctly opened.
Further, the verification module 15 of the interlock system performs state value matching according to the relays in the table 3 except for irrelevant states, that is, the relays in the states of sucking up "↓" or dropping down "↓" perform state value matching in a certain sequence, and if the relays can be consistent with the table 3, the verification is passed, and the signaler is correctly opened.
And the signal machine command state mapping table is generated by the signal machine command parameters of the signal machine command table and the signal machine state parameters of the signal machine state table according to the one-to-one correspondence of different lamp colors.
Signal machine command state mapping: a mapping table is formed according to different lamp colors, namely a signal command table and a signal state table, the mapping table maintains the corresponding relation between the relay state of signal lighting and the control command, and the mapping relation is synchronous and dynamically variable because the command table and the state table are dynamically variable.
The interlocking system can realize the self-adaptive light color control of the annunciator according to the annunciator command state mapping table.
Table 5 is a traffic signal command status mapping table according to an embodiment of the present invention, which is a mapping table formed according to tables 1 and 3 of different lamp colors, and is not listed in table 5 according to the actions and statuses of the corresponding relays, which is limited by space, and can refer to tables 1 and 3.
Taking the UU lamp lighting as an example, the main program module 11 of the interlock system sends an interlock control command "0 x 0101" according to table 5, and the lighting logic module 12 of the interlock system receives the interlock control command, and then analyzes the command, and drives the relays DDJ and LXJ to suck up and drive other relays to fall down. The acquisition processing module 14 of the interlocking system forms a signal machine state parameter according to the state value combination of all relay states of the signal machine, the check module 15 searches for the signal machine state parameter corresponding to the signal machine command parameter "0 x 0101" to be "0 x 0008001A" according to the table 5 to perform check matching, if the signal machine state parameter formed by the acquisition processing module 14 is inconsistent with the value, the signal machine is not correctly opened, and if the signal machine state parameter is consistent with the value, the signal machine is correctly opened.
Further, the verification module 15 of the interlock system performs state value matching according to the relays in the table 5 except for irrelevant states, that is, the relays in the states of sucking up "↓" or dropping down "↓" perform state value matching in a certain sequence, and if the relays can be consistent with the table 5, the verification is passed, and the signaler is correctly opened.
Table 5 semaphore command status mapping table embodiment 1
Color of light State parameter of signal machine Signaler command parameters
H 0x00080106 0x0100
UU 0x0008001A 0x0101
USU 0x00A8001A 0x0301
U 0x0008046A 0x0103
LU 0x0008086A 0x0113
L 0x000800AA 0x0143
In some embodiments, the semaphore state parameter, the semaphore command parameter, and the light color are in one-to-one correspondence, and at this time, the interlock system implements adaptive light color control of the semaphore according to the semaphore command table and the semaphore state table, respectively, and is not much different from implementing adaptive light color control of the semaphore through the semaphore command state mapping table. If the interlocking system realizes the adaptive light color control of the signal machine according to the tables 1 and 3, the difference from the interlocking system realizing the adaptive light color control of the signal machine according to the table 5 is not large.
In other embodiments, the plurality of traffic signal state parameters and the plurality of traffic signal command parameters correspond to one light color, and at this time, the interlocking system can quickly realize the correspondence between the traffic signal command parameters, the traffic signal state parameters, and the light color through the traffic signal command state mapping table.
Table 6 is a traffic signal command status mapping table embodiment 2, and as shown in table 6, for the same light color LU, two sets of traffic signal status parameters and traffic signal command parameters correspond, that is, the traffic signal status parameter "0 x 0008086A" corresponds to the traffic signal command parameter "0 x 0113", and the traffic signal status parameter "0 x000a 400A" corresponds to the traffic signal command parameter "0 x 0183". The annunciator state parameter corresponding to the annunciator command parameter of one light color can be quickly searched according to the table 6.
Table 6 semaphore command state mapping table embodiment 2
Color of light State parameter of signal machine Signaler command parameters
LU 0x0008086A 0x0113
LU 0x000A400A 0x0183
L 0x000800AA 0x0143
L 0x0008800A 0x0107
If the interlocking system searches for the annunciator state parameter corresponding to the annunciator command parameter of one light color according to the annunciator command table and the annunciator state table, two or more annunciator state parameters may exist, so that the workload is increased when matching verification is performed. If the interlock system searches for the corresponding semaphore state parameter according to the semaphore command parameter "0 x 0113" corresponding to the light color LU of table 2, and the light color LU of table 4 corresponds to two semaphore state parameters "0 x 0008086A" and "0 x000a 400A", both of the two semaphore state parameters need to be subjected to matching verification when performing matching verification, which obviously increases workload and complexity compared with directly passing through the semaphore command state mapping table.
And the interlocking system analyzes the command parameters of the annunciator according to the received interlocking control command and the annunciator command table, and drives the corresponding relay to suck or fall.
Fig. 4 discloses a signaling command parameter parsing flow chart according to an embodiment of the invention. In the embodiment shown in fig. 4, the format of the semaphore command parameter corresponds to the 16-bit parameter value in tables 1 and 2. The signal command analysis process is as follows:
the interlocking system receives a signal machine command parameter cmd;
initializing a cycle variable i, and setting i to be 0;
when i < 16;
sequentially detecting an ith data bit of a semaphore command parameter cmd;
if the data bit of the current position of the signal machine command parameter cmd is 1, driving the ith relay to suck according to a signal machine command table;
if the ith data bit of the current position of the command parameter cmd is 0, no action is taken;
adding 1 to the loop variable i, and continuously detecting the next data bit;
and the above steps are circulated until i is 16, each bit of data of the command parameter cmd of the signal machine is completely analyzed, and the process is ended.
The interlocking system collects state values fed back after all relays perform corresponding actions, and arranges and combines the state values according to a certain sequence to form signal machine state parameters, so that the state parameters are matched and verified with the signal machine state parameters in the signal machine state table.
Fig. 5 discloses a signaling machine state parameter generation flow chart according to an embodiment of the invention. In the embodiment shown in fig. 5, the format of the semaphore state parameter corresponds to the 32-bit parameter value in tables 3 and 4. The generation flow of the signal state parameters is as follows:
initializing a state parameter sta of a signal machine, initially setting two-bit data bits corresponding to each relay to be 01, initializing a cycle variable i, and setting i to be 0;
when i is less than 12;
sequentially detecting the ith relay of the signal machine according to the state table of the signal machine;
if the ith relay state of the annunciator is detected to be suction, setting the corresponding two-bit data bit as 10;
if the ith relay of the annunciator is detected to fall, the corresponding two-bit data is unchanged;
adding 1 to the cyclic variable i, and continuously detecting the state of the next relay;
and (5) the circulation is carried out until the states of 12 relays are all detected, the signal state parameter sta of the signal is output, and the process is ended.
The semaphore state parameter generated in the embodiment shown in fig. 5 does not include a relay whose state is irrelevant, and corresponds to a state value of "00". Therefore, when the interlocking system uses the semaphore state parameter generated in fig. 5 to perform state value matching verification, only the suck-up or drop state of the relevant relay that is in effect needs to be determined, and if the state values of the relevant relays can be matched with the semaphore state parameters in the semaphore state table in a certain order, the semaphore is correctly opened. The related relay is a relay which is sucked or dropped in a state table of the annunciator and influences the lighting of the lamp with the corresponding lamp color. The related relays are relays except for unrelated states.
In the embodiment shown in table 3, taking the lamp color U in table 3 as an example, the corresponding state parameter is "0 x 0008046A", and if the state values of the relays DJ, LXJ, ZXJ, TXJ, LUXJ, and DDJ are related relays and can be matched with the states of the relays in table 3, it is determined that the annunciator is correctly opened, and no further matching is required for other relays.
The method for controlling the annunciator by the interlocking system can be written by using C language or other computer languages and is realized in the interlocking system.
The interlocking system in the invention can be a computer interlocking based on a TECIS (time electric computer interlocking system) platform, and can also be a computer interlocking system of other platforms.
The interlocking System in the invention can be a computer interlocking System Based on a Communication Based Train Automatic Control System (CBTC), a point type interlocking System, an interlocking System Based on a Full Automatic Operation (FAO), a high-speed railway interlocking System or a high-speed railway interlocking System
The method for controlling the annunciators by the interlocking system provided by the invention has the advantages that the high-level abstract unification treatment is carried out on the annunciator lighting circuit, the problem of frequent change of the interlocking system software version caused by the complexity and the changeability of the annunciator lighting circuit is solved, the method is compatible with all types of annunciator lighting circuits, the corresponding annunciator lighting circuit can be automatically adapted only by carrying out a small amount of data configuration according to the circuit logic, the version fixation is facilitated, and the safety and the reliability of the interlocking system are improved.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood by one skilled in the art.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
The embodiments described above are provided to enable persons skilled in the art to make or use the invention and that modifications or variations can be made to the embodiments described above by persons skilled in the art without departing from the inventive concept of the present invention, so that the scope of protection of the present invention is not limited by the embodiments described above but should be accorded the widest scope consistent with the innovative features set forth in the claims.

Claims (7)

1. A method of controlling a semaphore by an interlock system, comprising the steps of:
step S1: the interlocking system receives interlocking control commands corresponding to different lamp colors;
step S2: the interlocking system determines a relay corresponding to the annunciator to be driven according to the annunciator command parameters in the annunciator command state mapping table;
the signal machine command state mapping table is generated by the signal machine command parameters of the signal machine command table and the signal machine state parameters of the signal machine state table according to the one-to-one correspondence of different lamp colors;
the annunciator command table lists corresponding actions of all relays of the annunciator when interlocking control commands of different light colors are listed by an enumeration method, the annunciator command table is generated by correspondingly generating the light colors and the annunciator command parameters, the interlocking control commands of different light colors correspond to one or more annunciator command parameters, and the annunciator command parameters are formed by arranging and combining driving values of all the relays according to a certain sequence;
step S3: driving a relay to perform sucking up or dropping down actions;
step S4: the interlocking system collects state values fed back after all relays execute corresponding actions to form signal machine state parameters, matching verification is carried out on the signal machine state parameters corresponding to the light colors in a signal machine command state mapping table, if the verification is passed, the signal machine is correctly opened, and if the verification is not passed, the signal machine is not correctly opened;
the signal state table lists the corresponding states of all relays in different light colors by an enumeration method, the signal state table is generated by correspondingly generating the light colors and signal state parameters, the signal states of different light colors correspond to one or more signal state parameters, and the signal state parameters are formed by arranging and combining the state values of all the relays according to a certain sequence.
2. The method of an interlocking system control signal as claimed in claim 1, wherein the drive value of each relay in the signal command table is a binary number of one bit:
when the relay drives the attraction, the driving value of the relay is 1;
when the relay is driven to fall, the drive value of the relay is 0.
3. The method of an interlocking system control signal as set forth in claim 1,
the annunciator command parameters are in hexadecimal, octal or binary representation.
4. The method of an interlocking system control signal as claimed in claim 1, wherein: the state value of each relay in the state table of the annunciator is binary number of two bits:
when the state of the relay is the suction state, the state value of the relay is 10;
when the state of the relay is in a falling state, the state value of the relay is 01;
when the state of the relay is the irrelevant state, the state value of the relay is 00,
the irrelevant state means that the suction or falling state of the relay does not affect the lighting of the lamp with the corresponding lamp color.
5. The method according to claim 4, wherein the matching check in step S4 specifically includes matching state values according to a sequence of relays except for the irrelevant state in the signal state table, and if the state values are consistent, the check is passed, the signal is correctly opened, and if the state values are inconsistent, the check is not passed, and the signal is not correctly opened.
6. The method of an interlocking system control signal as claimed in claim 1, wherein:
the semaphore state parameter is represented in hexadecimal, octal or binary form.
7. The method of an interlocking system control signal as claimed in claim 1, wherein:
the interlocking system is a computer interlocking system, a point type interlocking system, a full-automatic driving system-based interlocking system, a big-railway common-speed interlocking system or a high-speed railway interlocking system of a communication-based train automatic control system.
CN201910733862.8A 2019-08-09 2019-08-09 Method for controlling annunciator by interlocking system Active CN110329312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910733862.8A CN110329312B (en) 2019-08-09 2019-08-09 Method for controlling annunciator by interlocking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910733862.8A CN110329312B (en) 2019-08-09 2019-08-09 Method for controlling annunciator by interlocking system

Publications (2)

Publication Number Publication Date
CN110329312A CN110329312A (en) 2019-10-15
CN110329312B true CN110329312B (en) 2021-03-26

Family

ID=68149118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910733862.8A Active CN110329312B (en) 2019-08-09 2019-08-09 Method for controlling annunciator by interlocking system

Country Status (1)

Country Link
CN (1) CN110329312B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112158235B (en) * 2020-08-25 2022-10-18 通号城市轨道交通技术有限公司 Outdoor signal equipment control method and system for urban rail transit
CN113353123B (en) * 2021-05-27 2022-11-22 国能朔黄铁路发展有限责任公司 Interlocking execution verification method and device, computer equipment and storage medium
CN113504774B (en) * 2021-09-09 2021-12-24 卡斯柯信号(北京)有限公司 Train control interlocking integration and dispatching centralized system interface data checking method and device
CN114852128A (en) * 2022-03-31 2022-08-05 浙江众合科技股份有限公司 Method for automatically configuring current value of interlocking equipment annunciator
CN115394092B (en) * 2022-08-03 2024-03-12 卡斯柯信号有限公司 Multi-light-position annunciator driving method based on priority

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB222832A (en) * 1923-10-06 1924-11-06 Westinghouse Brake & Signal Improvements relating to railway signalling apparatus
US6466827B1 (en) * 1999-02-22 2002-10-15 Repete Corporation Industrial control system employing relay ladder objects
CN201026897Y (en) * 2007-04-18 2008-02-27 北京康吉森交通技术有限公司 Interlocking signal module of modular computer
CN204362357U (en) * 2014-12-12 2015-05-27 柳州铁道职业技术学院 Rail sand table analog signal lamp circuit

Also Published As

Publication number Publication date
CN110329312A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN110329312B (en) Method for controlling annunciator by interlocking system
CN101431848B (en) Control device, automatic fault reporting system and method
US4939725A (en) Multiplex transmission system
CN102510612A (en) LED (light-emitting diode) multi-stage drive circuit and transmission method of LED drive data
CN101833866A (en) Mine slope ramp traffic signal monitoring system based on radio frequency identification technology
CN114241964A (en) Simulated lighting method, device and system of special-shaped LED display screen
CN101466188A (en) Control device, system and method for automatically reporting fault
CN207302344U (en) A kind of intelligent traffic lamp real-time control system
CN102005126B (en) Multi-intersection traffic signal control machine
CN107633696A (en) A kind of system of Contrast tuned imaging traffic lights
CN201341253Y (en) Control device and automatic fault reporting system
CN115514790A (en) Internet of things vehicle-mounted dimming system and method for removing gateway in tunnel
CN112885294B (en) LED drive chip, drive circuit and display unit of dual signal source input
CN103547018A (en) Lamplight control system needless of address setting
CN209591089U (en) A kind of upgrading control system of distributed traffic signal machine
CN211786659U (en) AGV communication control panel
CN107734803A (en) Lamplight scene control method, device and electronic equipment
CN201430710Y (en) Control device and automatic fault report system
CN107634890B (en) Communication method and communication device
KR200305211Y1 (en) Street lamp control system to use Yangbanghyang power line communication
CN111762228B (en) Hump auxiliary annunciator control method and system
CN117152975A (en) Road traffic signal controller, non-stop method and device
JPH10188159A (en) Illumination device
CN107872909B (en) Dual data channels method for controlling lamp and controller
DE60209677D1 (en) Light information device for displaying the operating state of a system, in particular for avionics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant