Relay simulation device

By designing a relay simulation device and using simulated acquisition signals, drive signals and interference signals, the problem of lack of verification means in the existing technology is solved, the stability and reliability of the product are improved, and the adaptability and transportation efficiency of the railway signaling system are ensured. .

CN118534288APending Publication Date: 2024-08-23CASCO SIGNAL LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410595695.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

There is a lack of effective verification means in the existing technology to test and verify the acquisition board and driver board in the railway signaling system, especially in the field environment, resulting in difficulty in system adaptation and insufficient stability and reliability.

Method used

A relay simulation device is designed, including a host computer, acquisition code position simulation module, drive code position simulation module, interference injection module and interface module. By simulating the acquisition signal, drive signal and interference signal, it assists developers in product testing and verification. Acquisition board and driver board design and system performance.

Benefits of technology

The device can flexibly set the timing of collecting code bit feedback and driving code bit excitation timing, simulate interference injection, help developers discover design flaws and abnormal actions, improve product stability, reliability and anti-interference capabilities, and ensure smooth on-site transportation operations. to reduce the risk of failure and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534288A
    Figure CN118534288A
Patent Text Reader

Abstract

The relay simulation device comprises an upper computer, an acquisition code bit simulation module, a driving code bit simulation module, an interference injection module and an interface module, the upper computer communicates with the acquisition code bit simulation module, the driving code bit simulation module, the interference injection module and the interface module to control the modules, and the interface module is connected with an external acquisition board and a driving board to test the acquisition board and the driving board; the interference injection module is connected with the interface module and injects interference signals into an acquisition loop between the acquisition code bit simulation module and the acquisition board or a driving loop between the driving code bit simulation module and the driving board; according to the scheme, the collection code bit feedback opportunity can be flexibly set, and a variable and controllable collection code bit is provided; the excitation opportunity of the driving code bit and the load resistance value of the driving loop can be set according to requirements, and interlocking operation results, product stability and engineering data field matching under different scenes can be verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of railway signal circuits, and in particular to a relay simulation device. Background Art

[0002] Computer interlocking system is a vital control system for railway transportation system, which plays a pivotal role in ensuring driving safety, improving transportation efficiency, reducing labor costs, and reducing accident rates. Developing a stable and reliable computer interlocking system is crucial for railway operation and daily maintenance.

[0003] The control of the trackside equipment at the station is achieved by the station attendant issuing control commands to the computer interlocking system, which combines the control commands with the collected relay status (collection code position) and drives the relay to act (drive code position). The acquisition status of the relay, the timing of the drive code position, the influence of the acquisition and drive circuit interference, and the relay jitter are directly related to the calculation results of the computer interlocking system, the availability of the computer interlocking system, and the safety of transportation operations.

[0004] Therefore, it is very necessary to provide a relay simulation device. Summary of the invention

[0005] The object of the present invention is to provide a relay simulation device for assisting product testing during the opening process.

[0006] To achieve the above-mentioned purpose, the present invention proposes a relay simulation device, comprising: a host computer, an acquisition code position simulation module, a driving code position simulation module, an interference injection module and an interface module; the host computer communicates with the acquisition code position simulation module, the driving code position simulation module, the interference injection module and the interface module to control each module, and the interface module is connected to an external acquisition board and a driving board to test the acquisition board and the driving board; when testing the acquisition board, the interface module is connected to the acquisition code position simulation module, receives the acquisition signal output by the acquisition code position simulation module and sends it to the acquisition board; when testing the driving board, the interface module is connected to the driving code position simulation module, receives the driving signal of the driving board, and sends the driving signal to the driving code position simulation module; the interference injection module is connected to the interface module to inject an interference signal into the acquisition loop between the acquisition code position simulation module and the acquisition board, or into the driving loop between the driving code position simulation module and the driving board.

[0007] Preferably, the acquisition code position simulation module includes an acquisition power input port and a plurality of first control modules; each first control module is connected to a pair of acquisition output terminals, and the acquisition output terminals are all connected to the interface module to output acquisition signals to the interface module.

[0008] Preferably, the first control module includes a first branch and a second branch connected in parallel between the acquisition power input port and the acquisition output terminal, and the first branch and the second branch are both provided with a cutoff device and a controllable switch, the cutoff device is used to prevent interference signals from entering the acquisition power supply through the first control module, and the controllable switch is used to set the electrical polarity of the output of the first control module according to the acquisition code type.

