New energy automobile control method and device, medium, controller and program product

By switching the control mode of the air pump control board in new energy vehicles, the steering and braking functions can be restored using the air pump system. This solves the emergency handling problem when the oil pump control board fails, achieves rapid fault response and safe driving, and reduces maintenance costs and technical barriers.

CN121608804APending Publication Date: 2026-03-06GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202610040019.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-13
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

When the oil pump control board of a new energy vehicle malfunctions, there is a lack of on-site emergency handling methods, making it impossible to quickly restore the vehicle's basic driving functions, and the difficulty in distinguishing the type of fault leads to low repair efficiency.

Method used

By switching the control mode of the air pump control board through a hardware switch, the control of the oil pump motor is transferred to the air pump control board. The air pump control logic is used to temporarily restore the steering system function and maintain the basic braking function through the air pump system, so that the vehicle can drive safely in the fault state.

Benefits of technology

It enables rapid emergency response in the event of a failure in the oil pump control board, reduces maintenance costs and technical barriers, enhances emergency response capabilities, ensures that vehicles can safely drive to a repair shop in emergency situations, and avoids secondary accidents and high rescue costs caused by system failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121608804A_ABST
    Figure CN121608804A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of a new energy automobile, a medium, a controller and a program product, and the method comprises the steps that the new energy automobile is provided with an oil pump motor and an air pump motor, the oil pump motor is controlled by an oil pump control panel, and the air pump motor is controlled by an air pump control panel; the air pump control panel can further control the oil pump motor, and the control method comprises the steps that it is detected that the current control mode of the air pump control panel is an air pump control mode or an oil pump control mode; if it is detected that the current control mode of the air pump control panel is an air pump control mode, the air pump control panel reads preset air pump control parameters and controls the air pump motor; and if it is detected that the current control mode of the air pump control panel is the oil pump control mode, the air pump control panel reads preset oil pump control parameters and controls the oil pump motor. According to the scheme, rapid emergency response can be achieved when the oil pump control panel breaks down.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of control, and more particularly to a control method, device, medium, controller, and program product for new energy vehicles. Background Technology

[0002] With the rapid development of new energy vehicles, multi-functional controllers integrating core modules such as main drive, oil pump, air pump, PDU (Power Distribution Unit), and DCDC (DC-DC Converter) have become key components for improving system integration and control efficiency. However, they still face significant technical challenges in actual operation: as a core component of the power steering system, a failure of the oil pump control board (such as DSP chip damage, power abnormality, or communication interruption) will directly cause the oil pump motor to stop, leading to steering system failure and paralyzing the vehicle. This requires on-site handling by professional repair personnel, resulting in not only economic losses but also potential safety hazards.

[0003] In related technologies, the handling of such faults mostly relies on manual repair processes, lacking on-site emergency handling methods, and cannot quickly restore the vehicle's basic driving functions in emergency situations. Summary of the Invention

[0004] The main objective of this invention is to overcome the deficiencies of the aforementioned related technologies and provide a control method, device, medium, controller, and program product for new energy vehicles, so as to solve the problem that when the oil pump control board of a new energy vehicle fails, there is a lack of on-site emergency handling means, and the vehicle's basic driving function cannot be quickly restored in an emergency.

[0005] This invention provides a control method for a new energy vehicle. The new energy vehicle has an oil pump motor and an air pump motor. The oil pump motor is controlled by an oil pump control board, and the air pump motor is controlled by an air pump control board. The air pump control board can also control the oil pump motor. The control method includes: detecting whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode; if the current control mode of the air pump control board is detected to be an air pump control mode, then the air pump control board reads preset air pump control parameters and controls the air pump motor; if the current control mode of the air pump control board is detected to be an oil pump control mode, then the air pump control board reads preset oil pump control parameters and controls the oil pump motor.

[0006] Optionally, the new energy vehicle is equipped with a hardware switch, which is used to input a selection signal for the control mode of the air pump control board.

[0007] Optionally, one end of the hardware switch is connected to an I / O pin of the digital signal processing chip of the air pump control board, and the other end is grounded or connected to a high level; detecting whether the current control mode of the air pump control board is air pump control mode or oil pump control mode includes: reading the level state of the I / O pin of the digital signal processing chip of the air pump control board connected to the hardware switch; determining whether the current control mode of the air pump control board is air pump control mode or oil pump control mode based on the level state; wherein, if the level state is low, the current control mode is determined to be oil pump control mode, and if the level state is high, the current control mode is determined to be air pump control mode.

