CN103676921B - Networked control system of the train and supervisory system TCMS test macro and method - Google Patents

Networked control system of the train and supervisory system TCMS test macro and method Download PDF

Info

Publication number
CN103676921B
CN103676921B CN201210326265.1A CN201210326265A CN103676921B CN 103676921 B CN103676921 B CN 103676921B CN 201210326265 A CN201210326265 A CN 201210326265A CN 103676921 B CN103676921 B CN 103676921B
Authority
CN
China
Prior art keywords
subsystem
tcms
industrial computer
simulation
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210326265.1A
Other languages
Chinese (zh)
Other versions
CN103676921A (en
Inventor
石勇
陈玉飞
刘维洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Yangtze Co Ltd
Original Assignee
China CNR Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China CNR Corp Ltd filed Critical China CNR Corp Ltd
Priority to CN201210326265.1A priority Critical patent/CN103676921B/en
Publication of CN103676921A publication Critical patent/CN103676921A/en
Application granted granted Critical
Publication of CN103676921B publication Critical patent/CN103676921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

A kind of networked control system of the train provided by the invention and supervisory system TCMS test macro and method, each subsystem of vehicle is emulated by industrial computer and replicating machine, form each subsystem realistic model, by the electric signal on hardware simulation platform simulation vehicle and hard signal, TCMS equipment sending controling instruction is to industrial computer, control imitation machine runs each realistic model and generates each subsystem state information, TCMS equipment sends test instruction to hardware simulation platform, hardware simulation platform sends electric signal and hard signal to replicating machine according to test instruction, replicating machine processes electric signal and hard signal and returns hardware instruction information to industrial computer, industrial computer judges the analyzing logic control function of TCMS equipment according to each subsystem state information, the hardware controls function of TCMS equipment is judged according to hardware instruction information.Thus do not need TCMS equipment to be connected with vehicle to test, the complexity of TCMS testing of equipment can be reduced, improve testing efficiency.

Description

Networked control system of the train and supervisory system TCMS test macro and method
Technical field
The present invention relates to system testing technology, particularly relate to a kind of networked control system of the train and supervisory system TCMS test macro and method.
Background technology
At present, networked control system of the train and supervisory system (TrianControlandmonitoringSystem, TCMS) have been widely used in the matching network of subway, light rail vehicle, and future also will be applied to field widely.As brain and the nervous system of train, TCMS assume responsibility for the most work of Train Control and operation safety monitoring.
In prior art, when testing TCMS system, need the electrical equipment on its all subsystem such as driving position system, trailer system, brake system, backup system, accelerator control system, air-conditioning system, signal system, broadcast system, pyrotechnic system with car load and car load and rigid line to be connected, and then it is tested.Only have and could entrucking use after TCMS system is by test.But existing method of testing TCMS system, testing complex degree is high, and testing efficiency is low.
Summary of the invention
The invention provides a kind of networked control system of the train and supervisory system TCMS test macro and method, in order to reduce the complexity of test TCMS system, improve testing efficiency.
To achieve these goals, the invention provides a kind of networked control system of the train and supervisory system TCMS test macro, comprise: industrial computer, replicating machine, hardware simulation platform and TCMS equipment, described industrial computer and described replicating machine and described TCMS equipment connection, described replicating machine is also connected with described hardware simulation platform, described hardware simulation platform also with described TCMS equipment connection;
Described industrial computer, for according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generate the simulation code corresponding respectively with described each subsystem, described each simulation code is sent to described replicating machine, receive the steering order that described TCMS equipment sends, described steering order is sent to described replicating machine, receive each subsystem state information that described replicating machine returns, described TCMS device systems logic control function is judged according to described each subsystem state information and each subsystem state information preset, and receive the hardware instruction information that described TCMS equipment returns, the hardware device controlling functions of described TCMS equipment is judged according to described hardware instruction information and default hardware instruction information,
Described replicating machine, for receiving described each simulation code that described industrial computer sends, the realistic model corresponding with described each subsystem is formed according to described each simulation code, receive the described steering order that described industrial computer sends, described each realistic model is run according to described steering order, generate described each subsystem state information, described each subsystem state information is sent to described industrial computer, and receive electric signal and the hard signal of the transmission of described hardware simulation platform, described electric signal and hard signal are processed and returns described hardware instruction information;
Described hardware simulation platform, for simulating electric signal and the hard signal of described vehicle, receive the test instruction that described TCMS equipment sends, according to described test instruction, described electric signal and hard signal are sent to described replicating machine, to make described replicating machine, described electric signal and hard signal are processed, and receive the described hardware instruction information that described replicating machine returns, described hardware instruction information is sent to described TCMS equipment;
Described TCMS equipment, for sending described steering order to described industrial computer, send described test instruction to described hardware simulation platform, and receive the described hardware instruction information that described hardware simulation platform returns, described hardware instruction information is sent to described industrial computer.
To achieve these goals, the invention provides a kind of networked control system of the train and supervisory system TCMS method of testing, comprising:
Industrial computer, according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generates the simulation code corresponding respectively with described each subsystem, described each simulation code is sent to replicating machine;
Described replicating machine forms the realistic model corresponding with described each subsystem according to described each simulation code;
Described industrial computer receives the steering order that TCMS equipment sends, and described steering order is sent to described replicating machine;
Described replicating machine runs described each realistic model according to described steering order, generates each subsystem state information, described each subsystem state information is sent to described industrial computer;
Described industrial computer judges described TCMS device systems logic control function according to described each subsystem state information and each subsystem state information preset;
The electric signal of vehicle described in hardware simulation platform simulation and hard signal, receive the test instruction that described TCMS equipment sends, according to described test instruction, described electric signal and hard signal sent to described replicating machine;
Described replicating machine processes described electric signal and hard signal and returns hardware instruction information;
Described hardware simulation platform receives described hardware instruction information, and described hardware instruction information is sent to described TCMS equipment;
Described hardware instruction information is sent to described industrial computer by described TCMS equipment;
Described industrial computer judges the hardware device controlling functions of described TCMS equipment according to described hardware instruction information and default hardware instruction information.
Networked control system of the train provided by the invention and supervisory system TCMS test macro and method, each subsystem of vehicle is emulated by industrial computer and replicating machine, form each subsystem realistic model, by the electric signal on hardware simulation platform simulation vehicle and hard signal, TCMS equipment sending controling instruction is to industrial computer, control imitation machine runs each realistic model and generates each subsystem state information, TCMS equipment sends test instruction to hardware simulation platform, hardware simulation platform sends electric signal and hard signal to replicating machine according to test instruction, replicating machine processes electric signal and hard signal and returns hardware instruction information to industrial computer, industrial computer judges the analyzing logic control function of TCMS equipment according to each subsystem state information, the hardware controls function of TCMS equipment is judged according to hardware instruction information.This TCMS test macro provided by the invention not only has the simulation capacity of each subsystem of vehicle, also there is the fillip of simulation entire automobile electric system equipment, thus do not need TCMS equipment to be connected with vehicle to test, the complexity of TCMS testing of equipment can be reduced, improve testing efficiency.
Accompanying drawing explanation
The structural representation of a kind of networked control system of the train that Fig. 1 provides for the embodiment of the present invention and supervisory system TCMS test macro;
A kind of networked control system of the train that Fig. 2 provides for the embodiment of the present invention and supervisory system TCMS method of testing process flow diagram.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The structural representation of a kind of networked control system of the train that Fig. 1 provides for the embodiment of the present invention and supervisory system TCMS test macro.As shown in Figure 1, the TCMS test macro that the present embodiment provides comprises: industrial computer 11, replicating machine 12, hardware simulation platform 13 and TCMS equipment 14, industrial computer 11 is connected with replicating machine 12 and TCMS equipment 14, replicating machine 12 is also connected with hardware simulation platform 13, and hardware simulation platform 13 is also connected with TCMS equipment 14.
Industrial computer 11, for according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generate the simulation code corresponding respectively with each subsystem, each simulation code is sent to replicating machine 12, receive the steering order that TCMS equipment 14 sends, steering order is sent to replicating machine 12, receive each subsystem state information that replicating machine 12 returns, TCMS device systems logic control function is judged according to each subsystem state information and each subsystem state information preset, and the hardware instruction information to electric signal and hard signal receiving that TCMS equipment 14 returns, the hardware device controlling functions of described TCMS equipment 14 is judged according to hardware instruction information and default hardware instruction information.
Replicating machine 12, for receiving each simulation code that industrial computer 11 sends, the subsystem realistic model corresponding respectively with each subsystem is formed according to each simulation code, receive the steering order that industrial computer 13 sends, each subsystem realistic model is run according to this steering order, generate each subsystem state information, each subsystem state information is sent to industrial computer 11, and receive electric signal and the hard signal of the transmission of hardware simulation platform 13, electric signal and hard signal are processed and returns hardware instruction information.
Hardware simulation platform 13, for simulating electric signal and the hard signal of described vehicle, receive the test instruction that TCMS equipment 14 sends, according to test instruction, electric signal and hard signal are sent to replicating machine 12, process to make replicating machine 12 pairs of electric signals and hard signal, and receive the hardware instruction information that replicating machine 12 returns, hardware instruction information is sent to TCMS equipment 14.
TCMS equipment 14, for sending described steering order to industrial computer 11, sends test instruction to hardware simulation platform 13, and receives the hardware instruction information that hardware simulation platform 13 returns, and hardware instruction information is sent to industrial computer 13.
A kind of networked control system of the train that the present embodiment provides and supervisory system TCMS test macro, each subsystem of vehicle is emulated by industrial computer and replicating machine, form each subsystem realistic model, by the electric signal on hardware simulation platform simulation vehicle and hard signal, TCMS equipment sending controling instruction is to industrial computer, control imitation machine runs each realistic model and generates each subsystem state information, TCMS equipment sends test instruction to hardware simulation platform, hardware simulation platform sends electric signal and hard signal to replicating machine according to test instruction, replicating machine processes electric signal and hard signal and returns hardware instruction information to industrial computer, industrial computer judges the analyzing logic control function of TCMS equipment according to each subsystem state information, the hardware controls function of TCMS equipment is judged according to hardware instruction information.This TCMS test macro provided by the invention not only has the simulation capacity of each subsystem of vehicle, also there is the fillip of simulation entire automobile electric system equipment, thus do not need TCMS equipment to be connected with vehicle to test, the complexity of TCMS testing of equipment can be reduced, improve testing efficiency.
Particularly, in the present embodiment, industrial computer 11 can connect replicating machine 12 by bus, and also can realize with replicating machine 12 by Ethernet mutual, industrial computer 11 is also connected by bus with TCMS equipment 14.The communication interface of TCMS equipment is various, such as, MVB (MultifunctionVehicleBus, MVB) communication interface, controller local area network (ControllerAreaNetwork, CAN) communication interface, ethernet interface, RS485 communication interface etc.In the present embodiment, preferably, industrial computer 11 adopts the form of MVB (MultifunctionVehicleBus, MVB) to be connected with TCMS equipment 14.
Industrial computer 11 is according to the performance parameter of vehicle and communicating protocol parameter, the each subsystem under simulating vehicle running status is carried out by modeling software, wherein, each subsystem comprise on vehicle the vehicle such as driving position system, trailer system, brake system, backup system, accelerator control system, air-conditioning system, signal system, broadcast system, pyrotechnic system on all subsystems.The performance parameter of vehicle and communicating protocol parameter can be obtained by the technology supporting paper of the functional requirement specification of the communication protocol of each subsystem, each subsystem, each subsystem.For trailer system (TractionControlUnit, TCU), performance parameter, as the data transmission characteristics cycle, TCU logical process time delay etc. of TCU.Communicating protocol parameter, as TCU sends to net pressure signal, net stream signal, the motor speed signal etc. of TCMS.In the present embodiment, modeling software can adopt the Matlab/Simulink software with simulation and copying.Can arrange human-computer interaction interface in industrial computer 11, train operator can pass through the running status of the real-time supervision train of this human-computer interaction interface.
Industrial computer 11, after having simulated each subsystem, does not directly generate simulation code, and industrial computer 11 needs to test each subsystem of simulation, generates the test result that each subsystem is corresponding.Whether each subsystem of simulating to detect industrial computer 11 simulates each subsystem under actual vehicle running status truly, and the first expected result prestored in industrial computer 11, includes the expected result of each subsystem in this first expected result prestored.This first expected result is according to the technical protocol signed with main engine plants with by the repeatedly design liaison meeting with subsystems, and the relevant meeting summary, communication protocol, functional requirement specification etc. of signing are formulated.The test result of each subsystem compares with corresponding expected result by industrial computer 11, and when each subsystem testing result is consistent with corresponding expected result, industrial computer 11 generates the simulation code corresponding respectively with each subsystem; And when the test result of each subsystem is inconsistent with corresponding expected result, the performance parameter of adjustment and the inconsistent subsystem of desired structure and communicating protocol parameter, and again according to the performance parameter of the vehicle after adjustment and communicating protocol parameter, this subsystem is tested.Human-computer interaction interface in industrial computer 11 can be provided with the option of parameter adjustment, allows train operator or emulation personnel to adjust performance parameter and the communicating protocol parameter of vehicle by call parameters adjustment option.
In actual mechanical process, the language of modeling software when simulating in the language of the simulation software used in replicating machine 12 and industrial computer 11 is not general, that is, language in modeling software directly can not be sent in replicating machine 12, need industrial computer 11 to be the simulation code that replicating machine 12 can identify by the language compilation in this modeling software.Industrial computer 11, by when generating corresponding simulation code by each subsystem after test, compiles described each simulation code, then each simulation code after compiling is sent to replicating machine 12.When industrial computer 11 generates simulation code, control to carry out automatic error detection and error correction by automatic script, to ensure the accuracy of the simulation code generated.
Replicating machine 12 runs each simulation code after have received each simulation code of industrial computer 11 transmission, after replicating machine 12 has run each simulation code, exports the simulation result corresponding respectively with each simulation code.This simulation result is sent to industrial computer 11 by replicating machine 12, after industrial computer 11 receives simulation result, simulation architecture and prestore second is expected results contrast.This second expected result is according to the technical protocol signed with main engine plants with by the repeatedly design liaison meeting with subsystems, and the relevant meeting summary, communication protocol, functional requirement specification etc. of signing are formulated.When simulation result is consistent with described default second expected result, industrial computer 11 sends instruction to replicating machine 12, and control imitation machine 12 forms the realistic model corresponding respectively with described each subsystem according to described each simulation code; When each simulation result and described the second default expected result inconsistent, in industrial computer 11, adjust the simulation parameter in each simulation code.In industrial computer 11, the simulation parameter of adjustment is the performance parameter on vehicle and the partial parameters in communicating protocol parameter.Industrial computer 11, after having adjusted simulation parameter, controls described replicating machine and reruns each simulation code.Human-computer interaction interface in industrial computer 11 can be provided with the option of parameter adjustment, allows train operator or emulation personnel to adjust simulation parameter by call parameters adjustment option.
After replicating machine 12 completes emulation, TCMS equipment 14 sends described steering order to industrial computer 11, after industrial computer 11 receives this steering order, send it to replicating machine 12, replicating machine 12 carrys out each realistic model of Dynamic simulation machine 12 according to this steering order, and replicating machine 12 returns the status information of each realistic model according to each subsystem of steering order feedback to industrial computer 11.The status information of the status information of each subsystem received with each subsystem prestored compares by industrial computer 11, whether the state of each subsystem is consistent with the status information of each subsystem of expection, when both are inconsistent, illustrate that the analyzing logic control function of TCMS equipment 14 is abnormal.When both are consistent, illustrate that the analyzing logic control function of TCMS equipment 14 is normal.Industrial computer 11 also has the function of man-machine interaction, by human-computer interaction interface, can observe the running status of each realistic model in the replicating machine 12 of vehicle.For TCU, when the steering order that TCMS equipment 14 sends is advance command, it is forward that TCU controls motor steering according to advancement commands, and feed back to replicating machine 12, this motor steering information is forward sent to industrial computer 11 by replicating machine 12, due under the advancement commands that prestored in industrial computer 11, TCU controls motor steering information forward, then think that the controlling functions of this advancement commands of TCMS equipment 14 is normal.
By the above-mentioned modeling and simulation process of industrial computer 11 and replicating machine 12, the subsystem on the vehicle that is connected with TCMS equipment 14 can be simulated exactly in replicating machine 12, the data message that each realistic model can send and receive and failure message, thus when TCMS equipment 14 is tested, TCMS equipment is directly connected with industrial computer 11, avoid TCMS equipment to be connected with each subsystem of the reality on vehicle, the speed of test can be improved, reduce the complexity of test.
Actual vehicle not only comprises subsystems, comprises electrical equipment and hardwired devices in addition, when to TCMS testing equipment, also need the electrical equipment on vehicle and hardwired devices and TCMS equipment connection.In the present embodiment, the hardware simulation platform 13 provided, for simulating electric signal and the hard signal of described vehicle, e.g., driver's key signal, direction signal, traction braking command signal, tractive-braking efforts high low signal, mushroom head button signal etc.Hardware simulation platform 13 is connected by the electric interfaces of electric interfaces with TCMS equipment 14, wherein, electric interfaces comprises: digital quantity input (DigitalInput, DI), digital output (DigitalOutput, DO), analog input (AnalogInput, AI), analog output (AnalogOutput, AO) and pulse-length modulation (PulseWidthModulation, PWM) signal.TCMS equipment 14 is by DO, AO and PWM board in electric interfaces, i.e. DO, AO and PWM interface, to hardware simulation platform 13, the test instruction sent, such as, hardware simulation platform receives the test instruction that TCMS equipment sends, as: put in place pilot lamp, pantograph of door district pilot lamp, pantograph rising bow is fallen bow and to be put in place pilot lamp, expansion contactor close command, air compressor machine open command etc.Hardware simulation platform 13 by electric signal and hard signal, by the parallel bus be connected with replicating machine 12, sends to replicating machine 12 according to this test instruction.Replicating machine 12 pairs of electric signals and hard signal process, and return hardware instruction information to hardware simulation platform 13.Hardware instruction information is sent to TCMS equipment 14 by DO, AO and PWM board of self by hardware simulation platform 13.
Further, due to the electric characteristic of hardware simulation platform 13 electric interfaces and the electrical specification of TCMS equipment 14 electric interfaces inconsistent, the hardware instruction status information being back to TCMS equipment is needed to carry out conversion process, the voltage matches of such as switching signal, the voltage of simulating signal or electric current linear modulation etc., generate the first signal.Under the travel condition of vehicle of reality, the electric signal that electrical equipment and hardwired devices send and hard signal, can be subject to extraneous interference often, therefore, hardware simulation platform 13, after settling signal conversion, carries out injection interference to the first signal, generates secondary signal.Hardware simulation platform 13 sends this secondary signal and resolves this secondary signal to TCMS equipment 14, TCMS equipment 14, obtains hardware instruction status information.Hardware instruction information is sent to industrial computer 11 by TCMS equipment 14, hardware instruction information and the hardware instruction information prestored compare by industrial computer 11, when both are inconsistent, illustrate that the hardware controls function of TCMS equipment 14 is abnormal, when both are consistent, illustrate that the hardware controls function of TCMS equipment 14 is normal.The electric signal that on the vehicle be connected with TCMS equipment 14, electrical equipment and hardwired devices send and hard signal can be simulated exactly by hardware simulation platform 13, thus when TCMS equipment 14 is tested, TCMS equipment is connected with hardware simulation platform 13, the electrical equipment and the hardwired devices that avoid TCMS equipment and the reality on vehicle are connected, the speed of test can be improved, reduce the complexity of test.
The status information of each subsystem and hardware instruction information, after the status information receiving each subsystem and hardware instruction information, are also carried out recording and preserving, are checked so that follow-up by industrial computer 11, thus efficiency is checked in raising.
A kind of networked control system of the train that Fig. 2 provides for the embodiment of the present invention and supervisory system TCMS method of testing process flow diagram.The method that the present embodiment provides is applicable to the TCMS test macro that above-described embodiment provides.In the present embodiment, industrial computer can connect replicating machine by bus, and also can be realized mutual by Ethernet, industrial computer is also connected by bus with TCMS equipment.The communication interface of TCMS equipment is various, such as, and MVB communication interface, CAN communication interface, ethernet interface, RS485 communication interface etc.In the present embodiment, preferably, industrial computer adopts form and the TCMS equipment connection of MVB.
As shown in Figure 2, the TCMS method of testing that the present embodiment provides comprises:
201, industrial computer is according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generates the simulation code corresponding respectively with described each subsystem, described each simulation code is sent to replicating machine.
Particularly, industrial computer is according to the performance parameter of vehicle and communicating protocol parameter, the each subsystem under simulating vehicle running status is carried out by modeling software, wherein, each subsystem comprise on vehicle the vehicle such as driving position system, trailer system, brake system, backup system, accelerator control system, air-conditioning system, signal system, broadcast system, pyrotechnic system on all subsystems.The performance parameter of vehicle and communicating protocol parameter can be obtained by the technology supporting paper of the functional requirement specification of the communication protocol of each subsystem, each subsystem, each subsystem.For TCU system, performance parameter, as the data transmission characteristics cycle, TCU logical process time delay etc. of TCU.Communicating protocol parameter, as TCU sends to net pressure signal, net stream signal, the motor speed signal etc. of TCMS.In the present embodiment, modeling software can adopt the Matlab/Simulink software with simulation and copying.Can also arrange human-computer interaction interface in industrial computer, train operator can pass through the running status of the real-time supervision train of this human-computer interaction interface.
Industrial computer, after having simulated each subsystem, does not directly generate simulation code, and industrial computer needs to test each subsystem of simulation, generates the test result that each subsystem is corresponding.Whether simulate each subsystem under actual vehicle running status truly in order to each subsystem detecting industrial computer simulation, the first expected result prestored in industrial computer, includes the expected result of each subsystem in this first expected result prestored.This first expected result is according to the technical protocol signed with main engine plants with by the repeatedly design liaison meeting with subsystems, and the relevant meeting summary, communication protocol, functional requirement specification etc. of signing are formulated.The test result of each subsystem compares with corresponding expected result by industrial computer, and when each subsystem testing result is consistent with corresponding expected result, industrial computer generates the simulation code corresponding respectively with each subsystem; And when the test result of each subsystem is inconsistent with corresponding expected result, the performance parameter of adjustment and the inconsistent subsystem of desired structure and communicating protocol parameter, and again according to the performance parameter of the vehicle after adjustment and communicating protocol parameter, this subsystem is tested.Train operator or emulation personnel by the option of the human-computer interaction interface call parameters adjustment in industrial computer, can adjust performance parameter and the communicating protocol parameter of vehicle by parameter adjustment option.
In actual mechanical process, the language of modeling software when simulating in the language of the simulation software used in replicating machine and industrial computer is not general, that is, language in modeling software directly can not be sent in replicating machine, need the simulation code that the language compilation in this modeling software can identify for replicating machine by industrial computer.Industrial computer, by when generating corresponding simulation code by each subsystem after test, compiles described each simulation code, then each simulation code after compiling is sent to replicating machine.When industrial computer generates simulation code, control to carry out automatic error detection and error correction by automatic script, to ensure the accuracy of the simulation code generated.
202, described replicating machine forms the realistic model corresponding with described each subsystem according to described each simulation code.
Replicating machine runs each simulation code after have received each simulation code of industrial computer transmission, after replicating machine has run each simulation code, exports the simulation result corresponding respectively with each simulation code.This simulation result is sent to industrial computer by replicating machine.After industrial computer receives simulation result, simulation architecture and prestore second are expected results contrast, when simulation result is consistent with described default second expected result, industrial computer sends instruction to replicating machine, and control imitation machine forms the realistic model corresponding respectively with described each subsystem according to described each simulation code; When each simulation result and described the second default expected result inconsistent, in industrial computer, adjust the simulation parameter in each simulation code, the simulation parameter adjusted in industrial computer is the performance parameter on vehicle and the partial parameters in communicating protocol parameter.Industrial computer, after having adjusted simulation parameter, controls described replicating machine and reruns each simulation code.Train operator or emulation personnel by the option of the human-computer interaction interface call parameters adjustment in industrial computer, can adjust simulation parameter by parameter adjustment option.
203, described industrial computer receives the steering order that TCMS equipment sends, and described steering order is sent to described replicating machine.
After replicating machine completes emulation, TCMS equipment sends described steering order to industrial computer, after industrial computer receives this steering order, this steering order is sent to replicating machine.
204, described replicating machine runs described each realistic model according to described steering order, generates described each subsystem state information, described each subsystem state information is sent to described industrial computer.
205, described industrial computer judges described TCMS device systems logic control function according to described each subsystem state information and each subsystem state information preset.
Particularly, the status information of the status information of each subsystem received with each subsystem prestored compares by industrial computer, whether the state of each subsystem is consistent with the status information of each subsystem of expection, and when both are inconsistent, then the analyzing logic control function of TCMS equipment is abnormal.When both are consistent, then the analyzing logic control function of TCMS equipment is normal.
Further, industrial computer also has the function of man-machine interaction, by human-computer interaction interface, can observe the running status of each realistic model in the replicating machine of vehicle.For TCU, when the steering order that TCMS equipment sends is advance command, it is forward that TCU controls motor steering according to advancement commands, and feed back to replicating machine, this motor steering information is forward sent to industrial computer by replicating machine, due under the advancement commands that prestored in industrial computer, TCU controls motor steering information forward, then think that the controlling functions of this advancement commands of TCMS equipment is normal.
By the above-mentioned modeling and simulation process of industrial computer and replicating machine, can simulate in replicating machine exactly and the subsystem on the vehicle of TCMS equipment connection, the data message that each realistic model can send and receive and failure message, thus during to TCMS testing of equipment, TCMS equipment is directly connected with industrial computer, avoid TCMS equipment to be connected with each subsystem of the reality on vehicle, the speed of test can be improved, reduce the complexity of test.
206, the electric signal of vehicle described in hardware simulation platform simulation and hard signal, receives the test instruction that described TCMS equipment sends, according to described test instruction, described electric signal and hard signal is sent to described replicating machine.
Actual vehicle not only comprises subsystems, comprises electrical equipment and hardwired devices in addition, when to TCMS testing equipment, also need the electrical equipment on vehicle and hardwired devices and TCMS equipment connection.The hardware simulation platform provided in the present embodiment, can simulate electric signal and the hard signal of described vehicle, e.g., and driver's key signal, direction signal, traction braking command signal, tractive-braking efforts high low signal, mushroom head button signal etc.Hardware simulation platform is connected by the electric interfaces of electric interfaces with TCMS equipment, and wherein, electric interfaces comprises: digital quantity input DI, digital output DO, analog input AI, analog output AO and pulse width modulating signal PWM.TCMS equipment is by DO, AO and PWM board in electric interfaces, i.e. DO, AO and PWM interface, to hardware simulation platform, the test instruction sent, such as, hardware simulation platform receives the test instruction that TCMS equipment sends, as: put in place pilot lamp, pantograph of door district pilot lamp, pantograph rising bow is fallen bow and to be put in place pilot lamp, expansion contactor close command, air compressor machine open command etc.Hardware simulation platform by electric signal and hard signal, by the parallel bus be connected with replicating machine, sends to replicating machine according to this test instruction.
207, described replicating machine processes described electric signal and hard signal and returns hardware instruction information.
Replicating machine processes electric signal and hard signal, returns hardware instruction information to hardware simulation platform.Hardware instruction information is sent to TCMS equipment by DO, AO and PWM board of self by hardware simulation platform.
Further, due to the electric characteristic of hardware simulation platform electric interfaces and the electrical specification of TCMS equipment electric interfaces inconsistent, the hardware instruction status information being back to TCMS equipment is needed to carry out conversion process, the voltage matches of such as switching signal, the voltage of simulating signal or electric current linear modulation etc., generate the first signal.Under the travel condition of vehicle of reality, the electric signal that electrical equipment and hardwired devices send and hard signal, can be subject to extraneous interference often, and therefore, hardware simulation platform, after settling signal conversion, carries out injection interference to the first signal, generates secondary signal.Hardware simulation platform sends this secondary signal to TCMS equipment, this secondary signal of TCMS device parses, obtains hardware instruction status information.
208, described hardware instruction information is sent to described TCMS equipment by described hardware simulation platform.
209, described hardware instruction information is sent to described industrial computer by described TCMS equipment.
210, described industrial computer judges the hardware device controlling functions of described TCMS equipment according to described hardware instruction information and default hardware instruction information.
Hardware instruction information and the hardware instruction information prestored compare by industrial computer, and when both are inconsistent, then the hardware controls function of TCMS equipment is abnormal, and when both are consistent, then the hardware controls function of TCMS equipment is normal.The electric signal and hard signal that send with electrical equipment on the vehicle of TCMS equipment connection and hardwired devices can be simulated exactly by hardware simulation platform, thus during to TCMS testing of equipment, TCMS equipment is connected with hardware simulation platform, the electrical equipment and the hardwired devices that avoid TCMS equipment and the reality on vehicle are connected, the speed of test can be improved, reduce the complexity of test.
Industrial computer is after the status information receiving each subsystem and hardware instruction information, also the status information of each subsystem and hardware instruction information are carried out industrial computer 11 after the status information receiving each subsystem and hardware instruction information, also the status information of each subsystem and hardware instruction information are carried out recording and preserving, check so that follow-up, thus efficiency is checked in raising.
A kind of networked control system of the train that the present embodiment provides and supervisory system TCMS method of testing, each subsystem of vehicle is emulated by industrial computer and replicating machine, form each subsystem realistic model, by the electric signal on hardware simulation platform simulation vehicle and hard signal, TCMS equipment sending controling instruction is to industrial computer, control imitation machine runs each realistic model and generates each subsystem state information, TCMS equipment sends test instruction to hardware simulation platform, hardware simulation platform sends electric signal and hard signal to replicating machine according to test instruction, replicating machine processes electric signal and hard signal and returns hardware instruction information to industrial computer, industrial computer judges the analyzing logic control function of TCMS equipment according to each subsystem state information, the hardware controls function of TCMS equipment is judged according to hardware instruction information.This TCMS test macro provided by the invention not only has the simulation capacity of each subsystem of vehicle, also there is the fillip of simulation entire automobile electric system equipment, thus do not need TCMS equipment to be connected with vehicle to test, the complexity of TCMS testing of equipment can be reduced, improve testing efficiency.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a networked control system of the train and supervisory system TCMS test macro, it is characterized in that, comprise: industrial computer, replicating machine, hardware simulation platform and TCMS equipment, described industrial computer and described replicating machine and described TCMS equipment connection, described replicating machine is also connected with described hardware simulation platform, described hardware simulation platform also with described TCMS equipment connection;
Described industrial computer, for according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generate the simulation code corresponding respectively with described each subsystem, described each simulation code is sent to described replicating machine, receive the steering order that described TCMS equipment sends, described steering order is sent to described replicating machine, receive each subsystem state information that described replicating machine returns, described TCMS device systems logic control function is judged according to described each subsystem state information and each subsystem state information preset, and receive the hardware instruction information that described TCMS equipment returns, the hardware device controlling functions of described TCMS equipment is judged according to described hardware instruction information and default hardware instruction information,
Described replicating machine, for receiving described each simulation code that described industrial computer sends, the realistic model corresponding respectively with described each subsystem is formed according to described each simulation code, receive the described steering order that described industrial computer sends, described each realistic model is run according to described steering order, generate described each subsystem state information, described each subsystem state information is sent to described industrial computer, and receive electric signal and the hard signal of the transmission of described hardware simulation platform, described electric signal and hard signal are processed and returns described hardware instruction information,
Described hardware simulation platform, for simulating electric signal and the hard signal of described vehicle, receive the test instruction that described TCMS equipment sends, according to described test instruction, described electric signal and hard signal are sent to described replicating machine, to make described replicating machine, described electric signal and hard signal are processed, and receive the described hardware instruction information that described replicating machine returns, described hardware instruction information is sent to described TCMS equipment;
Described TCMS equipment, for sending described steering order to described industrial computer, send described test instruction to described hardware simulation platform, and receive the described hardware instruction information that described hardware simulation platform returns, described hardware instruction information is sent to described industrial computer.
2. TCMS test macro according to claim 1, it is characterized in that, described industrial computer is specifically for testing described each subsystem according to the performance parameter of described vehicle and communicating protocol parameter, generate each subsystem testing result, judge that whether described each subsystem testing result is consistent with the first expected result preset; If described each subsystem testing result is consistent with described the first default expected result, generate the described simulation code corresponding respectively with described each subsystem; If described each subsystem testing result and described the first default expected result inconsistent, adjust the performance parameter of described vehicle and communicating protocol parameter and again according to the performance parameter of the vehicle after adjustment and communicating protocol parameter, described each subsystem tested.
3. TCMS test macro according to claim 1, is characterized in that, described replicating machine, specifically for running described each simulation code, exports each simulation result, sends described each simulation result to described industrial computer;
Described industrial computer is specifically for judging that whether described each simulation result is consistent with the second expected result preset, if described each simulation result is consistent with described default second expected result, controls described replicating machine and form the described realistic model corresponding with described each subsystem according to described each simulation code; If described each simulation result and described the second default expected result inconsistent, adjust the simulation parameter in described each simulation code, and control described replicating machine and rerun described each simulation code.
4. TCMS test macro according to claim 1, it is characterized in that, described industrial computer is specifically for according to each subsystem under the performance parameter of described vehicle and communicating protocol parameter simulating vehicle running status, generate the described each simulation code corresponding respectively with described each subsystem, compile described each simulation code, the described each simulation code after compiling is sent to described replicating machine.
5. TCMS test macro according to claim 1, is characterized in that, described hardware simulation platform, specifically for described hardware instruction information is carried out conversion process, generates the first signal; Interference is added to described first signal, generates secondary signal, send described secondary signal to described TCMS equipment;
The described secondary signal that described TCMS equipment sends specifically for receiving described hardware simulation platform, resolves described secondary signal, to generate described hardware instruction information, described hardware instruction information is sent to described industrial computer.
6. TCMS test macro according to claim 5, is characterized in that, described industrial computer is also for recording the status information of described each subsystem and described hardware instruction information.
7. networked control system of the train and a supervisory system TCMS method of testing, is characterized in that, comprising:
Industrial computer, according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generates the simulation code corresponding respectively with described each subsystem, described each simulation code is sent to replicating machine;
Described replicating machine forms the realistic model corresponding with described each subsystem according to described each simulation code;
Described industrial computer receives the steering order that TCMS equipment sends, and described steering order is sent to described replicating machine;
Described replicating machine runs described each realistic model according to described steering order, generates described each subsystem state information, described each subsystem state information is sent to described industrial computer;
Described industrial computer judges described TCMS device systems logic control function according to described each subsystem state information and each subsystem state information preset;
The electric signal of vehicle described in hardware simulation platform simulation and hard signal, receive the test instruction that described TCMS equipment sends, according to described test instruction, described electric signal and hard signal sent to described replicating machine;
Described replicating machine processes described electric signal and hard signal and returns hardware instruction information;
Described hardware instruction information is sent to described TCMS equipment by described hardware simulation platform;
Described hardware instruction information is sent to described industrial computer by described TCMS equipment;
Described industrial computer judges the hardware device controlling functions of described TCMS equipment according to described hardware instruction information and default hardware instruction information.
8. TCMS method of testing according to claim 7, is characterized in that, described industrial computer, according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generates the simulation code corresponding respectively with described each subsystem and comprises:
Described industrial computer is tested described each subsystem according to the performance parameter of described vehicle and communicating protocol parameter, generates each subsystem testing result;
Described industrial computer judges that whether described each subsystem testing result is consistent with the first expected result preset, if described each subsystem testing result is consistent with described the first default expected result, described industrial computer generates each simulation code corresponding respectively with described each subsystem according to the performance parameter of described vehicle and communicating protocol parameter;
If described each subsystem testing result and described the first default expected result inconsistent, described industrial computer adjusts the performance parameter of described vehicle and communicating protocol parameter and again tests described each subsystem according to the performance parameter of the vehicle after adjustment and communicating protocol parameter.
9. TCMS method of testing according to claim 7, is characterized in that, described replicating machine forms the realistic model corresponding with described each subsystem according to described each simulation code and comprises:
Described replicating machine runs described each simulation code, exports each simulation result, sends described each simulation result to described industrial computer;
Described industrial computer judges that whether described each simulation result is consistent with the second expected result preset, if described each simulation result is consistent with described default second expected result, controls described replicating machine and form the described realistic model corresponding with described each subsystem according to described each simulation code;
If described each simulation result and described the second default expected result inconsistent, the simulation parameter in the described each simulation code of described industrial computer adjustment, and control described replicating machine and rerun described each simulation code.
10. TCMS method of testing according to claim 8, it is characterized in that, described industrial computer is according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generate the simulation code corresponding respectively with described each subsystem, send to described replicating machine to comprise described each simulation code:
Described industrial computer is according to each subsystem under the performance parameter of vehicle and communicating protocol parameter simulating vehicle running status, generate the simulation code corresponding respectively with described each subsystem, and compile described each simulation code, the described each simulation code after compiling is sent to described replicating machine.
11. TCMS method of testings according to claim 7, is characterized in that, described hardware instruction information sends to described TCMS equipment to comprise by described hardware simulation platform:
Described hardware instruction information is carried out conversion process by described hardware simulation platform, generates the first signal;
Described hardware simulation platform adds interference to described first signal, generates secondary signal;
Described hardware simulation platform sends described secondary signal to described TCMS equipment, to make secondary signal described in described TCMS device parses, generates described hardware instruction information.
12. TCMS method of testings according to claim 11, is characterized in that, also comprise:
The status information of each subsystem described in described industrial computer record and described hardware instruction information.
CN201210326265.1A 2012-09-05 2012-09-05 Networked control system of the train and supervisory system TCMS test macro and method Active CN103676921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210326265.1A CN103676921B (en) 2012-09-05 2012-09-05 Networked control system of the train and supervisory system TCMS test macro and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210326265.1A CN103676921B (en) 2012-09-05 2012-09-05 Networked control system of the train and supervisory system TCMS test macro and method

Publications (2)

Publication Number Publication Date
CN103676921A CN103676921A (en) 2014-03-26
CN103676921B true CN103676921B (en) 2016-04-06

Family

ID=50314804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210326265.1A Active CN103676921B (en) 2012-09-05 2012-09-05 Networked control system of the train and supervisory system TCMS test macro and method

Country Status (1)

Country Link
CN (1) CN103676921B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562625A (en) * 2017-08-30 2018-01-09 安徽天达网络科技有限公司 One kind is used for automatic Test Simulation System of Computer Interlocking Software and its method

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425778B (en) * 2015-12-15 2019-02-26 唐山轨道客车有限责任公司 The test platform of CAN bus based train network control system
CN105867172A (en) * 2016-06-14 2016-08-17 成都运达牵引技术有限公司 Train vehicle-mounted control network semi-entity test platform
CN106527411A (en) * 2016-12-30 2017-03-22 中车唐山机车车辆有限公司 Subway train network control system testing device and system
CN108153279A (en) * 2017-12-20 2018-06-12 上海默松控制系统设备有限公司 A kind of hardware automated test devices of EKE
CN109357875B (en) * 2018-12-03 2024-01-26 湖南道依茨动力有限公司 Online calibration method and system for engine
CN110866306A (en) * 2019-10-23 2020-03-06 中国国家铁路集团有限公司 Train whole vehicle simulation verification method and system
CN112825100A (en) * 2019-11-20 2021-05-21 中车大连电力牵引研发中心有限公司 Performance test method, device and equipment of vehicle control terminal
CN111079280B (en) * 2019-12-10 2023-12-29 上海新力动力设备研究所 Method and device for simulating rapid prototype of solid attitude and orbit control engine control system
CN111007837B (en) * 2019-12-18 2021-04-27 交控科技股份有限公司 Test system and method for testing TCMS
CN111240969B (en) * 2020-01-06 2023-10-13 中车株洲电力机车有限公司 Test method and test system for network control system of unmanned railway vehicle
CN111324109A (en) * 2020-03-16 2020-06-23 北京和利时系统工程有限公司 Signal simulation system and method
CN111610726B (en) * 2020-06-29 2023-09-05 上海仁童电子科技有限公司 Simulation test system and method
CN112415984A (en) * 2020-11-26 2021-02-26 北京城市轨道交通咨询有限公司 Test system and test method for TCMS hardware entity
CN113219950B (en) * 2021-05-07 2023-01-13 中车青岛四方车辆研究所有限公司 Multifunctional virtual test platform for train
CN114460860B (en) * 2021-12-29 2023-10-13 中车永济电机有限公司 Comprehensive control and management platform and method for train-level semi-physical simulation system
CN114625105A (en) * 2022-03-01 2022-06-14 上海仁童电子科技有限公司 Train network control system testing method and device based on real-time Ethernet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201853130U (en) * 2010-11-29 2011-06-01 中国铁道科学研究院机车车辆研究所 Device for simulating train driver control device
CN102156052A (en) * 2011-03-04 2011-08-17 青岛四方车辆研究所有限公司 Semi-physical simulation testing table of network control system of high-speed motor train unit train
CN102536033A (en) * 2011-12-23 2012-07-04 南京理工大学 Intelligent door control system of rail train
EP2487803A1 (en) * 2009-10-09 2012-08-15 Korea Railroad Research Institute Train network data communication system using power line and method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110094648A (en) * 2010-02-17 2011-08-24 김봉택 Single item and automatic diagnosing system of a railcar
US8553792B2 (en) * 2011-01-14 2013-10-08 Mitsubishi Electric Research Laboratories, Inc. Non-coherent space-time trellis-coded modulations for network-coded wireless relay communications
KR101200514B1 (en) * 2011-01-21 2012-11-13 현대로템 주식회사 Air conditioner management apparatus and railway car comprising the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2487803A1 (en) * 2009-10-09 2012-08-15 Korea Railroad Research Institute Train network data communication system using power line and method thereof
CN201853130U (en) * 2010-11-29 2011-06-01 中国铁道科学研究院机车车辆研究所 Device for simulating train driver control device
CN102156052A (en) * 2011-03-04 2011-08-17 青岛四方车辆研究所有限公司 Semi-physical simulation testing table of network control system of high-speed motor train unit train
CN102536033A (en) * 2011-12-23 2012-07-04 南京理工大学 Intelligent door control system of rail train

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562625A (en) * 2017-08-30 2018-01-09 安徽天达网络科技有限公司 One kind is used for automatic Test Simulation System of Computer Interlocking Software and its method

Also Published As

Publication number Publication date
CN103676921A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103676921B (en) Networked control system of the train and supervisory system TCMS test macro and method
CN107107934B (en) Device and method for carrying out a test procedure involving a rail vehicle
CN112684423B (en) Automatic driving function test system and test method
CN102567205B (en) Simulation test system and simulation test device of train network control software
CN201210253Y (en) Test device for testing automobile electronic controller
EP3326888B1 (en) Test device for and method of testing interoperability of railway vehicles
CN201576208U (en) Simulation testing system of electric vehicle controller
CN105629960A (en) Electric vehicle controller model in-the-loop test system and method
CN106155038A (en) A kind of hardware in loop detecting system for hybrid vehicle
CN111123739A (en) Network control system semi-physical simulation experiment platform used in full-automatic unmanned driving mode
CN106598024B (en) Retarder signal simulation detection device and detection method
CN103823460A (en) Test apparatus and test method of auxiliary converter control cabinet
CN113532884B (en) Intelligent driving and ADAS system test platform and test method
CN110456761A (en) Test macro, method and the vehicle of energy management apparatus
CN106354120A (en) Combined test system of rail transit vehicle control device
CN111610726A (en) Simulation test system and method
CN111240969A (en) Test method and test system for network control system of unmanned railway vehicle
CN107776911B (en) PXI bus-based flight parameter system test platform and method
CN114488847A (en) Semi-physical simulation system of vehicle-mounted network control system
CN110865632A (en) Man-machine interaction testing method based on intelligent driving simulator
CN102880166A (en) Hardware-in-loop (HIL) testing platform of velocity measuring system (VMS)
CN108255145B (en) Test system and method for vehicle transmission control unit
CN112269370A (en) Vehicle control unit and motor controller combined test system and method
CN113126591A (en) Test method and device for train controller
CN113589796B (en) Constant-speed cruise test system and method based on hardware-in-the-loop

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: CHINA CNR CORPORATION LIMITED

Free format text: FORMER OWNER: DALIAN ELECTRIC TRACTION RESEARCH + DEVELOPMENT CENTER OF CHINA NORTH LOCOMOTIVE CO., LTD.

Effective date: 20140312

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 116022 DALIAN, LIAONING PROVINCE TO: 100078 FENGTAI, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20140312

Address after: 100078 Beijing Fengtai District city park is a district 15 building

Applicant after: China CNR Corporation Limited

Address before: 116022 Shahekou, Liaoning, China No. 51 The Strip

Applicant before: Dalian Electric Traction Research & Development Center of China North Locomotive Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant