CN201673405U - Device used for testing electronic control system of automobile - Google Patents

Device used for testing electronic control system of automobile Download PDF

Info

Publication number
CN201673405U
CN201673405U CN 201020225685 CN201020225685U CN201673405U CN 201673405 U CN201673405 U CN 201673405U CN 201020225685 CN201020225685 CN 201020225685 CN 201020225685 U CN201020225685 U CN 201020225685U CN 201673405 U CN201673405 U CN 201673405U
Authority
CN
China
Prior art keywords
model
control system
test
automobile
electronic control
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.)
Expired - Lifetime
Application number
CN 201020225685
Other languages
Chinese (zh)
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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech 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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN 201020225685 priority Critical patent/CN201673405U/en
Application granted granted Critical
Publication of CN201673405U publication Critical patent/CN201673405U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model discloses a device used for testing an electronic control system of an automobile, which tests the electronic control system of the automobile to be tested by a man-machine interface device completing the testing process. The electronic control system of the automobile is interacted with the testing device via a bi-directional interface, and the man-machine interface device can display or affect the parameters of models operating in the testing device; a testing model and an environment model are operated in the testing device; and the environment model comprises an input module, an operation module for computing the input module, and an output module for outputting the computation results. The device used for testing the electronic control system of the automobile can be specifically applied to the hardware in-the-loop test of the electronic control system of the automobile, and has simple and practical structure, and is easy to implement.

Description

