CN111405047B - Method for realizing two-by-two-out-of-two axle counting communication interface switching - Google Patents

Method for realizing two-by-two-out-of-two axle counting communication interface switching Download PDF

Info

Publication number
CN111405047B
CN111405047B CN202010197564.4A CN202010197564A CN111405047B CN 111405047 B CN111405047 B CN 111405047B CN 202010197564 A CN202010197564 A CN 202010197564A CN 111405047 B CN111405047 B CN 111405047B
Authority
CN
China
Prior art keywords
interface board
interface
state
current
adjacent
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
CN202010197564.4A
Other languages
Chinese (zh)
Other versions
CN111405047A (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.)
Beijing Yonglex Technologies Co ltd
Original Assignee
Beijing Yonglex Technologies 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 Beijing Yonglex Technologies Co ltd filed Critical Beijing Yonglex Technologies Co ltd
Priority to CN202010197564.4A priority Critical patent/CN111405047B/en
Publication of CN111405047A publication Critical patent/CN111405047A/en
Application granted granted Critical
Publication of CN111405047B publication Critical patent/CN111405047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L1/00Devices along the route controlled by interaction with the vehicle or train
    • B61L1/16Devices for counting axles; Devices for counting vehicles
    • B61L1/168Specific transmission details

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Electronic Switches (AREA)

Abstract

The invention provides a method for realizing the switching of a two-by-two-out-of-two axle-counting communication interface, which comprises the following steps: the system comprises a selector switch, a state acquisition interface, a state driving interface, and an interface cable, wherein the selector switch, the state acquisition interface, the state driving interface and the interface cable are integrated on a current interface board and an adjacent interface board; each interface board collects the state of the change-over switch and the output state of the adjacent interface board based on the first channel and the second channel while collecting the state of the change-over switch and the output state of the adjacent interface board based on the interface cable, the first channel and the second channel, so as to realize the collection of the current state of the dual-system interface board; the switching of the axle counting communication interface is realized by calculating the current state of the acquired dual-system interface board and driving the interface based on the state integrated on the dual-system interface board. The invention has the advantages of no relay, simple installation, no extra space occupation and capability of ensuring that the two-by-two communication interface between the axle counter and the interlock realizes good switching.

Description

