Electric automobile power supply equipment and burning equipment for upgrading program of electric automobile power supply equipment through CP signal

By using CP signals to upgrade the connection between the equipment and the electric vehicle power supply equipment, and using the level conversion circuit to convert the data subcontracting level into the CP signal, the program upgrade of the power supply equipment can be achieved without disassembling the housing, solving the problems of cumbersome upgrade process and low safety performance.

CN119806579AActive Publication Date: 2025-04-11CHINA AVIATION OPTICAL ELECTRICAL TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411862290.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-11
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

When upgrading the electric vehicle power supply equipment, it is necessary to disassemble the shell, which is cumbersome and reduces the safety performance of the product.

Method used

The CP signal upgrade device is connected to the power supply device, and the data sub-package level in the main control chip MCU is converted into a level recognized by the CP signal. The data sub-package is sent to the main control chip of the power supply device through the CP bus to realize program upgrade.

Benefits of technology

The program upgrade can be completed without disassemblying the housing of the power supply equipment, simplifying the upgrade process and improving the safety performance of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806579A_ABST
    Figure CN119806579A_ABST
Patent Text Reader

Abstract

The invention relates to electric vehicle power supply equipment and burning equipment for upgrading programs of the electric vehicle power supply equipment through CP signals, and belongs to the technical field of power supply equipment. The burning equipment comprises a first main control chip MCU (Microprogrammed Control Unit); the main control chip MCU comprises a data sending serial port used for sending a data subpackage used for power supply equipment program upgrading, and the data sending serial port is connected with a level conversion circuit used for converting data from the level of the main control chip MCU to the CP level. The output end of the level conversion circuit is used for being connected with a CP port of the power supply equipment so as to send data subpackages to a main control chip of the power supply equipment through a CP bus. When program upgrading needs to be carried out on the power supply equipment, a shell of the power supply equipment does not need to be disassembled, the programming equipment is connected with CP signals of the power supply equipment, and the level of a data subpackage used for carrying out program upgrading on the power supply equipment in the main control chip MCU is converted into a level capable of being recognized by the CP signals through the level conversion circuit; and sending the data subpackage to the main control chip of the power supply equipment through the CP bus to finish program upgrading of the power supply equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an electric vehicle power supply device and a burning device for upgrading the program thereof through a CP signal, belonging to the technical field of power supply devices. Background Art

[0002] The CP signal is the communication bridge between the charging pile and the vehicle OBC (On-Board Charger). Figure 5 The CP generating circuit allows the charging pile to exchange information with the charging vehicle to monitor and control the charging process. By monitoring the interaction between the charging pile and the new energy vehicle, including the stages of pulling out the gun, inserting the gun, charging preparation, charging start and stopping charging, the charging pile can understand the charging needs and status of the vehicle in real time to ensure the smooth progress of the charging process.

[0003] When upgrading the program of the electric vehicle power supply device, there is no way to directly burn the program because there is no external burning interface reserved on the electric vehicle power supply device. The shell of the power supply device must be disassembled. As shown in Figure 1 (a) and Figure 1 (b), it is a traditional program burning interface. The program is burned to the MCU through the SWD or JTAG interface on the internal circuit board of the device using a burner. The whole process is cumbersome, and the sealing is not good after disassembly, which reduces the safety performance of the product. Summary of the invention

[0004] The purpose of the present invention is to provide an electric vehicle power supply device and a burning device for upgrading its program through a CP signal, so as to solve the problem that the power supply device program upgrade requires the shell to be disassembled.

[0005] To achieve the above object, the solution of the present invention includes: A burning device for upgrading a program of an electric vehicle power supply device through a CP signal of the present invention comprises a first main control chip MCU; the main control chip MCU comprises a data sending serial port for sending data packets for upgrading the power supply device program, the data sending serial port is connected to a level conversion circuit for converting data from the main control chip MCU level to the CP level; the output end of the level conversion circuit is used to be connected to the CP port of the power supply device to send the data packets to the main control chip of the power supply device through the CP bus.