A kind of device that is used for the testing automobile electronic control system
Technical field
The utility model relates to a kind of device that is used for the testing automobile electronic control system, wherein, Auto Electronic Controlled System to be measured can be one (as engine control system), several (as engine control system+gearbox control system+braking anti-lock control system), also can be the Control Network that all electronic control systems are formed on the automobile.
Background technology
Typical Auto Electronic Controlled System, for example automobile electronic controller (ECU) etc. is a kind of electronic-controlled installation that is widely used in automotive field, this device is regulated and is calibrated automobile by the running status of each parts of measured automobiles.
In development and exploitation automobile electronic controller (ECU), following development process and/or development scheme have extensively been adopted: in function design and development phase, take out the mathematical model of automobile electronic controller and controlling object thereof by means of mathematical modeling instrument (Matlab/Simulink), design is verified by the mode of emulation.
Then in rapid control prototyping (RCP) stage, convert the abstract automobile electronic controller model that comes out of previous stage to an executable program by means of code generator, this executable program moves on a hardware platform, and this hardware platform can interact by corresponding I/O interface and working control object.
If the control effect is satisfied, the executable code of automobile electronic controller model generation batch electronic controller hardware that will be abstract comes out by code generator then.Before the working control object uses, need carry out detailed test at the batch automobile electronic controller, use hardware usually at loop-around test (Hardware-In-The-Loop is called for short the HIL test).
In the HIL test, automobile electronic controller is connected with proving installation in batches, on proving installation, the function of tested electronic controller is carried out emulation by auto model, the state of auto model passes to electronic controller by Sensor Analog Relay System, gather the output of electronic controller simultaneously, thereby realize the interactive contact of electronic controller and proving installation.
Disclose a kind of method and apparatus of testing electronic control system among the EP1898282A, mentioned that wherein described control system can be an electric motor control device, or whole automobile travel and the engine dynamic model.But disclosed content is very wide in range and general in the prior art, make those skilled in the art when attempting wherein content put into practice, be difficult to be applied in any concrete field and/or control system, for example, though the prior art has been mentioned automobile, but, how it specifically is applied to automotive field lacks the corresponding techniques solution, those skilled in the art are under the situation that does not spend any creative work, be difficult to it is committed on a certain concrete direction of automotive field for example test of ECU.
Summary of the invention
The technical problems to be solved in the utility model provides a kind of device that is used for the testing automobile electronic control system, to reduce or to avoid problem noted earlier.
For solving the problems of the technologies described above, the utility model proposes a kind of device that is used for the testing automobile electronic control system, this proving installation is tested the Auto Electronic Controlled System of needs test by the human interface device of implementing test process, described Auto Electronic Controlled System is mutual by bidirectional interface and described proving installation, and described human interface device can show or influence the parameter of the model that moves in the proving installation; Described proving installation internal operation has test model and environmental model; Described environmental model comprises load module, load module is carried out the operational module of computing, and the output module of exporting the result of described computing.
The above-mentioned device that is used for the testing automobile electronic control system that the utility model proposed can specifically be applied to Auto Electronic Controlled System is carried out hardware at loop-around test, and it is simple for structure, is convenient to implement.
Description of drawings
The following drawings only is intended to the utility model done and schematically illustrates and explain, does not limit scope of the present utility model.Wherein,
Fig. 1 shows is structural representation according to the device that is used for the testing automobile electronic control system of a preferred embodiment of the present utility model;
What Fig. 2 showed is the structural representation of a specific embodiment of environmental model shown in Fig. 1;
Fig. 3 shows is structural representation according to the environmental model of another specific embodiment of the present utility model;
Fig. 4 shows is structural representation according to the device that is used for the testing automobile electronic control system of another preferred embodiment of the present utility model.
Embodiment
Understand for technical characterictic of the present utility model, purpose and effect being had more clearly, now contrast description of drawings embodiment of the present utility model.Wherein, identical parts adopt identical label.
ECU is a kind of electronic control system that is widely used in automotive field, and this system regulates and calibrates automobile by the running status of each parts of measured automobiles.ECU is made up of large scale integrated circuits such as microprocessor (CPU), storer (ROM, RAM), input/output interface (I/O), analog to digital converter (A/D) and shaping, drivings usually.In ECU, CPU is the core, and it has the function of computing and control, also in real time to the control of storer (ROM, RAM), input/output interface (I/O) and other external circuit, and has fault self-diagnosis and defencive function.In the utility model, the product that ECU is only used for testing, that is, ECU need test it after design produces sample, whether meet design requirement to judge it, whether be a qualified product perhaps.
So-called Auto Electronic Controlled System in the utility model, be not limited only to this specific model form of ECU, but the obtainable Auto Electronic Controlled System of any prior art, whether the proving installation that the utility model proposed is used for these Auto Electronic Controlled System are tested, qualified to judge it.Wherein, Auto Electronic Controlled System to be measured can be one (as engine control system), several (add gearbox control system as engine control system and add braking anti-lock control system etc.), also can be the Control Network that all electronic control systems are formed on the automobile.
Fig. 1 shows is structural representation according to the device that is used for the testing automobile electronic control system of a preferred embodiment of the present utility model, and wherein, 1 representative needs the Auto Electronic Controlled System of test; 2 representatives proving installation of the present utility model; 3 representative of consumer interfacing equipments, for example PC etc.
Wherein Auto Electronic Controlled System 1 is a kind of control module of Auto Electronic Controlled System, as the control module of motor car engine or the control module of automatic transmission.The purpose that constitutes proving installation is exactly that the function of Auto Electronic Controlled System 1 is tested, and for example carries out the HIL test of aforementioned Auto Electronic Controlled System.Enforcement to the test process of described Auto Electronic Controlled System 1 is undertaken by proving installation 2.In order to implement test process, realize connecting by bidirectional interface between Auto Electronic Controlled System 1 and the proving installation 2, the control system data of Auto Electronic Controlled System 1 transfer to proving installation 2 by the input interface of proving installation 2, also can revise the control system data in the proving installation 2 and also pass through the output interface reverse transfer of proving installation 2 to Auto Electronic Controlled System 1.Human interface device 3 provides the interactive interface between proving installation 2 and the user.
The main body of proving installation 2 is two models, i.e. environmental model 4 and test model 5, and the carrier of two model runnings.The test of Auto Electronic Controlled System 1 must be built up a closed-loop system with the group of objects of its control and just can be produced effect, and such as the function that will test an engine control system, just needs this engine control system is installed on its engine that adapts to.Different with traditional method of testing, in this proving installation, proving installation 2 internal operations have environmental model 4, environmental model 4 comes the true environment for use of simulated automotive electronic control system 1, such as, if Auto Electronic Controlled System to be tested is an engine control system, so pairing environmental model is exactly the ontology model of the engine that adapts to of described engine control system.For guaranteeing the real-time of environmental model, the carrier of environmental model operation is a real-time simulation machine normally.The true service condition of Auto Electronic Controlled System 1 informs Auto Electronic Controlled System 1 by the parameter of environmental model 4.Actual test process to control system is not by environmental model 4, but carry out by test model 5.For guaranteeing real-time, the carrier of environmental model 4 operations is generally a real-time simulation machine, and the carrier of test model 5 operations is generally an experiment PC.
Interaction relationship between Auto Electronic Controlled System 1 and environmental model 4 and the test model 5 is as follows: Auto Electronic Controlled System 1 is by the carrier of environmental model 4 operations---and the IO interface on real-time simulation machine and the relevant apparatus realizes two-way data interaction between Auto Electronic Controlled System 1 and the environmental model 4; The data interaction of test model 5 and environmental model 4 realizes that by communication protocol the realization of this communication protocol is by means of the carrier of two kinds of model runnings---the realization that is connected of real-time simulation machine and test PC.
Human interface device 3 provides the interactive interface between proving installation 2 and the user.The user can revise the parameter and the test process of test model 5 and environmental model 4 by human interface device 3, changes the service condition of Auto Electronic Controlled System 1, also can check the test result of Auto Electronic Controlled System 1.Human interface device 3 is a PC normally, and described human interface device 3 provides the interactive interface between proving installation 2 and the user, and the user can revise the parameter of environmental model 4 and the test process of test model 5 by described human interface device 3.This PC also can be used as the carrier of test model 5 operations simultaneously.
Human interface device 3 provides an operation interface for the user, can create new in this operation interface or uses existing environmental model 4 and Auto Electronic Controlled System 1 to be measured to adapt.In the related proving installation of the utility model, as long as created environmental model by a certain suitable software, such as MatLab/Simulink, just can very easily environmental model 4 be converted to the operation carrier that code that machine can discern operates in environmental model 4 by certain operation---on the real-time simulation machine.
The configuration of test model 5 also can be undertaken by human interface device 3 equally.On human interface device 3, creates equally or revises test model 5, be converted into machine-readable code and operate in the carrier that test model moves by the software that is suitable for---test on the PC.Test model 5 can pass through suitable software, builds as NI/LabVIEW, can be an automatically process of test, and parameter that also can manual modification environmental model 4 is to realize test purpose.In general, to this structure of revise to need understanding environmental model 4 targetedly of environmental model 4, need know the storage address of each variable in the environmental model 4 to the modification of the variable of environmental model 4.
Visit to the variable of environmental model 4 adopts the method for the physical storage address of manual input environment model variable to realize traditionally.Different with traditional access method, in the example of the present utility model, for example, using Matlab/SimuLink/Stateflow to build in the process of environmental model 4, all variablees of environmental model 4 all adopt unique identifier to represent.Being compiled in the process of the code that machine can discern at environmental model 4, is a physical memory address of each its correspondence of identifier allocation automatically.Test model 5 is when carrying out test process, can convert employed identifier to the corresponding physical storage address, the value of these identifiers is read and write targetedly or revised, just be equivalent to change the value at corresponding physical memory address place, simplified test process itself greatly.
Adopt the mode of unified identifier that the data in the model are well transmitted, strengthen the reading of model, the problem of bringing is that the variable of environmental model 4 is compiled into a large amount of static variables.Static variable when compiling by initialize, initialize and just keep the value of calling last time when finishing no longer again when at every turn calling later.Be the convenient value of revising variable in the environmental model 4 in test process, in the proving installation 5 of Auto Electronic Controlled System 1, introduced the method for dynamic process object.
The method of dynamic process object is divided into two classes to the variable in the proving installation 2: the variable (shown in Fig. 2,3) that the variable in the environmental model 4 is called the first kind, the variable of the first kind conducts interviews by the method for aforesaid identifier, it in compilation process physical address of each identifier allocation, belong to static variable, the variable of the described first kind can be made amendment by test model 5; The variable that is called second type actual existence the in the environmental model 4 for the variable in the convenient virtual module of controlling 81 (as shown in Figure 3) that adds, second categorical variable has same or analogous data type with corresponding first kind variable, belong to dynamic variable, the variable of described second type also can be made amendment by test model 5.The management devices 9 that is positioned on the proving installation 2 is in charge of the variable that these are used for further first and second types of using.This management devices 9 can be direct or indirect the test model 5 that passes through control.
The existence of second categorical variable is associated with the implementation of test model.Second categorical variable is modified in test process and assignment along with the beginning of test model produces, and same, described second categorical variable is eliminated along with the end of test model.
What Fig. 2 showed is the structural representation of a specific embodiment of environmental model shown in Fig. 14, this environmental model 4 can adopt the MatLab/Simulink modeling tool to build, the load module 40 of environmental model 4 comprise as shown in the figure 41 and 51, in operational module 61 load module 40 is carried out certain arithmetic and/or logical operation, the result with computing is delivered in the output module 71 then.For conveniently reading and revise the parameter in the environmental model 4, unique with it definite corresponding identifier is all arranged for the arbitrary module object in the environmental model 4 ( module 41 and 51 of load module 40 as shown in Figure 2, operational module 61 and output module 71).Corresponding, the variable (parameter) that is comprised in this module object that is the variable of the aforesaid first kind.
Fig. 3 shows is structural representation according to the environmental model of another specific embodiment of the present utility model, this environmental model and Fig. 2 are similar, its difference is, after the load module shown in Figure 2 40 process arithmetic sum logical operations of operational module 61, not that operation result with operational module 61 is directly passed in the output module 71, but in the non-existent module 81 of the environmental model that passes to a reality, in module 81, can carry out further arithmetic and/or logical operation, and then final operation result is delivered in the output module 71 operation result of operational module 61.The variable that is comprised in the module 81 is the variable of second type, module 81 constitutes environmental model 4 for the user with in esse module 41,51 and 61, and the variable that is comprised in the module 81 (variable of second type) also can call or revise by test model 5 (as shown in Figure 1).
Fig. 4 shows is structural representation according to the device that is used for the testing automobile electronic control system of another preferred embodiment of the present utility model, with respect to embodiment illustrated in fig. 1, present embodiment is more detailed, wherein, the main body of proving installation 2 is made of environmental model 4 and test model 5, in the hardware of proving installation 2, has dynamic physical storer 10, each variable in the environmental model 4 ( module 41 and 51 of load module 40 as shown in Figure 2, operational module 61 and output module 71) corresponding physical memory address is with it all arranged in dynamic physical storer 10, environmental model 4 and test model 5 are realized the mutual of data by this physical storage 10.Management devices 9 can be realized the management of the first kind object and second type object is called or revised for test model 5.The first kind object variable and the second type object variable are stored in the object storage file 11 in some way, use for management devices 9.The management devices 9 direct or indirect test models 5 that pass through are controlled.
The utility model proposes a kind of above-mentioned device that is used for the testing automobile electronic control system and can specifically be applied to Auto Electronic Controlled System is carried out hardware at loop-around test, it is simple for structure, is convenient to implement.
The above only is the schematic embodiment of the utility model, is not in order to limit scope of the present utility model.Any those skilled in the art, equivalent variations, the modification of being done under the prerequisite that does not break away from design of the present utility model and principle and combining all should belong to the scope of the utility model protection.