[0008] Optionally, it also includes: when the oil pump control board reports a fault, detecting whether the current control mode of the air pump control board is air pump control mode or oil pump control mode.

[0009] Optionally, it further includes: if the current control mode is detected to be oil pump control mode, then after the air pump control board controls the oil pump motor, it determines whether the oil pump control board still reports a fault; if it is determined that the oil pump control board still reports a fault, then it is determined that the oil pump motor body has a fault; if it is determined that the oil pump control board reports a fault and the fault disappears, then it is determined that the oil pump control board or its associated circuit is faulty.

[0010] In another aspect, the present invention provides a control device for a new energy vehicle. The new energy vehicle has an oil pump motor and an air pump motor. The oil pump motor is controlled by an oil pump control board, and the air pump motor is controlled by an air pump control board. The air pump control board can also control the oil pump motor. The control device includes: a detection unit for detecting whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode; and a control unit for controlling the air pump motor by reading preset air pump control parameters if the detection unit detects that the current control mode of the air pump control board is an air pump control mode, and controlling the air pump motor by reading preset oil pump control parameters if the detection unit detects that the current control mode of the air pump control board is an oil pump control mode.

[0011] Optionally, the new energy vehicle is equipped with a hardware switch, which is used to input a selection signal for the control mode of the air pump control board.

[0012] Optionally, one end of the hardware switch is connected to an I / O pin of the digital signal processing chip of the air pump control board, and the other end is grounded or connected to a high level; detecting whether the current control mode of the air pump control board is air pump control mode or oil pump control mode includes: reading the level state of the I / O pin of the digital signal processing chip of the air pump control board connected to the hardware switch; determining whether the current control mode of the air pump control board is air pump control mode or oil pump control mode based on the level state; wherein, if the level state is low, the current control mode is determined to be oil pump control mode, and if the level state is high, the current control mode is determined to be air pump control mode.

[0013] Optionally, the detection unit is further configured to: when the oil pump control board reports a fault, detect whether the current control mode of the air pump control board is air pump control mode or oil pump control mode.

[0014] Optionally, it further includes: a judgment unit, configured to, if the detection unit detects that the current control mode is oil pump control mode, after the air pump control board controls the oil pump motor, determine whether the oil pump control board still reports a fault; if it is determined that the oil pump control board still reports a fault, then it is determined that the oil pump motor body has a fault; if it is determined that the oil pump control board reports a fault and the fault disappears, then it is determined that the oil pump control board or its associated circuit is faulty.

[0015] In another aspect, the present invention provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.

[0016] In another aspect, the present invention provides a controller for a new energy vehicle, including a processor, a memory, and a computer program stored in the memory that can run on the processor, wherein the processor executes the program to implement the steps of any of the aforementioned methods.

[0017] In another aspect, the present invention provides a controller for a new energy vehicle, including any of the control devices described above.

[0018] In another aspect, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the methods described above.

[0019] According to the technical solution of the present invention, when the oil pump control board malfunctions, the control of the oil pump motor is switched to the air pump control board, and the air pump control logic temporarily restores key functions such as the steering system. At the same time, the air pump system can maintain basic braking function by relying on internal air pressure reserves, enabling the vehicle to safely travel to the repair shop at a lower speed even in a faulty state, avoiding secondary accidents or high rescue costs caused by system failure.

[0020] This invention enables rapid emergency response when the oil pump control board fails, reduces maintenance costs and technical barriers, has good practicality and promotion value, can effectively solve the problems existing in related technologies, and provides strong protection for the safe operation of new energy vehicles.

[0021] This invention enables emergency steering control in case of oil pump control board failure through software parameter adaptation, significantly improving emergency response capabilities. It allows the driver to switch control modes on-site without waiting for technicians, greatly shortening the fault recovery time. At the same time, it eliminates the need to replace hardware or recompile programs; only a hardware switch is required to switch the control modes of the air pump control board, effectively reducing maintenance costs. Attached Figure Description

[0022] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:

[0023] Figure 1 This is a schematic diagram of an embodiment of the control method for new energy vehicles provided by the present invention;

[0024] Figure 2 This is a schematic diagram of another embodiment of the control method for new energy vehicles provided by the present invention;

[0025] Figure 3 This is a schematic diagram of a specific embodiment of the control method for new energy vehicles provided by the present invention;

