An electric vehicle comparison sample pile simulation device
By designing the CAN bus simulation device, the problem of large size and high cost of portable charging pile system is solved, and the function of electric vehicles in a limited space is realized, which is suitable for low-cost capability verification between multiple laboratories.
Patent Information
- Application Number
- CN202310200272.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2043-02-28
AI Technical Summary
The existing portable charging pile detection system is large in size and expensive, and it is difficult to achieve functions such as power supply, charging logic interaction and CAN communication under limited space and weight constraints, resulting in portability and cost problems of the charging pile detection system.
An electric vehicle comparison sample pile simulation device is designed, including a CAN bus module, a relay module and a main controller. The SPI communication interface is converted through the CAN controller and the transceiver to control the opening and breaking of the charging power line, and equipped with an indicator module to realize the analog charging status indication.
The basic function of electric vehicles' comparison sample piles is realized within limited space and cost, and is suitable for capability verification between multiple laboratories, providing a low-cost miniaturization detection method.
Smart Images

Figure CN116414065B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy-saving charging. More specifically, it relates to an electric vehicle comparison sample pile simulation device. Background Art
[0002] Due to the increasing number of electric vehicles year by year, the country is vigorously developing the construction of electric vehicle supporting facilities. However, the current vehicle-to-pile ratio in China is only 3:1, and the shortage of public charging facilities has become one of the problems hindering the development of the electric vehicle market. The large-scale deployment of new energy charging piles has led to an increase in the demand for charging pile detection and certification, and the charging piles produced by manufacturers need to meet the standard requirements. Due to the uneven detection capabilities of each laboratory, the test results of charging pile manufacturers are different in different testing institutions, which has hindered the development and promotion of charging piles. Therefore, inter-laboratory comparisons are needed to judge and monitor the detection capabilities of laboratories. China's electric vehicle charging interface and communication protocol standards were introduced as early as 2011, but the standards did not make detailed agreements on the relevant details of the charging process, resulting in poor consistency and compatibility of the charging interfaces. Some test indicators such as battery performance and specifications are not unified, and there are even large differences.
[0003] In response to the above problems, a number of high-level charger detection test research institutions have been supported by the state for construction. With the gradual enhancement of the test capabilities, relevant research institutions in China have carried out relevant work in consistency detection and electric vehicle charging interface detection. Shanghai Electric Equipment Inspection Institute Co., Ltd. began to provide the verification service for the measurement ability of the charging connection control timing of AC charging piles in 2021, and achieved good results.
[0004] Most of the existing charging pile detection systems have perfect functions and high detection accuracy. In contrast, they are generally large in volume, not portable enough, and expensive. The portable charging pile detection system focuses on compressing the volume. How to study the implementation methods of functions such as power supply, charging logic interaction, and CAN communication under the constraints of limited space and limited weight, develop a micro charging simulation control circuit board, a low-delay and high-stability DC contactor, a charging protocol conversion board, and a sealing and encapsulation design method to achieve a more portable and low-cost charging pile detection system is still a challenging task.
[0005] Therefore, there is a need to provide an electric vehicle comparison sample pile simulation device. Summary of the Invention
[0006] The purpose of the present invention is to provide an electric vehicle comparison sample pile simulation device to solve at least one of the above problems.
[0007] To achieve the above object, the present invention adopts the following technical solutions:
[0008] An electric vehicle comparison sample pile simulation device, comprising:
[0009] A CAN bus module, a relay module, and a main controller
[0010] The CAN bus module includes a CAN controller and a CAN transceiver, and is used to convert the SPI communication interface of the main controller into a CAN communication interface;
[0011] The relay module is used to control the opening and closing of the charging power line of the electric vehicle;
[0012] The main controller is used to control the CAN bus module, the relay module, and the indicator light module.
[0013] Preferably, the analog device further includes an indicator light module, which is used as an indicator light for the charging status of the electric vehicle comparison sample pile.
[0014] Preferably, the main controller includes:
[0015] A power interface, which is used to provide a stable voltage to each module;
[0016] An analog interface for reading an analog voltage; and
[0017] A digital interface, which is used to provide a pin multiplexing function.
[0018] Preferably, the power interface includes a first power interface, a second power interface, a GND interface, and a RESET interface. The first power interface is used to supply power to the relay module, and the second power interface is used to supply power to the CAN controller;
[0019] The GND interface is respectively used to provide a reference ground voltage for the CAN controller, provide a reference ground voltage for the relay, and provide a reference ground voltage for voltage measurement;
[0020] The RESET interface is used to reset and reconfigure the main controller.
[0021] Preferably, the digital interface includes:
[0022] The first and second digital interfaces, which are used as external interrupt interfaces;
[0023] The third digital interface, which is used as a host input / slave output data line;
[0024] The fourth digital interface, which is used as a host output / slave input data line;
[0025] The fifth digital interface, which is used as an SCK serial clock line or a reserved interface for a debug LED.
[0026] Preferably, the charging power line includes a first charging power line and a second charging power line. The first charging power line is connected to the first power interface, and the second charging power line is connected to the second GND interface. The indicator module is connected across both ends of the charging power line. When the charging power line is connected, the indicator light is on; when the charging power line is disconnected, the indicator light is off.
[0027] Preferably, the comparison sample pile further includes a voltage division circuit. One end is used to measure the voltage at the test point, and the other end is connected to the analog interface, and the analog interface is grounded through a resistor. Preferably, the CAN bus module is an MCP2515_CAN module or a Zhou Ligong CAN communication module. Preferably, the main controller is an Arduino or an STM32 series single-chip microcomputer or a Raspberry Pi.
[0028] Preferably, the indicator module is an LED metal indicator of model AD22C-8S.
[0029] The beneficial effects of the present invention are as follows:
[0030] The present invention takes into account both portability and cost-effectiveness, and can realize the basic functions required for an electric vehicle comparison sample pile within a limited space and at a limited cost, and develop a low-cost and small-scale proficiency testing method applicable to the new proficiency testing transfer path between multiple laboratories. Description of the Drawings
[0031] The following further describes in detail the specific embodiments of the present invention in conjunction with the drawings.
[0032] Figure 1 Shows the hardware composition block diagram of the comparison sample pile of the present invention.
[0033] Figure 2 Shows the pin labeling diagram of Arduino UNO in an embodiment of the present invention.
[0034] Figure 3 Shows the physical diagram of the MCP2515_CAN module in an embodiment of the present invention.
[0035] Figure 4 Shows the physical connection diagram of Arduino UNO and the MCP2515_CAN module in an embodiment of the present invention.
[0036] Figure 5 Shows the schematic connection diagram of Arduino UNO and the MCP2515_CAN module in an embodiment of the present invention.
[0037] Figure 6 Shows the schematic connection diagram of Arduino UNO and the solid-state relay module in an embodiment of the present invention.
[0038] Figure 7 Shows the physical connection diagram between Arduino UNO and the solid-state relay module in an embodiment of the present invention.
[0039] Figure 8 Shows the physical diagram of the AD22C-8S metal indicator light in an embodiment of the present invention.
[0040] Figure 9 Shows the schematic connection diagram between the solid-state relay and the status indicator light in an embodiment of the present invention.
[0041] Figure 10 Shows the schematic diagram of the voltage division circuit in an embodiment of the present invention.
[0042] Figure 11 Shows the schematic circuit diagram of the comparison sample pile in an embodiment of the present invention.
[0043] Figure 12 Shows the physical diagram of the comparison sample pile in an embodiment of the present invention. Detailed implementation
[0044] To more clearly illustrate the present invention, the present invention will be further described below in conjunction with preferred embodiments and the accompanying drawings. Similar components in the drawings are denoted by the same reference numerals. Those skilled in the art should understand that the content specifically described below is illustrative rather than restrictive, and should not be used to limit the protection scope of the present invention.
[0045] Most of the existing portable charging piles are relatively large in size. The present invention mainly studies the implementation methods of power supply, charging logic interaction, CAN communication, etc. under the constraints of limited space and limited weight, develops a micro charging analog control circuit board, a low-delay and high-stability DC contactor, a charging protocol conversion board, and a sealing and encapsulation design method, and develops a low-cost and small-scale proficiency testing method applicable to the new proficiency testing transfer path between multiple laboratories.
[0046] As Figure 1-12 shown, an embodiment of the present invention provides an electric vehicle comparison sample pile, including:
[0047] A CAN bus module, a relay module, and a main controller,
[0048] The CAN bus module includes a CAN controller and a CAN transceiver, and is used to convert the SPI communication interface of the main controller into a CAN communication interface;
[0049] The relay module is used to control the opening and closing of the electric vehicle charging power line;
[0050] The main controller is used to control the CAN bus module, the relay module, and the indicator light module.
[0051] Specifically, in order to reduce the volume and cost, the comparison sample pile mainly realizes three functions: CAN protocol communication, charging voltage switching, and charging status indication. The three functions respectively correspond to the CAN bus module, the relay module, and the indicator light module. The main controller is the core of the entire system, which controls the other three modules to ensure the normal operation of the functions. The relay module includes a control guide circuit and a contactor. The control guide circuit includes CP, CC, and PE signal lines. The relay module is used to control the switching of the DC+ and DC- charging power lines of the electric vehicle.
[0052] In an optional embodiment, the main controller includes a power interface for providing a stable voltage to each module;
[0053] an analog interface for reading the analog voltage; and
[0054] a digital interface for providing a pin multiplexing function.
[0055] In an optional embodiment, the power interface includes a first power interface, a second power interface, a first GND interface, a second GND interface, a third GND interface, and a RESET interface. The first power interface is used to supply power to the relay module, and the second power interface is used to supply power to the CAN controller;
[0056] The first GND interface is used to provide a reference ground voltage for the CAN controller, the second GND interface is used to provide a reference ground voltage for the relay, and the third GND interface is used to interface with the external vehicle battery management system device quadrant to provide a reference ground voltage for voltage measurement;
[0057] The RESET interface is used to reset and reconfigure the main controller.
[0058] In an optional embodiment, the digital interface includes:
[0059] the first and second digital interfaces for serving as external interrupt interfaces;
[0060] the third digital interface for serving as a host input / slave output data line;
[0061] the fourth digital interface for serving as a host output / slave input data line;
[0062] the fifth digital interface for serving as an SCK serial clock line or a reserved interface for a debug LED.
[0063] In an alternative embodiment, the charging power line includes a first charging power line and a second charging power line. The first charging power line is connected to the first power interface, and the second charging power line is connected to the second GND interface. The indicator light module is connected across both ends of the charging power line. When the charging power line is connected, the indicator light is on; when the charging power line is disconnected, the indicator light is off.
[0064] In an alternative embodiment, the comparison sample pile further includes a voltage division circuit connected to the analog interface for ensuring the safe use of the main controller.
[0065] In an alternative embodiment, the RESET interface cooperates with the first GND interface to reset the main controller.
[0066] In an alternative embodiment, the analog interface cooperates with the third GND interface to measure the voltage at the test point.
[0067] In an alternative embodiment, the main controller is an Arduino or an STM32 series single-chip microcomputer or a Raspberry Pi. The CAN bus module is an MCP2515_CAN module or a Zhou Ligong CAN communication module. The relay is a solid-state relay.
[0068] In an alternative embodiment, the indicator light module is an LED metal indicator light of model AD22C-8S.
[0069] In a specific embodiment of the present invention, the three functions respectively correspond to an MCP2515_CAN module, a solid-state relay module, and an indicator light. The relay module uses a GTD-5V-5A high-level trigger solid-state relay, and the main controller selects an Arduino UNO, and its pin markings are as Figure 2 shown, and the MCP2515_CAN module is as Figure 3 shown. It is a CAN bus module that includes an MCP2515 CAN controller and a TJA1050 CAN transceiver. It integrates several simple functions, enabling the single-chip microcomputer to be easily plugged in and used, converting the SPI interface into a CAN interface; MCP2515 is an independent CAN controller that can simplify the application scenarios that need to be connected to the CAN bus;
[0070] such as Figure 4-5As shown, the SPI (Serial Peripheral Interface) interface on the Arduino (main controller) is connected to the MCP2515_CAN module. The Arduino main control board supports the SPI protocol. By simply connecting the corresponding pins, the MCP2515_CAN module can be used to access the CAN bus and communicate with other CAN devices. The corresponding pin connections and functions are shown in Table 1:
[0071] Table 1 Pin Resource Allocation between Arduino UNO and MCP2515_CAN Module
[0072]
[0073]
[0074] The relay module is used to control the opening and closing of the charging power line, that is, the two lines DC+ and DC- in the aforementioned control and guidance circuit. In the control and guidance circuit, DC+ is connected to a contactor K1, and DC- is connected to a contactor K2, a total of two contactors are required. Since DC+ and DC- are actually a charging circuit, using only one contactor can also achieve the effect of controlling the opening and closing of the charging power line, and it can save space. Here, only one contactor is used to control the opening and closing of DC+ and DC-. The same is true for the low-voltage auxiliary lines A+ and A-.
[0075] The parameters of the GTD-5V-5A high-level trigger solid-state relay are as follows: rated operating voltage 5V, DC load voltage range 5 - 220V, maximum DC load current 5A, the action time is tested to be stable at about 1ms, length 72mm, width 27mm, height 25mm, and the price is between 15 and 20 yuan. It is divided into two styles: high-level trigger and low-level trigger.
[0076] As Figure 6-7 shown, the Arduino UNO main control board is connected to the solid-state relay GTD-5V-5A module, and the pin connections and functions are shown in Table 2.
[0077] Table 2 Pin Resource Allocation between Arduino UNO and Relay Module
[0078] Arduino Pin Connected Module Module Pin Usage 5v Solid State Relay DC+ Power the relay GND Solid State Relay DC- Provide the reference ground for the solid state relay D3 Solid State Relay IN Provide the action signal
[0079] Considering that the indicator light is exposed, it may be subjected to greater environmental tests during transportation and detection, and the charging pile will also generate a certain degree of heat during the charging process. Therefore, the state indicator light of the comparison sample pile is required to be wear-resistant, corrosion-resistant, and can work normally at a higher ambient temperature.
[0080] In addition, the operating voltage of the selected indicator light should be 12V. After selection and comparison, an LED metal indicator light of model AD22C-8S was chosen as the status indicator light for the electric vehicle comparison sample pile. The following are its main technical specifications: operating voltage 12V; waterproof and corrosion-resistant; operating temperature -40~+70°C; built-in resistor. The metal indicator light is connected across the two ends of the power lines DC+ and DC-. When the relay connects DC+ and DC-, the indicator light turns on, indicating that charging is in progress; if DC+ and DC- are disconnected, there is no voltage across the indicator light, and the indicator light goes out, indicating that charging has stopped. As Figure 9 shown, the solid-state relay GTD-5V-5A module is connected to the status indicator light AD22C-8S.
[0081] As Figure 10 shown is the voltage-dividing circuit in this embodiment. To detect the voltage at point CC1, it can be directly completed through the analog interface of Arduino. Just draw a wire from analog interface A0 and connect it to test point 1 to measure it. However, the technical specifications of Arduino itself limit the maximum voltage and current that can pass through the analog interface, which are 5V and 40mA respectively. If the analog interface is directly used to contact a voltage exceeding 5V, the board is easily burned out. The normal voltage at test point 1 when it is not connected to the vehicle interface is 6V, and it can briefly boost to 12V during the connection process, which is difficult for the Arduino UNO main control board to directly withstand. Therefore, the voltage-dividing circuit of the present invention can be used to ensure the safe use of the Arduino UNO main control board.
[0082] As shown in Table 3, it is the total resource allocation table of Arduino UNO. A total of 14 pins are used, including 5 power pins, 1 analog pin, 7 digital pins, and 1 RESET pin. The RESET pin cooperates with the D6 digital pin to be responsible for resetting Arduino in the software program. A0 cooperates with a GND pin to be responsible for measuring the voltage at test point 1 on the CC1 line.
[0083] Table 3 Total Resource Allocation Table of Arduino UNO
[0084] Arduino Pin Connected Module Module Pin Usage RESET Arduino D6 Reset Arduino in the program 5v Solid State Relay DC+ Power the relay 5v MCP2515 VCC Power MCP2515 GND MCP2515 GND Provide the reference ground for MCP2515 GND Voltage Divider Circuit - Provide the reference ground for voltage measurement GND Solid State Relay DC- Provide the reference ground for the solid state relay A0 Voltage Divider Circuit - Measure voltage D2 MCP2515 INT Interrupt D3 Solid State Relay IN Provide the action signal D6 Arduino RESET Reset Arduino in the program D9 MCP2515 CS Chip Select D11 MCP2515 SI Data Input D12 MCP2515 SO Data Output D13 MCP2515 SCLK Clock Input
[0085] As Figure 11-12As shown in the figure, after considering the comprehensive technical index requirements and pin resource allocation, the comparative sample pile for electric vehicles designed by the present invention realizes functions such as power supply, charging logic interaction, and CAN communication under the constraints of limited space and limited weight. The present invention develops a micro charging simulation control circuit board, a DC contactor with low delay and high stability, a charging protocol conversion circuit board, and a sealing and encapsulation design method. The present invention takes into account both portability and cost performance, and can realize the basic functions required for a comparative sample pile for electric vehicles within limited space and limited cost, and develop a low-cost and small-scale proficiency testing method applicable to the new proficiency testing transfer path between multiple laboratories.
[0086] Obviously, the above-mentioned embodiments of the present invention are merely examples for clearly illustrating the present invention, rather than limiting the implementation manners of the present invention. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to enumerate all the implementation manners here. Any obvious changes or modifications derived from the technical solutions of the present invention still fall within the protection scope of the present invention.
Claims
1. An electric vehicle comparison sample pile simulation device, characterized in that, Including: A CAN bus module, a relay module, and a main controller, The CAN bus module includes a CAN controller and a CAN transceiver, and is used to convert the SPI communication interface of the main controller into a CAN communication interface; The relay module is used to control the opening and closing of the electric vehicle charging power line; The main controller is used to control the CAN bus module, the relay module, and the indicator light module; The main controller includes: A power interface, which is used to provide a stable voltage to each module; An analog interface, which is used to measure the voltage of the test point; and A digital interface, which is used to provide a pin multiplexing function; The power interface includes a first power interface, a second power interface, a GND interface, and a RESET interface. The first power interface is used to supply power to the relay module, and the second power interface is used to supply power to the CAN controller; The GND interface is respectively used to provide a reference ground voltage for the CAN controller, provide a reference ground voltage for the relay, and provide a reference ground voltage for voltage measurement; The RESET interface is used to reset and reconfigure the main controller; The digital interface includes: The first and second digital interfaces, which are used as external interrupt interfaces; The third digital interface, which is used as a host input / slave output data line; The fourth digital interface, which is used as a host output / slave input data line; The fifth digital interface, which is used as an SCK serial clock line or a reserved interface for a debug LED; The charging power line includes a first charging power line and a second charging power line. The first charging power line is connected to the first power interface, and the second charging power line is connected to the second GND interface. The indicator light module is connected across the two ends of the charging power line. When the charging power line is connected, the indicator light is on; when the charging power line is disconnected, the indicator light is off.
2. The electric vehicle comparison sample pile simulation device according to claim 1, characterized in that, The comparison sample pile further includes a voltage dividing circuit. One end is used to measure the voltage of the test point, and the other end is connected to the analog interface, and the analog interface is grounded through a resistor.
3. The electric vehicle comparison sample pile simulation device according to claim 1, characterized in that The CAN bus module is an MCP2515_CAN module or a ZLG CAN communication module.
4. The electric vehicle comparison sample pile simulation device according to claim 1, wherein The main controller is an Arduino or an STM32 series single-chip microcomputer or a Raspberry Pi.
5. The electric vehicle comparison sample pile simulation device according to claim 1, characterized in that The indicator light module is an LED metal indicator light of model AD22C-8S.
Citation Information
Patent Citations
Electric vehicle charging pile's portable detection instrument and method for the same
CN107238766A
Electric vehicle charging pile operation and maintenance practical training system
CN110969910A