| With the rapid development of embedded technology, computer technology, network technology, body control module(BCM) of automotive is becoming more comfort, intelligent, integrated functions. However, foreign capital enterprise and joint venture almost monopolized the market of a complete set of car BCM in our country, They grasp the core of automobile electronic technology and the development trend. Domestic enterprises began to participate in research and development, but face the bottleneck such as technology and market competition.This article used the mainstream methods based on the development of the "V" types as the design process and developed centralized body controller with diagnosis functions. Firstly, in the aspect of hardware development, electronic hardware were selected and circuit were designed according to the function. In the aspect of software development, using Stateflow completed visual modeling of body controller function module, and then using SIL tested code generated by the real-time simulation. Finally, using code generation tools of Real Time Workshop Embedded Coder generated standard Embedded C code. This means solves the software development problem such as the complicated logic control and the long cycle of handwritten code programming, significantly improving the efficiency of development and reducing the follow-up tests problems. In the aspect of diagnosis development, the physical layer, data link layer, network layer and application layer according to the OSI 7 layer structure were described and analyzed in detail. In the end, UDS diagnosis function of based on CAN was realized.Finally, the paper used CANoe on the network simulation and test and used the diagnostic software CANdela Studio to Validate the development of Protocols, which is reliable and correct. |