[0026] Figure 4 This is a structural block diagram of an embodiment of the control device for new energy vehicles provided by the present invention;

[0027] Figure 5 This is a structural block diagram of another embodiment of the control device for new energy vehicles provided by the present invention. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] In related technologies, when the oil pump control board of a new energy vehicle malfunctions, there is a lack of on-site emergency handling methods, making it impossible to quickly restore the vehicle's basic driving functions in emergency situations. Furthermore, in these technologies, the system's ability to determine the type of fault is limited, making it difficult to distinguish between a fault in the oil pump control board and a fault in the oil pump motor itself, resulting in low maintenance efficiency.

[0031] It is worth noting that the oil pump control board and the air pump control board have a high degree of similarity in hardware architecture. Theoretically, they are capable of functional interchange through software logic. Without modifying the original control program, this similarity can be used to achieve emergency switching and maintain the basic operation of the vehicle.

[0032] This invention provides a control method for a new energy vehicle. The new energy vehicle has an oil pump motor and an air pump motor, both of which are connected to the vehicle's controller via an interface. The interface is hardware-compatible, allowing the oil pump and air pump interfaces to be used interchangeably. The controller includes an oil pump control board and an air pump control board. The oil pump motor is controlled by the oil pump control board, and the air pump motor is controlled by the air pump control board. The air pump control board can also control the oil pump motor.

[0033] In one specific embodiment, the new energy vehicle is equipped with a hardware switch. This hardware switch is used to input a selection signal for the control mode of the air pump control board, that is, to select either air pump control mode or oil pump control mode. The hardware switch can be located on the control panel of the new energy vehicle or inside the driver's compartment.

[0034] In one specific embodiment, one end of the hardware switch is connected to an I / O pin of the digital signal processing (DSP) chip of the air pump control board, and the other end is grounded or connected to a high level. The control mode that the air pump control board should currently operate in is determined by detecting the level state of the I / O pin of the digital signal processing (DSP) chip of the air pump control board to which the hardware switch is connected. It is determined whether the control mode is oil pump control mode or air pump control mode.

[0035] Specifically, the I / O pin connected to the hardware switch is configured as an input mode in the program. The current operating mode (oil pump control mode or air pump control mode) is determined by reading its level state. Input mode means that the GPIO (General Purpose Input / Output) pin is configured as an input function; that is, the pin is only used to read external signal levels and does not have output driving capability. After the I / O pin of the digital signal processing (DSP) chip connected to the hardware switch is set to input mode, the state of the external hardware switch is determined by detecting the level state (high or low) of the I / O pin, thereby determining the current operating control mode (such as oil pump control mode or air pump control mode). The hardware switch is a mode selection switch; by toggling the hardware switch, the level state of the connected I / O pin can be changed. By reading the level state (high or low) of the I / O pin connected to the hardware switch, it is determined whether the oil pump control mode or air pump control mode should be enabled, thus realizing hardware switching of the control logic. Optionally, a mode selection flag can be set to determine whether the air pump control board is in air pump control mode or oil pump control mode, i.e., whether to read air pump motor parameters or oil pump motor parameters. This mode selection flag is controlled by an external hardware switch; by reading the signal from the external hardware switch, it is determined whether this mode selection flag is set to 0 or 1. When the oil pump control board reports a fault, the operating mode of the air pump control board can be switched to oil pump control mode via the aforementioned hardware switch. At this time, the air pump control board will load the control parameters of the oil pump motor, take over the driving task of the oil pump, realize emergency control, and ensure the basic steering function of the vehicle.

[0036] Figure 1 This is a schematic diagram of an embodiment of the control method for new energy vehicles provided by the present invention.

[0037] like Figure 1 As shown, according to an embodiment of the present invention, the control method for the new energy vehicle includes at least steps S110, S120 and S130.

[0038] Step S110: Detect whether the current control mode of the air pump control board is air pump control mode or oil pump control mode.

[0039] Specifically, during the initialization phase, two sets of preset motor control parameters are loaded: one set for the oil pump motor and the other for the air pump motor. These two sets of control parameters are stored in non-volatile memory (such as Flash or EEPROM) to ensure that the parameters are not lost after a power outage. The parameters are defined in the form of a structure, containing key control variables such as voltage, current, speed, PID control gain, and PWM frequency. Precise settings of these parameters are fundamental to ensuring stable motor operation under different control modes.

