CN106227062B - Diesel locomotive microcomputer controls semi-matter simulating system and method - Google Patents
Diesel locomotive microcomputer controls semi-matter simulating system and method Download PDFInfo
- Publication number
- CN106227062B CN106227062B CN201610707161.3A CN201610707161A CN106227062B CN 106227062 B CN106227062 B CN 106227062B CN 201610707161 A CN201610707161 A CN 201610707161A CN 106227062 B CN106227062 B CN 106227062B
- Authority
- CN
- China
- Prior art keywords
- test
- semi
- simulation
- central controller
- sent
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B17/00—Systems involving the use of models or simulators of said systems
- G05B17/02—Systems involving the use of models or simulators of said systems electric
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
It include: central controller and the semi-hardware type simulation test system being connected with central controller the invention discloses diesel locomotive microcomputer control semi-matter simulating system and method, the system;Semi-hardware type simulation test system is based on test case currently entered and opens test, generates corresponding analog signal and vehicle operating parameters and is sent to central controller;Central controller generates corresponding control instruction according to analog signal and vehicle operating parameters and is sent to semi-hardware type simulation test system;Semi-hardware type simulation test system carries out vehicle main circuit state simulation according to control instruction and runs, export and save the simulation results.Based on system disclosed above, analog main circuit of electric locomotive is realized and carries out a variety of tests to microcomputer control.
Description
Technical field
The present invention relates to simulation technical field more particularly to diesel locomotive microcomputer control semi-matter simulating system and methods.
Background technique
Diesel locomotive microcomputer is the core of diesel locomotive control, and micro-processor controlled quality affects diesel locomotive operating status
With the length in service life, therefore, a good test verification environment is critically important to diesel locomotive microcomputer control debugging.
Existing diesel locomotive microcomputer control test device is there are many road bureaus and manufacturer, substantially for specific
The test device of vehicle and the single-board testing of equipment under test.Original test is substantially manual by potentiometer and switch button
Various test signals are given, and are all opened loop control tests, extremely individual testboards have micro-computer function.Similar product is main at present
Have the following disadvantages: (1) system wiring is complicated, at high cost and power consumption is big;(2) traditional manual machinery Setting signal is used,
Measuring accuracy is inadequate and test method seriously lags;(3) test macro uses opened loop control, and the debugging testing time is long and not square
Just;(4) simple hardware testing can only be carried out, simulated locomotive actual conditions are unable to;(4) it is not easy to retain test result.
In view of this, existing diesel locomotive microcomputer control test device cannot meet test needs at present well.
Summary of the invention
In view of this, the present invention provides a kind of diesel locomotive microcomputer control semi-matter simulating system and method, it is existing to solve
Some technical solutions cannot meet the problem of test needs at present well.Technical solution is as follows:
A kind of diesel locomotive microcomputer controls semi-matter simulating system, comprising: central controller and with the central controller
Connected semi-hardware type simulation test system;
The semi-hardware type simulation test system is based on test case currently entered and opens test, generates corresponding simulation letter
Number and vehicle operating parameters and be sent to the central controller;
The central controller generates corresponding control instruction simultaneously according to the analog signal and the vehicle operating parameters
It is sent to the semi-hardware type simulation test system;
The semi-hardware type simulation test system carries out vehicle main circuit state simulation according to the control instruction and runs, defeated
Out and save the simulation results.
Preferably, the semi-hardware type simulation test system includes: host computer, signal conversion testing controller and real-time simulation
Device;
It is previously stored with the host computer of test case, test is opened based on test case currently entered;
The signal conversion testing controller being connected with the host computer, according to the corresponding institute of the Test cases technology
Analog signal and the vehicle operating parameters are stated, and is sent to the central controller;
The central controller generates the corresponding control according to the analog signal and the vehicle operating parameters and refers to
It enables, and is sent to the real-time simulator;
The real-time simulator carries out vehicle main circuit state simulation according to the control instruction and runs, the mould that will be obtained
Quasi- result is sent to the host computer;
The analog result is compared by the host computer with the expected results of the test case, is exported and is saved institute
State the simulation results.
Preferably, the signal conversion testing controller includes: extension mouth and one or the life of more than one signal
At plate, wherein the signal that the extension mouth can add corresponding the one or more according to the test case is raw
At plate.
Preferably, the signal conversion testing controller includes: CPCI cabinet;
Correspondingly, it includes: power panel, processor CPU board, double-unit traction controller plate, number that the signal, which generates plate,
Amount output DO plate, digital quantity input DI plate, analog input and output AIO plate, asynchronous receiving-transmitting transmission UART plate and backboard.
Preferably, the host computer, the signal converting controller, the central controller and the real-time simulator it
Between communicated by Ethernet.
Preferably, the host computer includes: processor and the memory that is connected with the processor;
The processor, for storing the preconfigured test case, the analog result and the emulation testing
As a result;
The processor exports institute for the analog result to be compared with the expected results of the test case
State the simulation results.
A kind of diesel locomotive microcomputer control Hardware In The Loop Simulation Method, comprising:
Semi-hardware type simulation test system be based on test case currently entered open test, generate corresponding analog signal and
Vehicle operating parameters are simultaneously sent to central controller;
The central controller generates corresponding control instruction simultaneously according to the analog signal and the vehicle operating parameters
It is sent to the semi-hardware type simulation test system;
The semi-hardware type simulation test system carries out vehicle main circuit state simulation according to the control instruction and runs, defeated
Out and save the simulation results.
Preferably, when the semi-hardware type simulation test system includes host computer, signal conversion testing controller and imitative in real time
When true device, which comprises
It is previously stored with the host computer of test case, test is opened based on test case currently entered;
The signal conversion testing controller being connected with the host computer, according to the corresponding institute of the Test cases technology
Analog signal and the vehicle operating parameters are stated, and is sent to the central controller;
The central controller generates the corresponding control according to the analog signal and the vehicle operating parameters and refers to
It enables, and is sent to the real-time simulator;
The real-time simulator carries out vehicle main circuit state simulation according to the control instruction and runs, the mould that will be obtained
Quasi- result is sent to the host computer;
The analog result is compared by the host computer with the expected results of the test case, is exported and is saved institute
State the simulation results.
Preferably, when the test case is fault test use-case, the semi-hardware type simulation test system is based on current
The test case of input opens test, generates corresponding analog signal and vehicle operating parameters and is sent to central controller, has
Body are as follows:
The semi-hardware type simulation test system is based on the fault test use-case currently entered and opens test, generates corresponding
Fault simulation signal and vehicle operating parameters and be sent to the central controller;
Correspondingly, the central controller generates corresponding control according to the analog signal and the vehicle operating parameters
The semi-hardware type simulation test system is instructed and is sent to, specifically:
The central controller generates corresponding failure control according to the fault simulation signal and the vehicle operating parameters
System instructs and is sent to the semi-hardware type simulation test system;
Correspondingly, the semi-hardware type simulation test system carries out vehicle main circuit state simulation simultaneously according to the control instruction
Operation, exports and saves the simulation results, specifically:
The semi-hardware type simulation test system is instructed according to the Fault Control carries out the simulation of vehicle main circuit malfunction
And it runs, export and saves fault simulation test result.
Preferably, when the semi-hardware type simulation test system includes host computer, signal conversion testing controller and imitative in real time
When true device, the semi-hardware type simulation test system is based on the fault test use-case currently entered and opens test, generates corresponding
Fault simulation signal and vehicle operating parameters and be sent to the central controller, specifically:
It is previously stored with the host computer of test case, is opened and is surveyed based on the fault test use-case currently entered
Examination;
The signal conversion testing controller being connected with the host computer generates corresponding according to the fault test use-case
The fault simulation signal and the vehicle operating parameters, and be sent to the central controller;
Correspondingly, the central controller generates accordingly according to the fault simulation signal and the vehicle operating parameters
Fault Control instructs and is sent to the semi-hardware type simulation test system, specifically:
The central controller generates the corresponding event according to the fault simulation signal and the vehicle operating parameters
Barrier control instruction is simultaneously sent to the real-time simulator;
Correspondingly, the semi-hardware type simulation test system is instructed according to the Fault Control carries out vehicle main circuit failure shape
Morphotype is intended and is run, and fault simulation test result is exported and save, specifically:
The real-time simulator instructs progress vehicle main circuit malfunction to simulate and runs according to the Fault Control, will
Obtained fault simulation result is sent to the host computer;
The fault simulation result is compared by the host computer with the expected results of the fault test use-case, output
And save the fault simulation test result.
Compared to the prior art, what the present invention realized has the beneficial effect that
The above diesel locomotive microcomputer control semi-matter simulating system provided by the invention and method, the system include: center
Controller and the semi-hardware type simulation test system being connected with central controller;Semi-hardware type simulation test system is based on currently entered
Test case opens test, generates corresponding analog signal and vehicle operating parameters and is sent to central controller;Center control
Device generates corresponding control instruction according to analog signal and vehicle operating parameters and is sent to semi-hardware type simulation test system;Half is real
Object emulation test system carries out vehicle main circuit state simulation according to control instruction and runs, export and save emulation testing knot
Fruit.Based on system disclosed above, analog main circuit of electric locomotive is realized and carries out a variety of tests to Control System of Microcomputer.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of diesel locomotive microcomputer control semi-matter simulating system structural representation disclosed in the embodiment of the present invention one
Figure;
Fig. 2 is a kind of diesel locomotive microcomputer control semi-matter simulating system structural representation disclosed in the embodiment of the present invention two
Figure;
Fig. 3 is a kind of diesel locomotive microcomputer control Hardware In The Loop Simulation Method flow chart disclosed in the embodiment of the present invention three;
Fig. 4 is a kind of diesel locomotive microcomputer control Hardware In The Loop Simulation Method flow chart disclosed in the embodiment of the present invention four;
Fig. 5 is a kind of diesel locomotive microcomputer control Hardware In The Loop Simulation Method stream disclosed in scene embodiment example one of the present invention
Cheng Tu;
Fig. 6 is a kind of diesel locomotive microcomputer control Hardware In The Loop Simulation Method stream disclosed in scene embodiment example two of the present invention
Cheng Tu.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment one
The embodiment of the present invention one discloses a kind of diesel locomotive microcomputer control semi-matter simulating system, and structural schematic diagram is such as
Shown in Fig. 1, diesel locomotive microcomputer control HWIL simulation be 100 include: central controller 101 and with 101 phase of central controller
Semi-hardware type simulation test system 102 even;
Semi-hardware type simulation test system 102 is based on test case currently entered and opens test, generates corresponding simulation letter
Number and vehicle operating parameters and be sent to central controller 101;
Central controller 101 generates corresponding control instruction according to analog signal and vehicle operating parameters and is sent to half in fact
Object emulation test system 102;
Semi-hardware type simulation test system 102 carries out vehicle main circuit state simulation according to control instruction and runs, and output is simultaneously
Save the simulation results.
It should be noted that test case includes proper testing use-case and fault test use-case, wherein proper testing use-case
The including but not limited to functional tests such as hardware testing, control algolithm test, logic testing, system matches test.
It should also be noted that, central controller 101 and semi-hardware type simulation test system 102 are protected by ethernet communication
Demonstrate,prove communication quality and test speed.
Diesel locomotive microcomputer disclosed by the embodiments of the present invention controls semi-matter simulating system, comprising: central controller and with
The connected semi-hardware type simulation test system of central controller;Semi-hardware type simulation test system is based on test case currently entered and opens
Test is opened, corresponding analog signal and vehicle operating parameters are generated and is sent to central controller;Central controller is according to simulation
Signal and vehicle operating parameters generate corresponding control instruction and are sent to semi-hardware type simulation test system;Semi-hardware type simulation test
System carries out vehicle main circuit state simulation according to control instruction and runs, export and save the simulation results.Based on above-mentioned
Disclosed system, analog main circuit of electric locomotive are realized and carry out a variety of tests to microcomputer control.
Embodiment two
The diesel locomotive microcomputer in conjunction with disclosed in the embodiments of the present invention one and attached drawing 1 controls semi-matter simulating system, this
Inventive embodiments two provide another diesel locomotive microcomputer control semi-matter simulating system, structural schematic diagram as shown in Fig. 2,
Wherein, semi-hardware type simulation test system 102 includes: host computer 201, signal conversion testing controller 202 and real-time simulator
203;
It is previously stored with the host computer 201 of test case, test is opened based on test case currently entered;
The signal conversion testing controller 202 being connected with host computer 201, according to the corresponding analog signal of Test cases technology
And vehicle operating parameters, and it is sent to central controller 101;
Central controller 101 generates corresponding control instruction according to analog signal and vehicle operating parameters, and is sent to reality
When emulator 203;
Real-time simulator 203 carries out vehicle main circuit state simulation according to control instruction and runs, the simulation knot that will be obtained
Fruit is sent to host computer 201;
Analog result is compared by host computer 201 with the expected results of test case, is exported and is saved emulation testing knot
Fruit.
It should be noted that signal conversion testing controller 202 includes: extension mouth and one or more than one letter
Number generate plate, wherein extension mouth can add corresponding one or more than one signal according to test case and generate plate.
It should also be noted that, signal conversion testing controller 202 includes but is not limited to CPCI cabinet;Correspondingly, letter
Number generate plate include: power panel, processor CPU board, double-unit traction controller plate, digital output DO plate, digital quantity input
DI plate, analog input and output AIO plate, asynchronous receiving-transmitting transmission UART plate and backboard.
Wherein, power panel provides power supply for generating plate by backboard for other signals;Processor CPU board is used for basis
Test cases technology analog signal and vehicle operating parameters;Double-unit traction controller plate, for realizing multifunctional vehicle bus
Management and data interaction;Digital output DO plate, for realizing the output of digital quantity, the output as isolation digital quantity is logical
Road also can be used as the input channel of relay digital quantity;Digital quantity input DI plate, for acquiring external signal, also can be used as every
Input channel from digital quantity;Analog input and output AIO plate, for realizing outputting and inputting for locomotive analog quantity;Asynchronous receipts
Hair transmission UART plate, for realizing locomotive data interaction, and provides third-party application interface;Backboard, for managing above-mentioned letter
It number generates plate, power supply and provide data communication channel.
It should be noted host computer 201, signal converting controller 202, central controller 101 and real-time simulator
It is communicated between 203 by Ethernet, guarantees communication quality and test speed.
It should also be noted that, real-time simulator 203 includes but is not limited to: AC exciter, synchronous main alternator, whole
Device, inverter, asynchronous traction motor, gear, wheel are flowed to, resistive braking device and chopper.
The analog signal and vehicle operating parameters that AC exciter is sent according to central controller 101 generate exciting current simultaneously
It is sent to synchronous main alternator;Synchronous main alternator exports three-phase alternating current according to exciting current and is sent to rectifier;Rectification
Three-phase alternating current is converted to direct current and is sent to inverter by device;DC inverter is generated frequency with inverter and voltage is adjustable
Three-phase alternating current;When simulating traction working condition, asynchronous traction motor power supply of the inverter on same bogie, realization pair
The traction of locomotive, and the energy of asynchronous traction motor is consumed in wheel by gear to upper;It is inverse in artifical resistance damped condition
Become device to braking resistor power, and by chopper by energy consumption on braking resistor.
It should also be noted that, host computer 201 includes: processor and the memory that is connected with processor;Processor is used for
Store preconfigured test case, analog result and the simulation results;Processor is used for analog result and test case
Expected results be compared, export the simulation results.
Diesel locomotive microcomputer disclosed by the embodiments of the present invention controls semi-matter simulating system, comprising: central controller and with
The connected semi-hardware type simulation test system of central controller;Semi-hardware type simulation test system includes host computer, signal conversion testing
Controller and real-time simulator;It is previously stored with the host computer of test case, test is opened based on test case currently entered;
The signal conversion testing controller being connected with host computer, according to Test cases technology analog signal and vehicle operating parameters, concurrently
It send to central controller;Central controller generates control instruction according to analog signal and vehicle operating parameters, and is sent in real time
Emulator;Real-time simulator carries out vehicle main circuit state simulation according to control instruction and runs, and obtained analog result is sent out
It send to host computer;Analog result is compared by host computer with the expected results of test case, is exported and is saved emulation testing knot
Fruit.Based on system disclosed above, analog main circuit of electric locomotive is realized and carries out a variety of tests to microcomputer control.
Embodiment three
The diesel locomotive microcomputer provided based on each embodiment of aforementioned present invention controls semi-matter simulating system, the present embodiment three
Then corresponding to disclose the emulation mode of above-mentioned diesel locomotive microcomputer control semi-matter simulating system, flow chart is as shown in figure 3, internal combustion
Locomotive microcomputer control Hardware In The Loop Simulation Method includes the following steps:
S301, semi-hardware type simulation test system are based on test case currently entered and open test, generate corresponding simulation
Signal and vehicle operating parameters are simultaneously sent to central controller;
S302, central controller generate corresponding control instruction according to analog signal and vehicle operating parameters and are sent to half
Matter emulation test macro;
S303, semi-hardware type simulation test system carry out vehicle main circuit state simulation according to control instruction and run, export
And save the simulation results.
Diesel locomotive microcomputer disclosed by the embodiments of the present invention controls Hardware In The Loop Simulation Method, semi-hardware type simulation test system base
It opens and tests in test case currently entered, generate corresponding analog signal and vehicle operating parameters and be sent to central control
Device;Central controller generates corresponding control instruction according to analog signal and vehicle operating parameters and is sent to HWIL simulation and surveys
Test system;Semi-hardware type simulation test system carries out vehicle main circuit state simulation according to control instruction and runs, export and save
The simulation results.Based on method disclosed above, analog main circuit of electric locomotive is realized and carries out a variety of tests to microcomputer control.
Example IV
Hardware In The Loop Simulation Method is controlled based on diesel locomotive microcomputer disclosed in the embodiments of the present invention three, the present invention is implemented
Example four fundamental rules provide another diesel locomotive microcomputer and control Hardware In The Loop Simulation Method, and flow chart is as shown in figure 4, when HWIL simulation is surveyed
When test system includes host computer, signal conversion testing controller and real-time simulator, emulation mode includes the following steps:
S401 is previously stored with the host computer of test case, opens test based on test case currently entered;
S402, the signal conversion testing controller being connected with host computer, according to the corresponding analog signal of Test cases technology
And vehicle operating parameters, and it is sent to central controller;
S403, central controller generates corresponding control instruction according to analog signal and vehicle operating parameters, and is sent to
Real-time simulator;
S404, real-time simulator carry out vehicle main circuit state simulation according to control instruction and run, the simulation that will be obtained
As a result it is sent to host computer;
Analog result is compared with the expected results of test case, exports and save emulation testing by S405, host computer
As a result.
Diesel locomotive microcomputer disclosed by the embodiments of the present invention controls Hardware In The Loop Simulation Method, when semi-hardware type simulation test system
When including host computer, signal conversion testing controller and real-time simulator, which includes: to be previously stored with test case
Host computer, based on test case currently entered open test;The signal conversion testing controller being connected with host computer, according to
Test cases technology analog signal and vehicle operating parameters, and it is sent to central controller;Central controller is according to analog signal
Control instruction is generated with vehicle operating parameters, and is sent to real-time simulator;Real-time simulator carries out vehicle according to control instruction
Main circuit state simulation is simultaneously run, and obtained analog result is sent to host computer;Host computer is by analog result and test case
Expected results be compared, export and save the simulation results.Based on method disclosed above, the main electricity of analog locomotive
Road is realized and carries out a variety of tests to microcomputer control.
Scene embodiment
Semi-matter simulating system is controlled based on diesel locomotive microcomputer disclosed in the embodiments of the present invention one and embodiment two
Hardware In The Loop Simulation Method is controlled with diesel locomotive microcomputer disclosed in embodiment three and example IV, this scene embodiment passes through following
It is further described using example:
Example one
When test case is fault test use-case, it includes central controller that diesel locomotive microcomputer, which controls semi-matter simulating system,
When with semi-hardware type simulation test system, the diesel locomotive microcomputer control Hardware In The Loop Simulation Method that this example provides specifically was executed
Journey is as follows, and flow chart is as shown in Figure 5:
S501, semi-hardware type simulation test system are based on fault test use-case currently entered and open test, generate corresponding
Fault simulation signal and vehicle operating parameters are simultaneously sent to central controller;
S502, central controller generate corresponding Fault Control instruction simultaneously according to fault simulation signal and vehicle operating parameters
It is sent to semi-hardware type simulation test system;
S503, semi-hardware type simulation test system instruct progress vehicle main circuit malfunction to simulate and transport according to Fault Control
Row, exports and saves fault simulation test result.
Example two
The diesel locomotive microcomputer in conjunction with disclosed in above-mentioned scene embodiment example one controls Hardware In The Loop Simulation Method, when half material object
When emulation test system includes host computer, signal conversion testing controller and real-time simulator, the another kind of the offer of this example two
The diesel locomotive microcomputer control specific implementation procedure of Hardware In The Loop Simulation Method is as follows, and flow chart is as shown in Figure 6:
S601 is previously stored with the host computer of test case, is opened and is surveyed based on fault test use-case currently entered
Examination;
S602, the signal conversion testing controller being connected with host computer generate corresponding failure according to fault test use-case
Analog signal and the vehicle operating parameters, and it is sent to central controller;
S603, central controller generate corresponding Fault Control instruction simultaneously according to fault simulation signal and vehicle operating parameters
It is sent to real-time simulator;
S604, real-time simulator instruct progress vehicle main circuit malfunction to simulate and run according to Fault Control, will
To fault simulation result be sent to host computer;
Fault simulation result is compared with the expected results of fault test use-case, exports and save by S605, host computer
Fault simulation test result.
Based on method disclosed in above-mentioned the present embodiment, main circuit of electric locomotive when analog fault test use-case, and then realize
Microcomputer is controlled and carries out fault test.
Semi-matter simulating system is controlled to diesel locomotive microcomputer provided by the present invention above and method has carried out detailed Jie
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For the device disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase
Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the element that the process, method, article or equipment including a series of elements is intrinsic,
It further include either the element intrinsic for these process, method, article or equipments.In the absence of more restrictions,
The element limited by sentence "including a ...", it is not excluded that in the process, method, article or equipment including the element
In there is also other identical elements.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (8)
1. a kind of diesel locomotive microcomputer controls semi-matter simulating system characterized by comprising central controller and with it is described in
The semi-hardware type simulation test system for entreating controller connected;
The semi-hardware type simulation test system be based on test case currently entered open test, generate corresponding analog signal and
Vehicle operating parameters are simultaneously sent to the central controller;
The central controller generates corresponding control instruction according to the analog signal and the vehicle operating parameters and sends
To the semi-hardware type simulation test system;
The semi-hardware type simulation test system carries out vehicle main circuit state simulation according to the control instruction and runs, and output is simultaneously
Save the simulation results;
Wherein, the semi-hardware type simulation test system includes: host computer, signal conversion testing controller and real-time simulator;
It is previously stored with the host computer of test case, test is opened based on test case currently entered;
The signal conversion testing controller being connected with the host computer, according to the Test cases technology mould accordingly
Quasi- signal and the vehicle operating parameters, and it is sent to the central controller;
The central controller generates the corresponding control instruction according to the analog signal and the vehicle operating parameters, and
It is sent to the real-time simulator;
The real-time simulator carries out vehicle main circuit state simulation according to the control instruction and runs, the simulation knot that will be obtained
Fruit is sent to the host computer;
The analog result is compared by the host computer with the expected results of the test case, is exported and is saved described imitative
True test result.
2. system according to claim 1, which is characterized in that the signal conversion testing controller include: extension mouth with
And one or more than one signal generation plate, wherein the extension mouth can add corresponding institute according to the test case
It states one or more than one signal generates plate.
3. system according to claim 2, which is characterized in that the signal conversion testing controller includes: CPCI cabinet;
Correspondingly, it includes: that power panel, processor CPU board, double-unit traction controller plate, digital quantity are defeated that the signal, which generates plate,
DO plate, digital quantity input DI plate, analog input and output AIO plate, asynchronous receiving-transmitting transmission UART plate and backboard out.
4. system according to claim 1, which is characterized in that the host computer, the signal converting controller, it is described in
It is communicated between centre controller and the real-time simulator by Ethernet.
5. system according to claim 1, which is characterized in that the host computer include: processor and with the processor
Connected memory;
The processor, for storing the preconfigured test case, the analog result and the simulation results;
The processor exports described imitative for the analog result to be compared with the expected results of the test case
True test result.
6. a kind of diesel locomotive microcomputer controls Hardware In The Loop Simulation Method characterized by comprising
Semi-hardware type simulation test system is based on test case currently entered and opens test, generates corresponding analog signal and vehicle
Operating parameter is simultaneously sent to central controller;
The central controller generates corresponding control instruction according to the analog signal and the vehicle operating parameters and sends
To the semi-hardware type simulation test system;
The semi-hardware type simulation test system carries out vehicle main circuit state simulation according to the control instruction and runs, and output is simultaneously
Save the simulation results;
Wherein, when the semi-hardware type simulation test system includes host computer, signal conversion testing controller and real-time simulator,
The described method includes:
It is previously stored with the host computer of test case, test is opened based on test case currently entered;
The signal conversion testing controller being connected with the host computer, according to the Test cases technology mould accordingly
Quasi- signal and the vehicle operating parameters, and it is sent to the central controller;
The central controller generates the corresponding control instruction according to the analog signal and the vehicle operating parameters, and
It is sent to the real-time simulator;
The real-time simulator carries out vehicle main circuit state simulation according to the control instruction and runs, the simulation knot that will be obtained
Fruit is sent to the host computer;
The analog result is compared by the host computer with the expected results of the test case, is exported and is saved described imitative
True test result.
7. according to the method described in claim 6, it is characterized in that, when the test case be fault test use-case when, it is described
Semi-hardware type simulation test system is based on test case currently entered and opens test, generates corresponding analog signal and vehicle operation
Parameter is simultaneously sent to central controller, specifically:
The semi-hardware type simulation test system opens test based on the fault test use-case currently entered, generates corresponding event
Barrier analog signal and vehicle operating parameters are simultaneously sent to the central controller;
Correspondingly, the central controller generates corresponding control instruction according to the analog signal and the vehicle operating parameters
And it is sent to the semi-hardware type simulation test system, specifically:
The central controller generates corresponding Fault Control according to the fault simulation signal and the vehicle operating parameters and refers to
It enables and is sent to the semi-hardware type simulation test system;
Correspondingly, the semi-hardware type simulation test system carries out vehicle main circuit state simulation according to the control instruction and transports
Row, exports and saves the simulation results, specifically:
The semi-hardware type simulation test system instructs progress vehicle main circuit malfunction to simulate and transports according to the Fault Control
Row, exports and saves fault simulation test result.
8. the method according to the description of claim 7 is characterized in that when the semi-hardware type simulation test system include host computer,
When signal conversion testing controller and real-time simulator, the semi-hardware type simulation test system is based on the failure currently entered
Test case opens test, generates corresponding fault simulation signal and vehicle operating parameters and is sent to the central controller,
Specifically:
It is previously stored with the host computer of test case, test is opened based on the fault test use-case currently entered;
The signal conversion testing controller being connected with the host computer generates corresponding institute according to the fault test use-case
Fault simulation signal and the vehicle operating parameters are stated, and is sent to the central controller;
Correspondingly, the central controller generates corresponding failure according to the fault simulation signal and the vehicle operating parameters
Control instruction is simultaneously sent to the semi-hardware type simulation test system, specifically:
The central controller generates the corresponding failure control according to the fault simulation signal and the vehicle operating parameters
System instructs and is sent to the real-time simulator;
Correspondingly, the semi-hardware type simulation test system is instructed according to the Fault Control carries out vehicle main circuit malfunction mould
Intend and run, exports and save fault simulation test result, specifically:
The real-time simulator instructs progress vehicle main circuit malfunction to simulate and runs according to the Fault Control, will obtain
Fault simulation result be sent to the host computer;
The fault simulation result is compared by the host computer with the expected results of the fault test use-case, is exported and is protected
Deposit the fault simulation test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610707161.3A CN106227062B (en) | 2016-08-23 | 2016-08-23 | Diesel locomotive microcomputer controls semi-matter simulating system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610707161.3A CN106227062B (en) | 2016-08-23 | 2016-08-23 | Diesel locomotive microcomputer controls semi-matter simulating system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106227062A CN106227062A (en) | 2016-12-14 |
CN106227062B true CN106227062B (en) | 2019-06-04 |
Family
ID=57552991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610707161.3A Active CN106227062B (en) | 2016-08-23 | 2016-08-23 | Diesel locomotive microcomputer controls semi-matter simulating system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227062B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110411753A (en) * | 2018-04-28 | 2019-11-05 | 株洲中车时代电气股份有限公司 | A kind of diesel locomotive fault diagnosis system |
CN109324601B (en) * | 2018-11-09 | 2021-09-10 | 上海机器人产业技术研究院有限公司 | Test platform of robot controller or control system based on hardware-in-the-loop |
CN111240969B (en) * | 2020-01-06 | 2023-10-13 | 中车株洲电力机车有限公司 | Test method and test system for network control system of unmanned railway vehicle |
CN111610726B (en) * | 2020-06-29 | 2023-09-05 | 上海仁童电子科技有限公司 | Simulation test system and method |
CN113341769B (en) * | 2021-06-28 | 2022-11-04 | 中车青岛四方机车车辆股份有限公司 | Control algorithm testing method, system and equipment |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4827438A (en) * | 1987-03-30 | 1989-05-02 | Halliburton Company | Method and apparatus related to simulating train responses to actual train operating data |
JP5188428B2 (en) * | 2009-03-23 | 2013-04-24 | 公益財団法人鉄道総合技術研究所 | Railway vehicle behavior simulation apparatus and behavior simulation method |
CN201440219U (en) * | 2009-07-15 | 2010-04-21 | 北京经纬恒润科技有限公司 | Testing equipment of electronic controller of automobile |
CN202083955U (en) * | 2011-04-11 | 2011-12-21 | 株洲田龙铁道电气有限公司 | Test system for diesel locomotive microcomputer cabinet |
CN103885340B (en) * | 2012-12-20 | 2016-11-23 | 中国北车股份有限公司 | Electric locomotive semi-matter simulating system |
CN103544107A (en) * | 2013-11-01 | 2014-01-29 | 深圳市通力科技开发有限公司 | Method and device for generating test case document |
CN104670248A (en) * | 2013-11-29 | 2015-06-03 | 中国北车集团大连机车研究所有限公司 | Microcomputer control system of internal combustion locomotive |
CN104730933B (en) * | 2013-12-20 | 2018-01-09 | 中车大连电力牵引研发中心有限公司 | Traction control semi-matter simulating system |
CN105223832B (en) * | 2014-06-25 | 2018-11-30 | 南车株洲电力机车研究所有限公司 | Locomotive hardware-in-the-loop simulation device, system and method |
CN104407519B (en) * | 2014-10-31 | 2017-05-24 | 南车株洲电力机车研究所有限公司 | Semi-physical simulation system of AC-DC-AC metallurgy rolling mill transmission system |
CN204203764U (en) * | 2014-11-12 | 2015-03-11 | 北京交控科技有限公司 | Vehicle Controller automatic test device |
CN104460349B (en) * | 2014-11-28 | 2017-01-18 | 北京经纬恒润科技有限公司 | Real automobile in-the-loop simulation testing method, real-time simulation machine and system |
CN105808432B (en) * | 2015-03-04 | 2019-05-10 | 中车株洲电力机车研究所有限公司 | Rail traffic Traction Drive control unit software automated testing system and method |
CN104765681B (en) * | 2015-03-18 | 2017-10-24 | 株洲南车时代电气股份有限公司 | Train is driven control software automatization test system and method |
CN105425778B (en) * | 2015-12-15 | 2019-02-26 | 唐山轨道客车有限责任公司 | The test platform of CAN bus based train network control system |
-
2016
- 2016-08-23 CN CN201610707161.3A patent/CN106227062B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106227062A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227062B (en) | Diesel locomotive microcomputer controls semi-matter simulating system and method | |
Yang et al. | Development of converter based reconfigurable power grid emulator | |
CN109582004B (en) | Intelligent detection platform | |
CN104570772A (en) | Micro-grid integration testing simulation platform based on RTDS and method | |
Deese | Development of smart electric power system (SEPS) laboratory for advanced research and undergraduate education | |
CN103092192A (en) | Train power supply control system test device and method thereof | |
CN203178388U (en) | Micro-grid test platform based on RTDS (Real Time Digital Simulator) | |
Overbye et al. | An interactive, extensible environment for power system simulation on the PMU time frame with a cyber security application | |
CN210347811U (en) | New forms of energy car machine integration test system that charges | |
CN204695098U (en) | A kind of bidirectional electric automobile charger controller real-time simulation proving installation | |
CN104298127A (en) | Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB | |
CN103885340A (en) | Electric locomotive semi-physical simulation system | |
Crolla et al. | Methodology for testing loss of mains detection algorithms for microgrids and distributed generation using real-time power hardware-in-the-loop based technique | |
Ren et al. | Modeling and simulation tools for teaching protective relaying design and application for the smart grid | |
Venugopal et al. | Advances in real-time simulation for power distribution systems | |
CN108021499A (en) | A kind of BMS program testing systems | |
CN113253703B (en) | Simulation test system and test method for high-speed maglev train | |
CN203629836U (en) | Alternating current transmission comprehensive testing stand for large-scale mining electric-wheeled self-dumping truck | |
CN104850014A (en) | Simulation method of battery pack and simulated battery pack system | |
CN205899894U (en) | Use emulation intelligent ammeter's trouble analogue means | |
CN103995477B (en) | Two level rectifiers and inverter high speed real-time emulation method | |
CN105807750B (en) | A kind of the semi-hardware type simulation test device and test method of city rail vehicle motion control unit | |
CN209656794U (en) | The quiet mould test macro of relay protection | |
CN109213001B (en) | Aircraft primary distribution network simulator and simulation equivalent test verification device | |
CN107357193A (en) | A kind of method for realizing intelligent substation automatic safety device test system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |