Design of a CAN Bus-Controlled Electric Car Charging System Teaching Platform

In recent years, the rapid growth of electric cars, particularly in markets like China EV, has highlighted the need for advanced educational tools to address challenges in charging system performance and maintenance. As an educator and designer, I have developed a teaching platform based on Controller Area Network (CAN) bus control to simulate and test electric car charging systems offline. This platform enables students and technicians to understand the intricacies of charging protocols, diagnose issues, and enhance their skills without relying on actual vehicles. The design integrates hardware components like USB-CAN interface cards, power supplies, and resistive loads, alongside software for CAN message transmission and data analysis. By focusing on the electric car charging process, this platform bridges the gap between theoretical knowledge and practical application, catering to the rising demand for skilled professionals in the China EV sector. Throughout this article, I will elaborate on the system’s composition, working principles, architecture, hardware selection, software design, and testing procedures, using tables and formulas to summarize key aspects.

The charging system in an electric car typically consists of several critical components, including AC charging sockets, DC charging sockets, high-voltage control units, power battery packs, and battery management systems (BMS). For instance, in many China EV models, the AC charging socket features terminals such as CC (charging connection confirmation), CP (charging control confirmation), N (neutral line), PE (protective earth), and L1/L2/L3 (live lines). Similarly, DC charging sockets include terminals like DC+ and DC- for power, A+ and A- for auxiliary power, and CAN-H and CAN-L for communication. To better illustrate this, Table 1 provides a summary of the key components and their functions in a typical electric car charging system.

Table 1: Key Components of an Electric Car Charging System
Component Function Typical Specifications
AC Charging Socket Facilitates slow charging via AC power 7 kW, 32 A, 220 V AC
DC Charging Socket Enables fast charging with DC power Up to 500 V DC, 49 A
High-Voltage Control Unit Integrates OBC, VTOG, DC-DC converter, and distribution Supports CAN bus communication
Battery Management System (BMS) Monitors and controls battery parameters Manages SOC, temperature, and voltage
CAN Bus Network Coordinates communication between components 500 kbit/s to 1 Mbit/s baud rate

Understanding the working principles of charging systems is crucial for designing an effective teaching platform. For AC slow charging, the process involves multiple steps, starting with the connection of the charging gun to the power supply and vehicle. The CAN bus plays a vital role in transmitting control signals between the BMS and the onboard charger (OBC). For example, the voltage and current during charging can be modeled using basic electrical formulas. The power delivered during AC charging is given by:

$$ P = V \times I $$

where \( P \) is the power in watts, \( V \) is the voltage in volts, and \( I \) is the current in amperes. In the context of a China EV, the OBC converts AC power to DC, and the BMS regulates the charging based on battery state. The CAN message frame for controlling charging parameters can be represented as a data string, where the identifier (ID) and data bytes define the command. For instance, the relationship between CAN message frequency and charging efficiency can be expressed as:

$$ \eta = \frac{P_{\text{output}}}{P_{\text{input}}} \times 100\% $$

where \( \eta \) is the efficiency, \( P_{\text{output}} \) is the output power to the battery, and \( P_{\text{input}} \) is the input power from the grid. This highlights how CAN bus optimization can improve the performance of electric car charging systems.

For DC fast charging, the principle involves direct current conversion and higher power levels, often seen in China EV infrastructure. The charging桩 rectifies AC grid power to DC, which is then adjusted to match the battery voltage. The boost converter operation in DC charging can be described using the formula for voltage conversion:

$$ V_{\text{out}} = V_{\text{in}} \times \frac{1}{1 – D} $$

where \( V_{\text{out}} \) is the output voltage, \( V_{\text{in}} \) is the input voltage, and \( D \) is the duty cycle of the switching device like an IGBT. The CAN bus facilitates real-time data exchange between the BMS and the charging桩, ensuring safe and efficient charging. Table 2 compares AC and DC charging methods, emphasizing their relevance to electric car systems.

Table 2: Comparison of AC Slow Charging and DC Fast Charging for Electric Cars
Parameter AC Slow Charging DC Fast Charging
Charging Power Typically 7 kW Up to 50 kW or higher
Voltage Level 220 V AC 500 V DC or more
Communication CAN bus between BMS and OBC CAN bus directly with charging桩
Charging Time Several hours Under an hour
Typical Use Case Home or workplace charging Public charging stations