[0040] After the system powers on, it first completes the initialization of peripherals, including CAN bus communication, PWM module configuration, and ADC acquisition channel initialization. The normal operation of these peripherals is crucial for the system to achieve motor control and communication functions, ensuring that the system can accurately receive and send control information and monitor the motor's operating status in real time. After peripheral initialization is complete, the system enters the control mode recognition process to detect whether the current control mode of the air pump control board is air pump control mode or oil pump control mode.

[0041] The new energy vehicle is equipped with a hardware switch, which is used to input a selection signal for the control mode of the air pump control board. One end of the hardware switch is connected to an I / O pin of the digital signal processing chip of the air pump control board, and the other end is grounded or connected to a high level. The system reads the level state of the I / O pin of the digital signal processing chip of the air pump control board connected to the hardware switch; based on the level state, it determines whether the current control mode of the air pump control board is air pump control mode or oil pump control mode; specifically, if the level state is low, the current control mode is determined to be oil pump control mode, and if the level state is high, the current control mode is determined to be air pump control mode.

[0042] Step S120: If the current control mode of the air pump control board is detected to be air pump control mode, the air pump control board reads the preset air pump control parameters and controls the air pump motor.

[0043] Step S130: If the current control mode of the air pump control board is detected to be oil pump control mode, the air pump control board reads the preset oil pump control parameters and controls the oil pump motor.

[0044] Specifically, the I / O pin status of the digital signal processing chip on the air pump control board connected to the external hardware switch is read. If the I / O pin is low, it indicates that the oil pump control mode is selected, and the corresponding control parameters are loaded from the oil pump motor control parameter set to control the oil pump motor. If it is high, it indicates that the air pump control mode is selected, and the corresponding control parameters are loaded from the air pump motor control parameter set to control the air pump motor. After the control parameters are loaded, the corresponding motor control logic is executed according to the current control mode. In oil pump control mode, PID control, PWM output, current feedback, and other operations are performed according to the oil pump motor control parameters to drive the oil pump motor. In air pump control mode, corresponding control is performed according to the air pump motor control parameters.

[0045] Under normal operating conditions of the new energy vehicle, the air pump control board operates in air pump control mode. When the oil pump control board reports a fault, the operating mode of the air pump control board can be switched to oil pump control mode via the hardware switch. That is, the user can manually toggle the hardware switch to switch the operating mode of the air pump control board to oil pump control mode. If the current control mode of the air pump control board is detected as air pump control mode, the air pump control board reads the preset air pump control parameters and controls the air pump motor. At this time, the air pump control board will load the control parameters of the oil pump motor, take over the driving task of the oil pump, realize emergency control, and ensure the basic steering function of the vehicle.

[0046] The hardware switch inputs a mode selection signal to the system via an I / O pin connected to the digital signal processing chip (DSP) of the air pump control board. This signal controls the setting or resetting of a mode selection flag. For example, when the hardware switch is grounded (low level), the mode selection flag is set to "0", indicating that the current mode is air pump control; when the hardware switch is connected to a high level (or floating, depending on the pull-up / pull-down configuration), the mode selection flag is set to "1", indicating that the current mode is oil pump control. During the initialization phase, the system reads the value of this mode selection flag, and the program determines whether to execute oil pump control logic or air pump control logic: if the flag is "0", air pump control parameters are loaded to control the air pump motor; if the flag is "1", oil pump control parameters are loaded to control the oil pump motor.

[0047] Since the air pump control board was originally designed for air pumps, after switching to oil pump control mode, the system loads the parameters of the oil pump motor, enabling it to operate stably for a short period and achieve basic steering functionality. Although the control logic of the air pump control board and the oil pump control board differs, performance fluctuations can be tolerated to a certain extent because this is only for temporary emergency use.

[0048] Figure 2This is a schematic diagram of another embodiment of the control method for new energy vehicles provided by the present invention.

[0049] like Figure 2 As shown, according to an embodiment of the present invention, the control method for the new energy vehicle further includes steps S140 and S150.

[0050] Step S140: If the current control mode is detected to be oil pump control mode, the air pump control board controls the oil pump motor and then determines whether the oil pump control board still reports a fault.

[0051] Step S150: If the oil pump control board still reports a fault, then the oil pump motor body is determined to be faulty.

[0052] Step S160: If it is determined that the fault reported by the oil pump control board has disappeared, then the fault of the oil pump control board or its associated circuit is confirmed.