Claims (1)

1. device that is used for the testing automobile electronic control system, this proving installation (2) is tested the Auto Electronic Controlled System (1) of needs test by the human interface device (3) of implementing test process, it is characterized in that, described Auto Electronic Controlled System (1) is mutual by bidirectional interface and described proving installation (2), and described human interface device (3) can show or influence the parameter of the model of operation in the proving installation (2); Described proving installation (2) internal operation has test model (5) and environmental model (4); Described environmental model (4) comprises load module (40), load module (40) is carried out the operational module (61) of computing, and the output module (71) of exporting the result of described computing.
CN 201020225685 2010-06-09 2010-06-09 Device used for testing electronic control system of automobile Expired - Lifetime CN201673405U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201020225685 CN201673405U (en) 2010-06-09 2010-06-09 Device used for testing electronic control system of automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201020225685 CN201673405U (en) 2010-06-09 2010-06-09 Device used for testing electronic control system of automobile

Publications (1)

Publication Number Publication Date
CN201673405U true CN201673405U (en) 2010-12-15

Family

ID=43330816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201020225685 Expired - Lifetime CN201673405U (en) 2010-06-09 2010-06-09 Device used for testing electronic control system of automobile

Country Status (1)

Country Link
CN (1) CN201673405U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354205A (en) * 2011-07-07 2012-02-15 株洲南车时代电气股份有限公司 Method and device for testing control cabinet of electric locomotive
CN104199434A (en) * 2014-08-07 2014-12-10 奇瑞汽车股份有限公司 Function detection device and method for interior electronic control system
CN104536856A (en) * 2014-12-12 2015-04-22 北京新能源汽车股份有限公司 Method and device for generating environment model of automobile controller test
CN106406276A (en) * 2015-07-29 2017-02-15 罗伯特·博世有限公司 Method and device for the on-board diagnosis of a control unit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354205A (en) * 2011-07-07 2012-02-15 株洲南车时代电气股份有限公司 Method and device for testing control cabinet of electric locomotive
CN104199434A (en) * 2014-08-07 2014-12-10 奇瑞汽车股份有限公司 Function detection device and method for interior electronic control system
CN104536856A (en) * 2014-12-12 2015-04-22 北京新能源汽车股份有限公司 Method and device for generating environment model of automobile controller test
CN104536856B (en) * 2014-12-12 2018-03-13 北京新能源汽车股份有限公司 The method and device of the environmental model generation of automobile controller test
CN106406276A (en) * 2015-07-29 2017-02-15 罗伯特·博世有限公司 Method and device for the on-board diagnosis of a control unit
CN106406276B (en) * 2015-07-29 2021-07-27 罗伯特·博世有限公司 Method and device for on-board diagnostics in a control device