[0009] Preferably, a first adjustable resistor is further provided on the first branch, and current limiting and voltage division of the acquisition loop are achieved by changing the resistance of the first adjustable resistor.

[0010] Preferably, the driving code position simulation module includes a plurality of second control modules, each of which is connected to a pair of driving input terminals, and the driving input terminals are connected to the interface module for receiving driving signals output by the interface module.

[0011] Preferably, the second control module comprises a second adjustable resistor, a third controllable switch and a fourth controllable switch in sequence, the second adjustable resistor is connected to the positive drive input terminal, and the fourth controllable switch is connected to the negative drive input terminal.

[0012] Preferably, the third controllable switch and the fourth controllable switch have delayed start and quick action functions. After the host computer sets the delayed start parameters, the host computer controls the third controllable switch and the fourth controllable switch to delay start; after the user sets the jitter parameters on the host computer, the host computer controls the third controllable switch and the fourth controllable switch to quickly act to simulate the jitter of the drive circuit.

[0013] Preferably, the interference injection module includes an interference power switching module and multiple third control modules, each third control module is connected to a pair of interference output terminals for outputting interference signals to the outside; the interference power switching module is used to switch the power supply, and according to the interference type in the instruction of the host computer, the switching circuit switches the power supply connected to the interference power switching module.

[0014] Preferably, the third control module includes: a pair of interference power input ports, a pair of output ports, and a third branch and a fourth branch connected between the interference power input port and the output port, the third branch is provided with a first switching relay, a fifth controllable switch and a third adjustable resistor, and the fourth branch is provided with a second switching relay and a sixth controllable switch; the output port is connected to the corresponding interference output terminal; the fifth controllable switch and the sixth controllable switch are used to output or disconnect the interference signal according to the instruction of the host computer; the third adjustable resistor is used to adjust its resistance according to the instruction of the host computer to adjust the parameters of the interference signal; the first switching relay and the second switching relay are energized or dropped to change the polarity and single or double phase of the interference signal output by the third control module.

[0015] Preferably, the interface module includes a module interface and a drive board interface, and the module interface includes an interference module interface and a drive simulation module interface; the drive simulation module interface is connected to the drive input terminal of the drive code position simulation module and the acquisition output terminal of the acquisition code position simulation module, and is used to send the drive signal to the drive code position simulation module, or to connect the acquisition signal of the acquisition code position simulation module to the interface module; the interference module interface is connected in parallel at both ends of the drive simulation module interface, and is used to inject interference signals into the drive loop or the acquisition loop; the drive board interface is connected to the acquisition board and the drive board, and is used to send the acquisition signal to the acquisition board, or to receive the drive signal of the drive board.

[0016] Preferably, the interface module includes multiple pairs of the drive and production simulation module interfaces, each pair of the drive and production simulation module interfaces can be connected to a pair of drive input terminals or a pair of acquisition output terminals. When multiple drive code position simulation modules or multiple acquisition code position simulation modules are plugged in, multiple interface modules need to be plugged in accordingly; the interface module includes multiple pairs of the interference module interfaces, which are respectively connected to the interference output terminals of the interference injection module; each pair of interference module interfaces is correspondingly connected in parallel at the drive and production simulation module interface.

[0017] Preferably, a seventh controllable switch and an eighth controllable switch are further provided between each pair of the interference module interface and the drive simulation module interface, which are respectively arranged between the positive interference module interface and the positive drive simulation module interface and between the negative interference module interface and the negative drive simulation module interface; the seventh controllable switch and the eighth controllable switch are interference signal control switches, and according to the instructions of the host computer, the interface module controls the corresponding seventh controllable switch and the eighth controllable switch to fall or rise to connect or disconnect the injection of the interference signal.

[0018] Preferably, the acquisition code position simulation module, the driving code position simulation module and the interference injection module are also provided with a dial component, which sends the dial information to the host computer. The dial information includes the type and location information of the module. The host computer identifies, analyzes and stores the dial information, and controls each module according to the dial information.

[0019] Compared with the prior art, the present invention has at least the following advantages and beneficial effects:

[0020] The collection code feedback timing can be flexibly set according to user needs, and variable and controllable collection code can be provided for developers, software testers, and engineering data producers to verify interlocking operation results, product stability, and on-site matching of engineering data under different collection code feedback timings; the drive code excitation timing and drive circuit load resistance can be set according to user needs to verify interlocking operation results, product stability, and on-site matching of engineering data under different scenarios; interference injection can be simulated to verify product stability; flexible layout, easy operation, and rich application scenarios;