[0053] Specifically, when the oil pump control board reports a fault, the current control mode of the air pump control board is checked to see if it is the air pump control mode or the oil pump control mode. If the current control mode of the air pump control board is the oil pump control mode, the control of the oil pump motor is switched to the air pump control board.

[0054] The air pump control board loads the control parameters of the oil pump motor, takes over the drive control of the oil pump, and after emergency control, verifies the root cause of the fault based on the actual operating status of the pump motor. If the oil pump motor continues to report errors after switching to the air pump control board, it can be determined that there is a physical fault in the oil pump motor itself. If the error disappears and the steering function is restored after switching back to the air pump control board, it can be preliminarily determined that the fault is in the oil pump control board or its associated circuit. This status verification mechanism allows maintenance personnel to accurately locate the fault source through a single switching operation, effectively avoiding repeated disassembly and inspection caused by misjudgment of the fault type in traditional maintenance.

[0055] The technical solution of this invention eliminates the need for on-site technical personnel to program the system; the driver only needs to manually operate a hardware switch to switch control modes, greatly improving the system's emergency response capability and ease of use. This invention not only effectively avoids vehicle malfunctions caused by oil pump control board failures but also enables temporary operation of the oil pump motor through parameter adaptation and mode switching, ensuring basic vehicle driving functions, reducing maintenance costs and technical barriers, and possesses significant practicality and promotional value.

[0056] To clearly illustrate the technical solution of the present invention, the execution flow of the control method for new energy vehicles provided by the present invention will be described below with reference to a specific embodiment.

[0057] Figure 3 This is a schematic diagram of a specific embodiment of the control method for new energy vehicles provided by the present invention. Figure 3 As shown, after the system is powered on, it first completes the initialization operations of the peripherals, including CAN bus communication, PWM module configuration, and ADC acquisition channel initialization. The normal operation of these peripherals is the key to the system's motor control and communication functions, ensuring that the system can accurately receive and send control information and monitor the motor's operating status in real time.

[0058] After peripheral initialization is complete, the system enters the pattern recognition process, reading the I / O pin status of the DSP chip connected to the external hardware switch on the air pump control board to determine whether oil pump motor control parameters or air pump motor control parameters should be loaded. If the I / O pin is low, it indicates that the oil pump control mode is selected and the oil pump motor control parameter set is loaded; if it is high, it indicates that the air pump control mode is selected and the air pump motor control parameter set is loaded.

[0059] After the control parameters are loaded, the corresponding oil pump motor control logic or air pump motor control logic is executed according to the current control mode. In oil pump control mode, control is performed according to the parameters of the oil pump motor; in air pump control mode, control is performed according to the parameters of the air pump motor.

[0060] After switching to the oil pump control mode, the root cause of the fault is verified by the actual operating status of the oil pump motor after the switch: if the oil pump motor continues to report errors after switching to the air pump control board, it can be determined that there is a physical fault in the oil pump motor itself; if the error disappears and the steering function is restored after the switch, it can be preliminarily determined that the fault is in the original oil pump control board or its related circuits. This status verification mechanism allows maintenance personnel to accurately locate the fault source through a single switching operation, effectively avoiding repeated disassembly and inspection caused by misjudgment of the fault type in traditional maintenance.

[0061] The present invention also provides a control device for new energy vehicles.

[0062] The new energy vehicle has an oil pump motor and an air pump motor, both of which are connected to the vehicle's controller via an interface. This interface is hardware-compatible, allowing the oil pump and air pump interfaces to be used interchangeably. The controller includes an oil pump control board and an air pump control board. The oil pump motor is controlled by the oil pump control board, and the air pump motor is controlled by the air pump control board. The air pump control board can also control the oil pump motor.

[0063] In one specific embodiment, the new energy vehicle is equipped with a hardware switch. This hardware switch is used to input a selection signal for the control mode of the air pump control board, that is, to select either air pump control mode or oil pump control mode for the air pump controller. The hardware switch can be located on the control panel of the new energy vehicle or inside the driver's compartment.

[0064] In one specific embodiment, one end of the hardware switch is connected to an I / O pin of the digital signal processing (DSP) chip of the air pump control board, and the other end is grounded or connected to a high level. The control mode to be run is determined by detecting the level state of the I / O pin of the digital signal processing (DSP) chip of the air pump control board to which the hardware switch is connected. It is determined whether the control mode to be run is oil pump control mode or air pump control mode.