Two-by-two-out-of-two axle counting communication interface switching implementation method
Technical Field
The invention relates to the technical field of rail traffic signals, in particular to a method for realizing switching of two-by-two or two-out-of-two axle counting communication interfaces.
Background
In a rail transit system, a rail circuit or axle counting detection mode is generally adopted to check the train occupation state of a rail section or a turnout section. By using the axle counting device, the axle number condition between two or more detection points on the steel rail is checked, and whether the rail section is occupied by the vehicle or not is judged.
The common interface between the axle counting equipment and the interlocking equipment is a relay, the axle counting equipment respectively drives the relay to suck up or fall down according to the idle or occupied sections, and the interlocking equipment judges the current section state through collecting relay contacts. With the development of communication technology, more and more axle counting devices develop new communication interfaces. By adopting the communication interface, nearly one hundred track relays and zero resetting relays required by each axle counting host can be eliminated, the same interface function can be realized by only two or three communication lines, the cost can be greatly reduced, and the space occupation of the combined rack can be reduced.
In the existing signal equipment adopting a two-by-two-to-two system structure, an external switching device independent of the signal equipment is adopted between the two-by-two equipment and is connected with the equipment terminal through physical wiring. A mother board is arranged in the switching device, a plurality of onboard relays form a logic circuit, and the switching device can be made into a switching board to be fixed on a cage slot or a switching box with the width of 19U to be fixed on a cabinet beam.
For the axle counting communication interface, in order to improve the usability of the interface, two interface boards are required to be added to the existing axle counting cage, and the communication interface channels of the backup system cannot be physically disconnected in order to ensure the real-time performance of communication during switching. If an external switching board or switching box is used, not only can the whole functions of the external switching board or switching box not be utilized, but also more effective space is occupied, and the equipment cost is increased. In addition, before the equipment is shipped, the two-by-one equipment and the switching device need to be wired, and detailed shipping tests are performed to prevent wiring errors.
Disclosure of Invention
The invention provides a method for realizing the switching of two-by-two and two-out-of-two axle counting communication interfaces, which is free of a relay, simple in installation, free of extra space occupation and capable of ensuring that the two-by-two and two-out-of-two communication interfaces between the axle counting and interlocking realize good switching.
The invention provides a method for realizing the switching of a two-by-two-out-of-two axle-counting communication interface, which comprises the following steps:
the system comprises a selector switch, a state acquisition interface, a state driving interface, and an interface cable, wherein the selector switch, the state acquisition interface, the state driving interface and the interface cable are integrated on a current interface board and an adjacent interface board;
each interface board collects the state of a selector switch and the output state of an adjacent interface board based on the first channel and the second channel while collecting the state of the selector switch and the output state of the adjacent interface board based on the interface cable, the first channel and the second channel, so that the current state of the dual-system interface board is collected;
the switching of the axle counting communication interface is realized by calculating the current state of the acquired double-system interface board and driving the interface based on the state integrated on the double-system interface board.
Preferably, the switching implementation method does not require a separate external switching device.
Preferably, the switch is independently integrated on the current interface board and the adjacent interface board respectively.
Preferably, the current interface board and the adjacent interface board use level signals to perform dual-system state information interaction;
the level signal includes: a high level signal, a low level signal, or a square wave signal of a different frequency.
Preferably, the current interface board or the adjacent interface board performs calculation according to the acquired current state, and drives and outputs a high-level signal, a low-level signal or square wave signals with different frequencies based on the state driving interface integrated with the current interface board or the adjacent interface board.
Preferably, the current interface board or the adjacent interface board determines whether the change-over switch is switched manually or automatically according to the collected current state of the dual-system change-over switch.
Preferably, when the determined state of the switch is automatic switching, if the main backup system state output by the current interface board and the adjacent interface board is completely the same as the health state, one of the current interface board and the adjacent interface board is determined as the main backup system and the other is determined as the backup system according to the priority of the physical address of the interface board.
Preferably, the current interface board and the adjacent interface board are respectively provided with an inter-system interface;
and the interface cable connects the current interface board and the adjacent interface board through the interface between the systems.
Compared with the prior art, the invention has the beneficial effects that:
1. compared with the prior art, the invention has no additional switching device, the switch of the invention is directly designed on the interface board, and all onboard relays are eliminated, thus the manufacturing cost is lower.
2. Compared with the prior art, the interface cable is directly plugged and connected to the connection interface of the interface board, and the interface cable is fixed and very simple to install. When the independent switching device is adopted, a plurality of wiring terminals on the device and a plurality of wiring terminals on two interface board back plates need to be wired in a one-to-one mode, and detailed wiring calibration and wiring test are needed before shipping. Therefore, the invention has simpler installation and more convenient maintenance and is more suitable for the application of the axle counting communication interface.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a prior art switching device;
FIG. 2 is a schematic diagram of a switching output driver according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of switch input acquisition in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of a status output representation of an embodiment of the present invention;
FIG. 5 is a diagram illustrating physical addresses according to an embodiment of the present invention;
FIG. 6 is a schematic illustration of an interface board mounting of an embodiment of the present invention;
fig. 7 is a diagram illustrating a switching function of an interface board according to an embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a schematic diagram of a switching device in the prior art, and a switch is provided on the switching device, and states of the switch are respectively collected by a logic circuit and a squaring device.
In a specific embodiment of the present invention, a method for implementing two-by-two axle counting communication interface switching is provided, where each interface board is provided with a switch, and each interface board collects the state of the switch of the interface board and the state of the switch of an adjacent interface board, and performs calculation according to the two states of the switches, and the specific implementation manner is as follows:
the system comprises a selector switch, a state acquisition interface, a state driving interface, and an interface cable, wherein the selector switch, the state acquisition interface, the state driving interface and the interface cable are integrated on a current interface board and an adjacent interface board;
each interface board collects the state of a selector switch and the output state of an adjacent interface board based on the first channel and the second channel while collecting the state of the selector switch and the output state of the adjacent interface board based on the interface cable, the first channel and the second channel, so that the current state of the dual-system interface board is collected;
the switching of the axle counting communication interface is realized by calculating the current state of the acquired double-system interface board and driving the interface based on the state integrated on the double-system interface board.
In one embodiment, the handover implementation method does not require a separate external handover device.
Preferably, the switch is independently integrated on the current interface board and the adjacent interface board.
Preferably, the current interface board and the adjacent interface board use level signals to perform dual-system state information interaction;
the level signal includes: high level signals, low level signals or square wave signals of different frequencies.
Preferably, the current interface board or the adjacent interface board performs calculation according to the acquired current state, and drives and outputs a high-level signal, a low-level signal or square wave signals with different frequencies based on the state driving interface integrated with the current interface board or the adjacent interface board.
Preferably, the current interface board or the adjacent interface board determines whether to switch the change-over switch manually or automatically according to the collected current state of the dual-system change-over switch.
Preferably, when the determined state of the switch is automatic switching, if the main backup system state output by the current interface board and the adjacent interface board is completely the same as the health state, one of the current interface board and the adjacent interface board is determined as the main backup system and the other is determined as the backup system according to the priority of the physical address of the interface board.
Preferably, the current interface board and the adjacent interface board are respectively provided with an inter-system interface;
and the interface cable connects the current interface board and the adjacent interface board through the interface between the systems.
As shown in fig. 7, this schematic diagram is only used to show the switching function, and does not include the communication function of the interface board and other signal devices.
The switching function comprises a driving circuit, a read-back circuit, an acquisition circuit, a physical address, a switch, an interface cable and the like;
the interface board is also provided with an interface board channel 1 as a first channel, and an interface board channel 2 as a second channel.
Wherein, in the process that each interface board collects the state and the output state of the switch on the current interface board based on the state collecting interface, the state driving interface, the first channel and the second channel which are integrated on the interface board, the following specific embodiments are also included:
as shown in fig. 2, the interface board channel 1 drives and outputs the square wave pulses with high level, low level or different frequencies based on the state driving interface according to the state calculation result of the channel, and the interface board channel 2 also drives and outputs the square wave pulses with high level, low level or different frequencies based on the state driving interface according to the state calculation result of the channel. The merging circuit merges the outputs of the interface board channel 1 and the interface board channel 2, and finally outputs the merged output through the inter-system interface. In order to ensure that the final output after combination is completely consistent with the output of the channel, the two channels respectively collect the final output through a readback circuit, compare the collection result with the target output of the channel, and take corresponding safety measures according to the comparison result.
In order to ensure that the dual-system switching speed of the communication interface meets the application requirement, the square wave pulse switched and output by the interface board should have a high frequency, such as a period of 2ms, 4ms, 6ms, etc., so that the adjacent interface board can detect the change of the frequency in a short time.
It should be noted that, as an implementation, one output in the figure is not equal to one circuit line.
Wherein, gather the change over switch state and the output state of adjacent interface board based on interface cable, first passageway and second passageway, still include the following embodiment:
as shown in fig. 3, after entering the inter-system interface of the current interface board through the interface cable, the output signal of the adjacent interface board is firstly received by the distribution circuit, the distribution circuit divides the signal into two paths for being respectively collected by the current interface board channel 1 and the current interface board channel 2, the two paths of the current interface board carry out a dual-machine comparison on the respective collected signals, and finally, the value obtained after the comparison is used for switching logic calculation.
In order to ensure that the dual-system switching speed of the communication interface meets the application requirement, the acquisition of the interface board should have higher sampling frequency. For example, when the output square wave pulse period is 2ms, at least more than 6 times of sampling in each period are needed, so that the input change can be detected in a short time, and the reliability of the input acquisition result can be ensured.
As shown in fig. 4, for simplicity of explanation, the communication interface of the inter-system comparison data of the current interface board and the adjacent interface board is not considered in this specification.
As a specific example, the health status of the interface board may include a, B, C, and other statuses, and the operating status of the interface board may include master, standby, and other statuses.
When the channel of the current interface board or the adjacent interface board has a fault or the driving circuit thereof has a fault, the output of the current interface board or the adjacent interface board may be fixed at a high level or a low level, at this time, the input acquired by the adjacent interface board is a fixed value, and the current interface board or the interface cable can be judged to have a fault, and at this time, switching logic calculation needs to be performed according to the condition of the fault of the adjacent interface board; when the output of the current interface board is square wave pulse, the output is effective information, switching processing can be carried out, and further, the communication interface can be switched according to different states.
Of course, the current interface board needs to drive and output pulses with different frequencies according to different states, for example, 2ms square wave pulses can be used to represent the main system, 4ms square wave pulses can be used to represent the standby system, and 6ms square wave pulses can be used to represent the standby mode.
As shown in fig. 5, in order to ensure the simplicity of application, the current interface board and the adjacent interface board are completely identical and can be interchanged.
The physical address is used to distinguish the current interface board from the adjacent interface board, for example: the physical address corresponding to the current interface board (interface board 1) is 0b000110; the physical address corresponding to the adjacent interface board (interface board 2) is 0b000111;
for a two-by-two device, when the device is powered on and started, it is necessary to determine who is the master device preferentially for the dual-system devices in the same state. In the prior art external switching device, the switching logic circuit is based on the on-off characteristics of the front and rear contacts of the relay, and if one relay driven by a certain train is sucked up in advance when power is started, the train acquires the priority of preempting the main train.
As a specific embodiment of the present invention, since two interface boards integrating a switching function are completely the same, and there is no external switching device, the on-off characteristics of the front and rear contacts of the relay cannot be utilized, and therefore, only additional settings can be adopted. One way is to set a dial switch on the interface board, and to differentiate the two boards by the difference of the dial switch settings, but in this way, the dial switch setting needs to be performed before the boards are installed. The other mode is to directly utilize the physical address setting on the cage backboard, and the reason is that in order to facilitate the communication between the board cards, different physical addresses are correspondingly arranged in each slot of the cage backboard, so that two board cards can be distinguished according to the difference of the addresses. When the power-on is started, the interface board collects the physical address, and if the health state of the two systems is detected to be completely consistent with the initial main and standby system states, the interface board with the physical address meeting the condition acquires the priority for preempting the main system. Similarly, the adjacent interface board detects that the health state of the two systems is completely consistent with the initial main and standby system states, but the physical address does not meet the condition, and the two systems are converted into the standby system. From this moment, the interface board starts the operation of the main and standby systems of the dual system.
As shown in fig. 6, as a specific example, a 19U-wide axle counting mainframe cage is generally installed in an axle counting cabinet, and an interface board is plugged into two adjacent slots on one side of the axle counting cage. Each interface board can be provided with a diverter switch, and the two diverter switches of the two interface boards jointly provide the state input of the diverter switch. Each interface board is provided with an inter-system interface which can provide multi-core connection, and the number of connected cores depends on the sum of the input and output requirements of the interface board. The interface between systems can be a standardized interface, so that the interface cable is convenient to access, good in contact and easy to fix.
The beneficial effects of the above technical scheme are: the device has the advantages of no relay, simple installation, no extra space occupation and capability of ensuring that the two-by-two communication interface between the metering shaft and the interlock realizes good switching.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. A method for realizing the switching of two-by-two-out-of-two axle counting communication interfaces is characterized by comprising the following steps:
the system comprises a selector switch, a state acquisition interface, a state driving interface, and an interface cable, wherein the selector switch, the state acquisition interface, the state driving interface and the interface cable are integrated on a current interface board and an adjacent interface board;
each interface board collects the state of a switch and the output state of a current interface board based on a first channel and a second channel, and simultaneously collects the state of the switch and the output state of an adjacent interface board based on an interface cable, the first channel and the second channel, so as to realize the collection of the current state of a dual-system interface board;
the switching of the axle counting communication interface is realized by calculating the current state of the acquired dual-system interface board and based on the state driving interface integrated on the dual-system interface board;
the current interface board or the adjacent interface board determines whether the change-over switch is manually changed over or automatically changed over according to the collected current state of the dual-system change-over switch;
when the determined state of the switch is automatic switching, if the main and standby system states output by the current interface board and the adjacent interface board are completely the same as the health state, determining one interface board of the current interface board and the adjacent interface board as a main system and the other interface board as a standby system according to the priority of the physical addresses of the interface boards.
2. The handover implementation method according to claim 1, wherein the handover implementation method does not require a separate external handover device.
3. The switching implementation method of claim 1, wherein the switch is independently integrated on the current interface board and the adjacent interface board.
4. The method of claim 1, wherein the current interface board and the adjacent interface board use level signals to perform dual-system status information interaction;
the level signal includes: high level signals, low level signals or square wave signals of different frequencies.
5. The switching implementation method according to claim 1, wherein the current interface board or the adjacent interface board performs calculation according to the collected current state, and drives and outputs a high-level signal, a low-level signal, or square wave signals with different frequencies based on the state driving interface integrated with the current interface board or the adjacent interface board.
6. The handover implementation method of claim 1,
the current interface board and the adjacent interface board are respectively provided with an inter-system interface;
and the interface cable connects the current interface board and the adjacent interface board through the interface between the systems.
CN202010197564.4A 2020-03-19 2020-03-19 Method for realizing two-by-two-out-of-two axle counting communication interface switching Active CN111405047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010197564.4A CN111405047B (en) 2020-03-19 2020-03-19 Method for realizing two-by-two-out-of-two axle counting communication interface switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010197564.4A CN111405047B (en) 2020-03-19 2020-03-19 Method for realizing two-by-two-out-of-two axle counting communication interface switching

