The technical principle of electric vehicle monitoring platform system based on DSP

1 Introduction

This article refers to the address: http://

There are many electronic control units in the electric vehicle, small internal space and large environmental interference, which puts higher requirements on the control system and communication system. With its excellent operating characteristics, high reliability and unique design, CAN is especially suitable for communication between electronic control units of electric vehicles. In order to better conduct research in the laboratory, a well-functioning test and test platform was established to study the CAN bus system and its network protocol. First, DSP-based development designed the communication program for the motor controller node. Secondly, to understand the application requirements of CAN bus in electric vehicles, and design the application layer protocol of CAN bus. Finally, in order to verify the feasibility of the design agreement, the monitoring system of the electric vehicle was developed using VB6.0, and a database was established for the monitoring data to facilitate the management of data.

2 Motor controller node design

For the characteristics of electric motor controllers, TI's TMS320LF2407 chip is selected as the processor of the motor controller. Using a modular design concept, a communication program for the motor controller node is programmed for easy migration to a DSP-based motor controller or other control unit. In the CAN bus system of electric vehicles, the real-time requirements of the motor controller are high, belonging to high-speed nodes, and the baud rate is set to 1 megabaud. The motor controller node mainly receives the control information of the motor working mode, SOC, vehicle speed, accelerator pedal position and brake pedal position uploaded by the bus, and transmits real-time information such as working temperature, motor fault and working state of the motor. In this paper, the mailbox 2 of DSP2407 is used as the receiving mailbox, and the mailbox 5 is used as the sending mailbox, which is sent once every 20 milliseconds.

3 Electric vehicle monitoring system design

The electric vehicle CAN bus system is simulated in the laboratory, and the PC (with USB-CAN module) is used as the overall controller of the electric vehicle. Based on the operating mechanism and working principle of CAN-bus universal test software, the monitoring system of CAN bus technology based on PC is designed.

3.1 Overview of the monitoring system

The monitoring system monitors the motor controller, battery controller and clutch controller via a console (PC with USB-CAN module). The main operation interface is shown in Figure 1. It can send and receive parameters in the CAN bus as needed to realize monitoring and control of each node of the bus. For example, motor parameters, including SOC, vehicle speed, fault level, operating mode, fault code, operating temperature, etc. The monitoring system also provides the ability to create nodes based on system expansion needs. In addition, data management functions are also available. During the execution of the monitoring system, the collected data is recorded in the Microsoft Access database, can be displayed in real time in tabular form, and can be opened by software Excel through the output button.

11.jpg

3.2 Monitoring System Communication Protocol

In the CAN protocol, only the data link layer and the physical layer two-layer protocol are defined, and there is no specification for information processing. However, a complete network system cannot be separated from the application process of human-computer interaction, so the application layer protocol must be defined by the user. . According to the characteristics of electric vehicle operation, the communication protocol of the monitoring system is designed. In general, each electronic control unit (ECU) on an electric vehicle is divided into two categories: high speed and low speed nodes. Among them, the high-speed node includes a motor controller, an engine controller, a battery controller, an ABS/ASR control unit, and an energy management unit, and their ID codes are set to a higher priority. The low speed node includes an air conditioning system, an instrument display system, a lamp system, and the like. Table 1 shows the types of signals received and transmitted between the nodes of an electric vehicle. According to the data received and transmitted between the nodes of the electric vehicle, the types of information to be exchanged between the nodes, the parameters and the representation methods are specifically described. For example, the 8 bytes sent at the motor controller node are defined as: motor speed (double byte), motor torque (double byte), operating temperature (single byte), error level and code (single byte) The working mode (single byte) also has one byte as a spare. Table 1 shows the data received and sent between the nodes of the electric vehicle. For example, the 8 bytes sent at the motor controller node are defined as: motor speed (double byte), motor torque (double byte), operating temperature (single byte), error level and code (single byte) The working mode (single byte) also has one byte as a spare.

1.jpg

3.3 Monitoring system programming

The monitoring system is to complete the monitoring of each node. According to the design requirements, the whole design can be divided into five design forms, including main form, motor controller monitoring form, battery controller monitoring form, clutch controller monitoring. Forms and create node forms and modular design. The node form can be created to easily create a monitoring window, set the node ID number and monitor variables. The monitoring system programming flow chart is shown in Figure 2.

22.jpg

4 Monitoring system testing

After completing the monitoring system programming of the PC, in order to verify whether the program works normally, and in order to verify the correctness of the designed DSP data acquisition and communication program of the lower computer. Here, the DSP data acquisition is combined with the communication program and the PC program for debugging. Set the baud rate of both to 1M baud. The test program of the DSP node includes A/D sampling (analog accelerator pedal position) and communication program. After the DSP runs, the data is collected and processed by the timer interrupt (20ms), and the signal is uploaded to the host computer (PC) through the CAN bus. On the other hand, the DSP automatically determines if there are instructions from the PC, such as battery voltage, battery current, accelerator pedal position, and operating mode. After receiving the data, the host computer processes it and hands it to the monitoring system for display. The test interface of the motor controller node is shown in Figure 3.

33.jpg

5 Conclusion

In order to meet the needs of electric vehicle monitoring, a CAN bus-based electric vehicle simulation test platform was set up, and a professional test instrument was equipped to form a CAN-BUS laboratory. The system has good scalability and can easily increase the electronic control unit (ECU) of the car that needs to be monitored. In addition, through the good connection between VB and ACCESS technology, data is saved in real time, which provides conditions for later data processing. In order to ensure that each message can be collected and processed by related nodes in time, the scheduling strategy of the message needs to be deeply studied to further optimize network management, especially network fault diagnosis and processing mechanism.

Reel with solid flanges, turned on the drum and in the central bore. The available sizes are as per DIN 46395 / 46397 specifications or as indicated by the Customer, for a normal use up to 1400 mm of flange diameter.

Indicated for metallic wires. To be used on a wiredrawing, stranding or rope-making machine. It withstands annealing treatment.

Serial Number Specification Model Lateral Plate Diameter D1 Major Diameter D2 Axle Hole Diameter D4 Carrying Hole Diameter D5 Center Distance E of Axle Hole and Carrying Hole External Width L1 Internal Width L2 Remarks
1 285 285 130
165
127 18 180 260 240 Thin Extend Shaft
2 300 300 130
165
127 18 180 270 250 Thin Extend Shaft
3 335 335 165
217
127 18 180 270 250 Thin Extend Shaft
4 400 400 217
270
125
127
18 100 270 250 Middle Extend Shaft
5 500 500 217
270
125
127
22 130 320 300 Middle Extend Shaft
6 630 630 350
420
125
127
28 200 430 400 Twist Extend Shaft
7 300 300 130
165
56 8 100 290 270 Twist Extend Shaft
8 335 335 130
165
56 8 100 290 270 Twist Extend Shaft
9 400 400 165
217
70 16 170 270 250 Extend Shaft
10 500 500 217
270
80 16 100 320 300 Extend Shaft
11 560 560 270
295
80 18 120 355 329 Extend Shaft
12 610 610 270
320
80 22 170 360 336 Extend Shaft
13 630 630 355
450
125
127
28 200 360 336 Extend Shaft
14 710 710 400
500
125
127
28 100 530 450 Extend Shaft
15 800 800 450
560
125
127
28 100 600 500 Extend Shaft

 

Flat Wire Spool

Flat Wire Spool, Panel High-speed Spools, Empty Spool, Cable Spools

NINGBO BEILUN TIAOYUE MACHINE CO., LTD. , https://www.spool-manufacturer.com