[0065] Specifically, the I / O pin connected to the hardware switch is configured as an input mode in the program. The current operating mode (oil pump control mode or air pump control mode) is determined by reading its level state. Input mode means configuring the GPIO (General Purpose Input / Output) pin as an input function; that is, the pin is only used to read external signal levels and does not have output driving capability. After the I / O pin of the digital signal processing (DSP) chip connected to the hardware switch is set to input mode, the state of the external hardware switch is determined by detecting the level state (high or low) of the I / O pin, thereby determining the current operating control mode (such as oil pump control mode or air pump control mode). The hardware switch is a mode selection switch; by toggling the hardware switch, the level state of the connected I / O pin can be changed. By reading the level state (high or low) of the I / O pin connected to the hardware switch, it is determined whether the oil pump control mode or air pump control mode should be enabled, thus realizing hardware switching of the control logic. When the oil pump control board reports a fault, the operating mode of the air pump control board can be switched using the hardware switch to the oil pump control mode. At this time, the air pump control board will load the control parameters of the oil pump motor, take over the driving task of the oil pump, realize emergency control, and ensure the basic steering function of the vehicle.

[0066] Figure 4 This is a structural block diagram of an embodiment of the control device for new energy vehicles provided by the present invention. Figure 4 As shown, the control device 100 includes a detection unit 110 and a control unit 120.

[0067] The detection unit 110 is used to detect whether the current control mode of the air pump control board is air pump control mode or oil pump control mode.

[0068] Specifically, during the initialization phase, two sets of preset motor control parameters are loaded: one set for the oil pump motor and the other for the air pump motor. These two sets of control parameters are stored in non-volatile memory (such as Flash or EEPROM) to ensure that the parameters are not lost after a power outage. The parameters are defined in the form of a structure, containing key control variables such as voltage, current, speed, PID control gain, and PWM frequency. Precise settings of these parameters are fundamental to ensuring stable motor operation under different control modes.

[0069] After the system powers on, it first completes the initialization of peripherals, including CAN bus communication, PWM module configuration, and ADC acquisition channel initialization. The normal operation of these peripherals is crucial for the system to achieve motor control and communication functions, ensuring that the system can accurately receive and send control information and monitor the motor's operating status in real time. After peripheral initialization is complete, the system enters the control mode recognition process to detect whether the current control mode of the air pump control board is air pump control mode or oil pump control mode.

[0070] The new energy vehicle is equipped with a hardware switch, which is used to input a selection signal for the control mode of the air pump control board. One end of the hardware switch is connected to an I / O pin of the digital signal processing chip of the air pump control board, and the other end is grounded or connected to a high level. The system reads the level state of the I / O pin of the digital signal processing chip of the air pump control board connected to the hardware switch; based on the level state, it determines whether the current control mode of the air pump control board is air pump control mode or oil pump control mode; specifically, if the level state is low, the current control mode is determined to be oil pump control mode, and if the level state is high, the current control mode is determined to be air pump control mode.

[0071] The control unit 120 is configured to, if the detection unit 110 detects that the current control mode of the air pump control board is air pump control mode, then the air pump control board reads preset air pump control parameters and controls the air pump motor; if the detection unit 110 detects that the current control mode of the air pump control board is oil pump control mode, then the air pump control board reads preset oil pump control parameters and controls the oil pump motor.

[0072] Specifically, the I / O pin status of the digital signal processing chip on the air pump control board connected to the external hardware switch is read. If the I / O pin is low, it indicates that the oil pump control mode is selected, and the corresponding control parameters are loaded from the oil pump motor control parameter set to control the oil pump motor. If it is high, it indicates that the air pump control mode is selected, and the corresponding control parameters are loaded from the air pump motor control parameter set to control the air pump motor. After the control parameters are loaded, the corresponding motor control logic is executed according to the current control mode. In oil pump control mode, PID control, PWM output, current feedback, and other operations are performed according to the oil pump motor control parameters to drive the oil pump motor. In air pump control mode, corresponding control is performed according to the air pump motor control parameters.

[0073] Under normal operating conditions of the new energy vehicle, the air pump control board operates in air pump control mode. When the oil pump control board reports a fault, the operating mode of the air pump control board can be switched to oil pump control mode via the hardware switch. That is, the user can manually toggle the hardware switch to switch the operating mode of the air pump control board to oil pump control mode. If the current control mode of the air pump control board is detected as air pump control mode, the air pump control board reads the preset air pump control parameters and controls the air pump motor. At this time, the air pump control board will load the control parameters of the oil pump motor, take over the driving task of the oil pump, realize emergency control, and ensure the basic steering function of the vehicle.

