1. INTRODUCTION
Many countries have set goals to transition to electric vehicles and have implemented widespread measures to promote their use. By 2030, Norway, Denmark, Iceland, Singapore, and the United Kingdom aim to have 100% of new cars sold to be electric vehicles [
1,
2]. Japan and China have similar targets for 2035. Each country has developed financial and non-financial support packages. For example, France and Germany provide approximately
$7,000 in support per electric vehicle purchase. China has established charging [
3] stations nationwide and offers both financial and non-financial benefits to electric vehicle buyers [
4].
For Thailand, the use of electric vehicles has not been widespread due to factors such as high prices, unclear government support [
5,
6], insufficient infrastructure, and limited model options. However, as Thailand is a major car manufacturing country, Thailand is crucial for the country to adapt, both for car manufacturers and parts manufacturers, to maintain its status as a significant global production base.
The creation of a supply chain between electric vehicle manufacturers [
7], batteries, and key components: As electric vehicles do not require many components found in ICE vehicles (Internal Combustion Engines), from engines, power transmission systems [
8] to exhaust pipes, the manufacturing structure of the automotive industry will have to fundamentally change if electric vehicles become more popular. Although the production of electric vehicles reduces the number of parts, each part becomes more important, such as batteries, electric motors, and power converters [
8]. Therefore, the collaboration between vehicle manufacturers and key component manufacturers will help these players maintain their competitive capabilities.
The electric vehicles conversion [
9] industry or the process of converting internal combustion engine vehicles into electric vehicles, not only helps people save costs in converting old internal combustion engine vehicles into electric vehicles and pushes the country's goal of reducing pollution emissions according to the plan, but also helps maintain the supply chain in this industry, such as auto parts manufacturers and car repair shops.
There are many electric cars available in Thailand, with a wide range of prices and brands. These include Chinese brands such as BYD, ORA, and NETA, which are affordable and suitable for general city use. There are also premium European brands such as BMW, Mercedes-Benz, MINI Cooper, Audi, and Volvo. These brands offer luxury and premium vehicles at a corresponding price [
10]. Although there may not be many electric vehicle charging stations in Thailand, the rising oil prices have led many people to choose electric vehicles. This has resulted in many car brands starting to produce and import electric vehicles into Thailand. This year, Thailand has already started selling EV cars.
Currently, lithium batteries [
11] are becoming increasingly popular and are used in almost every device around us, such as mobile phones, power banks, notebooks, various wireless tools, EV cars, drones, electric vehicles, satellites, etc. However, not all lithium batteries used in these devices are of the same type. There are several types of lithium batteries, each with battery advantages and disadvantages.
The Lithium Nickel Manganese Cobalt Oxide battery (NMC) has high specific energy due to the addition of Nickel (Ni) in the cathode composition. This results in a cell with a high voltage of about 3.7 V per cell. Initially, NMC batteries did not include manganese, but researchers added that later to increase stability [
12]. The result is an NMC battery that is both stable and suitable for high voltage applications. However, NMC batteries are not suitable for high cranking current applications, such as engine starting.
CAN BUS (Control Area Network) is a protocol designed primarily for the automotive industry. This is popular due to its fast communication and data transmission with various modules, making it widely used in modern vehicle architecture [
13,
14,
15].
In the modern automotive industry, the CAN Bus system is a network of electronic devices that communicate with each other using a common protocol [
16,
17] called Controller Area Network (CAN). This system is widely used in modern cars. The CAN Bus system allows efficient communication between various electronic devices using only two bus lines, CAN-High and CAN-Low, to transmit data between modules in the car. Each module has a unique identifier and can send and receive messages on the network. In addition, the CAN Bus system provides real-time data transmission and uses a priority-based scheduling format to ensure that important messages are sent first, ensuring that all devices can access the same data at the same time. Data is transmitted using different electrical voltages between the two lines for receiving and transmitting data. At both ends of the line, a 120Ω resistor (called terminating resistor) is connected to reduce resistance for high drive lines and reduce noise signals. The CAN Bus system also helps reduce the complexity of wiring with fewer wires, making it easier to install and maintain the system. The CAN Bus also reduces the weight of the car and increases space for other equipment.
2. ELEMENTS AND COMMUNICATION OF ELECTRIC VEHICLES
This work discusses key topics related to electric vehicle research, including the general structure of electric vehicles, energy management and battery packs, and control systems in electric vehicles through CAN Bus.
2.1. The general structure of the electric vehicle.
This thesis discusses the design of communication systems in small electric vehicles. The materials and equipment used are shown in
Table 1, and the software used for simulation and design [
18,
19,
20] is Solid Work. The design is purely mechanical, as shown in
Figure 1, which shows the general structure of the electric car.
2.2. 72 V 25 Ah Battery Pack and balance with BMS.
Figure 2. The process of packing [
21] a battery to have a voltage of 72 V 25 Ah starts with using a lithium-ion (NMC) battery that has a voltage of 3.7 V 25 Ah. From the calculation, NMC needs 20 cells (follow in equation 1) connected in series to achieve approximately 72 V. Before packing, each cell should be balanced to have the same voltage. Then, pack them in a container to prevent cell dispersion and short circuits. Once the battery pack is ready, connect a BMS to each cell to maintain the voltage level and prevent cell damage.
Battery Pack Shown in equation 1
When n is Number of battery cells
V72V is Battery Packing
V3.7V is Li-Ion (NMC) 1 Cell
2.3. Energy control system in electric vehicles.
Given that the battery pack has a voltage of 72 V, it cannot supply power to the load of devices such as light bulbs, electric accelerators, and power supply boards for controllers, etc. Therefore, a device is needed to reduce the voltage to a suitable level that does not exceed 12 V for operation. Following in
Figure 3.
The control unit [
22,
23,
24] of an electric vehicle consists of 4 parts: (1) Vehicle Control Unit (VCU), which controls the operation of the electric vehicle, similar to the ECU in an internal combustion engine vehicle, (2) Motor Control Unit (MCU), which controls the operation of the motor as commanded by the VCU, including the Inverter, (3) DC/DC Converter, which converts direct current voltage for driving the motor, charging the battery, and supplying the 12 V electrical system in the vehicle, (4) Battery Management System (BMS), which monitors and controls battery charging, discharging, temperature checking, charging status, and high-voltage battery energy usage. It also transmits important data to other systems and most importantly adjusts the electrical system of the battery to function as specified.
2.4. CAN Bus Controller.
Figure 4a. The device used for communication is the CAN I/O model PLC 1.033.30B.00 from MRS (MRS Developers Studio). MRS can receive and send data through software programming. The signal is transmitted via a high speed or low speed connection, depending on the usage. This control system needs a 24 V power supply to operate.
This thesis will use 3 CAN Bus Controller devices due to the limitation of inputs and outputs, which have only 6 pins of Analog and 8 pins of Digital shown in
Figure 4b. This results in a need for communication to be categorized. Specifically, the CAN Bus Control Box 1 is responsible for receiving signals composed of headlights, front turn signals, horn sounds, and electric throttle to process and send to the CAN Bus Control Box 2. At the same time, the CAN Bus Control Box 2 will receive signals composed of taillights to process and send to the CAN Bus Control Box 3.
From
Figure 4a, the signal transmission uses a total of 2 wires from pin P09-CANH, and pin P10-CANL. In other words, if the signal wire is connected from the pin and a 120Ω electrical resistance is paralleled, it will result in high sensitivity data transmission. At the same time, removing the resistance will slow down the data transmission. This article chooses the first method because it requires a response that is sensitive to signals and has the least delay. The signal transmission method is as shown in
Figure 5 and the data transmission is limited to hexadecimal.
The operation of the differential wire involves using the difference in electrical voltage between two wires to transmit data, to reduce signal interference. The signal within the wire consists of two states: (1) The Dominant state occurs when the voltage of the CANH wire is greater than the CANL wire, which translates into a logic 0 state. (2) The Recessive state occurs when the voltage of the CANH wire is less than or equal to the CANL wire, translating into a logic 1 state, shown in
Figure 6.
The CAN communication standard uses a principle called bit-wise arbitration, which involves a joint assessment of the number of devices (Nodes), wire length, and communication speed (Bit Rate). CAN is an Asynchronous protocol where the data transmission speed is determined by the data rate or baud rate, typically set at 125,000 (125 kbit/s) as the standard.
In addition to the aforementioned equipment, it is necessary to have software for writing communication systems in electric vehicles. The software used is MRS (MRS Developers Studio). The method of writing the communication system will be shown in the next chapter.
4. RESULT
This chapter presents the results from writing logic into the test board as shown in
Figure 7. Starting with the car headlights, turn signals, brake lights, emergency lights, forward-reverse gear, switches, horn and electric accelerator in order. Then, the logic is uploaded onto the electric vehicle structure as shown in
Figure 14. The test results for the number of uses in electric vehicles are shown in
Table 5. The simulation results of the light bulb status on the test board are as shown in
Figure 14a–g.
From
Figure 14a–g is the upload of software via CAN-HUB line, the results of data communication testing by Figure (a) circuit connection for signal testing in CAN Bus test box; Figure (b) is the display of car front status lights; Figure (c) is the signal transmission of left and right turn lights; Figure (d) is the display of brake status lights; Figure (e) is the transmission of emergency signals by left and right turn lights on together; Figure (f) shows the status of forward and reverse gears and Figure (g) is the tuning of the electric throttle to make the motor work within the specified limits.
3.4. The Cost of electricity per battery charge.
The electrical energy of the battery can be found from equation (2)
The unit of electrical energy usage can be found from equation (3)
Calculating the cost of electricity in Thailand can be found from equation (4)
This From the above equation, calculating the cost for charging a 72 V 25 Ah battery, substituting the given parameters, find that the energy used to charge the battery 100% is 1800 Watt-hour, equivalent to 1.8 units. Therefore, the cost of electricity for charging is 7.182 baht per charge.
From
Figure 2, evident that the battery pack, which includes a JIKONG BMS model, allows the user to check the voltage, resistance values of each cell, and the battery pack's charging current through an application. In addition to this, it also enables the user to monitor the temperature status. The different statuses are displayed as shown
Figure 15.
Figure 1.
General structure of the Electric vehicle.
Figure 1.
General structure of the Electric vehicle.
Figure 2.
Battery pack and balance with BMS.
Figure 2.
Battery pack and balance with BMS.
Figure 3.
Energy control system.
Figure 3.
Energy control system.
Figure 4.
Controller: (a) CAN Bus Controller; (b) Communication CAN Bus.
Figure 4.
Controller: (a) CAN Bus Controller; (b) Communication CAN Bus.
Figure 5.
Signal transmission method.
Figure 5.
Signal transmission method.
Figure 6.
Status of data transmission line.
Figure 6.
Status of data transmission line.
Figure 7.
CAN Bus wiring.
Figure 7.
CAN Bus wiring.
Figure 8.
Control Software: (a) MRS Developer Studio Software; (b) Graphical programming.
Figure 8.
Control Software: (a) MRS Developer Studio Software; (b) Graphical programming.
Figure 9.
CAN data base (CAN_DB).
Figure 9.
CAN data base (CAN_DB).
Figure 10.
Variables used to assist in writing A&D pins.
Figure 10.
Variables used to assist in writing A&D pins.
Figure 11.
Logic control: (a) The logic for the turn signal uses a 200 msec pulse signal (Send); (b) The logic for horn signal; (c) The logic for the turn signal; (d) The logic for creating an electric accelerator signal for PWM.
Figure 11.
Logic control: (a) The logic for the turn signal uses a 200 msec pulse signal (Send); (b) The logic for horn signal; (c) The logic for the turn signal; (d) The logic for creating an electric accelerator signal for PWM.
Figure 12.
Communication in Electric Vehicles.
Figure 12.
Communication in Electric Vehicles.
Figure 13.
Mechanical Structures of electric vehicle.
Figure 13.
Mechanical Structures of electric vehicle.
Figure 14.
Testing communication status: (a) Switches; (b) Headlight; (c) Turn signal; (d) Brake light; (e) Emergency light; (f) Horn; (g) Forward-Reverse gear; (h) Electric Accelerator.
Figure 14.
Testing communication status: (a) Switches; (b) Headlight; (c) Turn signal; (d) Brake light; (e) Emergency light; (f) Horn; (g) Forward-Reverse gear; (h) Electric Accelerator.
Figure 15.
Parameter of Battery Pack.
Figure 15.
Parameter of Battery Pack.
Table 1.
Materials and Equipment for Communication in Electric Vehicle Systems Using CAN Bus.
Table 1.
Materials and Equipment for Communication in Electric Vehicle Systems Using CAN Bus.
Materials and Equipment |
Units |
Push Button Start |
1 |
Electric car headlights |
1 |
Klaxon (Horn) |
1 |
Front turn signal |
2 |
Back turn signal |
2 |
CAN connector line |
2 |
CAN Controller Box |
3 |
DC to DC Step down (72V to 12V) |
1 |
Battery Pack 72 V (Li-ion: NMC) |
1 |
Motor DC 1500W 60V |
1 |
Table 2.
Materials and equipment for CAN Bus test box.
Table 2.
Materials and equipment for CAN Bus test box.
Number |
Materials and Equipment |
1 |
Circuit Breaker |
2 |
AC/DC switching |
3 |
Power Switch |
4 |
CAN I/O |
5 |
The CAN hub |
6 |
Input/output Device |
7 |
+24V and Gnd. Terminal |
8 |
Analog Inputs Terminal of CAN I/O |
9 |
Input/output Terminal of CAN I/O |
10 |
Input Terminal of input/output device |
11 |
Output Terminal of input/output device |
Table 3.
CAN-block definition.
Table 3.
CAN-block definition.
Header |
Description |
Name |
Name of the CAN-Block |
CAN ID [hex] |
CAN-Identifier from CAN-Block in [hex] |
Extended |
0 is 11 bits identifier, 1 is 29 bits identifier |
Send period max |
Time of send period max |
Send period min |
Time of send period min |
Data length |
Length of the CAN frame data in byte |
Send |
0 is CAN-Block received the CAN bus1 is CAN-Block send to the CAN bus |
CAN ID mask |
When you want to listen to variable CAN ID information. (EX: 0x10F, 0x100, ...) |
Table 4.
CAN-data definition.
Table 4.
CAN-data definition.
Header |
Description |
Variable name |
Name of the data point |
CAN block name |
Definition of linked CAN-block (Write down in which CAN-block the variable is to be found) |
Bit start |
0 ... 63, start position of the data into the CAN frame data area |
Bit length |
Length of the information in bits |
Table 5.
Testing communication of the CAN Bus system.
Table 5.
Testing communication of the CAN Bus system.
Testing CAN Bus communication
|
Testing (Counts) |
1 |
100 |
1000 |
Switches |
✓ |
✓ |
✓ |
Headlights |
✓ |
✓ |
✓ |
Turn signal |
✓ |
✓ |
✓ |
Brake light |
✓ |
✓ |
✓ |
Emergency light |
✓ |
✓ |
✓ |
Horn |
✓ |
✓ |
✓ |
Forward-Reverse gear |
✓ |
✓ |
✓ |
Electric Accelerator |
✓ |
✓ |
✓ |