[0006] Furthermore, the level conversion circuit includes a first operational amplifier, one input end of the first operational amplifier is connected to the data sending serial port, the other input end is connected to a voltage divider circuit, and the output end serves as the output end of the level conversion circuit; the voltage divider circuit is composed of a pull-up resistor with one end connected to a high level corresponding to the main control chip MCU and a pull-down resistor with one end connected to the ground in series, and the first operational amplifier is connected between the pull-up resistor and the pull-down resistor.

[0007] Furthermore, it also includes a CP detection circuit for converting the CP level into a level recognizable by the main control chip MCU; the main control chip MCU also includes a logic receiving serial port for receiving the output signal of the CP detection circuit; the input end of the CP detection circuit is used to be connected to the CP port of the power supply device; the CP detection circuit is used to determine whether an error occurs in the data packet received by the power supply device based on the first preset signal and the second preset signal output by the power supply device through its CP port.

[0008] Furthermore, the CP detection circuit includes a third operational amplifier for signal conversion; one input end of the third operational amplifier serves as the input end of the CP detection circuit, the other input end is connected to a voltage divider loop, and the output end serves as the output end of the CP detection circuit; the voltage divider loop is composed of a pull-up resistor with one end connected to a high level corresponding to the main control chip MCU and a pull-down resistor with one end connected to the ground in series, and the third operational amplifier is connected between the pull-up resistor and the pull-down resistor.

[0009] The beneficial effects of the present invention are as follows: when it is necessary to upgrade the program of the power supply device, it is not necessary to disassemble the shell of the power supply device. The burning device is connected to the CP signal of the power supply device, and the level of the data packet used for program upgrading of the power supply device in the main control chip MCU is converted into a level recognizable by the CP signal by using the level conversion circuit. The data packet is sent to the main control chip of the power supply device through the CP bus to complete the program upgrade of the power supply device.

[0010] An electric vehicle power supply device of the present invention comprises a main control chip MCU; the main control chip MCU comprises a data receiving serial port for receiving data packets for power supply device program upgrade, the data receiving serial port is connected to a CP sampling circuit for converting a CP level signal into a level signal recognizable by a first main control chip MCU; the receiving end of the CP sampling circuit is used to be connected to a CP port of the power supply device to receive data packets for the main control chip of the power supply device through a CP bus.

[0011] Furthermore, the CP sampling circuit includes a second operational amplifier for signal conversion; one input end of the second operational amplifier serves as a receiving end of the CP sampling circuit, the other input end is connected to a voltage divider circuit, and the output end is connected to the data receiving serial port; the voltage divider circuit is composed of a pull-up resistor with a high level corresponding to the main control chip MCU at one end and a pull-down resistor connected to the ground at one end in series, and the second operational amplifier is connected between the pull-up resistor and the pull-down resistor.

[0012] Furthermore, the CP generating circuit of the power supply device also outputs a first preset signal when the main control chip MCU verifies that an error occurs in the data subpacket and requests to resend the previous data subpacket, and outputs a second preset signal when the data subpacket is verified to be correct and requests to send the next data subpacket.

[0013] The beneficial effects of the present invention are: it is possible to detect whether an error occurs during data transmission, enhance communication reliability, and simplify the error handling process. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG. 1 (a) is a circuit diagram of a JTAG program burning interface in the prior art; FIG1( b ) is a circuit diagram of a SWD program burning interface in the prior art; Figure 2 It is a circuit principle diagram of a burning device for upgrading the program of an electric vehicle power supply device through a CP signal of the present invention when connected to an electric vehicle power supply device of the present invention; Figure 3 It is the circuit schematic diagram of the level conversion circuit; Figure 4 It is the circuit schematic diagram of the CP sampling circuit; Figure 5 It is the circuit schematic diagram of the CP generating circuit; Figure 6 This is the circuit schematic diagram of the CP detection circuit. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail in a clear and complete manner in conjunction with the accompanying drawings and embodiments.

[0016] The idea of ​​the present invention is to use the CP signal existing in the power supply device for interacting with the new energy vehicle in conjunction with the burning device, connect the burning device with the CP signal of the power supply device, use the level conversion circuit to convert the level of the data packet used for program upgrade of the power supply device in the main control chip MCU into a level recognizable by the CP signal, send the data packet to the main control chip MCU of the power supply device through the CP bus, and realize the program upgrade of the power supply device without disassembling the shell of the power supply device.