[0074] The hardware switch inputs a mode selection signal to the system via an I / O pin connected to the digital signal processing chip (DSP) of the air pump control board. This signal controls the setting or resetting of a mode selection flag. For example, when the hardware switch is grounded (low level), the mode selection flag is set to "0", indicating that the current mode is air pump control; when the hardware switch is connected to a high level (or floating, depending on the pull-up / pull-down configuration), the mode selection flag is set to "1", indicating that the current mode is oil pump control. During the initialization phase, the system reads the value of this mode selection flag, and the program determines whether to execute oil pump control logic or air pump control logic: if the flag is "0", air pump control parameters are loaded to control the air pump motor; if the flag is "1", oil pump control parameters are loaded to control the oil pump motor.

[0075] Since the air pump control board was originally designed for air pumps, after switching to oil pump control mode, the system loads the parameters of the oil pump motor, enabling it to operate stably for a short period and achieve basic steering functionality. Although the control logic of the air pump control board and the oil pump control board differs, performance fluctuations can be tolerated to a certain extent because this is only for temporary emergency use.

[0076] Figure 5This is a structural block diagram of another embodiment of the control device for new energy vehicles provided by the present invention. Figure 5 As shown, the control device 100 further includes a judgment unit 130.

[0077] The detection unit 110 is further configured to: when the oil pump control board reports a fault, detect whether the current control mode of the air pump control board is air pump control mode or oil pump control mode; the judgment unit 130 is configured to: if the detection unit detects that the current control mode is oil pump control mode, after the air pump control board controls the oil pump motor, determine whether the oil pump control board still reports a fault; if it is determined that the oil pump control board still reports a fault, then it is determined that the oil pump motor body has a fault; if it is determined that the oil pump control board reports a fault and the fault disappears, then it is determined that the oil pump control board or its associated circuit is faulty.

[0078] Specifically, when the oil pump control board reports a fault, the current control mode of the air pump control board is checked to see if it is the air pump control mode or the oil pump control mode. If the current control mode of the air pump control board is the oil pump control mode, the control of the oil pump motor is switched to the air pump control board.

[0079] The air pump control board loads the control parameters of the oil pump motor, takes over the drive control of the oil pump, and after emergency control, verifies the root cause of the fault based on the actual operating status of the pump motor. If the oil pump motor continues to report errors after switching to the air pump control board, it can be determined that there is a physical fault in the oil pump motor itself. If the error disappears and the steering function is restored after switching back to the air pump control board, it can be preliminarily determined that the fault is in the oil pump control board or its associated circuit. This status verification mechanism allows maintenance personnel to accurately locate the fault source through a single switching operation, effectively avoiding repeated disassembly and inspection caused by misjudgment of the fault type in traditional maintenance.

[0080] The technical solution of this invention eliminates the need for on-site technical personnel to program the system; the driver only needs to manually operate a hardware switch to switch control modes, greatly improving the system's emergency response capability and ease of use. This invention not only effectively avoids vehicle malfunctions caused by oil pump control board failures but also enables temporary operation of the oil pump motor through parameter adaptation and mode switching, ensuring basic vehicle driving functions, reducing maintenance costs and technical barriers, and possesses significant practicality and promotional value.

[0081] The present invention also provides a storage medium corresponding to the control method of the new energy vehicle, wherein a computer program is stored thereon, and the program, when executed by a processor, implements the steps of any of the aforementioned methods.

[0082] The present invention also provides a controller corresponding to the control method of the new energy vehicle, including a processor, a memory, and a computer program stored in the memory that can run on the processor, wherein the processor executes the program to implement the steps of any of the aforementioned methods.

[0083] The present invention also provides a controller corresponding to the control device of the new energy vehicle, including any of the control devices described above.

[0084] The present invention also provides a computer program product corresponding to the control method of the new energy vehicle, including a computer program that, when executed by a processor, implements the steps of any of the aforementioned methods.

[0085] Accordingly, the solution provided by this invention enables emergency recovery of steering function when the oil pump control board fails, preventing the vehicle from being paralyzed due to steering system failure and ensuring the vehicle's basic driving function in emergency situations.