[0021] This solution can better assist developers in product testing, and timely discover the software and hardware design defects of the acquisition board and driver board, the impact of various abnormal actions and interference on the system; it helps to improve the product's anti-interference ability, verify the product's adaptability, and help improve the product's stability, reliability, safety and availability; it solves the problems of lack of verification methods in the development process of existing acquisition and driver boards, and difficulty in adapting the system in the on-site environment; this solution can be verified during the development process of the acquisition board and driver board, and can be fully tested and verified before the product is put into use, thereby improving product stability, ensuring on-site transportation operation order, improving railway production efficiency, reducing the risk of failures, improving maintenance efficiency, and reducing the risk of on-site promotion and application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a structural schematic diagram of a relay simulation device of the present invention;

[0023] Figure 2 It is a structural schematic diagram of the acquisition code position simulation module of the present invention;

[0024] Figure 3 It is a structural schematic diagram of the first control module in the acquisition code position simulation module of the present invention;

[0025] Figure 4 It is a structural schematic diagram of the driving code position simulation module of the present invention;

[0026] Figure 5 It is a structural schematic diagram of the interference injection module of the present invention;

[0027] Figure 6 It is a structural schematic diagram of a third control module in the interference injection module of the present invention;

[0028] Figure 7 It is a structural schematic diagram of the interface module of the present invention;

[0029] Figure 8 It is a connection diagram of the interface module and the interference injection module in the present invention;

[0030] Fig. 9It is a schematic diagram of the connection between the interface module and the acquisition code position simulation module in the present invention;

[0031] Fig.10 It is a connection diagram of the interface module and the driving code position simulation module in the present invention. DETAILED DESCRIPTION

[0032] The following will be combined with the embodiments of the present invention Figures 1 to 10 , the technical solutions, structural features, objectives achieved and effects in the embodiments of the present invention are described in detail.

[0033] It should be noted that the drawings are in a very simplified form and use non-precise proportions. They are only used to conveniently and clearly assist in explaining the embodiments of the present invention, and are not used to limit the conditions for the implementation of the present invention. Therefore, they have no substantive technical significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical content disclosed by the present invention.

[0034] It should be noted that, in the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only the elements explicitly listed, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0035] The present invention discloses a relay simulation device, such as Figure 1 As shown, it includes a host computer, an acquisition code position simulation module, a drive code position simulation module, an interference injection module and an interface module; the host computer communicates with the acquisition code position simulation module, the drive code position simulation module, the interference injection module and the interface module through an onboard redundant bus, and the interface module is also connected to an external acquisition board and a drive board, so as to test the acquisition board and the drive board; when testing the acquisition board, the interface module is connected to the acquisition code position simulation module, receives the acquisition signal output by the acquisition code position simulation module and sends it to the acquisition board, so as to collect the acquisition board; when testing the drive board, the interface module is connected to the drive code position simulation module, receives the drive signal of the drive board, and sends the drive signal to the drive code position simulation module, so that the drive code position simulation module simulates the drive; the interference injection module is connected to the interface module, and injects interference signals into the acquisition loop between the acquisition code position simulation module and the acquisition board, or the drive loop between the drive code position simulation module and the drive board, so as to simulate various interferences in practice.

[0036] Next, the structure and function of each module are introduced in detail.

[0037] like Figure 2 As shown, the acquisition code bit simulation module includes an acquisition power input port and 32 first control modules, which can simulate a maximum of 32 acquisition signals; the acquisition power input port is connected to an external acquisition power supply, and is also connected to the 32 first control modules through an onboard circuit, so as to introduce the external acquisition power supply into the 32 first control modules. Each first control module is connected to a pair of acquisition output terminals, and the 32 pairs of acquisition output terminals are respectively acquisition output terminals C1 and C1', acquisition output terminals C2 and C2'... and acquisition output terminals C32 and C32', and the acquisition output terminals are all connected to the interface module to output acquisition signals to the interface module.