[0017] Burning equipment example: like Figure 2 As shown, a power supply device (such as a charging pile) of the present invention is connected to the burning device of this embodiment through a charging gun, and the CP signal terminal and PE grounding terminal in the charging gun are connected to the CP interface and grounding interface on the corresponding interface of the burning device. The burning device is connected to the electric vehicle power supply device through the CP signal line in the charging gun, and the data used for upgrading the power supply device system in the burning device is subpacketized and transmitted to the power supply device through the CP signal, thereby completing the program upgrade of the electric vehicle power supply device.

[0018] Specifically, Figure 2 As shown, the programming device includes a first main control chip MCU, a level conversion circuit and a data export interface.

[0019] USART_TXD in the main control chip MCU is the serial port for sending data.

[0020] like Figure 3 As shown, the level conversion circuit includes a first operational amplifier U2. The positive input terminal of the operational amplifier U2 is connected to the data transmission serial port USART_TXD in the first main control chip MCU through a resistor R12, and the reverse input terminal is connected to the first voltage-dividing loop through a resistor R11. The output terminal outputs the converted signal at the data output interface through a resistor R13, and the data output interface is connected to the CP signal line. The first voltage-dividing loop is composed of a first pull-up resistor R14 connected to a high level VCC3 corresponding to the main control chip MCU at one end and a first pull-down resistor R15 connected in series at one end, and the reverse input terminal of the first operational amplifier is connected between the first pull-up resistor R14 and the first pull-down resistor R15. The power supply for the first operational amplifier U2 is a level with a high level of VCC1 and a low level of VCC2.

[0021] Specifically, the upgrade program is stored in the internal Flash of the first main control chip MCU of the burning device. The burning device reads the upgrade program in the internal Flash of the first main control chip MCU, and sends the upgrade program data in packets through the USART_TXD data sending serial port; USART_TXD is the data to be transmitted, and USART_TXD is carried by a first level signal with a high level of VCC3 and a low level of GND. Since there is a first high level signal with a high level of VCC1 and a first low level signal with a low level of VCC2 at the CP signal after the charging gun is powered on, if data packet transmission is to be performed through the CP signal, the first level signal with a high level of VCC3 and a low level of GND carrying the data packet needs to be converted into a square wave signal with a high level of VCC1 and a low level of VCC2 in the CP signal. (Similarly, if data packets are to be received at the data receiving end, the square wave signal with a high level of VCC1 and a low level of VCC2 carrying the data packets in the CP signal needs to be converted into a first level signal with a high level of VCC3 and a low level of GND.) This level signal is connected to the positive input terminal of the first operational amplifier U2, and after being processed by the first operational amplifier U2, a square wave signal with a high level of VCC1 and a low level of VCC2 corresponding to the CP signal is generated.

[0022] like Figure 2 As shown, the electric vehicle power supply device includes a second main control chip MCU and a CP sampling circuit.

[0023] USART_RXD in the second main control chip MCU is the data receiving serial port.

[0024] like Figure 4As shown, the CP sampling circuit includes a second operational amplifier U4. The positive input terminal of the second operational amplifier U4 is connected to the CP signal through a resistor R3, the reverse input terminal is connected to the second voltage-dividing loop, one end of the second pull-up resistor R1, and the other end of the second pull-up resistor R1 is connected to the first high-level signal VCC3, and the output terminal is connected to the USART_RXD data receiving serial port in the second main control chip MCU through a resistor R10, and a resistor R20 is connected between the resistor R10 and the USART_RXD data receiving serial port, and the other end of the resistor R20 is grounded. The second voltage-dividing loop is composed of a second pull-up resistor R1 connected to the high-level VCC3 corresponding to the main control chip MCU at one end and a second pull-down resistor R2 connected to the ground at one end in series, and the reverse input terminal of the second operational amplifier is connected between the second pull-up resistor R1 and the second pull-down resistor R2. The power supply for the second operational amplifier U4 is a level with a high level of VCC1 and a low level of GND.