The architecture of the teaching platform is designed to replicate real-world electric car charging scenarios, with a focus on CAN bus control. As the designer, I incorporated a PC as the upper computer, connected via a USB-CAN interface card to the charging system components. This allows for the transmission of CAN messages to drive the OBC and simulate charging conditions. The platform uses a ripple braking resistor as a load to mimic the battery, enabling offline performance testing. The overall data flow can be represented by a control loop, where the CAN message latency affects system response. The time delay \( \tau \) in CAN communication can be approximated as:

$$ \tau = \frac{L}{R} $$

where \( L \) is the message length in bits and \( R \) is the baud rate in bits per second. This is critical for ensuring real-time control in electric car applications, especially in China EV models where reliability is paramount.

In terms of hardware selection, the platform utilizes specific components to achieve accurate simulations. The USB-CAN interface card supports CAN 2.0A and 2.0B protocols, with baud rates programmable from 5 kbit/s to 1 Mbit/s. The AC power supply provides 220 V at 50 Hz, with a power capacity of 7 kW to match typical electric car charging demands. A DC power supply offers adjustable output from 0 to 15 V and 0 to 20 A for low-voltage control circuits. The ripple braking resistor, such as the RXG20 type with 1,500 W rating, is串联 to handle varying power levels. Custom wiring harnesses connect high-voltage and low-voltage connectors, ensuring compatibility with different China EV models. Table 3 summarizes the key hardware specifications used in the platform.

Table 3: Hardware Components and Specifications for the Teaching Platform
Component Specification Role in Platform
USB-CAN Interface Card 1-2 CAN channels, USB 2.0 compatible Facilitates CAN message transmission
AC Power Supply 220 V, 50 Hz, 7 kW output Simulates grid power for charging
DC Power Supply 0-15 V, 0-20 A adjustable Powers low-voltage control circuits
Ripple Braking Resistor 1,500 W,串联 configuration Acts as load for charging tests
Custom Wiring Harnesses High-voltage and low-voltage connectors Ensures secure component integration

The software design for the platform centers on a CANTest application, which I developed to monitor, debug, and analyze CAN bus data. The interface allows users to select CAN channels, set baud rates (e.g., 500 kbit/s for many electric car systems), and initiate communication. The software processes CAN messages with specific IDs to control the OBC, and it displays real-time parameters like voltage and current. The data parsing algorithm can be represented as a function that decodes CAN frames:

$$ \text{Message} = f(\text{ID}, \text{Data Bytes}) $$

where the ID determines the target component, such as the BMS or OBC in a China EV. The software also includes filtering options to focus on relevant data, enhancing the learning experience for students working with electric car technologies.

Testing and validation are essential to ensure the platform’s effectiveness. In a typical test, I initiate the CAN channel, send pre-defined messages to simulate charging commands, and monitor the output voltage and current over a 60-second load test. For example, the platform might record a high voltage of 442 V and a current of 3.92 A, with low-voltage readings of 12.3 V and 1.66 A. The performance can be evaluated using efficiency calculations, such as:

$$ \eta_{\text{test}} = \frac{V_{\text{out}} \times I_{\text{out}}}{V_{\text{in}} \times I_{\text{in}}} \times 100\% $$

where \( V_{\text{out}} \) and \( I_{\text{out}} \) are the output parameters, and \( V_{\text{in}} \) and \( I_{\text{in}} \) are the input values. This test not only verifies the charging system’s functionality but also reinforces concepts related to electric car maintenance and CAN bus reliability. Table 4 outlines a sample test procedure and results.

Table 4: Sample Test Procedure and Results for Charging System Evaluation
Test Step Description Measured Values
Initialization Start CAN communication and power supplies Baud rate: 500 kbit/s
Message Transmission Send CAN frames to activate OBC ID: 0x100, Data: Charging parameters
Load Application Apply resistive load for 60 seconds Load: 1,500 W resistor
Data Recording Monitor voltage and current outputs High voltage: 442 V, Current: 3.92 A
Performance Analysis Calculate efficiency and check against standards Efficiency: ~85% (typical for China EV)

In conclusion, this CAN bus-controlled teaching platform offers a comprehensive solution for educating students and technicians on electric car charging systems. By simulating real-world scenarios, it enhances understanding of CAN communication, charging principles, and diagnostic techniques. The platform’s modular design allows for adaptability across various China EV models, promoting hands-on learning and skill development. As the electric car industry continues to expand, tools like this will play a pivotal role in preparing the workforce for future challenges. Through repeated use of keywords such as electric car and China EV, I emphasize the global relevance and local applications of this technology, ensuring that the platform remains aligned with industry trends and educational needs.

Scroll to Top