[0038] The structures of the 32 first control modules are the same, including a first branch and a second branch connected in parallel between the acquisition power input port and the acquisition output terminal. Taking the first control module corresponding to the positive acquisition output terminal C1 and the negative acquisition output terminal C1' (positive and negative here are not limitations on the polarity of the electrodes, but are only for the convenience of description) (hereinafter, the paired terminals or interfaces also include positive and negative terminals or positive and negative interfaces for the convenience of description) as an example, its structure is as follows Figure 3 As shown, a cut-off device and a controllable switch are provided on both the first branch and the second branch. The cut-off device is used to prevent interference signals from entering the acquisition power supply through the first control module and thus damaging the acquisition power supply. The controllable switch is used to set the electrical polarity of the output of the first control module according to the acquisition code bit type. Specifically, a first cut-off device jz1 and a first controllable switch k1 are provided on the first branch, and a second cut-off device jz1' and a second controllable switch k1' are provided on the second branch.

[0039] The acquisition code type refers to the signal acquisition method used to detect the train position and speed in the train control system, including single break and double break. When the acquisition code type is single break, the first controllable switch k1 is closed and the second controllable switch k1' is disconnected. At this time, the first control module outputs positive polarity electricity to the outside through the positive acquisition output terminal C1, and the external output of the negative acquisition output terminal C1' is cut off; when the acquisition code type is double break, the first controllable switch k1 and the second controllable switch k1' are both closed. At this time, the first control module outputs positive polarity electricity to the outside through the positive acquisition output terminal C1, and outputs negative polarity electricity to the outside through the negative acquisition output terminal C1'.

[0040] Furthermore, if a relay jitter test is required, the host computer generates corresponding instructions to enable the acquisition code position simulation module to control the first controllable switch k1 and the second controllable switch k1' to operate to simulate relay jitter; if a relay delay test is required, the host computer generates corresponding instructions to enable the acquisition code position simulation module to control the first controllable switch k1 and the second controllable switch k1' to delay operation to simulate relay delay.

[0041] The first branch is also provided with a first adjustable resistor r1, which limits the current and divides the voltage of the acquisition circuit by changing its resistance, and is used to measure the acquisition threshold of the acquisition board, that is, the current and voltage range that must be met when the acquisition board is collecting. The first branch is also provided with a first ammeter a1 and a first voltmeter v1 set at both ends of the first adjustable resistor r1, which are used to measure the current and voltage of the acquisition circuit respectively. The first ammeter a1 and the first voltmeter v1 also send the measured current and voltage information to the host computer in real time through the onboard bus.

[0042] According to actual needs, multiple acquisition code bit simulation modules can be plugged into the relay simulation device of this solution to simulate more bit acquisition signals.

[0043] The host computer controls the acquisition code bit initial state of the acquisition code bit simulation module, the acquisition code bit state change timing, controls the acquisition code bit to quickly jump to simulate relay jitter, and controls the current limiting and voltage division of the acquisition circuit; in this embodiment, the host computer also has an editable acquisition code bit initial state table, acquisition code bit delay parameter table, and acquisition code bit jitter frequency table, so that the user can flexibly control the acquisition code bit simulation module. In development verification and engineering testing, the host computer controls the acquisition code bit simulation module to simulate different acquisition code bit state change timings to cooperate in verifying the impact of different acquisition timings on the operation results of the computer interlocking system.

[0044] like Figure 4As shown, the driving code position simulation module includes 16 second control modules (the dotted box in the figure represents the second control module), each second control module is connected to a pair of driving input terminals, and the 16 pairs of driving input terminals are driving input terminals Q1 and Q1', driving input terminals Q2 and Q2'... and driving input terminals Q16 and Q16', respectively. The driving input terminals are connected to the interface module for receiving the driving signal output by the interface module, so the driving code position simulation module can receive 16-bit driving signals. The 16 second control modules have the same structure, and each includes a second adjustable resistor, a third controllable switch, a second ammeter and a fourth controllable switch in sequence. In the 16 second control modules, the second adjustable resistor is labeled R1, R2... and R16 in sequence, the third controllable switch is labeled K1, K2... and K16 in sequence, the second ammeter is labeled A1, A2... and A16 in sequence, and the fourth controllable switch is labeled K1', K2'... and K16' in sequence. Taking the second control module connected to the positive drive input terminal Q1 and the negative drive input terminal Q1' as an example, it includes a second adjustable resistor R1, a third controllable switch K1, a second ammeter A1 and a fourth controllable switch K1' in sequence, wherein the second adjustable resistor R1 is connected to the positive drive input terminal Q1, and the fourth controllable switch K1' is connected to the negative drive input terminal Q1'.

