Abstract
At present in automotive electronic control network, CAN bus plays an irreplaceable role, and just uses two simple cables to put cars interior’s vast, complex communications networks into one, high-speed, reliable to achieve the control and operation of the vehicle. The vehicle is an important means of transport in the life. In order to make students understand the CAN bus in the application of vehicles better, the teaching simulation model of the vehicle which bases on the CAN bus is designed, the car model will mainly be applied to teaching demonstrations to assist teaching purposes.
This system will be converted into electric car toys for the car model, the system uses master-slave control model. Front-wheel-stepper motor will be controlled by the main controller, the stepper motor will be controlled by the slave controller, electric car’s communication will follow the true car in real life, so CAN bus will be used within the electric vehicles which between the main-slave controller of the communications. AT89S52 is used as the core of the control in the system; the system is consisted of the driven circuit, signal detection circuit, the power circuit, keys, show circuit, bus interface circuits, alarm circuits and other auxiliary circuit, using function keys to achieve the implementation of the functions. According to the functions to select the appropriate button code, controlling electric car’s starting, stopping, speeding, forwarding, reversing, steering, lighting, instrument display, and other functions.
Nowadays, CAN bus have become the standard bus among electronic vehicle control devices of communication; it has been widely used in car distributed control system. To avoid a large number of wiring, Model bus based on CAN bus wires simply. The work process car model is simple and clear, students can learn easily.
Key words:CAN bus;Electric vehicles;AT89S52;Stepper motor