[0086] The solution provided by this invention enables effective differentiation of fault types between the oil pump motor and the oil pump control board, providing maintenance personnel with accurate fault information, improving maintenance efficiency, and reducing maintenance costs.

[0087] The solution provided by this invention utilizes the hardware similarity between the oil pump and the air pump control board, and connects the oil pump motor to the air pump controller for operation through a physical plug-in interface, thereby restoring the emergency steering function and preventing vehicle paralysis.

[0088] The solution provided by this invention allows for temporary driving of the oil pump motor without the need for program burning by setting an external hardware switch to control mode switching, thereby improving operational convenience and fault handling efficiency.

[0089] The solution provided by this invention is applicable to various types of controllers, has good system compatibility and promotional value, and can also assist in judging the source of fault based on the operating status after switching, thereby improving maintenance efficiency. In this case, the air pump system can still maintain basic braking function, ensuring driving safety and avoiding the risk of secondary accidents.

[0090] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this invention and the appended claims. For example, due to the nature of software, the functions described above can be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units can be integrated into a single processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit.

[0091] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0092] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0093] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0094] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A control method of a new energy vehicle, characterized by, The new energy vehicle has an oil pump motor and an air pump motor, the oil pump motor is controlled by an oil pump control board, the air pump motor is controlled by an air pump control board, the air pump control board can also control the oil pump motor, the control method comprises: Detecting whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode; If it is detected that the current control mode of the air pump control board is the air pump control mode, the air pump control board reads preset air pump control parameters and controls the air pump motor; If it is detected that the current control mode of the air pump control board is the oil pump control mode, the air pump control board reads preset oil pump control parameters and controls the oil pump motor.

2. The method of claim 1, wherein, The new energy vehicle is internally provided with a hardware switch, and the hardware switch is used to input a selection signal of the control mode of the air pump control board.

3. The method of claim 2, wherein, One end of the hardware switch is connected to an I / O pin of a digital signal processing chip of the air pump control board, and the other end is grounded or connected to a high level. Detecting whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode comprises: Reading the level state of the I / O pin of the digital signal processing chip of the air pump control board connected to the hardware switch; According to the level state, it is judged whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode; If the level state is low, it is judged that the current control mode is the oil pump control mode, and if the level state is high, it is judged that the current control mode is the air pump control mode.

4. The method according to any one of claims 1 to 3, characterized in that, When the oil pump control board reports a fault, it is detected whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode.

5. The method of claim 4, wherein, Further comprising: If it is detected that the current control mode is the oil pump control mode, after the air pump control board controls the oil pump motor, it is judged whether the oil pump control board still reports a fault; If it is judged that the oil pump control board still reports a fault, it is determined that the oil pump motor body has a fault; If it is judged that the fault of the oil pump control board disappears, it is determined that the oil pump control board or its associated circuit has a fault.

6. A control device for a new energy vehicle, characterized by comprising: The new energy vehicle has an oil pump motor and an air pump motor, the oil pump motor is controlled by an oil pump control board, the air pump motor is controlled by an air pump control board, the air pump control board can also control the oil pump motor, the control device comprises: A detection unit is configured to detect whether the current control mode of the air pump control board is an air pump control mode or an oil pump control mode; A control unit is configured to, if the detection unit detects that the current control mode of the air pump control board is the air pump control mode, the air pump control board reads preset air pump control parameters and controls the air pump motor; If the detection unit detects that the current control mode of the air pump control board is the oil pump control mode, the air pump control board reads preset oil pump control parameters and controls the oil pump motor.

7. The apparatus of claim 6, wherein, The new energy vehicle is internally provided with a hardware switch, and the hardware switch is used to input a selection signal of the control mode of the air pump control board.

8. A storage medium, characterized by A computer program product comprising a computer program stored on a computer readable medium, the program being executable by a processor to implement the steps of the method of any of claims 1-5.

9. A controller characterized by comprising: A computer program product comprising a computer program stored on a computer readable medium, the program being executable by a processor to implement the steps of the method of any of claims 1-5.

10. A computer program product, characterised in that, A computer program product comprising a computer program stored on a computer readable medium, the program being executable by a processor to implement the steps of the method of any of claims 1-5.

Citation Information

Patent Citations

  • Method for controlling automobile oil pump motor, vehicle and storage medium

    CN112943591A

  • Emergency steering pump control method, device and equipment and readable storage medium

    CN114620124A

  • Oil pump motor fault determination method and system and vehicle

    CN115372821A