[0045] The resistance of the second adjustable resistors R1 to R16 is adjustable. After the host computer sets the current parameters of the drive circuit, the host computer generates corresponding instructions to control the drive code position simulation module to adjust the resistance of the second adjustable resistors R1 to R16, thereby adjusting the current parameters of the drive circuit. The second adjustable resistors R1 to R16 will also send the adjusted resistance values ​​to the host computer through the onboard bus.

[0046] The third controllable switches K1~K16 and the fourth controllable switches K1'~K16' have delayed start and quick action functions. After the host computer sets the delayed start parameters, the host computer generates corresponding instructions to delay the start of the third controllable switches K1~K16 and the fourth controllable switches K1'~K16' to complete the delayed communication of the drive circuit to simulate the actual situation; after the user sets the jitter parameters on the host computer, the host computer generates corresponding instructions to control the quick action of the third controllable switches K1~K16 and the fourth controllable switches K1'~K16' to simulate the jitter of the drive circuit, thereby assisting the user in verifying the stability and availability of the interlocking system.

[0047] The second ammeters A1, A2, ... A16 are high-precision ammeters, which are used to sample the current of the drive circuit and send the current value to the host computer in real time through the onboard bus.

[0048] According to actual needs, multiple drive code position simulation modules can be plugged into the relay simulation device of this solution to receive more drive conditions.

[0049] The host computer can control the driving code position excitation timing of the driving code position simulation module, adjust the current of the driving circuit, control the delayed start of the driving code position simulation module and simulate the relay jitter; the host computer also has an editable driving code position delayed start parameter table and driving code position jitter frequency table, so that the user can adjust the parameters of the driving code position simulation module. In the development verification and engineering testing, the host computer controls the driving code position simulation module, flexibly sets the resistance value of the driving circuit, and assists in verifying the system driving capability; flexibly sets the driving code position excitation timing, and verifies the influence of different excitation timings on the calculation results of the computer interlocking system.

[0050] like Figure 5 As shown, the interference injection module includes an interference power switching module and 32 third control modules, each of which is connected to a pair of interference output terminals and can output 32 interference signals at the same time. The 32 groups of interference output terminals are interference output terminals G1 and G1', interference output terminals G2 and G2'... and interference output terminals G32 and G32'.

[0051] The interference power supply switching module is used to switch the power supply, which is connected to the collection power supply, the driving power supply and the AC / DC power supply, and has a built-in switching circuit. According to the user's test requirements and the interference type in the host computer instruction, the switching circuit switches the power supply connected to the interference power supply switching module. For example, when it is necessary to inject an interference signal into the collection loop, it switches to the collection power supply, so that 32 third control modules are connected to the collection power supply. In this embodiment, the switching circuit includes three groups of switching switches, namely, the collection power supply switching switches Z1 and Z1', the driving power supply switching switches Z2 and Z2', and the AC / DC power supply switching switches Z3 and Z3', which are respectively arranged on the branches connected to the collection power supply, the driving power supply, and the AC / DC power supply. In other embodiments, other forms of switching circuits can also be set.

[0052] like Figure 6As shown, the third control module includes: a pair of interference power input ports, a pair of output ports, and a third branch and a fourth branch connected between the interference power input port and the output port, the third branch is provided with a first switching relay J1, a third ammeter A1', a fifth controllable switch z1 and a third adjustable resistor L1, the fourth branch is provided with a second switching relay J1', a sixth controllable switch z1', and a second voltmeter V1' is also connected between the two output ports. The interference power input port is connected to the interference power switching module for introducing power into the third control module, and the output port is connected to the corresponding interference output terminal for outputting interference signals to the outside. The third ammeter A1' is used to collect the interference current in the third control module and send the current value to the host computer in real time; the second voltmeter V1' is used to measure the voltage value of the injected interference signal and send it to the host computer in real time; the fifth controllable switch z1 and the sixth controllable switch z1' are used to output or disconnect the interference signal according to the host computer instruction; the third adjustable resistor L1 is used to adjust its resistance according to the host computer instruction to adjust the parameters of the interference signal, and the third adjustable resistor L1 also sends its resistance value to the host computer in real time so that the host computer can display the interference signal parameters.

