CN108255145B - Test system and method for vehicle transmission control unit - Google Patents

Test system and method for vehicle transmission control unit Download PDF

Info

Publication number
CN108255145B
CN108255145B CN201611243634.5A CN201611243634A CN108255145B CN 108255145 B CN108255145 B CN 108255145B CN 201611243634 A CN201611243634 A CN 201611243634A CN 108255145 B CN108255145 B CN 108255145B
Authority
CN
China
Prior art keywords
transmission control
control unit
real
tested
signal
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
CN201611243634.5A
Other languages
Chinese (zh)
Other versions
CN108255145A (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.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CRRC Times Electric Co 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 Zhuzhou CRRC Times Electric Co Ltd filed Critical Zhuzhou CRRC Times Electric Co Ltd
Priority to CN201611243634.5A priority Critical patent/CN108255145B/en
Publication of CN108255145A publication Critical patent/CN108255145A/en
Application granted granted Critical
Publication of CN108255145B publication Critical patent/CN108255145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention discloses a test system and a test method for a vehicle transmission control unit. The test system comprises a real-time simulator and a signal conditioning unit; an MVB module is arranged in the vehicle transmission control unit; the system also comprises a communication conversion unit and an upper computer connected with the signal conditioning unit; the upper computer is connected with the communication conversion unit through the Ethernet to acquire an acquired signal, coordinate the control logic of each subsystem of the vehicle and send a signal to drive the signal conditioning unit; the communication conversion unit is externally connected with an MVB module of the tested transmission control unit, and conversion of two communication modes of Ethernet and MVB is realized to achieve interaction of data streams; the real-time simulator is externally connected with a transmission control unit of the tested vehicle through a signal conditioning unit, and the signal conditioning unit is used for signal conversion between the transmission control unit and the real-time simulator. The invention can quickly meet the test requirement of the new tested object with network difference, and has high test efficiency and good universality.

Description

Test system and method for vehicle transmission control unit
Technical Field
The invention relates to the field of electrical testing, in particular to a testing system and a testing method for a vehicle transmission control unit.
Background
The vehicle transmission control unit needs to be tested before leaving a factory, and a real-time simulator is usually adopted for testing. A simulation model is built in the real-time simulation machine to simulate a control object of the vehicle transmission control unit, and the function of the vehicle transmission control unit is tested through the feedback state of the simulation model.
As shown in fig. 1, in the conventional test system, a communication conversion unit is integrated in a signal conditioning unit in the form of a communication conversion board. When a real-time system is adopted to test a traction transmission control unit of a vehicle, network system data difference is caused by the requirement difference of host manufacturers, and peripheral models are required to be simulated through the real-time simulation model due to the network difference of different test objects, so that the real-time simulation model is required to be modeled and designed again when a new test object is replaced, and the new test object is subjected to modification design, namely customized test environment development. The real-time testing system constructed in the way can be used for a developer or a software tester to set signals only through the real-time simulation system, and the signal state of the real-time system is observed to judge whether the control software of the tested object is wrong. Because the construction of the real-time simulation model requires professional modeling developers, although the scheme can realize the real-time test of the tested object, the test requirement of a new tested object cannot be quickly responded, the test efficiency is reduced, and a large amount of human resources are consumed for maintaining the test system.
When a real-time test environment is established for a tested object, although different tested transmission control units under the same platform are tested, the difference of network system data is caused by the difference of the requirements of host manufacturers, but the real-time simulation model in the established test environment is basically universal for the tested object under the same platform.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the prior art and provide a vehicle transmission control unit test system which can quickly respond to the test requirements of a new transmission control unit.
The purpose of the invention is realized by the following technical scheme:
a test system of a vehicle transmission control unit comprises a real-time simulator and a signal conditioning unit, wherein the real-time simulator is used for constructing a control simulation model of the vehicle transmission control unit; an MVB module is arranged in the transmission control unit; the system also comprises a communication conversion unit and an upper computer connected with the signal conditioning unit; the upper computer is connected with the communication conversion unit through the Ethernet to acquire an acquired signal, coordinate the control logic of each subsystem of the vehicle and send a signal to drive the signal conditioning unit; the communication conversion unit is externally connected with an MVB module of the tested transmission control unit, and conversion of two communication modes of Ethernet and MVB is realized to achieve interaction of data streams; the real-time simulator is externally connected with a tested transmission control unit through a signal conditioning unit, and the signal conditioning unit is used for signal conversion between the tested transmission control unit and the real-time simulator.
Compared with the traditional test system, the communication conversion unit adopts an independent conversion device, and the upper computer software simulates the conversion of network data flow through the communication conversion unit and communicates with the MVB interface of the tested transmission control unit, so that the separation of a simulation model and a network model is realized.
Another object of the present invention is to provide a testing method of the testing system of the vehicle transmission control unit, which comprises the following steps: constructing an external network environment of a transmission control unit of the detected vehicle through an upper computer, and performing external network modeling; initiating signal transmission of the implementation network data; and detecting the feedback state of the real-time simulator, and judging whether the transmission control unit of the detected vehicle has a fault.
Furthermore, the upper computer is a master control PC, and upper computer software is arranged in the master control PC.
Further, the method specifically comprises the following steps:
s1, judging whether a tested transmission control unit and an originally tested transmission control unit have network difference or not; if yes, go to step S2; otherwise, go to step S3;
s2, modeling an external network of the transmission control unit to be tested again through upper computer software;
s3, driving a signal conditioning unit by upper computer software;
s4, sending a control instruction of the transmission control unit to be tested to a real-time simulator through a signal conditioning unit;
and S5, carrying out fault decision through the feedback state of the real-time simulator, and judging whether the transmission control unit to be tested has faults or not.
Further, in step S2, the upper computer software simulates a network control system port address, simulates a network data stream, and communicates with the MVB module of the transmission control unit to be tested through the communication conversion unit, so as to realize signal interaction with the transmission control unit to be tested.
Further, before the step S4, performing corresponding signal setting on the real-time simulator and performing data forcing through upper computer software; then the transmission control unit to be tested is controlled to transmit the electric signals to the signal conditioning unit, the signal conditioning unit converts the electric signals into weak electric signals which can be recognized by the real-time simulator, and the real-time simulator controls the simulation model to act.
Further, the types of electrical signals include DI, DO, AD, and PWM waveform signals.
Alternatively, in step S5, the real-time simulator performs signal forcing and data monitoring, and directly observes the state of the real-time simulation system to determine whether the transmission control unit under test has a fault.
As a second alternative, in step S5, the received simulator feedback signal is sent to the upper computer software, so as to identify the signal state and determine whether the transmission control unit under test has a fault.
Preferably, in step S5, by observing the state of the simulation model in the real-time simulator, it is determined whether the motion is consistent with the control command action of the transmission control unit; meanwhile, the upper computer receives feedback signals of the real-time simulator through the signal conditioning unit, wherein the feedback signals comprise real-time network state signals and interface signal state signals, and whether the feedback signals accord with the preset state of the upper computer software is judged; and if the judgment results of the two modes are negative, judging that the transmission control unit to be tested has a fault. The judgment of the two modes is combined, so that the test result is more accurate.
In the invention, during testing, the upper computer realizes the communication with the Ethernet and MVB data of the tested transmission control unit through the communication conversion unit, the tested transmission control unit executes the instruction of the upper computer and sends the control instruction to the real-time simulator through the signal conversion function of the signal conditioning unit, and the real-time simulator acts and feeds back the action state to the upper computer through the signal conditioning module for judgment. The real-time simulator establishes a control model of the measured object and an external environment for vehicle running; when the transmission control unit to be tested has network difference with the original tested object, the external network environment of the tested object is constructed only by the upper computer software and the communication conversion unit, and the real-time simulator does not need to be modeled.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a realization method convenient for universal test; when testing is carried out, because the network with difference in the tested transmission control unit and the model in the real-time simulator are independently designed, a real-time testing environment of response can be quickly established by only simulating the network aiming at a new tested object. The method can realize the universality of the platform product type test environment in a mode that a real-time simulation model is kept unchanged aiming at the network communication simulation of different products under the same platform. By adopting the real-time test system of the transmission control unit constructed in the way, developers or software testers can set signals through the real-time simulation system and force data through upper computer software, observe the signal state received by the real-time system or the communication conversion unit to judge whether the control software of the tested object is wrong or not, and can flexibly carry out development debugging or software test.
Drawings
FIG. 1 is a schematic diagram of a test system for a transmission control unit of a prior art vehicle.
FIG. 2 is a schematic diagram of a testing system for a vehicle transmission control unit according to the present invention.
FIG. 3 is a flow chart of a method for testing a vehicle transmission control unit in accordance with the present invention.
Detailed Description
The present invention will be further described with reference to the following embodiments. Wherein the showings are for the purpose of illustration only and are shown by way of illustration only and not in actual form, and are not to be construed as limiting the present patent; to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
Example 1
As shown in fig. 2, the present embodiment provides a test system for a vehicle transmission control unit, which includes a real-time simulator for constructing a control simulation model of the vehicle transmission control unit, and a signal conditioning unit; an MVB module is arranged in the vehicle transmission control unit; the system also comprises an upper computer and a communication conversion unit; the upper computer is respectively connected with the communication conversion unit and the signal conditioning unit; the upper computer is connected with the communication conversion unit through the Ethernet to acquire an acquired signal, coordinate the control logic of each subsystem of the vehicle and send a signal to drive the signal conditioning unit; the communication conversion unit is externally connected with an MVB module of a transmission control unit of the tested vehicle, and conversion of two communication modes of Ethernet and MVB is realized to achieve interaction of data streams; the real-time simulator is externally connected with a transmission control unit of the tested vehicle through a signal conditioning unit, and the signal conditioning unit is used for signal conversion between the transmission control unit and the real-time simulator.
Compared with the traditional test system, the communication conversion unit adopts an independent conversion device, and the upper computer software simulates the conversion of network data flow through the communication conversion unit and communicates with the MVB interface of the tested transmission control unit, so that the separation of a simulation model and a network model is realized.
The embodiment also provides a testing method of a testing system of a vehicle transmission control unit, as shown in fig. 3, comprising the following steps: constructing an external network environment of a transmission control unit of the detected vehicle through an upper computer, and performing external network modeling; initiating signal transmission of the implementation network data; and detecting the feedback state of the real-time simulator, and judging whether the transmission control unit of the detected vehicle has a fault. In this embodiment, the upper computer is a PC, and the PC is provided with upper computer software.
The test method specifically comprises the following steps:
s1, judging whether the test object is a new test object, namely whether a network difference exists between a tested transmission control unit and an originally tested transmission control unit; if yes, go to step S2; otherwise, go to step S3;
s2, modeling an external network of the transmission control unit of the detected vehicle again through upper computer software; the upper computer software simulates a network control system port address, simulates network data flow, and communicates with an MVB module of the transmission control unit to be tested through the communication conversion unit to realize signal interaction with the transmission control unit to be tested;
s3, driving a signal conditioning unit by upper computer software;
s4, sending a control instruction of the transmission control unit to be tested to a real-time simulator through a signal conditioning unit; before the step S4, performing corresponding signal setting on the real-time simulator and performing data forcing through upper computer software; then the tested transmission control unit is controlled to transmit the electrical signal to the signal conditioning unit, the signal conditioning unit converts the electrical signal into a weak current signal which can be identified by the real-time simulation machine, and the real-time simulation machine controls the simulation model to act; types of electrical signals include DI, DO, AD, and PWM waveform signals.
S5, performing fault decision through the feedback state of the real-time simulator, and judging whether the transmission control unit to be tested has faults or not;
the decision of the fault can be realized by carrying out signal forcing and data monitoring through a real-time simulator, and directly observing the state of a real-time simulation system to judge whether the transmission control unit to be tested has the fault; the received feedback signal of the simulator can be transmitted to the upper computer software to identify the signal state of the upper computer software and judge whether the transmission control unit to be tested has a fault;
in the embodiment, whether the action is consistent with the control instruction action of the transmission control unit is judged by observing the state of a simulation model in the real-time simulator; meanwhile, the upper computer receives feedback signals of the real-time simulator through the signal conditioning unit, wherein the feedback signals comprise real-time network state signals and interface signal state signals, and whether the feedback signals accord with the preset state of the upper computer software is judged; if the two modes judge that the results are negative, judging that the transmission control unit to be tested has a fault; otherwise, the test is finished and the next test case is entered.
Because the simulation model is separated from the network model, when a new transmission control unit to be tested is tested, a carrier reconstructed by the network model is changed into an upper computer from a real-time simulator, repeated modeling of the simulation model is not needed, and only the different network model is needed to be reconstructed; and the reconstruction of the network model is carried out on the upper computer, and the reconstruction of the integral simulation model is carried out on the real-time simulation machine, so that the construction is simpler, more convenient and faster, the universality of the test system is effectively improved, the test efficiency is high, and the popularization value is high.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (6)

1. A test method based on a vehicle transmission control unit test system is disclosed, wherein the test system comprises a real-time simulator and a signal conditioning unit, wherein the real-time simulator is used for constructing a control simulation model of a vehicle transmission control unit; an MVB module is arranged in the transmission control unit; the system also comprises a communication conversion unit and an upper computer connected with the signal conditioning unit; the upper computer is connected with the communication conversion unit through the Ethernet to acquire an acquired signal, coordinate the control logic of each subsystem of the vehicle and send a signal to drive the signal conditioning unit; the communication conversion unit is externally connected with an MVB module of the tested transmission control unit, and conversion of two communication modes of Ethernet and MVB is realized to achieve interaction of data streams; the real-time simulator is externally connected with a tested transmission control unit through a signal conditioning unit, and the signal conditioning unit is used for signal conversion between the tested transmission control unit and the real-time simulator;
the test method comprises the following steps, and is characterized in that:
s1, judging whether a tested transmission control unit and an originally tested transmission control unit have network difference or not; if yes, go to step S2; otherwise, go to step S3;
s2: reconstructing an external network environment of a transmission control unit of the detected vehicle through an upper computer;
s3: the upper computer software drives the signal conditioning unit;
s4: sending a control command of the transmission control unit to be tested to the real-time simulator through the signal conditioning unit;
s5: detecting the feedback state of the real-time simulator, and judging whether the transmission control unit to be detected has a fault;
in the step S2, the upper computer is a master control PC, and upper computer software is arranged in the master control PC, and simulates a network control system port address and a network data stream, and communicates with the MVB module of the transmission control unit to be tested through the communication conversion unit, so as to realize signal interaction with the transmission control unit to be tested.
2. The vehicle transmission control unit test system-based test method according to claim 1, wherein before the step S4, the real-time simulator is subjected to corresponding signal setting and data forcing through upper computer software; then the transmission control unit to be tested is controlled to transmit the electric signals to the signal conditioning unit, the signal conditioning unit converts the electric signals into weak electric signals which can be recognized by the real-time simulator, and the real-time simulator controls the simulation model to act.
3. The vehicle transmission control unit based test system of claim 2, wherein the types of electrical signals include DI, DO, AD and PWM wave type signals.
4. The method as claimed in claim 1, wherein in step S5, the transmission control unit under test is judged to have a fault by directly observing the state of the real-time simulation system through signal enforcement and data monitoring of the real-time simulation machine.
5. The vehicle transmission control unit test system-based test method according to claim 1, wherein in step S5, the received simulator feedback signal is transmitted to the upper computer software to identify the signal state thereof, and determine whether the tested transmission control unit has a fault.
6. The vehicle transmission control unit test system-based test method according to claim 4 or 5, wherein in step S5, by observing the simulation model state in the real-time simulator, it is determined whether the simulation model state is consistent with the transmission control unit control command action; meanwhile, the upper computer receives feedback signals of the real-time simulator through the signal conditioning unit, wherein the feedback signals comprise real-time network state signals and interface signal state signals, and whether the feedback signals accord with the preset state of the upper computer software is judged; and if the judgment results of the two modes are negative, judging that the transmission control unit to be tested has a fault.
CN201611243634.5A 2016-12-29 2016-12-29 Test system and method for vehicle transmission control unit Active CN108255145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611243634.5A CN108255145B (en) 2016-12-29 2016-12-29 Test system and method for vehicle transmission control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611243634.5A CN108255145B (en) 2016-12-29 2016-12-29 Test system and method for vehicle transmission control unit

Publications (2)

Publication Number Publication Date
CN108255145A CN108255145A (en) 2018-07-06
CN108255145B true CN108255145B (en) 2020-11-17

Family

ID=62719184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611243634.5A Active CN108255145B (en) 2016-12-29 2016-12-29 Test system and method for vehicle transmission control unit

Country Status (1)

Country Link
CN (1) CN108255145B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111007828B (en) * 2018-10-08 2022-12-02 中车株洲电力机车研究所有限公司 Automatic test method and device for inversion restarting of train transmission control unit
CN111290363B (en) * 2018-12-07 2021-01-22 广州汽车集团股份有限公司 Control logic testing method and device for transmission, computer equipment and system
CN113867311A (en) * 2021-09-13 2021-12-31 上海科梁信息科技股份有限公司 Test system and test method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700512A (en) * 2016-01-26 2016-06-22 北京长城华冠汽车科技股份有限公司 A test system for testing a vehicle control system and a method thereof
CN105759631A (en) * 2016-03-28 2016-07-13 株洲中车时代电气股份有限公司 Train network control system semi-physical simulation testing system and method
CN105807750A (en) * 2014-12-30 2016-07-27 株洲南车时代电气股份有限公司 Semi-physical simulation test device and test method for transmission control unit of urban rail vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807750A (en) * 2014-12-30 2016-07-27 株洲南车时代电气股份有限公司 Semi-physical simulation test device and test method for transmission control unit of urban rail vehicle
CN105700512A (en) * 2016-01-26 2016-06-22 北京长城华冠汽车科技股份有限公司 A test system for testing a vehicle control system and a method thereof
CN105759631A (en) * 2016-03-28 2016-07-13 株洲中车时代电气股份有限公司 Train network control system semi-physical simulation testing system and method

Also Published As

Publication number Publication date
CN108255145A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN107491061B (en) A kind of the network automatically test macro and its method of commercial vehicle OBD diagnostic device
CN107222362B (en) Automatic test platform for finished vehicle CAN network and optimization method thereof
CN104062969A (en) Hardware-in-loop simulation testing system and testing method for automobile
CN105159188B (en) A kind of new energy vehicle heterogeneous network emulator and control method
CN206400286U (en) A kind of test system based on hardware in loop equipment
CN106444721A (en) Hardware-in-the-loop test system for whole vehicle controller for electric vehicle and test method
CN105808432B (en) Rail traffic Traction Drive control unit software automated testing system and method
CN108255145B (en) Test system and method for vehicle transmission control unit
CN106444420A (en) Locomotive semi-physical simulation test system and method
CN109726061B (en) SoC chip verification method
CN110456761A (en) Test macro, method and the vehicle of energy management apparatus
CN108802511A (en) Method and system for testing battery management unit
CN105752359B (en) A kind of airborne photoelectric gondola detection means
CN103913728B (en) A kind of method of testing based on portable radar comprehensive tester
CN103558849B (en) A kind of method of pure electric automobile control strategy debugging and network test
CN105045712B (en) A kind of test system for resolution chart processing module
CN103455024B (en) ECU tests system and method
CN106020167A (en) GPIB bus interface-based collision avoidance system testing equipment and test method thereof
CN113064618B (en) System and method for simulating new energy vehicle conformance detection
CN207318605U (en) Automobile bus radiated immunity test system
CN205540248U (en) Detection apparatus for vehicle control unit
CN203689146U (en) New energy vehicle battery management system master and slave control board hardware-in-the-loop test system
CN114486278A (en) Three-electric-system integration test method and test stand for pure electric vehicle
CN107729035A (en) Distributed battery management system download program and update method
CN204347152U (en) A kind of Multi-bus circuit board test diagnosis system

Legal Events

Date Code Title Description
PB01 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