Similar Documents

Publication Publication Date Title
CN201210253Y (en) Test device for testing automobile electronic controller
CN205301987U (en) Electric motor car machine controller hardware is in ring testing system
CN202548642U (en) Automobile hardware in loop automatic testing device
CN101968630A (en) Simulation test bed for automatic gearbox controller and simulation model establishing method
CN103034227A (en) Testing method in circuit of battery electric vehicle vehicle-control unit model
CN201673405U (en) Device used for testing electronic control system of automobile
CN104866419B (en) A kind of virtual platform and application layer software method of testing and system
Vijayagopal et al. Automated model based design process to evaluate advanced component technologies
CN201812197U (en) Device for testing automobile electronic control system
Hanselmann Automotive control: from concept to experiment to product
CN105159188A (en) New energy finished automobile heterogeneous network emulator and control method thereof
CN104536856A (en) Method and device for generating environment model of automobile controller test
CN111221326A (en) System and method for realizing hardware-in-loop test control based on Simulink real-time simulation system
CN104794258A (en) Automobile hardware-in-loop simulation system
CN101871843B (en) Crankshaft and camshaft analog signal generating method and device thereof
CN104298129A (en) Test simulator of automotive electronic controller
CN102968059A (en) Aircraft landing gear simulator
CN104020680A (en) Automatic software testing method and system based on hardware-in-loop system
CN111552201A (en) Model processor in-loop test method, device, equipment and medium
CN201673404U (en) Testing device of automobile electronic control system
CN201812201U (en) Device used for testing automobile electronic control system.
CN201812198U (en) Device for testing automobile electronic control system
CN201945883U (en) Testing device of automotive electronic control system
CN106897469A (en) A kind of test environment generation method and device
CN201868019U (en) Electrically-controlled hydraulic type automatic transmission control law rapid prototyping experimental platform based on simulator

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20101215