[0053] The first switching relay J1 and the second switching relay J1' change the polarity of the interference signal output by the third control module by excitation or drop. By setting the polarity of the injected interference signal on the host computer, the host computer generates corresponding instructions to control the first switching relay J1 and the second switching relay J1' of the third control module to achieve polarity crossover of the interference signal: Figure 6 The figure shows the normal state of the first switching relay J1 and the second switching relay J1', which are in the attracted state. At this time, the third control module outputs positive polarity interference to the outside. When the interference signal polarity is crossed in the host computer, thereby injecting an interference signal with opposite polarity, the host computer generates a control instruction for polarity crossing, and the third control module drops the first switching relay J1 and the second switching relay J1' according to the instruction to complete the polarity crossing of the interference signal. The host computer can also control the injected interference signal to be a single-phase interference signal or a two-phase interference signal. When the instruction of the host computer is to inject a single-phase interference signal, the third control module controls the first switching relay J1 or the second switching relay J1' to drop, thereby outputting a single-phase interference signal. When the instruction of the host computer is to inject a two-phase interference signal, the third control module controls the first switching relay J1 and the second switching relay J1' to close, thereby outputting a two-phase interference signal.

[0054] As described above, the host computer can generate instructions to indicate the interference signal type, interference signal polarity, single-phase interference signal or two-phase interference signal output by the interference injection module. In addition, the host computer can also control different third control modules to output different interference signals. For example, it can choose to inject interference signals into one or several channels (acquisition circuit or drive circuit).

[0055] The host computer controls the interference injection module to inject interference signals to simulate various mixed power scenarios, so as to verify whether the computer interlocking system will have dangerous side output when mixed power occurs on site.

[0056] like Figure 7 As shown, the interface module includes a module interface and a drive board interface, and the module interface includes an interference module interface and a drive simulation module interface; the drive simulation module interface is connected to the driving input terminal of the driving code position simulation module and the acquisition output terminal of the acquisition code position simulation module, and is used to send the driving signal to the driving code position simulation module, or to connect the acquisition signal of the acquisition code position simulation module to the interface module; the interference module interface is connected in parallel at both ends of the drive simulation module interface, and is used to inject interference signals into the drive circuit or the acquisition circuit; the drive board interface is connected to the acquisition board and the driving board through an interface cable, and is used to send the acquisition signal to the acquisition board, or to receive the driving signal of the driving board.

[0057] The interface module includes 32 pairs of drive and acquisition analog module interfaces, which are numbered QC1 and QC1', QC12 and QC12'...QC32 and QC32'. Each pair of drive and acquisition analog module interfaces can be connected to a pair of drive input terminals or a pair of acquisition output terminals. When multiple drive code bit analog modules or multiple acquisition code bit analog modules are plugged in, multiple interface modules need to be plugged in accordingly to transmit more bit acquisition signals and drive signals.

[0058] The interface module includes 32 pairs of interference module interfaces, numbered respectively as g1 and g1', g2 and g2'... g32 and g32'. Figure 8As shown, they are respectively connected to the interference output terminals G1 and G1'~G32 and G32' of the interference injection module; each pair of interference module interfaces is correspondingly connected in parallel at the drive and mining simulation module interface. A seventh controllable switch and an eighth controllable switch are also provided between each pair of the interference module interface and the drive and mining simulation module interface, which are respectively arranged between the positive interference module interface and the positive drive and mining simulation module interface and between the negative interference module interface and the negative drive and mining simulation module interface. The 32 groups of the seventh controllable switch and the eighth controllable switch are numbered f1 and f1', f2 and f2'...f32 and f32'. The seventh controllable switch and the eighth controllable switch are interference signal control switches. According to the host computer instruction, the interface module controls the corresponding seventh controllable switch and the eighth controllable switch to fall or be sucked up to connect or disconnect the injection of the interference signal.

[0059] In one-to-one correspondence with the module interfaces, the drive and mining board interfaces also have 32 groups, which are numbered E1 and E1', E2 and E2'...E32 and E32'.

[0060] When the drive and mining simulation module interface is connected to the driving code position simulation module, the drive and mining board interface is correspondingly connected to the driving board; when the drive and mining simulation module interface is connected to the acquisition code position simulation module, the drive and mining board interface is correspondingly connected to the acquisition board.

[0061] Fig. 9 A schematic diagram is shown of the connection between 32 pairs of acquisition output terminals C1 and C1'~C32 and C32' of the acquisition code position simulation module and 32 pairs of drive and mining simulation module interfaces QC1 and QC1'~QC32 and QC32' of the interface module. The first control module of the acquisition code position simulation module controls the corresponding acquisition output terminals to output acquisition signals to the drive and mining simulation module interface of the interface module according to the host computer instructions. The drive and mining simulation module interface then sends the acquisition signal to the drive and mining board interface, and the drive and mining board interface sends the acquisition signal to the acquisition board to form an acquisition loop.