[0025] Specifically, the positive input terminal of the second operational amplifier U4 receives a square wave signal in which the high level of the CP signal is VCC1 and the low level is VCC2. This signal is converted by the second operational amplifier U4 into a signal in which the high level is VCC3 and the low level is GND, which can be recognized by the second main control chip MCU. That is, the square wave signal in which the high level of the CP signal is VCC1 and the low level is VCC2 is converted into the receive data USART_RXD corresponding to the USART_TXD data sent by the first main control chip MCU. The USART_RXD receive data is input to the second main control chip MCU through the data receiving serial port, and the data is stored in the update area of ​​the Flash.

[0026] Repeat the above steps until the data sub-packet transmission of the upgrade program is completed, the power supply device restarts and executes the BOOT program, copies the program data in the update area to the running area, overwrites the original program, and completes the program update.

[0027] In order to detect whether errors occur during data transmission, enhance communication reliability, and simplify the error handling process, an implementable method is to add a check byte at the end of the sub-packet message of the data sent in the sub-packet and add a CP detection module in the burning device. The second main control chip MCU is used for data verification. Different verification results will generate different preset signals at the logic output serial port CP_PWM of the second main control chip MCU. The generated preset signal is output and converted using the module (i.e., CP generation circuit) in the charging pile that was originally used to communicate data with the charging vehicle, and transmitted to the CP detection circuit of the burning device through the CP signal line. The second main control chip MCU feeds back the preset signal.

[0028] like Figure 6As shown, the CP detection circuit includes a third operational amplifier U3. The reverse input terminal of the third operational amplifier U3 is connected to the CP signal through a resistor R19, the forward input terminal is connected to a voltage divider loop, and the output terminal is connected to a preset signal receiving point GPIO in the second main control chip MCU through a resistor R21. A resistor R22 is connected between the resistor R21 and the preset signal receiving point GPIO, and the other end of the resistor R22 is grounded. The third voltage divider loop is composed of a third pull-up resistor R16 with one end connected to a high level VCC3 corresponding to the main control chip MCU and a second pull-down resistor R17 connected to the ground at one end in series, and the reverse input terminal of the third operational amplifier is connected between the third pull-up resistor R16 and the third pull-down resistor R17. The power supply for the third operational amplifier U3 is a level with a high level of VCC1 and a low level of GND. Specifically, after receiving the data packet, the second main control chip MCU of the power supply device verifies the bytes at the end of the data packet message. If the verification fails, the logic output serial port CP_PWM of the second main control chip MCU outputs the logic 1 state, that is, the first preset signal; if the verification succeeds, the logic output serial port CP_PWM of the second main control chip MCU outputs the logic 0 state, that is, the second preset signal. In the case of successful verification, a request is made to send the next set of data packets. At this time, the logic output serial port CP_PWM of the second main control chip MCU outputs logic 0. In this logic state, the logic output serial port CP_PWM outputs a 100ms pulse signal with a voltage of VCC3. The 100ms pulse signal with a voltage of VCC3 is processed by the third operational amplifier U1 of the CP generating circuit and becomes a 100ms pulse with a voltage of VCC1 that can be recognized by the CP signal line. This pulse signal flows out from the CP signal line to perform error feedback. After being processed by the fourth operational amplifier U3 of the CP detection circuit of the burning device, it is converted into a 100ms pulse signal with a voltage of VCC3 that can be recognized by the first main control chip MCU. The 100ms pulse signal with a voltage of VCC3 is detected by the first main control chip MCU, and the burning device will send the next group of data packets; if the verification fails, it requests to resend the previous group of data packets. At this time, the logic output serial port CP_PWM of the second main control chip MCU outputs logic 1. Under this logic state, the logic output serial port CP_PWM continuously outputs a high-level signal with a voltage of VCC3. The high-level signal with a voltage of VCC3 is processed by the third operational amplifier U1 of the CP generating circuit and becomes a high-level signal with a voltage of VCC1 that can be recognized by the CP signal line. After this high-level signal flows out from the CP signal line, it is processed by the fourth operational amplifier U3 of the CP detection circuit of the burning device and converted into a high-level signal with a voltage of VCC3 that can be recognized by the first main control chip MCU. The high-level signal with a voltage of VCC3 is detected by the first main control chip MCU, and the burning device will send the previous group of data packets.

