Electric vehicle power on and off control device and software design method under discharge
By independently designing the up-down power control module in the discharge state of an electric vehicle and the vehicle system state module, the adaptation difficulty caused by the complexity of up-down power control in the existing technology is solved, and the clear system architecture and the guarantee of up-down power safety is achieved.
Patent Information
- Application Number
- CN202210604209.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2042-05-30
AI Technical Summary
In the discharge state of electric vehicles, the up and down control process is complicated, resulting in relatively complex software units, which can easily lead to increased difficulty in secondary development and new project adaptation.
The up and down power control module is independently designed and communicated with each other, and the state module of the entire vehicle system is separately managed and controlled. The architecture is clear, which is easy to maintain and adapt to new projects.
Through a layered architecture, the power-up and power-down control process is simplified, the system maintenance and adaptation efficiency is improved, and the power-up and power-up safety is ensured.
Smart Images

Figure CN115195497B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of electric vehicles, and in particular relates to a power-on and power-off control device and a software design method for an electric vehicle under discharge. Background Art
[0002] Electric vehicles have two states: charging and discharging. The charging state refers to the state of communication between the electric vehicle and the charging pile when the electric vehicle power battery is low on power. The discharging state refers to the state in which the battery (especially the power battery) supplies power to various components of the vehicle to drive each component to perform corresponding work when it has enough power. In the discharging state, the control system can be used to enable the battery to supply power to various components, which is called power-on; or the components can be powered off, which is called power-off.
[0003] like Figure 1 As shown in the figure, the basic process of power on and off in the discharge state is: the key is turned to the On position, the VCU (Vehicle Control Unit) performs power-on initialization and controls the low-voltage power-on, and monitors the initialization status of the BMS (Battery Management System) and the DC-DC converter (DC-DC converter) in real time. If the initialization is OK and the high-voltage power-on conditions are met, the discharge circuit is requested to be pre-charged. After the pre-charge is completed, the total positive switch is requested to be closed, and the pre-charge switch is requested to be disconnected to complete the power-on. The purpose of pre-charging is to reduce the initial current at power-on by setting the pre-charge resistance to avoid excessive initial current directly input to the electrical components (such as air compressors, PTC heat pumps and air conditioners) to cause damage to them. After that, the VCU sends a high-voltage switch request to the BMS, and the BMS performs the switch action. Here, the high-voltage switch includes the total positive switch, the total negative switch and the pre-charge switch. During the power-off process, the key position is first detected. When the key returns to the Off position, the total positive and total negative switches are requested to be disconnected, and the motor is requested to be actively discharged. After the active discharge is completed, the vehicle controller controls the low-voltage power-off.
[0004] In order to complete the power-on and power-off process under discharge, existing technical solutions often design the vehicle system status management, high-voltage power distribution box (PDU) and motor control on the same layer, making the software unit more complex and without software architecture, which easily leads to increased difficulty in secondary development and adaptation of new projects.
[0005] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0006] The purpose of the present invention is to provide a power-on and power-off control device and software design method for electric vehicles under discharge, which can independently design the power-on and power-off control module and the vehicle system status module, separate the status management and control execution, have a clear architecture, and are easy to maintain and adapt to new projects.
[0007] To achieve the above-mentioned purpose, an embodiment of the present invention provides an electric power control device for electric vehicles under discharge, comprising a vehicle system status module and an electric power control module. The electric power control module communicates with the vehicle system status module, and is used to output electrical system status information and actual working status information of the motor system to the vehicle system status module, and monitor the actual state of the battery system, control the high-voltage switch of the discharge circuit, and control the motor control mode and power output according to the vehicle system status information input from the vehicle system status module.
[0008] The vehicle system status module is used to generate the vehicle system status information based on the electrical system status information and the actual working status information of the motor system input from the upper and lower power control modules. The vehicle system status module manages the vehicle system status information and outputs it to the upper and lower power control modules.
[0009] The vehicle system status module and the upper and lower power control module are independent modules.
[0010] In one or more embodiments of the present invention, the upper and lower power control module includes a PDU control submodule and a motor control submodule that are independent of each other. The PDU control submodule outputs the electrical system status information to the vehicle system status module, and the electrical system status information includes the actual state of the battery system and the actual working state of the DC-DC converter. The motor control submodule outputs the actual working state information of the motor system to the vehicle system status module.
[0011] In one or more embodiments of the present invention, the PDU control submodule is connected to the DC-DC converter and is used to enable the DC-DC converter and obtain an actual working state of the DC-DC converter.
[0012] In one or more embodiments of the present invention, the PDU control submodule is connected to the battery management system to control the total positive switch, total negative switch and pre-charge switch of the battery management system, and receive the actual status of the battery system from the battery management system.
[0013] In one or more embodiments of the present invention, the motor control submodule is connected to the motor control unit, and is used to send first information to the motor control unit and receive actual working status information of the motor system from the motor control unit, wherein the first information includes: motor enable signal, motor working mode, torque request and speed request.
[0014] In one or more embodiments of the present invention, the vehicle system status module receives the actual status of the battery system, the actual working status of the DC-DC converter and the actual working status of the motor system from the upper and lower power control modules, and generates the vehicle system status information in combination with external information input from the outside to the vehicle system status module, wherein the external information includes a shift position signal and a brake pedal signal.
[0015] In this article, the power-on and power-off control device is not a physical device, but a virtual device based on a computer program. The virtual device is contained in the VCU, and the VCU performs overall control over the power-on and power-off operations. The different modules in the virtual device can be understood as a set of programs that implement different specific functions based on program codes.
[0016] Another aspect of the present invention provides an electric vehicle, which includes the above-mentioned electric vehicle power-up and power-down control device during discharge.
[0017] Another aspect of the present invention provides a software design method for power-on and power-off control of an electric vehicle under discharge, wherein the power-on and power-off control module and the vehicle system status module are independently designed.
[0018] The vehicle system status module is used to manage the vehicle system status information, and the vehicle system status includes the electrical system status information and the actual working status information of the motor system. The upper and lower power control module is used to monitor the actual state of the battery system, control the high-voltage switch of the discharge circuit, and control the motor control mode and power output according to the vehicle system status information input from the vehicle system status module, and output the electrical system status information and the actual working status information of the motor system to the vehicle system status module.
[0019] In one or more embodiments of the present invention, the upper and lower power control module includes a PDU control submodule and a motor control submodule that are independent of each other. The PDU control submodule outputs the electrical system status information to the vehicle system status module, and the electrical system status information includes the actual state of the battery system and the actual working state of the DC-DC converter. The motor control submodule outputs the actual working state information of the motor system to the vehicle system status module.
[0020] Compared with the prior art, the power-on and power-off control device for electric vehicles under discharge according to the embodiment of the present invention, from the perspective of software design, divides the power-on and power-off operation process into two independent modules, namely the vehicle system status module and the power-on and power-off control module, and the two modules communicate with each other. Through this layered architecture, the state management and control execution are separated, the architecture is clear, and it is easy to maintain and adapt to new projects. In addition, the power-on and power-off control layer analyzes the status of each system and feeds back to the status management layer, providing a secondary guarantee for the safety of power-on and power-off. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a schematic diagram of a high voltage electrical architecture of an electric vehicle according to an embodiment of the present invention;
[0022] Figure 2 It is a principle diagram of a method for controlling power on and off of an electric vehicle during discharge according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0024] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0025] like Figure 2 As shown, it shows a working principle diagram of the power-on and power-off control method of an electric vehicle under discharge according to an embodiment of the present invention. In the working principle diagram, the VCU performs overall control over the power-on and power-off operations, and in the principle diagram, the VCU adopts a hierarchical coordinated control method, that is, it does not adopt the prior art of placing the whole vehicle system state management and the high-voltage distribution box PDU and motor control on the same layer design, but is divided into two independent layers, namely the power-on and power-off control layer and the state management layer. In other words, from the perspective of software design, the process of power-on and power-off operations is divided into two independent virtual modules, namely the whole vehicle system state module and the power-on and power-off control module, and the two modules communicate with each other. Through this hierarchical architecture, the state management and control execution are separated, the architecture is clear, and it is easy to maintain and adapt to new projects. In addition, the power-on and power-off control layer parses the status of each system and feeds back to the state management layer, which provides a secondary guarantee for the safety of power-on and power-off.
[0026] Specifically, the upper and lower power control modules communicate with the vehicle system status module, and are used to monitor the actual state of the battery system, control the high-voltage switch of the discharge circuit, and control the motor control mode and power output according to the vehicle system status information input from the vehicle system status module, and output the electrical system status information and the actual working state information of the motor system to the vehicle system status module. The vehicle system status module is used to form and manage the vehicle system status information according to the electrical system status information and the actual working state information of the motor system, and in combination with external pedal signals, high-voltage electrical switches and other information. The vehicle system status includes the electrical system status information and the actual working state information of the motor system.
[0027] In one embodiment, the upper and lower power control module includes a PDU control submodule and a motor control submodule which are independent of each other. The PDU control submodule outputs the electrical system status information to the vehicle system status module, and the electrical system status information includes the actual state of the battery system and the actual working state of the DC-DC converter. The motor control submodule outputs the actual working state information of the motor system to the vehicle system status module.
[0028] Specifically, the PDU control submodule is connected to the DC-DC converter, and is used to enable the DC-DC converter and obtain the actual working state of the DC-DC converter. In addition, the PDU control submodule is connected to the battery management system, and is used to control the total positive switch, the total negative switch and the pre-charge switch of the battery management system, and receive the actual state of the battery system from the battery management system. The motor control submodule is connected to the motor control unit, and is used to send the first information to the motor control unit and receive the actual working state information of the motor system from the motor control unit, and the first information includes: motor enable signal, motor working mode, torque request and speed request.
[0029] The vehicle system status module receives the actual status of the battery system and the actual working status information of the DC-DC converter from the PDU control submodule, and receives the actual working status information of the motor system from the motor control submodule, and combines the external information received from the external unit to generate the vehicle system status information, wherein the external information includes a shift position signal and a brake pedal signal.
[0030] The vehicle system status module will feed back the generated vehicle system status information to the upper and lower power control modules, and specifically transmit the corresponding information parameters to the PDU control submodule and the motor control submodule respectively. Through such a layered and independent module design, the architecture can be clear, easy to maintain and adapt to new projects. For example, when the motor working mode code needs to be modified, since only the motor control submodule and MCU are involved, there is no direct interaction with other modules (the vehicle system status module only obtains the final information output by the motor control submodule), it is only necessary to modify and adjust the code segment corresponding to the motor control module, without modifying the corresponding code segment of the "motor working mode" of the entire program, which is convenient for program maintenance and modification.
[0031] According to the implementation mode of the present invention, the upper control unit of the upper and lower power control layer and the state management layer is the VCU, which is responsible for the coordination of various modules and the management of the vehicle's operating status. In addition to managing the high-voltage upper and lower power, it is also responsible for calculating the required motor output torque and other parameters according to the driver's operating intentions such as the accelerator pedal, gear position, brake pedal and the power of the power battery, so as to ensure the normal form of the vehicle. In addition, it also realizes different levels of energy recovery according to the power of the power battery, battery temperature and driving brake.
[0032] Another embodiment of the present invention further provides an electric vehicle, which includes the power-up and power-down control logic under discharge as described above.
[0033] In summary, according to the power-on and power-off control device of an electric vehicle under discharge according to the embodiment of the present invention, from the perspective of software design, the power-on and power-off operation process is divided into two independent modules, namely the vehicle system status module and the power-on and power-off control module, and the two modules communicate with each other. Through this layered architecture, the state management and control execution are separated, the architecture is clear, and it is easy to maintain and adapt to new projects. In addition, the power-on and power-off control layer analyzes the status of each system and feeds back to the status management layer, which provides secondary protection for the safety of power-on and power-off.
[0034] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0035] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0036] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0037] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0038] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. A power-on and power-off control device for an electric vehicle under discharge, characterized in that: It includes the vehicle system status module and the power-on and power-off control module, among which: The upper and lower power control module communicates with the vehicle system status module to output the electrical system status information and the actual working status information of the motor system to the vehicle system status module, and monitors the actual state of the battery system, controls the high-voltage switch of the discharge circuit, and controls the motor control mode and power output according to the vehicle system status information input from the vehicle system status module; The vehicle system status module is used to generate the vehicle system status information according to the electrical system status information and the actual working status information of the motor system input from the upper and lower power control module, and the vehicle system status module manages the vehicle system status information and outputs it to the upper and lower power control module; The vehicle system status module and the upper and lower power control module are independent modules; The power-on and power-off control module includes a PDU control submodule and a motor control submodule which are independent of each other; The PDU control submodule outputs the electrical system status information to the vehicle system status module, where the electrical system status information includes the actual status of the battery system and the actual working status of the DC-DC converter; and The motor control submodule outputs the actual working status information of the motor system to the vehicle system status module.
2. The power-on and power-off control device for an electric vehicle under discharge as claimed in claim 1, characterized in that: The PDU control submodule is connected to the DC-DC converter and is used to enable the DC-DC converter and obtain the actual working state of the DC-DC converter.
3. The power-on and power-off control device for an electric vehicle under discharge as claimed in claim 1, characterized in that: The PDU control submodule is connected to the battery management system, and is used to control the total positive switch, the total negative switch and the pre-charge switch of the battery management system, and receive the actual state of the battery system from the battery management system.
4. The power-on and power-off control device for an electric vehicle under discharge as claimed in claim 1, characterized in that: The motor control submodule is connected to the motor control unit and is used to send first information to the motor control unit and receive actual working state information of the motor system from the motor control unit, wherein the first information includes: a motor enable signal, a motor working mode, a torque request and a speed request.
5. The power-on and power-off control device for an electric vehicle under discharge as claimed in claim 1, characterized in that: The vehicle system status module receives the actual status of the battery system, the actual working status of the DC-DC converter and the actual working status of the motor system from the upper and lower power control modules, and generates the vehicle system status information in combination with external information input from the outside to the vehicle system status module, wherein the external information includes a shift position signal and a brake pedal signal.
6. An electric vehicle having a vehicle controller, characterized in that: The vehicle controller has a power-up and power-down control device for an electric vehicle under discharge as claimed in any one of claims 1 to 5.
7. A software design method for power on and off control of electric vehicles during discharge, characterized in that: The upper and lower power control module and the vehicle system status module are independently designed, wherein the vehicle system status module is used to manage the vehicle system status information, and the vehicle system status includes the electrical system status information and the actual working status information of the motor system; The upper and lower power control module is used to monitor the actual state of the battery system, control the high-voltage switch of the discharge circuit, and control the motor control mode and power output according to the vehicle system state information input from the vehicle system state module, and output the electrical system state information and the actual working state information of the motor system to the vehicle system state module; The power-on and power-off control module includes a PDU control submodule and a motor control submodule which are independent of each other; The PDU control submodule outputs the electrical system status information to the vehicle system status module, where the electrical system status information includes the actual status of the battery system and the actual working status of the DC-DC converter; and The motor control submodule outputs the actual working status information of the motor system to the vehicle system status module.
Citation Information
Patent Citations
Electric automobile and electric automobile's power supply control device
CN207449637U