[0062] Fig.10 The schematic diagram shows the connection between 16 pairs of driving input terminals Q1 and Q1'~Q16 and Q16' of the driving code position simulation module and 16 pairs of driving and mining simulation module interfaces QC1 and QC1'~QC16 and QC16' of the interface module (or 16 pairs of the 32 pairs of driving and mining simulation module interfaces can be selected for connection). The driving board sends the driving signal to the interface module through the driving and mining board interface, and the driving and mining board interface sends the driving signal to the driving and mining simulation module interface, and then sends it to the driving code position simulation module through the driving input terminal to form a driving loop.

[0063] Furthermore, when the host computer specifies to inject an interference signal into a certain acquisition circuit or drive circuit, the host computer generates a corresponding instruction to control the opening and closing of the corresponding seventh controllable switch and the eighth controllable switch, thereby injecting the interference signal into the specified acquisition circuit or drive circuit.

[0064] The acquisition code position simulation module, the driving code position simulation module and the interference injection module are also provided with a dial component, which sends the dial information to the host computer. The dial information includes the type and location information of the module. The host computer identifies, analyzes and stores the dial information, and controls each module according to the dial information.

[0065] Since multiple acquisition analog modules and drive analog modules can be plugged in, multiple corresponding interference injection modules and interface modules can also be plugged in, it is necessary not only to judge the module type, but also to locate the location of each module so that the host computer can control it. The following table shows a corresponding relationship of the dial code information to facilitate the understanding of the dial code information.

[0066]

[0067] Table 1. DIP switch information example table

[0068] In the above table, the dial code information is 8 bits, the first 4 bits are module type flags, 0001 is the acquisition code bit simulation module, 0010 is the drive code bit simulation module, 0011 is the interference injection module, and 0100 is the interface module; the last 4 bits are module position flags. Since each module can have multiple and are set in each slot, the dial code information includes the slot where each module is located. The above table only shows the encoding of 4 of the slots. In other embodiments, the slots can also be customized to encode.

[0069] Compared with the prior art, the relay simulation device provided by the present invention can better assist in product testing, thereby helping to timely discover the software and hardware design defects of the acquisition board and the driver board, the impact of various abnormal actions and interference on the system, helping to improve the anti-interference ability of the product, verify the adaptability of the product, and help improve the stability, reliability, safety and availability of the product. The device solves the problems of the lack of verification means in the development process of the existing acquisition board and the driver board, and the difficulty of adapting the system in the field environment. The present invention aims to verify the development process of the acquisition board and the driver board, and to conduct comprehensive testing and verification before the product goes on the road, improve product stability, ensure the order of on-site transportation operations, improve railway production efficiency, reduce the risk of failures, improve maintenance efficiency, and reduce the risk of on-site promotion and application.

[0070] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A relay simulation device, characterized in that: include: Host computer, acquisition code position simulation module, drive code position simulation module, interference injection module and interface module; The host computer communicates with the acquisition code position simulation module, the drive code position simulation module, the interference injection module and the interface module to control each module. The interface module is connected to the external acquisition board and the drive board to test the acquisition board and the drive board. When testing the acquisition board, the interface module is connected to the acquisition code position simulation module, receives the acquisition signal output by the acquisition code position simulation module and sends it to the acquisition board; when testing the driving board, the interface module is connected to the driving code position simulation module, receives the driving signal of the driving board, and sends the driving signal to the driving code position simulation module; The interference injection module is connected to the interface module to inject interference signals into the acquisition loop between the acquisition code position simulation module and the acquisition board, or into the driving loop between the driving code position simulation module and the driving board.

2. The relay simulation device according to claim 1, characterized in that: The acquisition code position simulation module includes an acquisition power input port and a plurality of first control modules; each of the first control modules is connected to a pair of acquisition output terminals, and the acquisition output terminals are all connected to the interface module to output acquisition signals to the interface module.

3. The relay simulation device according to claim 2, characterized in that: The first control module includes a first branch and a second branch connected in parallel between the acquisition power input port and the acquisition output terminal. The first branch and the second branch are both provided with a cutoff device and a controllable switch. The cutoff device is used to prevent interference signals from entering the acquisition power supply through the first control module, and the controllable switch is used to set the electrical polarity of the output of the first control module according to the acquisition code type.

