| With the development of automotive electronic technology,body control module has become the standard car parts,it mainly controls lights,wiper wash,windows,central locking and anti-theft alarm modules,Its functionality and performance reliability have a significant effect on the automotive safety,comfort,driving and steering,etc.It is important to study its design and function test methods,Therefore,based on modern design theory and test methods,body control module is studied in this paper to build its model and its test function as following:1.In order to improve the efficiency and coverage of the body control module functional testing,functional testing cases have been developed with reasonable test methods and depending on the hardware in the loop testing requirements.Functional testing cases shall show design flaw timely and check function requirements.2.Building control policy model is the key point in developing body control module.The develop cycle has been shortened by using the following methods: MATLAB model-based development,Stateflow graphical model to express complex control logic,Simulink to test the control policy model,verify the correctness of the control logic.The reliability of automatic code generation has been verified by software in the loop.3.As an essential part of body control module development process,functional testing relies on Germany dSPACE simulation system to build hardware in loop functional test platform.The correctness of its functions has been ensured by testing on body control module through ControlDesk manually and AutomationDesk automatically.Faults have been put into the fault simulation environment to ensure all faults cleared before loading.ControDesk FIU controls relays to produce a variety of fault conditions,and uses diagnostic tool to read the current fault code,then complete its fault injection testing.This paper provides important reference in model building and function testing of body control module study theory and test method. |