| CAN-BUS is recognized to be one of the most developmental Fieldbus in the world and is becoming the leader pattern. With the features of high reliability, low cost, easy realization, thorough transparency, strong expansibility and flexibility of system setting up, it has occupied the leading position in the market and is widely used in automotive electron, industry control, and intellectualized community and so on.This paper studied the application of CAN-BUS in electrical control system of Railway Maintenance Machinery, in which every module was connected with the CAN network and Based on the input and output signals of all function models. This paper designed a hardware platform which used TMS320F2812 as main control chip and compounded corresponding periphery drive circuit and signal processing circuit adopting DSP technology. The system software was carried out by C language under DSP translate and edit environment CCS,including hardware configuration and control strategy realization.The system also constitute communication protocol between every function module and upper computer relatively according to CAN2.0B protocol. By programming CAN controller of DSP, this system implemented CAN signal's transmitting and receiving, The data acquisition card of company NI was adopted to acquire and save the working data of formerly electrical control system, and validated the quality of data transmission.The interface of the system was designed by using the tool of LABVIEW, which was on the basis of CAN-BUS. The data was successfully displayed and the signal from the CAN network was compared with the one from the data acquisition card by the monitor interface. The results proved the efficiency and security of CAN-BUS transmission.Finally, the entire Vehicle-borne network was designed for the RS-232 serial communications data format by using serial port and PC to unpack the data at the node.The Interface based on LabVIEW software was designed,which is convenient for Users to acquire and process signal at the single node of CAN network. The experiments and tests of communication among every function module and between function module and upper computer, proved the system to work well and have stable signal and powerful interference immunity. The system gained good result in practical experiments and fulfilled the planning objective. It is beneficial for the application of CAN network in the Railway Maintenance Machinery electrical control system. |