Circuit simulation method in virtual maintenance training system of rail transit signal equipment
By using circuit simulation technology in the virtual maintenance training system of rail transit signal equipment, a component-level model and circuit operation rule model was established, the problem of high cost of virtual maintenance training in the existing technology was solved, and circuit failure of rail transit signal equipment was realized Efficient simulation and simulation have improved the emergency response capabilities of practitioners.
Patent Information
- Application Number
- CN202411422163.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-10-12
AI Technical Summary
The existing virtual maintenance training methods for rail transit signal equipment are costly, and traditional circuit failure maintenance training requires the construction of a system consistent with the real environment, which consumes a lot of costs.
Using circuit simulation methods in the virtual maintenance training system of rail transit signal equipment, through computer 3D modeling and virtual simulation technology, a component-level geometric model and circuit operation rule model for the equipment cannot be detached to realize the mechanical movement and circuit operation of real equipment. Component-level simulation, supports setting fault points at circuit connection points, and simulates the electrical characteristics of the equipment are consistent with mechanical faults.
The component-level simulation of circuit failures of rail transit signal equipment is realized, which improves the emergency response capabilities of practitioners in circuit failures, reduces training costs and cycles, and provides the same effect as physical equipment training.
Smart Images

Figure CN119207205A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of analog circuits, and in particular to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment. Background Art
[0002] Signal equipment is an important foundation for the efficient operation of rail transit signal systems. Rail transit basic signal equipment, such as switch machines, has a complex structure, high technical requirements, covers a lot of content, and has high safety performance. It is generally in a harsh outdoor operating environment. Once a failure occurs, it will cause immeasurable consequences.
[0003] At present, the domestic rail transit signal equipment virtual maintenance training system often focuses on the virtual maintenance and virtual installation / disassembly of mechanical parts. Traditional circuit fault maintenance training methods require the construction of a system consistent with the real on-site environment. On the basis of real equipment, cables are added at each node of the circuit to simulate circuit breakage, short line and other faults, which requires a huge cost.
[0004] It can be seen that the virtual maintenance training method of rail transit signal equipment in the relevant technology has the technical problem of high cost. Summary of the invention
[0005] The present invention provides a circuit simulation method in a virtual maintenance training system for rail transit signal equipment, which is used to solve the defect of high cost in the virtual maintenance training method for rail transit signal equipment in the prior art, and realizes component-level simulation of the mechanical movement and circuit operation of actual rail transit infrastructure equipment.
[0006] The present invention provides a circuit simulation method in a virtual maintenance training system for rail transit signal equipment, comprising the following steps. When a rail transit signal equipment in the virtual maintenance training system fails, in response to a device operation instruction input by a user into a host computer, an animation queue associated with the device operation instruction is obtained, wherein the animation queue includes a play time; at least one target animation in the animation queue is played based on the play time; based on the animation information of the at least one target animation, a target relay state in the rail transit signal equipment is determined; when the target relay state changes, other relay states associated with the target relay are determined; based on the target relay state and the other relay states, a display interface of the host computer is updated, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0007] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, before obtaining the animation queue associated with the equipment operation instruction, the method also includes: reading a preset association table based on the equipment operation instruction, and obtaining animation information of at least one target animation associated with the equipment operation instruction, wherein the animation information includes animation number, animation type, relay name, relay status, animation time and remarks; for animations of the same animation type, sorting them in ascending order according to the playback time of the animation.
[0008] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, the target relay state in the rail transit signal equipment is determined based on the animation information of the at least one target animation, including: when the playback time reaches the preset animation time, determining the playback time of the playback time; performing a sequential comparison with at least one target animation of the animation queue based on the playback time; when the cumulative animation time of the at least one target animation is less than the playback time, updating the target relay state in the rail transit signal equipment according to the relay name and relay state carried by the animation information of the at least one target animation.
[0009] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, the target relay state in the rail transit signal equipment is determined based on the animation information of the at least one target animation, including: determining the target relay based on the relay name carried by the animation information of the at least one target animation; obtaining an adjacency matrix circuit diagram, wherein the adjacency matrix circuit diagram is obtained by converting input circuit diagram data; determining a target point of the target relay in the adjacency matrix circuit diagram; and updating the target relay to a preset state when there is a connection path corresponding to the target point in the adjacency matrix circuit diagram and the current direction of the connection path is correct.
[0010] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, after determining the target point of the target relay in the adjacency matrix circuit diagram, the method further includes: when there is no positive or negative path to the target point in the adjacency matrix circuit diagram, updating the target relay to an isolated state; when there is only a negative path to the target point in the adjacency matrix circuit diagram, updating the target relay to a zero potential state; when there is only a positive path to the target point in the adjacency matrix circuit diagram, updating the target relay to a positive potential state.
[0011] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, after the target relay is updated to a preset state, the method further includes: determining an equivalent point corresponding to the target point in the adjacency matrix circuit diagram; obtaining a path where the equivalent point is located in the adjacency matrix circuit diagram, and when the path is a series main path in the adjacency matrix circuit diagram, determining the resistance from the positive electrode to the equivalent point and the total resistance from the positive electrode to the negative electrode; based on the resistance and the total resistance, determining the potential output of the target relay.
[0012] The present invention also provides a circuit simulation device in a virtual maintenance training system for rail transit signal equipment, comprising the following modules: an acquisition module, which is used to, when a fault occurs in the rail transit signal equipment in the virtual maintenance training system, respond to the equipment operation instruction input by the user into the upper computer, to acquire an animation queue associated with the equipment operation instruction, wherein the animation queue includes a play time; a play module, which is used to play at least one target animation in the animation queue based on the play time; a first determination module, which is used to determine the target relay state in the rail transit signal equipment based on the animation information of the at least one target animation; a second determination module, which is used to determine other relay states associated with the target relay when the target relay state changes; an update module, which is used to update the display interface of the upper computer based on the target relay state and the other relay states, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a circuit simulation method in a virtual maintenance training system for rail transit signal equipment as described in any one of the above-mentioned methods is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the circuit simulation method in the virtual maintenance training system for rail transit signal equipment as described in any one of the above is implemented.
[0015] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned circuit simulation methods in a virtual maintenance training system for rail transit signal equipment.
[0016] The circuit simulation method in the virtual maintenance training system of rail transit signal equipment provided by the present invention, when there is a fault in the rail transit signal equipment in the virtual maintenance training system, in response to the device operation instruction input by the user into the upper computer, obtains the animation queue associated with the device operation instruction, and sequentially plays the target animations in the animation queue based on the playing time of the animation queue; based on the animation information of at least one target animation, determines the target relay state in the rail transit signal equipment; when the target relay state changes, determines the states of other relays associated with the target relay; based on the target relay state and the states of other relays, updates the virtual ammeter and virtual multimeter in the display interface of the upper computer, thereby simulating the state changes and electrical parameter changes of the relevant relays and equipment before and after the circuit fault of the rail transit equipment through the timing animation; thereby solving the technical problem of high cost in the virtual maintenance training method of rail transit signal equipment in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a flow chart of a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention.
[0019] Figure 2 It is a flow chart of the time sequence animation module provided by the present invention.
[0020] Figure 3 It is a schematic diagram of converting a circuit diagram into an adjacency matrix provided by the present invention.
[0021] Figure 4 It is a schematic diagram of node measurement for converting a circuit diagram into an adjacency matrix provided by the present invention.
[0022] Figure 5 It is a schematic diagram of the connection points of the circuit diagram converted into an adjacency matrix provided by the present invention.
[0023] Figure 6 It is a step flow chart of the circuit voltage calculation module provided by the present invention.
[0024] Figure 7 It is a schematic diagram of the electric potential of the target point and the equivalent point provided by the present invention.
[0025] Figure 8 Schematic diagram of the electric potential of the target point provided by the present invention.
[0026] Fig. 9 It is a structural schematic diagram of a circuit simulation device in a rail transit signal equipment virtual maintenance training system provided by the present invention.
[0027] Fig.10 It is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] Signal equipment is an important foundation for the efficient operation of rail transit signal systems. Rail transit basic signal equipment, such as switch machines, has a complex structure, high technical requirements, covers a lot of content, and has high safety performance. In addition, it is generally in a harsh outdoor operating environment. Once a failure occurs, it will cause immeasurable consequences. Therefore, how to shorten the fault handling time and reduce the adverse consequences caused by the failure when railway equipment failure is inevitable is an important research topic in railway equipment and applications. Among them, strengthening the skills training of maintenance personnel is an important method. In order to ensure the safety of maintenance personnel during the maintenance process and to promptly discover, locate, and handle damaged equipment, maintenance personnel need to have a deep understanding of the control circuit of basic signal equipment.
[0030] At present, the domestic rail transit signal equipment virtual maintenance training system often focuses on the virtual maintenance and virtual installation / disassembly of mechanical parts. Traditional circuit fault maintenance training methods require the construction of a minimum system consistent with the actual on-site environment. On the basis of real equipment, cables are added at each node of the circuit to simulate circuit breakage, short line and other faults, which requires extremely high costs.
[0031] Another traditional method of circuit fault maintenance training is to use internal summary circuit-related books and old employees to train new employees. The judgment and handling of many faults remain only on paper and verbally. At the same time, due to the lack of venue and the possibility of permanent damage to other equipment, new employees may leave safety hazards when conducting actual fault handling training. They can only accumulate practical experience through years of work to reduce risks.
[0032] The circuit simulation method in the virtual maintenance training system of rail transit signal equipment proposed in the present invention relies on computer 3D modeling and virtual simulation technology to geometrically model the signal basic equipment (including switch machines, combination cabinets, lightning protection distribution cabinets, relays, power circuit breakers, etc.), physically model their movement processes, and rule model the circuit operation to form a complete mapping of physical rules. It supports setting fault points at the connection points and equipment of each circuit. When setting a fault, the electrical characteristics of the equipment are consistent with the mechanical fault. During the fault handling process, the electrical characteristic parameters such as the voltage at each node of the circuit in the combination cabinet, lightning protection distribution cabinet, cable box, and switch machine are consistent with the fault phenomenon, thereby achieving the same effect as physical equipment training.
[0033] In order to solve the problems of high cost and long implementation cycle in simulating circuit failures of traditional signal equipment in the real environment of a training base, the present invention combines circuit simulation technology with a virtual 3D model to establish a component-level geometric model of the equipment that cannot be disassembled, a physical model of the motion state of each component, and a circuit operation rule model, so as to realize component-level simulation of the mechanical movement and circuit operation of actual rail transit infrastructure equipment, enhance rail transit practitioners' understanding of rail signal equipment control circuits, and achieve the goal of greatly improving rail transit practitioners' emergency response capabilities for rail transit signal equipment circuit failures.
[0034] The circuit simulation method in the virtual maintenance training system of rail transit signal equipment provided by the present invention mainly includes four processes, namely, fault discovery, location, disposal and verification, and its core is two sub-modules: a timing animation simulation module and a circuit voltage calculation module.
[0035] The invention simulates the timing actions of each component during the operation of the equipment when it is normal and when there is a fault through a timing animation module, and calculates the potential, voltage value, current value, etc. of the equipment in the normal state, operation state and fault state through a circuit voltage calculation module, thereby completely simulating the mechanical and electrical characteristics of the rail transit signal equipment.
[0036] In the process of fault discovery, the user obtains input from the mouse and keyboard, simulates the movement of the first-person character, and clicks on the host computer or UI to operate. When the user discovers the fault through the host computer alarm, abnormal device switching state, etc. when operating the device switching state, the fault troubleshooting process begins.
[0037] During the fault location process, the user needs to control the movement of characters, switch scenes, use a multimeter, place the test leads to measure the voltage, or observe the action of the equipment components to determine the fault location. The voltage value is provided by the circuit voltage calculation module. The voltage relationship of each node in the circuit is driven by the operation of the host computer to drive the action of the equipment components, and its voltage value also changes accordingly.
[0038] During the troubleshooting process, the user replaces the faulty component by clicking on a relay or cable.
[0039] During the verification process, the user needs to operate the host computer as in the positioning process, execute the entire simulation process, and observe the relay action, host computer display, ammeter, and multimeter phenomena to confirm whether the fault is resolved.
[0040] refer to Figure 1 , Figure 1 FIG. 1 is a flow chart of a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention. Figure 1 As shown, the method includes the following steps.
[0041] Step 101, when a rail transit signal device in a virtual maintenance training system fails, in response to a device operation instruction input into a host computer by a user, an animation queue associated with the device operation instruction is obtained, wherein the animation queue includes a play time.
[0042] The device operation instruction input by the user into the host computer may be a click instruction, a move instruction, etc. input by the user through a peripheral device of the host computer.
[0043] For example, in the process of fault discovery, the user obtains the input of the mouse and keyboard, simulates the movement of the first-person character, and clicks on the host computer or interface to operate. When the user discovers the fault through the host computer alarm, abnormal device switching state, etc. when operating the device switching state, the fault troubleshooting process begins, that is, obtaining the animation queue associated with the device operation instruction.
[0044] Step 102: Play at least one target animation in the animation queue based on the play time.
[0045] In an embodiment of the present invention, the step of obtaining the animation queue obtains the animation information with number, animation type, relay name, status, time, and remarks by reading the Excel table in advance, and the data of the same animation type are arranged from low to high in time, from which the required animation is screened out.
[0046] Step 103: Determine a target relay state in a rail transit signal device based on animation information of at least one target animation.
[0047] In an embodiment of the present invention, when the playback time reaches the preset animation time, the played time of the playback time is determined; based on the played time, a sequential comparison is performed with at least one target animation in the animation queue; when the cumulative animation time of at least one target animation is less than the played time, the target relay state in the rail transit signal equipment is updated according to the relay name and relay state carried by the animation information of at least one target animation.
[0048] Step 104: when the state of the target relay changes, determine the states of other relays associated with the target relay.
[0049] In an embodiment of the present invention, a timing animation module is used to simulate the timing actions of various components during the operation of the equipment when it is normal and when there is a fault, and the potential, voltage value, current value, etc. of the equipment in the normal state, operation state, and fault state are calculated, thereby completely simulating the mechanical and electrical characteristics of the rail transit signal equipment.
[0050] Step 105: based on the target relay state and other relay states, updating the display interface of the host computer, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0051] In an embodiment of the present invention, the current status of the target relay and other relays is judged based on the potential, voltage value, and current value of the target relay and other relays, thereby updating the virtual ammeter and virtual multimeter in the display interface of the host computer, and then observing the relay action, the host computer display content, the ammeter, and the multimeter phenomenon to confirm whether the fault is resolved.
[0052] refer to Figure 2 , Figure 2 It is a flow chart of the time sequence animation module provided by the present invention, which specifically includes the following steps.
[0053] Step 1: Get the animation queue.
[0054] Step 2, determine whether the current time has expired, if not, proceed to step 3, and end when the time has expired.
[0055] Step 3, the playing time reaches the animation.
[0056] Step 4, determine whether the relay state changes. If the state changes, execute step 5; otherwise, execute step 6.
[0057] Step 5, refresh the relay status, and then execute step 4.
[0058] Step 6, refresh the host computer and ammeter.
[0059] Step 7, refresh the multimeter.
[0060] Step 8: Wait for a while, and then proceed to step 2.
[0061] In the embodiment of the present invention, the state changes of some relays are input over time, which affects the state changes of other relays, thereby achieving the relay animation linkage effect.
[0062] In the embodiment of the present invention, to determine whether the current time has expired, the timing is started from the first determination, and the recorded time is the current time of the animation. It is compared with the preset animation time to determine whether the time has expired, and the value is accumulated at the waiting time of step 8.
[0063] When the playback time reaches the preset animation time, since the queue with time for this animation is obtained in step 1, the first animation data with the smallest time is compared with the current animation time. If the current time is greater than the animation time, the relay state with the same relay name in the animation data is modified to the state in the animation data, and the next data is compared until the animation data time is greater than the current time. The next comparison starts again from the position where the last comparison ended.
[0064] When judging whether the relay state changes, first obtain all positive and negative poles, then judge the reachable points from the positive and negative poles, and record the reachable paths and directions. If the positive and negative poles can reach both ends of the preset contacts at the same time, and the current direction is correct, the relay state will be modified to the preset state, and it is considered that the relay state changes. That is, if there is a need for delayed change, wait for the accumulated time to judge again. For example, if 1DQJ (the first turnout start relay) falls, it needs a delay of 0.1 seconds. At this time, after judging that it can fall, wait for 0.1 seconds to judge whether it can fall again. If it can fall, change its state to the falling state, otherwise it will not change.
[0065] Through the above steps of the embodiment of the present invention, when a fault occurs in the rail transit signal equipment in the virtual maintenance training system, in response to the equipment operation instruction input by the user into the upper computer, an animation queue associated with the equipment operation instruction is obtained, wherein the animation queue includes a play time; at least one target animation in the animation queue is played based on the play time; based on the animation information of the at least one target animation, a target relay state in the rail transit signal equipment is determined; when the target relay state changes, other relay states associated with the target relay are determined; based on the target relay state and the other relay states, a display interface of the upper computer is updated, wherein the display interface includes a virtual ammeter and a virtual multimeter; thereby solving the technical problem of high cost in the virtual maintenance training method for rail transit signal equipment in the related art.
[0066] According to a circuit simulation method in a rail transit signal equipment virtual maintenance training system provided by the present invention, before acquiring an animation queue associated with an equipment operation instruction, the method further includes: Reading a preset association table based on the device operation instruction, obtaining animation information of at least one target animation associated with the device operation instruction, wherein the animation information includes an animation number, an animation type, a relay name, a relay state, an animation time, and remarks; For animations of the same type, sort them in ascending order according to their playback time.
[0067] In an embodiment of the present invention, the step of obtaining the animation queue obtains the animation information with number, animation type, relay name, status, time, and remarks by reading the Excel table in advance, and the data of the same animation type are arranged from low to high in time, from which the required animation is screened out.
[0068] For example, if you play the ZYJ7 fixed operation animation, the animation type is "fixed operation", in which the ZYJ7 electric switch machine is composed of multiple components, such as motor, reducer, friction coupling, action rod, indication rod and shift contactor, etc. These components work together to achieve the conversion and locking of the turnout. In the animation, the movement and interaction of these components will be simulated through graphics and animation effects to show the working process of the ZYJ7 electric switch machine.
[0069] When you need to filter out the ZYJ7 fixed-operation animation from the Excel table, you can filter according to the "Animation Type" column, select "Fixed Operation" as the filter condition, and then further view other information in the filter results, such as number, relay name, status, time and remarks, to obtain complete animation information.
[0070] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, a target relay state in the rail transit signal equipment is determined based on animation information of at least one target animation, including: When the playback time reaches the preset animation time, the elapsed playback time of the playback time is determined; Compare the animation sequence with at least one target animation in the animation queue based on the played time; When the accumulated animation time of at least one target animation is less than the played time, the target relay state in the rail transit signal equipment is updated according to the relay name and relay state carried by the animation information of at least one target animation.
[0071] In an embodiment of the present invention, when the playback time reaches the preset animation time, the animation with time (timeline or duration) in the animation queue is determined, and the first animation data with the smallest time (duration) is compared with the current time of the animation (i.e., the playback time). If the current time is greater than the animation time, the relay state with the same relay name in the animation is modified to the relay state carried by the animation information of the animation, and the next data is compared until the duration of the accumulated animation data is greater than the playback time. When there are multiple target animations, the next comparison starts again from the position where the last comparison ended.
[0072] According to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment provided by the present invention, a target relay state in the rail transit signal equipment is determined based on animation information of at least one target animation, including: Determining a target relay based on a relay name carried by animation information of at least one target animation; Obtaining an adjacency matrix circuit diagram, wherein the adjacency matrix circuit diagram is obtained by converting input circuit diagram data; Determine the target point of the target relay in the adjacency matrix circuit diagram; When there is a connected path corresponding to the target point in the adjacency matrix circuit diagram and the current direction of the connected path is correct, the target relay is updated to a preset state.
[0073] refer to Figure 3 , Figure 3 It is a schematic diagram of converting a circuit diagram into an adjacency matrix provided by the present invention, wherein it includes layer 1 and layer 2, JDZ (a voltage transformer or relay) is regarded as layer 1 and JDF (J1) is regarded as layer 2.
[0074] refer to Figure 4 , Figure 4 The invention provides a schematic diagram of node measurement for converting a circuit diagram into an adjacency matrix, which includes an identifier (ID), a name (name), an index (index) and a measurement point.
[0075] refer to Figure 5 , Figure 5 It is a schematic diagram of the connection points of the circuit diagram converted into an adjacency matrix provided by the present invention, wherein the horizontal and vertical serial numbers represent the serial numbers of the connection points respectively, 0 represents no connection, and 1 represents connection.
[0076] In the embodiment of the present invention, first, the input circuit diagram is converted into an adjacency matrix, the JDZ layer is regarded as 1 layer, the JDF (J1) is regarded as 2 layers, the contact naming rule is: layer number-relay-contact number, and the line name rule is: contact_contact. By counting the number of contacts, a list is formed, and then the list subscript (index) is used to make an adjacency matrix. The value of the adjacency matrix is 0 for no connection and 1 for connection. The circuit diagram to adjacency matrix example can be referred to as follows Figure 3 , Figure 4 as well as Figure 5 (Only select the reverse excitation circuit example).
[0077] In an embodiment of the present invention, in the process of determining whether a relay state change is caused, all positive and negative electrodes in the adjacency matrix circuit diagram are first obtained, and then the points that can be reached are determined from the positive and negative electrodes, and the paths and directions that can be reached are recorded. If the positive and negative electrodes can reach both ends of the preset contact (i.e., the target points corresponding to the target relay) at the same time, and the current direction is correct, the relay state will be modified to the preset state, and it is determined that the relay state change is caused, and the target relay will be updated to the preset state.
[0078] According to a circuit simulation method in a rail transit signal equipment virtual maintenance training system provided by the present invention, after determining a target point of a target relay in an adjacency matrix circuit diagram, the method further includes: When there is no positive or negative path for the target point in the adjacency matrix circuit diagram, the target relay is updated to an isolated state; When the target point has only a negative path in the adjacency matrix circuit diagram, the target relay is updated to a 0 potential state; When only positive paths exist for the target point in the adjacency matrix circuit diagram, the target relay is updated to a positive potential state.
[0079] refer to Figure 6 , Figure 6 It is a step flow chart of the circuit voltage calculation module provided by the present invention.
[0080] In an embodiment of the present invention, the input (circuit diagram) data is converted into a circuit diagram in the form of an adjacency matrix; the paths from the positive and negative electrodes to the target point are obtained; and it is determined whether there is a positive electrode path.
[0081] When there is no positive path and no negative path, the output is "Value = (999, 999)", which is used to indicate that the target point is an isolated point and does not form a loop.
[0082] When there is no positive path and there is a negative path, the target point is considered to be 0 potential and the output is "Value = (0, 0)".
[0083] When there is a positive path and no negative path, "Value = positive electrode potential" is output.
[0084] According to a circuit simulation method in a rail transit signal equipment virtual maintenance training system provided by the present invention, after updating the target relay to a preset state, the method further includes: Determine the equivalent point corresponding to the target point in the adjacency matrix circuit diagram; Obtaining a path where the equivalent point is located in the adjacency matrix circuit diagram, and when the path is a series main path in the adjacency matrix circuit diagram, determining the resistance from the positive electrode to the equivalent point and the total resistance between the positive electrode and the negative electrode; Based on the resistance and the total resistance, determine the potential output of the target relay.
[0085] Continue to refer Figure 6 In an embodiment of the present invention, after converting the circuit diagram into an adjacency matrix form, the paths from the positive and negative electrodes to the target point are obtained; if there are no positive and negative electrode paths, it is considered that no loop is formed and it is an isolated point; if there is only a negative electrode path, it is considered to be 0 potential; if there is only a positive electrode path, it is considered to be a positive electrode potential; if there are both positive and negative electrode paths, go to step 1.
[0086] Step 1, (determine) the potential at both ends of the branch and the target point.
[0087] Step 2: Get the equivalent point of the target point.
[0088] Step 3, obtain the path where the equivalent point is located.
[0089] Step 4, determine whether the equivalent point is in the series main line, if not, go to step 5, if yes, go to step 7.
[0090] Step 5, calculate the parallel branch resistance and the total resistance.
[0091] Step 6, calculate the voltage across the parallel branch, then return to step 1 and use the parallel branch as input.
[0092] Step 7, calculate the resistance from the positive electrode to the target point and the total resistance.
[0093] Step 8, calculate the potential using the resistor voltage divider, and output the calculated potential, and then end.
[0094] In the embodiment of the present invention, complex series-parallel circuit calculations can be converted into simple series circuit calculations through circuit segmentation.
[0095] Specifically, the equivalent point of the target point is obtained by obtaining a path from the positive power supply to the target point and a path from the negative power supply to the target point, and comparing the points where the two paths are identical starting from the target point. The last identical point is the equivalent path of the target point, thereby simplifying the calculation.
[0096] Determine whether the equivalent point is in the series circuit. If there is only one path, it is considered to be in the series circuit. If there are more than one path, find the same part of the path. If the target point is in the same place, it is considered to be in the series circuit, otherwise it is considered to be in the parallel circuit.
[0097] Calculate the resistance of parallel branches and the total resistance. The total resistance of the parallel circuit branches is calculated by calculating the sum of the resistances of all components in the branches. The resistance of the parallel circuit is calculated by multiplying the total resistance of each branch by the sum of the total resistance of each branch. The total resistance is obtained by calculating the sum of the resistance of each parallel circuit and the resistance of the series circuit.
[0098] Calculate the voltage across the parallel circuit by dividing the circuit voltage.
[0099] Calculate the resistance from the positive electrode to the target point and the total resistance. If there is a parallel branch from the positive electrode to the target, calculate the parallel resistance in the same way as the parallel branch resistance. Add the remaining series resistance and the calculated parallel resistance to get the resistance from the positive electrode to the target point. The total resistance is the same as the calculation of the total resistance in the previous section.
[0100] The potential is calculated using resistor voltage division, which is calculated by multiplying the potential difference between the positive and negative electrodes by the resistance from the positive electrode to the target point divided by the total resistance plus the positive potential.
[0101] refer to Figure 7 , Figure 7 It is a schematic diagram of the electric potential of the target point and the equivalent point provided by the present invention.
[0102] like Figure 7 As shown, the equivalent point of point A is calculated, and the paths from KZ and KF to O are obtained, which are KZ→R1→point O→R3→point A and KF→R2→point O→R3→point A. The overlapping part is point O→R3→point A. The equivalent point of point A is point O. The calculated potential of point O is the potential of point A.
[0103] refer to Figure 8 , Figure 8 Schematic diagram of the electric potential of the target point provided by the present invention.
[0104] like Figure 8 As shown, calculate the potential at point A and obtain the path from KZ to KF, KZ→R1→A→R2→B→R4→KF and KZ→R1→A→R3→B→R4→KF. The overlapping part, that is, the series circuit, is KZ→R1→A and B→R4→KF. The total resistance is R1 and R4. The resistance from point A to point B can be considered as A→R2→B and A→R3→B in parallel, and the resistance of each branch is R2 and R3. Rab is equal to (R2*R3) / (R2+R3), so Va is equal to Vkz+(Vkz-Vkf)*R1 / (R1+Rab+R4).
[0105] Through the above-mentioned embodiments of the present invention, a circuit simulation method is provided in a virtual maintenance training system based on rail transit signal equipment. Specifically, with circuit voltage calculation as the core, the state changes and electrical parameter changes of related relays and equipment before and after a circuit fault occurs in rail transit equipment are simulated through timing animation, thereby supporting the setting and measurement of fault points at any point in the circuit, ensuring the same effect as using physical equipment for circuit fault maintenance training.
[0106] Through the above-mentioned embodiments of the present invention, the problem that emergency handling of circuit faults relies on building physical equipment, resulting in high costs and long implementation cycles, is effectively solved, the simulation of virtual maintenance of signal equipment circuits is expanded, the training method of virtual circuit maintenance is enriched, and technical support is provided for the skill improvement of signal maintenance personnel.
[0107] The circuit simulation device in the virtual maintenance training system for rail transit signal equipment provided by the present invention is described below. The circuit simulation device in the virtual maintenance training system for rail transit signal equipment described below and the circuit simulation method in the virtual maintenance training system for rail transit signal equipment described above can be referenced to each other.
[0108] refer to Fig. 9 , Fig. 9 It is a structural diagram of a circuit simulation device in a rail transit signal equipment virtual maintenance training system provided by the present invention, which includes: an acquisition module 901, a playback module 902, a first determination module 903, a second determination module 904, and an update module 905.
[0109] The acquisition module 901 is used to obtain an animation queue associated with the device operation instruction in response to the device operation instruction input into the host computer by the user when there is a fault in the rail transit signal device in the virtual maintenance training system, wherein the animation queue includes a play time; A playing module 902, configured to play at least one target animation in the animation queue based on a playing time; A first determination module 903, configured to determine a target relay state in a rail transit signal device based on animation information of at least one target animation; A second determination module 904, configured to determine the states of other relays associated with the target relay when the state of the target relay changes; The updating module 905 is used to update the display interface of the host computer based on the target relay state and other relay states, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0110] Specifically, the circuit simulation device in the above-mentioned rail transit signal equipment virtual maintenance training system provided by the present invention can implement all the method steps implemented by the circuit simulation method embodiment in the above-mentioned rail transit signal equipment virtual maintenance training system, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0111] Fig.10 is a schematic diagram of the physical structure of the electronic device provided by the present invention, such as Fig.10As shown, the electronic device may include: a processor 1010, a communication interface 1020, a memory 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020 and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute the circuit simulation method in the virtual maintenance training system of the rail transit signal device, the method comprising: when there is a fault in the rail transit signal device in the virtual maintenance training system, in response to the device operation instruction input by the user into the host computer, obtaining an animation queue associated with the device operation instruction, wherein the animation queue includes a play time; playing at least one target animation in the animation queue based on the play time; determining the target relay state in the rail transit signal device based on the animation information of the at least one target animation; when the target relay state changes, determining other relay states associated with the target relay; updating the display interface of the host computer based on the target relay state and other relay states, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0112] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the circuit simulation method in the virtual maintenance training system of rail transit signal equipment provided by the above methods. The method includes: when there is a fault in the rail transit signal equipment in the virtual maintenance training system, in response to the device operation instruction input by the user into the host computer, an animation queue associated with the device operation instruction is obtained, wherein the animation queue includes a play time; at least one target animation in the animation queue is played based on the play time; based on the animation information of the at least one target animation, a target relay state in the rail transit signal equipment is determined; when the target relay state changes, other relay states associated with the target relay are determined; based on the target relay state and the other relay states, a display interface of the host computer is updated, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0114] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the circuit simulation method in the virtual maintenance training system of rail transit signal equipment provided by the above-mentioned methods, the method comprising: when a fault occurs in the rail transit signal equipment in the virtual maintenance training system, in response to a device operation instruction input by a user into a host computer, obtaining an animation queue associated with the device operation instruction, wherein the animation queue includes a play time; playing at least one target animation in the animation queue based on the play time; determining a target relay state in the rail transit signal equipment based on the animation information of the at least one target animation; when the target relay state changes, determining other relay states associated with the target relay; and updating a display interface of the host computer based on the target relay state and the other relay states, wherein the display interface includes a virtual ammeter and a virtual multimeter.
[0115] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A circuit simulation method in a virtual maintenance training system for rail transit signal equipment, characterized in that: include: When a rail transit signal device in a virtual maintenance training system fails, in response to a device operation instruction input into a host computer by a user, an animation queue associated with the device operation instruction is obtained, wherein the animation queue includes a play time; Play at least one target animation in the animation queue based on the play time; Determining a target relay state in the rail transit signal device based on the animation information of the at least one target animation; When the state of the target relay changes, determining states of other relays associated with the target relay; Based on the target relay state and the other relay states, the display interface of the host computer is updated, wherein the display interface includes a virtual ammeter and a virtual multimeter.
2. The circuit simulation method in the virtual maintenance training system of rail transit signal equipment according to claim 1 is characterized in that: Before acquiring the animation queue associated with the device operation instruction, the method further includes: Reading a preset association table based on the device operation instruction, obtaining animation information of at least one target animation associated with the device operation instruction, wherein the animation information includes an animation number, an animation type, a relay name, a relay state, an animation time, and remarks; For the animations of the same animation type, the animations are sorted in ascending order according to their playing time.
3. The circuit simulation method in the virtual maintenance training system of rail transit signal equipment according to claim 1, characterized in that: The step of determining a target relay state in the rail transit signal device based on the animation information of the at least one target animation comprises: When the playing time reaches the preset animation time, determining the played time of the playing time; Performing a sequential comparison based on the played time with at least one target animation in the animation queue; When the accumulated animation time of the at least one target animation is less than the played time, the target relay state in the rail transit signal device is updated according to the relay name and relay state carried by the animation information of the at least one target animation.
4. The circuit simulation method in the virtual maintenance training system of rail transit signal equipment according to claim 1, characterized in that: The step of determining a target relay state in the rail transit signal device based on the animation information of the at least one target animation comprises: Determining a target relay based on a relay name carried by the animation information of the at least one target animation; Acquire an adjacency matrix circuit diagram, wherein the adjacency matrix circuit diagram is obtained by converting input circuit diagram data; Determine a target point of the target relay in the adjacency matrix circuit diagram; When there is a connection path corresponding to the target point in the adjacency matrix circuit diagram and the current direction of the connection path is correct, the target relay is updated to a preset state.
5. The circuit simulation method in the virtual maintenance training system of rail transit signal equipment according to claim 4 is characterized in that: After determining the target point of the target relay in the adjacency matrix circuit diagram, the method further includes: When there is no positive or negative path for the target point in the adjacency matrix circuit diagram, updating the target relay to an isolated state; When the target point has only a negative path in the adjacency matrix circuit diagram, updating the target relay to a 0 potential state; When the target point has only a positive path in the adjacency matrix circuit diagram, the target relay is updated to a positive potential state.
6. The circuit simulation method in the virtual maintenance training system of rail transit signal equipment according to claim 4 is characterized in that: After updating the target relay to a preset state, the method further includes: Determine an equivalent point corresponding to the target point in the adjacency matrix circuit diagram; Obtaining a path where the equivalent point is located in the adjacency matrix circuit diagram, and determining a resistance from the positive electrode to the equivalent point and a total resistance from the positive electrode to the negative electrode when the path is a series main path in the adjacency matrix circuit diagram; Based on the resistance and the total resistance, a potential output of the target relay is determined.
7. A circuit simulation device in a virtual maintenance training system for rail transit signal equipment, characterized in that: include: An acquisition module is used for, when a rail transit signal device in a virtual maintenance training system fails, responding to a device operation instruction inputted by a user into a host computer, to acquire an animation queue associated with the device operation instruction, wherein the animation queue includes a play time; A playing module, used for playing at least one target animation in the animation queue based on the playing time; A first determination module, configured to determine a target relay state in the rail transit signal device based on the animation information of the at least one target animation; A second determination module, configured to determine states of other relays associated with the target relay when the state of the target relay changes; An updating module is used to update the display interface of the host computer based on the target relay state and the other relay states, wherein the display interface includes a virtual ammeter and a virtual multimeter.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the circuit simulation method in the rail transit signal equipment virtual maintenance training system as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the circuit simulation method in the rail transit signal equipment virtual maintenance training system as claimed in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the circuit simulation method in the rail transit signal equipment virtual maintenance training system as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Virtual and real fusion collaborative working method and apparatus for automobile technique simulation training
CN101477756A
Simulation training system of relay protection in subway OCC power dispatching and method thereof
CN102436766A
Real-object simulated maintenance training system for domestic electronic products
CN104700686A
Semi-physical simulation teaching device for control circuit and gas circuit of urban rail vehicle
CN105719528A
Teaching system for interlocking system training
CN111326041A