Publications (2)

Publication Number Publication Date
CN111405047A CN111405047A (en) 2020-07-10
CN111405047B true CN111405047B (en) 2023-04-07

Family

ID=71436382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010197564.4A Active CN111405047B (en) 2020-03-19 2020-03-19 Method for realizing two-by-two-out-of-two axle counting communication interface switching

Country Status (1)

Country Link
CN (1) CN111405047B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187248A (en) * 2015-09-16 2015-12-23 浙江众合科技股份有限公司 Redundancy switching system
CN105739299A (en) * 2016-04-29 2016-07-06 固安信通信号技术股份有限公司 Control device based on double 2-vote-2 safety redundancy system
CN206749825U (en) * 2017-05-02 2017-12-15 华东交通大学 One kind two multiplies two and takes two wheel counting apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101580073B (en) * 2008-05-12 2012-01-25 卡斯柯信号有限公司 Computer interlocking system code bit-level redundancy method
CN204150064U (en) * 2014-10-28 2015-02-11 上海自仪泰雷兹交通自动化***有限公司 A kind of frame taking advantage of two to get two Main Processor Units for control of element unit two
CN106444553B (en) * 2016-11-29 2023-09-08 卡斯柯信号有限公司 Scattered acquisition driving system based on two-by-two-out-of-two architecture
CN106740999A (en) * 2016-12-26 2017-05-31 合肥工大高科信息科技股份有限公司 All-electronin computer interlock system based on performing module redundancy
CN107942820B (en) * 2017-12-19 2024-03-29 卡斯柯信号有限公司 High-reliability analog quantity redundant output device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187248A (en) * 2015-09-16 2015-12-23 浙江众合科技股份有限公司 Redundancy switching system
CN105739299A (en) * 2016-04-29 2016-07-06 固安信通信号技术股份有限公司 Control device based on double 2-vote-2 safety redundancy system
CN206749825U (en) * 2017-05-02 2017-12-15 华东交通大学 One kind two multiplies two and takes two wheel counting apparatus