4. The relay simulation device according to claim 3, characterized in that: The first branch is also provided with a first adjustable resistor, and the current limiting and voltage dividing of the acquisition loop can be achieved by changing the resistance of the first adjustable resistor.

5. The relay simulation device according to claim 4, characterized in that: The driving code position simulation module includes a plurality of second control modules, each of which is connected to a pair of driving input terminals, and the driving input terminals are connected to the interface module for receiving the driving signal output by the interface module.

6. The relay simulation device according to claim 5, characterized in that: The second control module includes a second adjustable resistor, a third controllable switch and a fourth controllable switch in sequence. The second adjustable resistor is connected to the positive drive input terminal, and the fourth controllable switch is connected to the negative drive input terminal.

7. The relay simulation device according to claim 6, characterized in that: The third controllable switch and the fourth controllable switch have delayed start and quick action functions. After the host computer sets the delayed start parameters, the host computer controls the third controllable switch and the fourth controllable switch to delay start; after the user sets the jitter parameters on the host computer, the host computer controls the third controllable switch and the fourth controllable switch to quickly act to simulate the jitter of the drive circuit.

8. The relay simulation device according to claim 7, characterized in that: The interference injection module includes an interference power switching module and multiple third control modules, each of the third control modules is connected to a pair of interference output terminals for outputting interference signals to the outside; the interference power switching module is used to switch the power supply, and according to the interference type in the instruction of the host computer, the switching circuit switches the power supply connected to the interference power switching module.

9. The relay simulation device according to claim 8, characterized in that: The third control module includes: a pair of interference power input ports, a pair of output ports, and a third branch and a fourth branch connected between the interference power input port and the output port, the third branch is provided with a first switching relay, a fifth controllable switch and a third adjustable resistor, and the fourth branch is provided with a second switching relay and a sixth controllable switch; the output port is connected to the corresponding interference output terminal; the fifth controllable switch and the sixth controllable switch are used to output or disconnect the interference signal according to the instruction of the host computer; the third adjustable resistor is used to adjust its resistance according to the instruction of the host computer to adjust the parameters of the interference signal; the first switching relay and the second switching relay are energized or dropped to change the polarity and single or double phase of the interference signal output by the third control module.

10. The relay simulation device according to claim 9, characterized in that: The interface module includes a module interface and a drive and mining board interface, and the module interface includes an interference module interface and a drive and mining simulation module interface; the drive and mining simulation module interface is connected to the driving input terminal of the driving code position simulation module and the acquisition output terminal of the acquisition code position simulation module, and is used to send the driving signal to the driving code position simulation module, or to connect the acquisition signal of the acquisition code position simulation module to the interface module; The interference module interface is connected in parallel at both ends of the drive and mining simulation module interface, and is used to inject interference signals into the drive circuit or the acquisition circuit; the drive and mining board interface is connected to the acquisition board and the drive board, and is used to send the acquisition signal to the acquisition board, or to receive the drive signal of the drive board.

11. The relay simulation device according to claim 10, characterized in that: The interface module includes multiple pairs of the drive and production simulation module interfaces, each pair of the drive and production simulation module interfaces can be connected to a pair of the drive input terminals or a pair of the acquisition output terminals. When multiple drive code position simulation modules or multiple acquisition code position simulation modules are plugged in, multiple interface modules need to be plugged in accordingly; the interface module includes multiple pairs of the interference module interfaces, which are respectively connected to the interference output terminals of the interference injection module; each pair of interference module interfaces is correspondingly connected in parallel at the drive and production simulation module interface.

12. The relay simulation device according to claim 11, characterized in that: A seventh controllable switch and an eighth controllable switch are also provided between each pair of the interference module interface and the drive simulation module interface, which are respectively arranged between the positive interference module interface and the positive drive simulation module interface and between the negative interference module interface and the negative drive simulation module interface; the seventh controllable switch and the eighth controllable switch are interference signal control switches. According to the instructions of the host computer, the interface module controls the corresponding seventh controllable switch and the eighth controllable switch to fall or rise to connect or disconnect the injection of the interference signal.

13. The relay simulation device according to claim 1, characterized in that: The acquisition code position simulation module, the driving code position simulation module and the interference injection module are also provided with a dial component, which sends the dial information to the host computer. The dial information includes the type and location information of the module. The host computer identifies, analyzes and stores the dial information, and controls each module according to the dial information.