[0029] Repeat the above steps until the data sub-packet transmission of the upgrade program is completed, the power supply device restarts and executes the BOOT program, copies the program data in the update area to the running area, overwrites the original program, and completes the program update.

[0030] Power supply equipment embodiment: A power supply device embodiment provided by the present invention can achieve the same beneficial effects as those described in the burning device embodiment, which will not be described in detail here.

Claims

1. A burning device for upgrading the program of electric vehicle power supply equipment through CP signal, characterized in that: It comprises a first main control chip MCU; the main control chip MCU comprises a data sending serial port for sending data packets for power supply device program upgrade, the data sending serial port is connected to a level conversion circuit for converting data from the main control chip MCU level to the CP level; the output end of the level conversion circuit is used to be connected to the CP port of the power supply device to send data packets to the main control chip of the power supply device through the CP bus.

2. The burning device for upgrading the electric vehicle power supply device program through the CP signal according to claim 1 is characterized in that: The level conversion circuit includes a first operational amplifier, one input end of the first operational amplifier is connected to the data sending serial port, the other input end is connected to the voltage divider circuit, and the output end serves as the output end of the level conversion circuit; the voltage divider circuit is composed of a pull-up resistor with one end connected to a high level corresponding to the main control chip MCU and a pull-down resistor with one end connected to the ground in series, and the first operational amplifier is connected between the pull-up resistor and the pull-down resistor.

3. The burning device for upgrading the electric vehicle power supply device program through the CP signal according to claim 1 is characterized in that: It also includes a CP detection circuit for converting the CP level into a level recognizable by the main control chip MCU; the main control chip MCU also includes a logic receiving serial port for receiving an output signal of the CP detection circuit; The CP detection circuit input end is used to be connected to the CP port of the power supply device; the CP detection circuit is used to determine whether an error occurs in the data packet received by the power supply device based on the first preset signal and the second preset signal output by the power supply device through its CP port.

4. The burning device for upgrading the electric vehicle power supply device program through the CP signal according to claim 3 is characterized in that: The CP detection circuit includes a third operational amplifier for signal conversion; one input end of the third operational amplifier serves as the input end of the CP detection circuit, the other input end is connected to a voltage divider loop, and the output end serves as the output end of the CP detection circuit; the voltage divider loop is composed of a pull-up resistor with one end connected to a high level corresponding to the main control chip MCU and a pull-down resistor with one end connected to the ground in series, and the third operational amplifier is connected between the pull-up resistor and the pull-down resistor.

5. An electric vehicle power supply device, characterized in that: It includes a main control chip MCU; the main control chip MCU includes a data receiving serial port for receiving data packets for power supply device program upgrade, and the data receiving serial port is connected to a CP sampling circuit for converting a CP level signal into a level signal recognizable by the first main control chip MCU; the receiving end of the CP sampling circuit is used to be connected to the CP port of the power supply device to receive data packets for the main control chip of the power supply device through the CP bus.

6. The electric vehicle power supply device according to claim 5, characterized in that: The CP sampling circuit includes a second operational amplifier for signal conversion; one input end of the second operational amplifier serves as the receiving end of the CP sampling circuit, the other input end is connected to a voltage divider circuit, and the output end is connected to the data receiving serial port; the voltage divider circuit is composed of a pull-up resistor with a high level corresponding to the main control chip MCU at one end and a pull-down resistor connected to the ground at one end in series, and the second operational amplifier is connected between the pull-up resistor and the pull-down resistor.

7. The electric vehicle power supply device according to claim 5, characterized in that: The CP generating circuit of the power supply device also outputs a first preset signal when the main control chip MCU verifies that an error occurs in the data subpacket and requests to resend the previous data subpacket, and outputs a second preset signal when the data subpacket is verified to be correct and requests to send the next data subpacket.

Citation Information

Patent Citations

  • Burning debugging circuit and burning debugger

    CN110806879A

  • Universal DSP online upgrading system and upgrading method based on serial port

    CN111008033A

  • Burning device and burning equipment

    CN118295671A

  • Equipment upgrading circuit based on USB interface and electronic equipment

    CN213182717U

  • Direct-current charging control panel for converting daily mark into Tesla

    CN219642113U