Circuit simulation method in virtual maintenance training system of rail transit signal equipment
By using computer 3D modeling and circuit simulation technology, a virtual maintenance training system for rail transit signaling equipment was established, realizing component-level simulation of circuit faults, solving the problem of high training costs, and improving the emergency response capabilities of practitioners.
Patent Information
- Application Number
- CN202411422163.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-10-12
AI Technical Summary
Existing virtual maintenance training methods for rail transit signal equipment are costly. Traditional circuit fault maintenance training requires setting up a real environment, which consumes a lot of costs and poses safety risks.
By employing computer 3D modeling and virtual simulation technologies, combined with circuit simulation technology, component-level geometric models and circuit operation models of rail transit signaling equipment are established. Through time-series animation, the operation process of the equipment is simulated, and potential and current values are calculated to simulate circuit faults in rail transit signaling equipment.
It has achieved component-level simulation of circuit failures in rail transit signal equipment, improved practitioners' emergency response capabilities to circuit failures, reduced training costs, and avoided safety hazards in physical equipment.
Smart Images

Figure CN119207205B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of analog circuit, in particular to a circuit simulation method in a virtual maintenance training system for rail transit signal equipment. BACKGROUND
[0002] Signal equipment is an important basis for efficient operation of rail transit signal system. Rail transit basic signal equipment such as switch machine has complex structure, high technical requirements, multiple contents, and high safety performance. Moreover, it is generally in a harsh outdoor operating environment. Once a fault occurs, it will cause irreparable consequences.
[0003] At present, the virtual maintenance training system for rail transit signal equipment in the domestic stage often focuses on virtual maintenance and virtual installation / dismounting of mechanical parts. However, the traditional circuit fault maintenance training method needs to build a system consistent with the real scene environment. On the basis of real equipment, cable simulation circuit breakage, short circuit and other faults are added at each node of the circuit, which requires a lot of cost.
[0004] Therefore, the virtual maintenance training method for rail transit signal equipment in the related art has the technical problem of high cost. SUMMARY
[0005] The present application provides a circuit simulation method in a virtual maintenance training system for rail transit signal equipment, which solves the defect of high cost in the prior art of the virtual maintenance training method for rail transit signal equipment, and realizes component-level simulation of the mechanical movement and circuit operation of the real rail transit basic equipment.
[0006] The present application provides a circuit simulation method in a virtual maintenance training system for rail transit signal equipment, which includes the following steps. When the rail transit signal equipment in the virtual maintenance training system has a fault, the device operation instruction input by the user into the host computer is responded to, the animation queue associated with the device operation instruction is obtained, and the animation queue includes the playing time. At least one target animation in the animation queue is played based on the playing time. Based on the animation information of the at least one target animation, the state of the target relay in the rail transit signal equipment is determined. When the state of the target relay changes, the state of other relays associated with the target relay is determined. Based on the state of the target relay and the state of the other relays, the display interface of the host computer is updated, and the display interface includes a virtual ammeter and a virtual multimeter.
[0007] The circuit simulation method of the virtual maintenance training system of the rail transit signal equipment provided by the application comprises the following steps: obtaining animation information of at least one target animation associated with the device operation instruction based on the device operation instruction, wherein the animation information comprises animation number, animation type, relay name, relay state, animation time and remarks; and sorting the animations with the same animation type in order from low to high according to the playing time of the animations.
[0008] The circuit simulation method of the virtual maintenance training system of the rail transit signal equipment provided by the application comprises the following steps: obtaining animation information of at least one target animation associated with the device operation instruction based on the device operation instruction, wherein the animation information comprises animation number, animation type, relay name, relay state, animation time and remarks; and sorting the animations with the same animation type in order from low to high according to the playing time of the animations.
[0009] The circuit simulation method of the virtual maintenance training system of the rail transit signal equipment provided by the application comprises the following steps: obtaining animation information of at least one target animation associated with the device operation instruction based on the device operation instruction, wherein the animation information comprises animation number, animation type, relay name, relay state, animation time and remarks; and sorting the animations with the same animation type in order from low to high according to the playing time of the animations.
[0010] The circuit simulation method of the virtual maintenance training system of the rail transit signal equipment provided by the application comprises the following steps: obtaining animation information of at least one target animation associated with the device operation instruction based on the device operation instruction, wherein the animation information comprises animation number, animation type, relay name, relay state, animation time and remarks; and sorting the animations with the same animation type in order from low to high according to the playing time of the animations.
[0011] According to the circuit simulation method provided by the track traffic signal device virtual maintenance training system, after the target relay is updated to the preset state, the method further comprises: determining an equivalent point corresponding to the target point in the adjacency matrix circuit diagram; acquiring a path of the equivalent point in the adjacency matrix circuit diagram, when the path in the adjacency matrix circuit diagram is a series main path, determining a resistance from a positive pole to the equivalent point and a total resistance between the positive pole and a negative pole; and determining a potential output of the target relay based on the resistance and the total resistance.
[0012] The application further provides a circuit simulation device in a track traffic signal device virtual maintenance training system, comprising the following modules: an acquisition module, configured to, when a track traffic signal device in a virtual maintenance training system has a fault, acquire an animation queue associated with a device operation instruction input by a user into an upper computer based on the device operation instruction, wherein the animation queue comprises a playing time; a playing module, configured to play 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 track traffic signal device based on animation information of the at least one target animation; a second determination module, configured to determine other relay states associated with the target relay when the target relay state changes; and an update module, configured to update a display interface of the upper computer based on the target relay state and the other relay states, wherein the display interface comprises a virtual ammeter and a virtual multimeter.
[0013] The application further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the circuit simulation method in the track traffic signal device virtual maintenance training system according to any of the above when executing the program.
[0014] The application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable on a processor to implement the circuit simulation method in the track traffic signal device virtual maintenance training system according to any of the above.
[0015] The application further provides a computer program product comprising a computer program, wherein the computer program is executable on a processor to implement the circuit simulation method in the track traffic signal device virtual maintenance training system according to any of the above.
[0016] The application provides a circuit simulation method of a rail transit signal device virtual maintenance training system, when rail transit signal device in the virtual maintenance training system has a fault, in response to a device operation instruction input by a user into an upper computer, an animation queue associated with the device operation instruction is acquired, target animations in the animation queue are sequentially played based on the playing time of the animation queue; based on animation information of at least one target animation, a target relay state in the rail transit signal device 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 virtual ammeter and a virtual multimeter in a display interface of the upper computer are updated, thereby simulating the state changes of related relays and devices and the changes of electrical parameters before and after the circuit fault of the rail transit device through the time sequence animation, and the technical problem of high cost in the related art rail transit signal device virtual maintenance training method is solved. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description one by one. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0018] Figure 1 is a flowchart of the circuit simulation method of the rail transit signal device virtual maintenance training system provided by the application.
[0019] Figure 2 is a flowchart of the time sequence animation module provided by the application.
[0020] Figure 3 is a schematic diagram of the circuit diagram to the adjacency matrix provided by the application.
[0021] Figure 4 is a node measurement schematic diagram of the circuit diagram to the adjacency matrix provided by the application.
[0022] Figure 5 is a schematic diagram of the circuit diagram to the adjacency matrix provided by the application.
[0023] Figure 6 is a step flowchart of the circuit voltage calculation module provided by the application.
[0024] Figure 7 is a potential diagram of the target point and the equivalent point provided by the application.
[0025] Figure 8 is a potential diagram of the target point provided by the application.
[0026] Figure 9 Figure 1 is a structural schematic diagram of a circuit simulation device in a rail transit signal equipment virtual maintenance training system provided by the present application.
[0027] Figure 10 Figure 2 is a physical structure schematic diagram of an electronic device provided by the present application. DETAILED DESCRIPTION
[0028] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the drawings in the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0029] Signal equipment is an important basis for efficient operation of a rail transit signal system. A rail transit basic signal equipment such as a switch machine has a complex structure, high technical requirements, multiple contents, and high safety performance, and is generally in a harsh outdoor operating environment. Once a failure occurs, it will cause incalculable consequences. Therefore, how to compress the failure processing time and reduce the adverse consequences caused by the failure under the condition that the failure of the railway equipment is inevitable is an important research topic in the railway equipment and application. Among them, strengthening the skill promotion training of maintenance personnel is an important method. In order to ensure the safety of the maintenance personnel in the maintenance process and to find, locate and handle the damaged equipment in time, the maintenance personnel need to have a deep understanding of the control circuit of the basic signal equipment.
[0030] At present, the domestic rail transit signal equipment virtual maintenance training system often focuses on virtual maintenance and virtual installation / dismounting of mechanical parts, and the traditional circuit fault maintenance training method needs to build a minimum system consistent with the real scene environment, and on the basis of the real equipment, the cable simulation circuit disconnection, short line and other faults are added at each node of the circuit, which needs to consume a great cost.
[0031] Another traditional circuit fault maintenance training method is to perform through the circuit related books summarized internally and the form of old employees leading new employees. The judgment and processing of many faults only stay on paper and orally. At the same time, due to the lack of space and the possible permanent damage to other equipment, the new employees may leave safety hazards in the actual fault processing training, and can only accumulate practical experience through the working years to reduce the risk.
[0032] The circuit simulation method of the rail transit signal equipment virtual maintenance training system provided by the application relies on computer 3D modeling and virtual simulation technology, geometric modeling is performed on signal basic equipment (including switches, combination cabinets, lightning protection distribution cabinets, relays, power air switches, etc.), physical modeling is performed on the movement process, and rule modeling is performed on the circuit operation, so that complete mapping of physical rules is formed, fault points can be set at the connection points of each circuit and the equipment, the electrical characteristics and mechanical faults of the equipment are consistent when the fault is set, and in the fault handling process, the voltage and other electrical characteristic parameters at each node in the internal circuit of the combination cabinet, the lightning protection distribution cabinet, the cable box and the switch are consistent with the fault phenomenon, so that the same effect as entity equipment training is achieved.
[0033] To solve the problems of high cost and long implementation period of simulating traditional signal equipment circuit faults in a real environment of a training base, the circuit simulation technology is combined with a virtual 3D model to establish a geometric model of non-detachable components, a physical model of the movement state of each component, and a rule model of circuit operation, component-level simulation of the mechanical movement of real rail transit basic equipment and the operation of the circuit is realized, the understanding of rail signal equipment control circuits of rail transit practitioners is improved, and the goal of greatly improving the emergency disposal ability of rail transit practitioners for rail transit signal equipment circuit faults is achieved.
[0034] The circuit simulation method of the rail transit signal equipment virtual maintenance training system provided by the application mainly includes four processes, fault discovery, positioning, disposal and verification, and the core is two sub-modules: a time sequence animation simulation module and a circuit voltage calculation module.
[0035] The application simulates the time sequence actions of each component in the running process of the equipment under normal and fault conditions through the time sequence animation module, and calculates the potential, voltage value and current value of the equipment under normal, action state and fault state through the circuit voltage calculation module, so that the mechanical characteristics and electrical characteristics of the rail transit signal equipment are completely simulated.
[0036] In the fault discovery process, the input of the mouse and keyboard is obtained, the first person character is simulated to move, and the upper computer or UI is clicked for operation. After the user discovers the fault through the upper computer alarm, device switching state anomaly and other phenomena when operating the device to switch the state, the fault troubleshooting process is started.
[0037] In the fault positioning process, the user needs to control the character to move, switch the scene, use a multimeter, place a pen to measure the voltage, or judge the fault position by observing the action phenomenon of the equipment components, the voltage value is provided by the circuit voltage calculation module, and the voltage relationship of each node in the circuit is changed by operating the upper computer to drive the action of the equipment components.
[0038] In the fault handling process, the user replaces the faulty component by clicking the relay or cable.
[0039] In 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 representation, ammeter, and multimeter to confirm whether the fault is resolved.
[0040] Reference Figure 1 , Figure 1 is a flowchart of a circuit simulation method in a rail transit signal equipment virtual maintenance training system provided by the present application, as shown in Figure 1 The method comprises the following steps.
[0041] Step 101, when a fault exists 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, an animation queue associated with the device operation instruction is acquired, wherein the animation queue comprises a playing time.
[0042] The device operation instruction input by the user into the host computer can be a click instruction, a movement instruction, etc. input by the user through a host computer peripheral.
[0043] For example, in the fault discovery process, a first-person character is simulated to move by acquiring the input of a mouse and a keyboard, and the host computer or interface is clicked to operate. After the user discovers a fault by observing the host computer alarm, device switching state anomaly, etc. when operating the device to switch states, the fault troubleshooting process is started, that is, the animation queue associated with the device operation instruction is acquired.
[0044] Step 102, at least one target animation in the animation queue is played based on the playing time.
[0045] In the embodiment of the present application, the step of acquiring the animation queue obtains animation information with numbers, animation types, relay names, states, times, and notes by reading an Excel table in advance, and the data of the same animation type is arranged from low to high in time, and the required animation is filtered therefrom.
[0046] Step 103, based on the animation information of the at least one target animation, the state of a target relay in the rail transit signal equipment is determined.
[0047] In the embodiment of the present application, when the playing time reaches a preset animation time, a played duration of the playing time is determined; the played duration and the at least one target animation of the animation queue are sequentially compared; when the cumulative animation time of the at least one target animation is less than the played duration, the state of the target relay in the rail transit signal equipment is updated according to the relay name and the relay state carried by the animation information of the at least one target animation.
[0048] Step 104, when the target relay state changes, determining other relay states associated with the target relay.
[0049] In the embodiment of the application, the time sequence action of each component in the running process of the device in normal and fault conditions is simulated by the time sequence animation module, and the potential, voltage value, current value and the like in the normal state, action state and fault state of the device are calculated, so that the mechanical characteristics and electrical characteristics of the rail transit signal device are completely simulated.
[0050] Step 105, updating 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.
[0051] In the embodiment of the application, the current state of the target relay and the other relays is judged according to the potential, voltage value and current value of the target relay and the other relays, so that the virtual ammeter and the virtual multimeter in the display interface of the upper computer are updated, and then whether the fault is solved is confirmed by observing the relay action, the display content of the upper computer, the ammeter and the multimeter.
[0052] Reference Figure 2 , Figure 2 is a flowchart of the time sequence animation module provided by the application, and specifically includes the following steps.
[0053] Step 1, obtaining an animation queue.
[0054] Step 2, judging whether the current time is exhausted, if not, executing step 3, and if the time is exhausted, ending.
[0055] Step 3, playing the time to reach the animation.
[0056] Step 4, judging whether the relay state is changed, if the state is changed, executing step 5, and if not, executing step 6.
[0057] Step 5, refreshing the relay state, and then executing step 4.
[0058] Step 6, refreshing the upper computer and the ammeter.
[0059] Step 7, refreshing the multimeter.
[0060] Step 8, waiting for time, and then executing step 2.
[0061] In the embodiment of the application, part of the relay states are changed with time, which affects the change of other relay states, so that the relay animation linkage effect is achieved.
[0062] In the embodiment of the present application, whether the current time is exhausted is judged, and the time recorded since the first judgment is the current time of the animation. The time is compared with the preset animation time to judge whether the time is exhausted. The value is accumulated at the waiting time in step 8.
[0063] When the playing time reaches the preset animation time, the queue of the current animation with time is obtained in step 1. The first animation data with the smallest time is compared with the current time of the animation. If the current time is greater than the time of the animation, the state of the relay with the same name as the relay in the animation data is modified to the state in the animation data. The next data is compared until the time of the animation data is greater than the current time. The next comparison is restarted from the position where the previous comparison ends.
[0064] When whether the relay state changes is judged, all the positive and negative poles are obtained. The points that can be reached are judged from the positive and negative poles. The paths and directions that can be reached are recorded. If the positive and negative poles can reach both ends of the preset contact point at the same time and the current direction is correct, the relay state is modified to the preset state. It is considered that the relay state changes. If there is a delay change, the time is accumulated and then the change is judged again. For example, 1DQJ (the first turnout starting relay) is dropped. A delay of 0.1 seconds is required. When it is judged that it can be dropped, the state is changed to the dropped state after 0.1 seconds. Otherwise, it is not changed.
[0065] Through the above steps of the embodiment of the present application, when the track traffic signal device in the virtual maintenance training system has a fault, the device operation instruction input by the user into the host computer is responded. The animation queue associated with the device operation instruction is obtained. The animation queue includes a playing time. At least one target animation in the animation queue is played based on the playing time. The target relay state in the track traffic signal device is determined based on the animation information of the at least one target animation. When the target relay state changes, the states of other relays associated with the target relay are determined. The display interface of the host computer is updated based on the target relay state and the states of other relays. The display interface includes a virtual ammeter and a virtual multimeter. Thus, the technical problem of high cost in the track traffic signal device virtual maintenance training method in the related art is solved.
[0066] According to the circuit simulation method in the track traffic signal device virtual maintenance training system provided by the present application, before the animation queue associated with the device operation instruction is obtained, the above method further includes:
[0067] read a preset association table based on the device operation instruction to obtain animation information of at least one target animation associated with the device operation instruction, wherein the animation information comprises animation number, animation type, relay name, relay state, animation time and remarks;
[0068] For animations of the same animation type, the animations are sorted in ascending order of the animation playing time.
[0069] In the embodiment of the application, the animation queue obtaining step obtains animation information with number, animation type, relay name, state, time and remarks by reading the Excel table in advance, and the data of the same animation type is arranged in ascending order of time, and the required animation is filtered out.
[0070] For example, if the ZYJ7 fixed operation animation is played, the animation type is "fixed operation", and the ZYJ7 electric switch machine is composed of multiple components such as motor, speed reducer, friction coupler, action lever, indicating lever and shift contactor, which work together to realize the conversion and locking of the turnout. In the animation, the movement and interaction of these components are simulated through graphics and animation effects, so as to show the working process of the ZYJ7 electric switch machine.
[0071] When the ZYJ7 fixed operation animation needs to be filtered out from the Excel table, the "animation type" column can be used for filtering, and "fixed operation" is selected as the filtering condition, and then other information in the filtering result, such as number, relay name, state, time and remarks, is further checked to obtain complete animation information.
[0072] According to the circuit simulation method provided by the application, the target relay state in the rail transit signal device is determined based on the animation information of at least one target animation, comprising:
[0073] When the playing time reaches the preset animation time, the played duration of the playing time is determined;
[0074] The played duration is sequentially compared with at least one target animation in the animation queue;
[0075] When the cumulative animation time of the at least one target animation is less than the played duration, 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.
[0076] In the embodiment of the present application, when the playing time reaches the preset animation time, the animation with time (time axis or time length) in the animation queue is determined, and the animation data with the smallest time (time length) is compared with the current time (i.e. the played time length) of the animation, if the current time is greater than the time of the animation, the relay state of the relay with the same 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 time length of the accumulated animation data is greater than the played time length, wherein when there are multiple target animations, the next comparison starts from the position where the last comparison ends.
[0077] According to the circuit simulation method of the virtual maintenance training system of the rail transit signal equipment provided by the present application, the target relay state in the rail transit signal equipment is determined based on the animation information of at least one target animation, comprising:
[0078] Determine the target relay based on the relay name carried by the animation information of at least one target animation.
[0079] Obtain the adjacency matrix circuit diagram, wherein the adjacency matrix circuit diagram is obtained by converting the input circuit diagram data;
[0080] Determine the target point of the target relay in the adjacency matrix circuit diagram;
[0081] 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, update the target relay to the preset state.
[0082] Reference Figure 3 , Figure 3 The present application provides a schematic diagram of converting a circuit diagram into an adjacency matrix, which includes layer 1 and layer 2, JDZ (a kind of voltage transformer or relay) is regarded as layer 1 and JDF (J1) is regarded as layer 2.
[0083] Reference Figure 4 , Figure 4 The present application provides a schematic diagram of node measurement of converting a circuit diagram into an adjacency matrix, which includes identification (id), naming (name), index (index) and measurement point.
[0084] Reference Figure 5 , Figure 5 The present application provides a schematic diagram of contact point of converting a circuit diagram into an adjacency matrix, wherein the horizontal and vertical serial numbers represent the serial numbers of the contact points, 0 represents no connection, and 1 represents connection.
[0085] In the embodiment of the present application, first, the input circuit diagram is converted into an adjacency matrix, the JDZ layer is regarded as the 1st layer, the JDF (J1) is regarded as the 2nd layer, the naming rule of the contact is: layer number-relay-contact number, and the naming rule of the wire is: contact_contact. By counting the number of the contacts, a list is formed, and then the list index is used to make the adjacency matrix, and the value of the adjacency matrix is 0, indicating no connection, and 1, indicating connection. The circuit diagram to adjacency matrix example can refer to the following Figure 3 , Figure 4 and Figure 5 (only the anti-excitation magnetic circuit example is selected).
[0086] In the embodiment of the present application, in the process of judging whether the relay state changes, first, all the positive and negative poles in the adjacency matrix circuit diagram are obtained, then the points that can be reached are judged from the positive and negative poles, and the paths and directions that can be reached are recorded, if the positive and negative poles can reach the two ends of the preset contact (i.e. the target point 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, it is judged that the relay state changes, and the target relay is updated to the preset state.
[0087] According to the circuit simulation method of the rail transit signal equipment virtual maintenance training system provided by the present application, after the target point of the target relay in the adjacency matrix circuit diagram is determined, the above method further comprises:
[0088] When the target point has no positive and negative pole path in the adjacency matrix circuit diagram, the target relay is updated to an isolated state;
[0089] When the target point has only a negative pole path in the adjacency matrix circuit diagram, the target relay is updated to a 0 potential state;
[0090] When the target point has only a positive pole path in the adjacency matrix circuit diagram, the target relay is updated to a positive potential state.
[0091] Reference Figure 6 , Figure 6 is the step flow chart of the circuit voltage calculation module provided by the present application.
[0092] In the embodiment of the present application, the input (circuit diagram) data is converted into an adjacency matrix form circuit diagram, the paths of the positive and negative poles to the target point are obtained, and whether there is a positive pole path is judged.
[0093] When there is no positive pole path and no negative pole path, "Value=(999, 999)" is output, which is used to indicate that the target point is an isolated point and does not constitute a loop.
[0094] When there is no positive pole path and there is a negative pole path, the target point is considered to be a 0 potential, and "Value=(0, 0)" is output.
[0095] When there is a positive electrode path and no negative electrode path, output "Value=positive electrode potential".
[0096] According to the circuit simulation method of the rail transit signal equipment virtual maintenance training system provided by the application, after the target relay is updated to the preset state, the method further comprises:
[0097] Determine the equivalent point corresponding to the target point in the adjacency matrix circuit diagram;
[0098] Obtain the path of the equivalent point in the adjacency matrix circuit diagram, and when the path is in the series main path in the adjacency matrix circuit diagram, determine the resistance from the positive electrode to the equivalent point and the total resistance between the positive electrode and the negative electrode;
[0099] Based on the resistance and the total resistance, determine the potential output of the target relay.
[0100] With reference to the above Figure 6 In the embodiment of the application, after the circuit diagram is converted into an adjacency matrix form, the path from the positive electrode and the negative electrode to the target point is obtained; if there is no positive electrode path and no negative electrode path, 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 positive electrode potential; if there is both a positive electrode path and a negative electrode path, step 1 is entered.
[0101] Step 1, (determine) the potential at both ends of the branch and the target point.
[0102] Step 2, obtain the equivalent point of the target point.
[0103] Step 3, obtain the path of the equivalent point.
[0104] Step 4, determine whether the equivalent point is in the series main path, if not, enter step 5, if yes, enter step 7.
[0105] Step 5, calculate the parallel branch resistance and the total resistance.
[0106] Step 6, calculate the voltage at both ends of the parallel branch, and then return to step 1 to take the parallel branch as input.
[0107] Step 7, calculate the resistance from the positive electrode to the target point and the total resistance.
[0108] Step 8, calculate the potential by resistance voltage division, and output the calculated potential, and end.
[0109] In the embodiment of the application, complex series-parallel circuit calculation can be converted into simple series circuit calculation through circuit segmentation.
[0110] Specifically, the equivalent point of the target point is obtained by obtaining the path from the positive power supply to the target point and the path from the negative power supply to the target point, comparing the same points of the two paths starting from the target point, and finally the last same point is the equivalent path of the target point, thereby simplifying the calculation.
[0111] It is judged 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 paths, the same part of the paths is obtained. 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.
[0112] The parallel branch circuit resistance and the total resistance are calculated. The total resistance of the parallel circuit branch is calculated by summing the resistances of all components in the branch. The parallel circuit resistance is calculated by multiplying the total resistance of each branch and dividing by the sum of the total resistances of each branch. The total resistance is obtained by summing the parallel circuit resistance and the series circuit resistance.
[0113] The voltage across the parallel circuit is calculated by dividing the voltage across the circuit.
[0114] The resistance from the positive electrode to the target point and the total resistance are calculated. If there is a parallel branch from the positive electrode to the target point, the parallel part resistance is calculated in the same way as the parallel branch resistance. The sum of the calculated parallel part resistance and the series part resistance is the resistance from the positive electrode to the target point. The total resistance is calculated in the same way as the total resistance.
[0115] The potential is calculated by dividing the voltage across the circuit.
[0116] Reference Figure 7 , Figure 7 is a potential diagram of the target point and the equivalent point provided by the present application.
[0117] As Figure 7 shown, the equivalent point of point A is calculated. The paths from KZ and KF to O are KZ→R1→O point→R3→A point and KF→R2→O point→R3→A point. The overlapping part is O point→R3→A point. The equivalent point of A point is O point. The potential of O point is calculated, which is the potential of A point.
[0118] Reference Figure 8 , Figure 8 is a potential diagram of the target point provided by the present application.
[0119] As Figure 8As shown, the potential of point A is calculated, the path from KZ to KF is obtained, KZ→R1→A→R2→B→R4→KF and KZ→R1→A→R3→B→R4→KF, the coincident part 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, the resistance of each branch is R2 and R3, Rab is equal to (R2*R3) / (R2+R3), and therefore Va is equal to Vkz+ (Vkz-Vkf)*R1 / (R1+Rab+R4).
[0120] Through the above embodiment of the present application, a circuit simulation method in a virtual maintenance training system for rail transit signal equipment is provided, specifically, taking circuit voltage calculation as the core, the state changes of relevant relays and devices and the changes of electrical parameters before and after the circuit fault of rail transit equipment are simulated through time sequence animation, and then the fault point setting and measurement of any point position of the circuit can be supported, and the same effect as the circuit fault type maintenance training using physical devices can be ensured.
[0121] Through the above embodiment of the present application, the problem that the circuit fault emergency disposal depends on the construction of physical devices, resulting in high cost and long implementation period, is effectively solved, the simulation simulation of virtual maintenance of signal equipment circuit is expanded, the training method of virtual maintenance of circuit is enriched, and technical support is provided for skill improvement of signal maintenance personnel.
[0122] The circuit simulation device in the virtual maintenance training system for rail transit signal equipment provided by the present application is described below, and the circuit simulation device in the virtual maintenance training system for rail transit signal equipment described below can be correspondingly referred to each other with the circuit simulation method in the virtual maintenance training system for rail transit signal equipment described above.
[0123] Reference Figure 9 , Figure 9 is a structural schematic diagram of the circuit simulation device in the virtual maintenance training system for rail transit signal equipment provided by the present application, wherein it comprises: an acquisition module 901, a playing module 902, a first determination module 903, a second determination module 904 and an updating module 905.
[0124] The acquisition module 901 is used for, when there is a fault in the rail transit signal equipment in the virtual maintenance training system, acquiring an animation queue associated with the device operation instruction input by the user into the upper computer in response to the device operation instruction input by the user into the upper computer, wherein the animation queue comprises a playing time;
[0125] The playing module 902 is used for playing at least one target animation in the animation queue based on the playing time;
[0126] The first determination module 903 is configured to determine a target relay state in the rail transit signal device based on animation information of at least one target animation.
[0127] The second determination module 904 is configured to determine other relay states associated with the target relay when the target relay state changes.
[0128] The updating module 905 is configured to update 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.
[0129] Specifically, the circuit simulation device of the rail transit signal device virtual maintenance training system provided by the present application can realize all the method steps implemented by the circuit simulation method embodiment of the rail transit signal device virtual maintenance training system, and achieve the same technical effects. Therefore, the same parts and beneficial effects of the method embodiment in this embodiment will not be described in detail.
[0130] Figure 10 is a schematic diagram of the physical structure of the electronic device provided by the present application, as Figure 10 shown, the electronic device can include a processor (processor) 1010, a communication interface (Communications Interface) 1020, a memory (memory) 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020, the memory 1030 complete the communication among each other through the communication bus 1040. The processor 1010 can call the logical instructions in the memory 1030 to execute the circuit simulation method of the rail transit signal device virtual maintenance training system, which includes: when the rail transit signal device in the virtual maintenance training system has a fault, 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 playing time; playing at least one target animation in the animation queue based on the playing time; determining a target relay state in the rail transit signal device based on animation information of the at least one target animation; determining other relay states associated with the target relay when the target relay state changes; updating 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.
[0131] In addition, the logical instructions in the memory 1030 described above can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0132] In another aspect, the present application also provides a computer program product, the computer program product comprising a computer program, the computer program being stored in a non-transitory computer readable storage medium, and the computer program being executed by a processor, so that a computer can execute a circuit simulation method in a rail transit signal equipment virtual maintenance training system provided by each of the above methods. The method comprises: when there is a fault in the rail transit signal equipment in the virtual maintenance training system, in response to a device operation instruction input by a user into an upper computer, obtaining an animation queue associated with the device operation instruction, wherein the animation queue comprises a playing time; playing at least one target animation in the animation queue based on the playing time; determining a target relay state in the rail transit signal equipment based on 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 a display interface of the upper computer based on the target relay state and the other relay states, wherein the display interface comprises a virtual ammeter and a virtual multimeter.
[0133] In yet another aspect, the present application also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the circuit simulation method of the rail transit signal equipment virtual maintenance training system provided by each of the above methods, the method comprising: in response to a user inputting a device operation instruction into the host computer, obtaining an animation queue associated with the device operation instruction when the rail transit signal equipment in the virtual maintenance training system has a fault, wherein the animation queue comprises a playing time; playing at least one target animation in the animation queue based on the playing time; determining a target relay state in the rail transit signal equipment based on animation information of the at least one target animation; determining other relay states associated with the target relay when the target relay state changes; and updating a display interface of the host computer based on the target relay state and the other relay states, wherein the display interface comprises a virtual ammeter and a virtual multimeter.
[0134] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., they can be located in one place or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment scheme according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0135] From the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software and the necessary general hardware platform, and of course, it can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes a plurality of instructions for causing 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.
[0136] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A circuit simulation method in a virtual maintenance training system for rail transit signal equipment, characterized in that, The method comprises: When a rail transit signal device in a virtual maintenance training system has a fault, in response to a device operation instruction input by a user into an upper computer, an animation queue associated with the device operation instruction is obtained, wherein the animation queue comprises a playing time; At least one target animation in the animation queue is played based on the playing time; A target relay state in the rail transit signal device is determined based on animation information of the at least one target animation; 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 comprises a virtual ammeter and a virtual multimeter.
2. The circuit simulation method in the rail transit signal equipment virtual maintenance training system according to claim 1 is characterized in that: Before the animation queue associated with the device operation instruction is obtained, the method further comprises: Based on the device operation instruction, a preset association table is read to obtain animation information of at least one target animation associated with the device operation instruction, wherein the animation information comprises an animation number, an animation type, a relay name, a relay state, an animation time, and a note; Animations of the same animation type are sorted in order from low to high according to the playing time of the animations.
3. The circuit simulation method in the rail transit signal equipment virtual maintenance training system according to claim 1, characterized in that, The determination of the 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 a preset animation time, a played duration of the playing time is determined; The played duration is sequentially compared with at least one target animation of the animation queue; When the cumulative animation time of the at least one target animation is less than the played duration, the target relay state in the rail transit signal device is updated according to the relay name and the relay state carried by the animation information of the at least one target animation.
4. The method of claim 1, wherein the circuit emulation is performed by a virtual maintenance training system for rail transit signaling equipment. The determination of the target relay state in the rail transit signal device based on the animation information of the at least one target animation comprises: A target relay is determined based on the relay name carried by the animation information of the at least one target animation; An adjacency matrix circuit diagram is obtained, wherein the adjacency matrix circuit diagram is converted from input circuit diagram data; A target point of the target relay in the adjacency matrix circuit diagram is determined; 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.
5. The circuit simulation method in the rail transit signal equipment virtual maintenance training system according to claim 4, characterized in that, After the target point of the target relay in the adjacency matrix circuit diagram is determined, the method further comprises: When there is no positive and negative path for the target point in the adjacency matrix circuit diagram, the target relay is updated to an isolated state; When there is only a negative path for the target point in the adjacency matrix circuit diagram, the target relay is updated to a 0 potential state; When there is only a positive path for the target point in the adjacency matrix circuit diagram, the target relay is updated to a positive potential state.
6. The circuit simulation method in the rail transit signal equipment virtual maintenance training system according to claim 4, characterized in that, After the target relay is updated to the preset state, the method further comprises: Determine an equivalent point corresponding to the target point in the adjacency matrix circuit diagram; Obtain the path of the equivalent point in the adjacency matrix circuit diagram, and when the path is in series in the adjacency matrix circuit diagram, determine 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.
7. A circuit simulation device in a virtual maintenance training system for rail transit signal equipment, characterized in that, Comprise: The acquisition module is used for acquiring an animation queue associated with the device operation instruction input by the user into the host computer when the rail transit signal equipment in the virtual maintenance training system has a fault, wherein the animation queue comprises a playing time; The playing module is used for playing at least one target animation in the animation queue based on the playing time; The first determination module is used for determining a target relay state in the rail transit signal equipment based on animation information of the at least one target animation; The second determination module is used for determining other relay states associated with the target relay when the target relay state changes; The update module is used for updating a display interface of the host computer based on the target relay state and the other relay states, wherein the display interface comprises a virtual ammeter and a virtual multimeter.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to realize the circuit simulation method in the rail transit signal equipment virtual maintenance training system according to any one of claims 1 to 6. 9.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the circuit simulation method in the rail transit signal equipment virtual maintenance training system according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the circuit simulation method in the rail transit signal equipment virtual maintenance training system according to any one of claims 1 to 6.
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