Also Published As

Publication number Publication date
CN111405047A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
KR100288950B1 (en) System and Method for monitoring signal equipment difficulty in train
US8695927B2 (en) Method and apparatus for an interlocking control device
CN100450251C (en) Base-station fault detecting method and fault detecting system
CN110880944B (en) Multi-channel transponder message transmission device and method
CN112606869B (en) Point switch control device
CN110979393A (en) Programmable logic control system applied to subway train
JP2017507432A (en) Measuring system having a plurality of sensors
CN109917778A (en) High redundancy locomotive network control system
CN103407463A (en) Semi-automatic electronic block instrument and working method of block instrument
US6002970A (en) Method and apparatus for interface dual modular redundancy
KR100840243B1 (en) Fault tolerant system for ground train control system using industrial computer
CN111405047B (en) Method for realizing two-by-two-out-of-two axle counting communication interface switching
CN104192172B (en) A kind of modularity axle counting system
KR102471007B1 (en) In-vehicle controller and method for controlling the same
CN108735309B (en) In-service inspection device for reactor protection system
CN116279703A (en) Full-electronic interlocking test system, method and device and electronic equipment
JP4125233B2 (en) Method for communicating notification information between bus participants
CN103063942A (en) Cycle detection method of HB 6096 bus interface
KR20000040686A (en) Dual system of lan line
CN220154555U (en) Data monitoring and fault diagnosis system for electronic cabinet of electric locomotive
CN109572751A (en) Modularization axis-counting device and modularization axle counting system
CN219641826U (en) Pulse detection equipment suitable for satellite test
US11430318B1 (en) Electrical surge management of railway signaling equipment
CN116501008B (en) Fault management system for automatic driving control chip
CN219266942U (en) Self-checking system of guide control computer test platform

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