Vehicle motor control method and device, storage medium and electronic device

By obtaining vehicle working information and controlling the motor to enter power-on and power-off modes, the problem of unstable motor control of hybrid vehicles is solved, and the stability of vehicle operation and user experience is improved.

CN118953060APending Publication Date: 2024-11-15CHINA FAW CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411215439.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Hybrid vehicles lack effective motor control methods during power-on and power-off of the power system, resulting in unstable vehicle operation and poor user experience.

Method used

By obtaining the vehicle's working information, we judge the motor's power-on and power-off qualifications, control the motor to enter the corresponding mode, including power-on and power-off modes, ensure that the motor is enabled or disabled under preset conditions, and manage the closing and disconnection of the relay to realize reasonable control of the motor.

Benefits of technology

It improves the control accuracy and stability of hybrid vehicle motors, ensures the power output and energy management of the vehicle during driving, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118953060A_ABST
    Figure CN118953060A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle motor control method and device, a storage medium and an electronic device, and relates to the technical field of vehicles. The method comprises the following steps: in response to switching of a target vehicle from a first state to a second state, obtaining first working information of the target vehicle; controlling the motor to enter a power-on mode in response to the condition that the first working information meets a preset power-on condition; in the power-on mode, responding to switching of the target vehicle from the second state to a third state, and obtaining second working information of the target vehicle; and in response to the second working information meeting a preset closing condition, controlling a motor controller to enable a motor, and controlling the target vehicle to run. The technical problem that effective control methods for the motor are limited in the power-on and power-off processes of a hybrid power vehicle power system in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle motor control method, device, storage medium and electronic device. Background Art

[0002] In hybrid vehicles, the power battery provides the motor with a source of power, which not only ensures the efficient drive output of the vehicle, but also allows energy recovery during the coasting and braking stages, thereby achieving the goal of energy conservation and emission reduction for the vehicle. Traditional vehicles do not have high-voltage components like hybrid vehicles, and their power control is mainly the weak current management of the 12V low-voltage system. Compared with the power system of traditional vehicles, the power system of hybrid vehicles adds complex power electronics or high-voltage components such as drive motors, power batteries, and inverters on the basis of the latter, and can develop better vehicle power and economy through the control strategy of the hybrid system.

[0003] Since hybrid vehicles are cars that get power from at least two types of energy sources, where the engine consumes fuel and the motor consumes electrical energy, hybrid vehicles can achieve better system functions and performance compared to traditional vehicles in terms of control based on motors, power batteries, and reasonable control strategy development. At present, there is limited public information on the control method specifically for the motor during the power-on and power-off control process of hybrid vehicles. In view of this, in the field of new energy vehicle control, it is necessary to propose a more efficient and reliable motor control method to achieve reasonable control of the motor during the power-on and power-off process, so as to avoid corresponding problems in the subsequent vehicle driving process, resulting in poor user driving experience. Summary of the invention

[0004] Embodiments of the present invention provide a vehicle motor control method, device, storage medium and electronic device to at least solve the technical problem of limited effective control methods for the motor during power-on and power-off of a hybrid vehicle power system in the related art.

[0005] According to one embodiment of the present invention, a vehicle motor control method is provided, comprising: in response to a target vehicle switching from a first state to a second state, obtaining first working information of the target vehicle, wherein the first state is used to indicate that a power system of the target vehicle is turned off and an engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor; in response to the first working information satisfying a preset power-on condition, controlling the motor to enter a power-on mode; in the power-on mode, in response to the target vehicle switching from the second state to a third state, obtaining second working information of the target vehicle, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second working information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; in response to the second working information satisfying the preset closing condition, controlling the motor controller to enable the motor, and controlling the target vehicle to travel.

[0006] Optionally, the first working information includes: a motor working status signal, a mode status signal of a motor controller, a power battery status signal, an anti-theft status signal, a high-voltage interlock status signal, an insulation fault status, and the status of any relay; the preset power-on conditions include: within a first time period, the motor working status signal switches from an initialization state to a working state, the mode status signal is in a first signal state, the power battery status signal is in a second signal state, the anti-theft status signal is in a third signal state, the high-voltage interlock status signal is in a fourth signal state, the insulation fault status indicates that there is no fault, and the status of any relay indicates that any relay is operating normally.

[0007] Optionally, the second working information includes: the first vehicle speed of the target vehicle, the gear information of the gearbox, the first motor capacitor voltage, the first power battery voltage, the power system status information and the pre-charging relay state. In response to the second working information satisfying the preset closing condition, controlling the motor controller to enable the motor includes: in response to the first vehicle speed being zero, the gear information indicating that the gearbox is in the parking gear, the difference between the first motor capacitor voltage and the first power battery voltage is greater than the second voltage threshold, and the power system status information indicating that the power system is normal, controlling the negative pole relay to close; when the negative pole relay is in the closed state, controlling the motor controller to enable the motor based on the pre-charging relay state.

[0008] Optionally, controlling the motor controller to enable the motor based on the pre-charging relay state includes: obtaining a second motor capacitor voltage and a third motor capacitor voltage, wherein the second motor capacitor voltage is the voltage value of the motor capacitor when the battery management system sends a negative relay closing state signal to the vehicle controller, and the third motor capacitor voltage is the voltage value of the motor capacitor when the vehicle controller receives the negative relay closing state signal sent by the battery management system; in response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being less than a first voltage threshold, controlling the pre-charging relay to close; when the pre-charging relay is in a closed state, in response to the pre-charging relay state indicating that the pre-charging relay is operating normally, obtaining the pre-charging voltage value of the motor capacitor; and controlling the motor controller to enable the motor based on the pre-charging voltage value.

[0009] Optionally, in response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than or equal to a first voltage threshold and less than or equal to a second voltage threshold, the motor is stopped from being controlled and a first fault code is reported, wherein the first fault code is used to indicate that a pre-charging relay has a sticking fault; in response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than a second voltage threshold, the motor is stopped from being controlled and a second fault code is reported, wherein the second fault code is used to indicate that a positive relay has a sticking fault.

[0010] Optionally, controlling the motor controller to enable the motor based on the pre-charge voltage value includes: in response to the pre-charge voltage value being greater than or equal to a third voltage threshold, determining the difference between the second power battery voltage and the fourth motor capacitor voltage within a first time period; in response to the difference between the second power battery voltage and the fourth motor capacitor voltage being less than a fourth voltage threshold, controlling the positive relay to close; when the positive relay is in a closed state, in response to the positive relay operating normally, controlling the pre-charge relay to open within a second time period; when the pre-charge relay is in an open state, controlling the motor controller to enable the motor.

[0011] Optionally, in response to the difference between the second power battery voltage and the fourth motor capacitor voltage being greater than or equal to a fourth voltage threshold, the motor is stopped from being controlled and a third fault code is reported, wherein the third fault code is used to indicate that there is a pull-in fault in the pre-charging relay.

[0012] Optionally, when the positive relay is in a closed state, in response to an operating failure of the pre-charging relay, the difference between the third power battery voltage and the fifth motor capacitor voltage is determined; in response to the difference between the third power battery voltage and the fifth motor capacitor voltage being greater than a fifth voltage threshold, the motor is stopped from being controlled, and a fourth fault code is reported, wherein the fourth fault code is used to indicate that there is a pull-in failure in the positive relay.

[0013] Optionally, in response to the target vehicle satisfying a fault condition, the motor is controlled to enter a power-off mode, wherein the fault condition includes at least one of the following: any relay operating failure, a first preset fault in the motor, a second preset fault in the power battery or a request to disconnect any relay, a collision in the target vehicle, the insulation monitoring status is a preset warning status, an interlock fault in the target vehicle and the vehicle speed is lower than a preset speed, or communication between the motor controller and the vehicle controller is interrupted.

[0014] Optionally, in response to the target vehicle switching to the first state, the motor controller is controlled to disenable the motor, and third operating information of the target vehicle is obtained, wherein the third operating information is used to reflect the power-off qualification of the motor; in response to the third operating information satisfying a preset power-off condition, the motor is controlled to enter a power-off mode, wherein the preset power-off condition includes: the second vehicle speed of the target vehicle is zero, the vehicle electric air conditioner feeds back a power-off permission signal, the battery management system feeds back a power-off permission signal, and the motor controller feeds back a power-off permission signal.

[0015] Optionally, in the power-off mode, the positive pole relay is controlled to disconnect, and the fourth operating information of the target vehicle is obtained, wherein the fourth operating information is used to reflect the disconnection qualification of the positive pole relay, the disconnection qualification of the negative pole relay, the discharge state of the motor capacitor, and the disconnection qualification of the pre-charging relay; when the positive pole relay is in the disconnected state, in response to the fourth operating information satisfying the preset disconnection condition, the control of the motor is stopped.

[0016] Optionally, in response to the fourth working information satisfying the preset disconnection condition, stopping controlling the motor includes: in response to the difference between the sixth motor capacitor voltage within the third time period and the seventh motor capacitor voltage before the positive relay is disconnected being greater than a sixth voltage threshold, determining that the positive relay is operating normally; in response to the positive relay operating normally, controlling the negative relay to disconnect; when the negative relay is in the disconnected state, in response to the discharge state of the motor controller satisfying the preset discharge state, controlling the pre-charging relay to close, the preset discharge state is used to indicate that the motor controller enters a preset discharge mode and exits a preset discharge mode; when the pre-charging relay is in the closed state, in response to the pre-charging relay operating normally, obtaining the voltage change value of the motor capacitor within the fourth time period; in response to the voltage change value being less than the seventh voltage threshold, controlling the pre-charging relay to disconnect, and stopping controlling the motor.

[0017] Optionally, in response to the difference between the sixth motor capacitor voltage and the seventh motor capacitor voltage being less than or equal to a sixth voltage threshold, the fault flag state of the positive relay is stored in an internal fault code, and the negative relay is controlled to be disconnected.

[0018] Optionally, in response to the voltage change value being greater than or equal to the seventh voltage threshold, the fault flag state of the negative pole relay is stored in an internal fault code, and a power-off fault signal is reported.

[0019] Optionally, in response to the motor controller entering a preset discharge mode, fifth working information is obtained, wherein the fifth working information includes at least one of the following: command information received by the motor controller, the eighth motor capacitor voltage, the motor controller's diagnostic result and the motor hard-wired emergency stop signal status; in response to the fifth working information satisfying the conditions for exiting the preset discharge mode, the motor controller is controlled to exit the preset discharge mode, wherein the conditions for exiting the preset discharge mode include at least one of the following: the motor controller receives an instruction to prohibit rapid discharge, the eighth motor capacitor voltage is less than or equal to a preset safety voltage, the motor controller's diagnostic result is abnormal, and the motor hard-wired emergency stop signal status indicates that the motor hard-wired emergency stop signal is set.

[0020] According to one embodiment of the present invention, a vehicle motor control device is also provided, including: a first acquisition module, used to acquire first working information of the target vehicle in response to the target vehicle switching from a first state to a second state, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, and the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor; a first control module, used to control the motor to enter a power-on mode in response to the first working information satisfying a preset power-on condition; a second acquisition module, used to acquire second working information of the target vehicle in response to the target vehicle switching from the second state to the third state in the power-on mode, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second working information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; a second control module, used to control the motor controller to enable the motor in response to the second working information satisfying the preset closing condition, and control the target vehicle to drive.

[0021] According to one embodiment of the present invention, a vehicle is provided, and the vehicle is used to execute any of the above vehicle motor control methods.

[0022] According to one embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute any of the above-mentioned vehicle motor control methods when running on a computer or a processor.

[0023] According to one embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the above vehicle motor control methods.

[0024] According to one embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the vehicle motor control method described in any one of the above items is implemented.

[0025] In an embodiment of the present invention, in response to the target vehicle switching from the first state to the second state, the first working information of the target vehicle is obtained, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor; in response to the first working information meeting the preset power-on condition, the motor is controlled to enter the power-on mode; in the power-on mode, in response to the target vehicle switching from the second state to the third state, the second working information of the target vehicle is obtained, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second working information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; in response to the second working information meeting the preset closing condition, the motor controller is controlled to enable the motor, and the target vehicle is controlled to travel. The purpose of reasonably controlling the power-on and power-off process of the motor of the hybrid vehicle is achieved, thereby achieving the technical effect of ensuring the stability and reliability of the vehicle operation through reasonable control of the motor, thereby solving the technical problem of limited effective control methods for the motor in the power-on and power-off process of the power system of the hybrid vehicle in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 is a flow chart of a vehicle motor control method according to one embodiment of the present invention;

[0028] Figure 2 is a flow chart of a vehicle power system configuration scheme according to one embodiment of the present invention;

[0029] Figure 3 is a schematic diagram of the timing relationship of the motor power-on conditions according to one embodiment of the present invention;

[0030] Figure 4 is a schematic diagram of a motor capacitor pre-charging structure according to one embodiment of the present invention;

[0031] Figure 5 is a schematic diagram of the timing relationship of the motor power-on function according to one embodiment of the present invention;

[0032] Figure 6 is a schematic diagram of a three-phase AC switching timing of a motor according to one embodiment of the present invention;

[0033] Figure 7is a schematic diagram of the timing relationship of the motor power-off function according to one embodiment of the present invention;

[0034] Figure 8 is a schematic diagram of the relationship between the motor torque control signal between the vehicle controller and the motor controller according to one embodiment of the present invention;

[0035] Fig. 9 is a schematic diagram of the relationship between motor speed control signals according to one embodiment of the present invention;

[0036] Fig.10 is a schematic diagram of motor speed response control according to one embodiment of the present invention;

[0037] Fig.11 is a structural block diagram of a vehicle motor control device according to one embodiment of the present invention. DETAILED DESCRIPTION

[0038] To facilitate understanding, some descriptions of concepts related to the embodiments of the present invention are exemplarily provided for reference.

[0039] As shown below:

[0040] Hybrid vehicle: A vehicle equipped with both an internal combustion engine and an electric motor. This type of vehicle can improve fuel efficiency and reduce exhaust emissions through the coordinated operation of the internal combustion engine and the electric motor, thereby reducing the impact on the environment. Hybrid vehicles can usually use the electric motor when driving at low speeds, and switch to the internal combustion engine or the electric motor and the internal combustion engine to work together according to the control strategy at high speeds to achieve the best power output and fuel economy.

[0041] Vehicle power on and off control process: The vehicle's power supply and the operation of various functions are controlled by the electronic control system to ensure normal operation and safe driving of the vehicle.

[0042] High Voltage Relay: An electrical device used to control current, voltage, and power in a high voltage power system. They are often used to protect power systems from overloads, short circuits, and other faults while ensuring stable operation of the power system.

[0043] Capacitor pre-charge: refers to the process of gradually increasing the capacitor voltage to the operating voltage through a specific pre-charge circuit before the capacitor officially works.

[0044] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In the description of this embodiment, unless otherwise specified, the meaning of "multiple" is two or more. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] According to one embodiment of the present invention, an embodiment of a vehicle motor control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0047] The method embodiment can be executed in an electronic device including a memory and a processor, a similar control device or a system. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device and a display device for communication functions. It can be understood by a person of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.

[0048] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a programmable logic device (field-programmable gate array, FPGA), a neural network processor (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, and the like. Among them, different processing units may be independent components or integrated in one or more processors. In some instances, the electronic device may also include one or more processors.

[0049] The memory can be used to store computer programs, such as storing a computer program corresponding to the vehicle motor control method in an embodiment of the present invention, and the processor implements the above-mentioned vehicle motor control method by running the computer program stored in the memory. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0050] The communication device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the communication device includes a network adapter (network interface controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0051] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or a "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface, wherein the human-computer interaction function may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0052] In this embodiment, a vehicle motor control method running on an electronic device is provided. Figure 1 is a flow chart of a vehicle motor control method according to one embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0053] Step S10, in response to the target vehicle switching from a first state to a second state, obtaining first working information of the target vehicle, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, and the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor.

[0054] In the embodiment of the present invention, the target vehicle can be understood as a hybrid vehicle. A hybrid vehicle is equipped with both an internal combustion engine and an electric motor. For example, a hybrid vehicle can utilize a combination of an internal combustion engine and an electric motor to improve fuel efficiency and reduce emissions.

[0055] The first state can be understood as a state in which the power system of the target vehicle is turned off and the engine of the target vehicle is not started. Exemplarily, the first state can be understood as a state in which the car key of the target vehicle is in a Key-Off state, that is, the key of the target vehicle is pulled out or the engine of the target vehicle is turned off. The second state can be understood as a state in which the power system of the target vehicle is turned on and the engine is not started. Exemplarily, the second state can be understood as a state in which the car key of the target vehicle is in a Key-On state, that is, the key of the target vehicle is inserted but the engine has not been started.

[0056] The first working information can be understood as the working state information of the target vehicle after switching from the ignition off state to the standby state, which is used to reflect whether the motor of the target vehicle has reached the power-on qualification, that is, to determine whether the motor can enter the high-voltage power-on control process. Exemplarily, the first working information may include the working state of the motor, the power battery state signal, etc., which are not limited here.

[0057] In response to the target vehicle switching from the first state to the second state, obtaining the first working information of the target vehicle can be understood as obtaining the first working information of the target vehicle in the standby state when the target vehicle switches from the state where the key is pulled out or the engine of the target vehicle is turned off to the state where the key is inserted but the engine has not been started. Exemplarily, when the vehicle key of the target vehicle switches from the Key-Off state to the Key-On state, the information acquisition system of the target vehicle is used to obtain information such as the working state of the motor of the target vehicle and the power battery status signal.

[0058] In an embodiment of the present invention, when the target vehicle changes from a state where the power system is turned off and the engine is not started to a state where the power system is turned on and the engine is not started, that is, when the target vehicle switches from a Key-Off state to a Key-On state, first working information of the target vehicle that reflects the qualification for powering on the motor is obtained, that is, information such as the working status of the motor and the target vehicle is obtained, so as to determine whether the motor in the target vehicle meets the qualification for powering on, and prepare for the next step of the power-on work of the motor of the target vehicle.

[0059] Step S11 : in response to the first working information satisfying a preset power-on condition, controlling the motor to enter a power-on mode.

[0060] In the embodiment of the present invention, the preset power-on condition can be understood as a condition for determining whether the motor can be powered on. The preset power-on condition is usually set in the system of the target vehicle to ensure that the motor can be powered on normally and the safety of the vehicle can be guaranteed.

[0061] The power-on mode can be understood as a mode in which the motor of the target vehicle starts to work normally after being connected to a power source.

[0062] In response to the first working information satisfying the preset power-on condition, controlling the motor to enter the power-on mode can be understood as when the first working information of the target vehicle used to reflect the motor power-on qualification meets the power-on condition pre-set in the system of the target vehicle, the motor controller in the target vehicle can control the motor of the target vehicle to be powered on and in a standby or running state. Exemplarily, when the car key of the target vehicle switches from Key-Off to Key-On and the vehicle controller detects that the preset power-on conditions are met, the motor is controlled to enter the high-voltage power-on control process. The preset power-on conditions may include the motor working state signal switching from the initialization state to the working state within the first time period, the mode state signal being in the first signal state, and the power battery state signal being in the second signal state, which are not limited here.

[0063] In an embodiment of the present invention, the power-on conditions of the target vehicle's motor are pre-set in the target vehicle's system. When the target vehicle's motor meets the preset power-on conditions, the motor controller in the target vehicle can control the motor to be in a standby or running state, ensuring that the motor can provide power for the target vehicle or perform related functions. By judging whether the current state of the target vehicle meets the preset motor power-on conditions, unnecessary operation of the motor can be reduced, and maintenance costs and losses can be reduced.

[0064] Step S12, in the power-on mode, in response to the target vehicle switching from the second state to the third state, the second working information of the target vehicle is obtained, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second working information is used to reflect the closing qualification of the negative pole relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive pole relay.

[0065] In the embodiment of the present invention, the third state can be understood as the target vehicle is in a state where the power system is turned on and the engine is started. Exemplarily, the third state can be understood as the target vehicle's car key is in a Key-Start state, that is, the state when the target vehicle's key is inserted and the engine is started.

[0066] The second working information can be understood as the working status information of the target vehicle's car key after switching from Key-On to Key-Start, which is used to reflect whether the positive relay, negative relay and pre-charge relay meet the closing qualification and reflect the pre-charge state of the motor capacitor, that is, to determine whether the positive relay, negative relay and pre-charge relay can be closed. Exemplarily, the second working information may include the current speed of the target vehicle, the gear position information of the gearbox, etc., which are not limited here.

[0067] A negative relay can be understood as an electrical control device that controls and regulates a circuit. A precharge relay can be understood as an electrical device used to control the precharge current in a circuit. A motor capacitor can be understood as a capacitor used to run a motor. The precharge state can be understood as a state in which the capacitor is charged to a certain voltage level before the motor starts. A positive relay can be understood as an electrical component used to control the positive pole (power supply) in a circuit. Closure qualification can be understood as the ability of a relay to reliably close a circuit and transmit current when in operation.

[0068] In the power-on mode, in response to the target vehicle switching from the second state to the third state, obtaining the second working information of the target vehicle can be understood as obtaining the current vehicle speed of the target vehicle, the gear information of the gearbox, etc. of the gearbox through the information collection system of the target vehicle when the motor of the target vehicle is powered on and starts to work normally and the target vehicle is in a normal operating state. Exemplarily, the second working information of the target vehicle may include the first vehicle speed of the target vehicle, the gear information of the gearbox, and the first motor capacitor voltage, which are not limited here.

[0069] In the embodiment of the present invention, when the motor of the target vehicle is in the power-on mode and the target vehicle can maintain normal operation, the current working state of the target vehicle, i.e., the second working information, is obtained. The second working information is used to reflect whether the positive relay, the negative relay, and the pre-charge relay meet the closing qualification and reflect the pre-charge state of the motor capacitor. By determining the working state of the motor of the target vehicle, the normal and safe operation of the target vehicle can be ensured.

[0070] Step S13: In response to the second working information satisfying a preset closing condition, the motor controller is controlled to enable the motor and control the target vehicle to travel.

[0071] In the embodiment of the present invention, the preset closing condition can be understood as a prerequisite pre-set inside the target vehicle system for determining whether the positive relay, the negative relay and the pre-charging relay meet the closing qualification.

[0072] The motor controller can be understood as a device used to control the start, stop and operating status of the target vehicle's motor.

[0073] In response to the second working information satisfying the preset closing condition, the motor controller is controlled to enable the motor, and the target vehicle is controlled to travel. It can be understood that when the working information after the target vehicle is in a normal operating state satisfies the conditions for the positive relay, the negative relay and the pre-charge relay to be closed, the vehicle controller in the target vehicle can control the enable signal of the motor controller. When the enable signal is activated, the motor starts to operate normally, and the target vehicle starts to travel normally. Exemplarily, when the negative relay is controlled to close, the pre-charge relay is closed, the motor capacitor is pre-charged, the positive relay is closed, and the pre-charge relay is disconnected, the vehicle controller sends a signal to the motor controller, and the motor controller controls the motor to enable. If the motor controller controls the motor to enable, the motor high voltage is successfully powered on, and the vehicle can travel purely electrically at this time. When the driver engages the drive gear or the reverse gear and steps on the accelerator, the vehicle can be driven.

[0074] In the embodiment of the present invention, when the second working information of the target vehicle meets the preset closing condition of the relay, the vehicle controller in the target vehicle can control the motor controller to start or activate the operation of the motor, thereby controlling the target vehicle to maintain a normal driving state. By judging the operating state of the target vehicle, and then controlling the operation of the motor and controlling the target vehicle to drive normally, it can be ensured that the vehicle has sufficient power during driving, thereby ensuring the safety of the target vehicle during driving.

[0075] In an embodiment of the present invention, when the target vehicle changes from a state where the power system is turned off and the engine is not started to a state where the power system is turned on and the engine is not started, the first working information of the target vehicle is obtained to reflect the qualification of the motor to be powered on, so as to prepare for the next step of the power-on work of the motor of the target vehicle. The power-on condition of the motor of the target vehicle is set in advance in the system of the target vehicle. When the motor of the target vehicle meets the preset power-on condition, the motor controller in the target vehicle can control the motor to be in a standby or running state, ensuring that the motor can provide power for the target vehicle or perform related functions. By judging whether the current state of the target vehicle meets the preset motor power-on condition, the unnecessary operation of the motor can be reduced, and the maintenance cost and loss can be reduced. When the motor of the target vehicle is in the power-on mode and the target vehicle can maintain normal operation, the current working state of the target vehicle, i.e., the second working information, is obtained. The second working information is used to reflect whether the positive relay, the negative relay and the pre-charge relay have reached the closing qualification and reflect the pre-charge state of the motor capacitor. By determining the working state of the motor of the target vehicle, the normal and safe operation of the target vehicle can be ensured. When the second working information of the target vehicle meets the preset closing condition of the relay, the vehicle controller in the target vehicle can control the motor controller to start or activate the operation of the motor, thereby controlling the target vehicle to maintain a normal driving state. By judging the operating state of the target vehicle, and then controlling the operation of the motor and controlling the target vehicle to drive normally, it can be ensured that the vehicle has sufficient power during driving, thereby ensuring the safety of the target vehicle during driving.

[0076] Through the above steps, in response to the target vehicle switching from the first state to the second state, the first working information of the target vehicle is obtained, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor; in response to the first working information meeting the preset power-on condition, the motor is controlled to enter the power-on mode; in the power-on mode, in response to the target vehicle switching from the second state to the third state, the second working information of the target vehicle is obtained, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second working information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; in response to the second working information meeting the preset closing condition, the motor controller is controlled to enable the motor, and the target vehicle is controlled to travel. By adopting the above method, the purpose of reasonably controlling the power-on and power-off process of the motor of the hybrid vehicle is achieved, thereby achieving the technical effect of ensuring the stability and reliability of the vehicle operation through reasonable control of the motor, thereby solving the technical problem of limited effective control methods for the motor in the power-on and power-off process of the power system of the hybrid vehicle in the related technology.

[0077] Optionally, the first working information includes: a motor working state signal, a mode state signal of a motor controller, a power battery state signal, an anti-theft state signal, a high-voltage interlock state signal, an insulation fault state, and a state of any relay;

[0078] The preset power-on conditions include: within the first time period, the motor working status signal switches from the initialization state to the working state, the mode status signal is in the first signal state, the power battery status signal is in the second signal state, the anti-theft status signal is in the third signal state, the high-voltage interlock status signal is in the fourth signal state, the insulation fault state indicates that there is no fault, and the state of any relay indicates that any relay is operating normally.

[0079] In the embodiment of the present invention, the motor working state signal can be understood as a signal indicating the running state of the motor. For example, such a signal generally includes information such as whether the motor is running, the running direction, the speed, etc., which is not limited here.

[0080] The mode state signal of the motor controller can be understood as a signal for controlling the running state of the motor. For example, these signals can tell the motor controller the current working mode of the motor, such as start, stop, acceleration, deceleration, forward, reverse, etc., which are not limited here.

[0081] The power battery status signal can be understood as an indication signal of the health status and charge and discharge status of the battery. For example, by monitoring the temperature, voltage, current and other parameters of the power battery, it can be determined whether the battery is working properly, whether it needs to be charged or replaced, which is not limited here.

[0082] The anti-theft status signal can be understood as a warning signal. For example, it is used to indicate that an item or place is in an anti-theft state, reminding potential thieves or lawless elements not to take the opportunity to steal or destroy, which is not limited here.

[0083] The high voltage interlock state signal can be understood as a safety signal. For example, this signal is used in a high voltage system to indicate that the system is in an interlock state, that is, certain components or functions in the system are locked to ensure the normal operation of the system and avoid accidents, which is not limited here.

[0084] The insulation fault state can be understood as a state in which the insulation in the circuit is destroyed or damaged, causing current to flow in the insulation layer, thereby causing the circuit to malfunction or fail. For example, this state may cause serious consequences such as circuit short circuit and fire, which are not limited here.

[0085] The first time period may be understood as a user-defined time period. For example, the first time period may be 200 milliseconds, which is not limited here.

[0086] The switching of the motor working state signal from the initialization state to the working state during the first time period can be understood as the motor being ready and starting to work normally.

[0087] The mode status signal being in the first signal state can be understood as before the motor high voltage is powered on, the vehicle controller needs to receive and detect the mode status signal reported by the motor controller to ensure that the motor controller is in a non-pulse width modulation process and a non-fast power-off state when powered on.

[0088] The power battery status signal being in the second signal state can be understood as the battery status signal reported by the battery management system being in a normal state.

[0089] The anti-theft status signal being in the third signal state can be understood as the anti-theft status signal sent by the vehicle body controller being in a normal state.

[0090] The high-voltage interlock status signal being in the fourth signal state can be understood as the high-voltage interlock status signal sent by the battery management system is normal.

[0091] The insulation fault status indicates that there is no fault, which can be understood as the vehicle controller reading the insulation fault condition stored last time to ensure that there is no uneliminateable insulation fault.

[0092] In an embodiment of the present invention, the first working information is used to reflect whether the motor of the target vehicle has reached the power-on qualification, and the preset power-on condition is used to judge whether the motor of the target vehicle can maintain the basic condition of normal operation. When the target vehicle switches from the first state to the second state, that is, the target vehicle switches from the state where the power system is turned off and the engine is not started to the state where the power system is turned on and the engine is not started, the first working information of the target vehicle is obtained, and the first working information is used to reflect the power-on qualification of the motor. If the first working information meets the preset power-on condition, the motor is controlled to enter the power-on mode. Exemplarily, the first working information includes a motor working state signal, a mode state signal of the motor controller, a power battery state signal, an anti-theft state signal, a high-voltage interlock state signal, an insulation fault state, and the state of any relay. The preset power-on condition includes: the motor working state signal switches from the initialization state to the working state within the first time period, the mode state signal is in the first signal state, the power battery state signal is in the second signal state, the anti-theft state signal is in the third signal state, the high-voltage interlock state signal is in the fourth signal state, the insulation fault state indicates no fault, and the state of any relay indicates that any relay is operating normally, which is not limited here.

[0093] Optionally, the second working information includes: a first vehicle speed of the target vehicle, gear information of the gearbox, a first motor capacitor voltage, a first power battery voltage, power system state information, and a pre-charging relay state. In step S13, in response to the second working information satisfying a preset closing condition, controlling the motor controller to enable the motor may include the following execution steps:

[0094] Step S131, in response to the first vehicle speed being zero, the gear information indicating that the transmission is in the parking gear, the difference between the first motor capacitor voltage and the first power battery voltage being greater than the second voltage threshold, and the power system status information indicating that the power system is normal, controlling the negative relay to close;

[0095] Step S132: When the negative electrode relay is in a closed state, the motor controller is controlled to enable the motor based on the state of the pre-charging relay.

[0096] In the embodiment of the present invention, the first vehicle speed of the target vehicle may be understood as the current vehicle speed of the target vehicle, which is used to reflect the driving state or driving condition of the target vehicle.

[0097] The gear information of the transmission can be understood as the device status information in the vehicle transmission system, which is used to reflect the current speed and rotation speed of the target vehicle.

[0098] The first motor capacitor voltage can be understood as the bus capacitor voltage fed back by the motor controller, which is used to reflect the voltage fluctuation of the motor during operation.

[0099] The first power battery voltage can be understood as the battery voltage fed back by the battery management system, which is used to reflect the battery health status and battery capacity remaining of the target vehicle.

[0100] The power system status information can be understood as the working status of the power system of the target vehicle, which is used to reflect the operating conditions of the power system of the target vehicle. Exemplarily, it includes information such as the working status of the motor and energy conversion efficiency, which is not limited here.

[0101] The pre-charging relay state can be understood as the state of the pre-charging relay before charging, which is used to reflect whether the charging system of the target vehicle is working normally and whether the pre-charging relay is in a correct working state.

[0102] The second voltage threshold can be understood as a preset value of the difference between the bus capacitor voltage fed back by the motor controller and the battery voltage fed back by the battery management system. For example, the second voltage threshold can be set to 55V, which is not limited here.

[0103] In response to the first vehicle speed being zero, the gear information indicating that the gearbox is in the parking gear, the difference between the first motor capacitor voltage and the first power battery voltage is greater than the second voltage threshold, and the power system status information indicating that the power system is normal, the negative pole relay is controlled to be closed. It can be understood that when the current speed of the target vehicle is zero, the gearbox is in the parking gear, the bus capacitor voltage fed back by the motor controller and the battery voltage fed back by the battery management system are greater than the second voltage threshold, and the operating state of the power system of the target vehicle is normal, the negative pole relay is controlled to be in a normal working state.

[0104] Exemplarily, when the vehicle key is in the Key-Start position, the vehicle controller detects that the following conditions are met and triggers the negative relay closing control: (1) Check that the current vehicle speed is 0 and the transmission gear is in P gear (the gear signal is sent by the transmission controller to the vehicle controller); (2) Check that the difference between the bus capacitor voltage fed back by the motor controller and the battery voltage fed back by the battery management system exceeds 55V (calibrable); (3) The vehicle controller sends a negative relay closing signal instruction to the battery management system. When the battery management system detects that there is no fault in the power system, it controls the negative relay to close and sends the negative relay status to the vehicle controller; (4) The battery management system checks the closing status of the negative relay and feeds it back to the vehicle controller.

[0105] When the negative pole relay is in a closed state, the motor controller is controlled to enable the motor based on the pre-charging relay state. It can be understood that when the negative pole relay is closed, the pre-charging relay is in an open state, and the motor controller can be controlled to enable the motor to work.

[0106] In an embodiment of the present invention, when the current speed of the target vehicle is zero, the gearbox is in the parking gear, the bus capacitor voltage fed back by the motor controller and the battery voltage fed back by the battery management system are greater than the second voltage threshold, and the operating state of the target vehicle power system is normal, the negative pole relay is controlled to be in a closed state. When the negative pole relay is closed, the pre-charge relay is in an open state, and the motor controller can be controlled to enable the motor to work. It can be understood that by controlling the closed state of the negative pole relay, it can be ensured that the electric vehicle can start stably and smoothly at startup, thereby improving the starting efficiency and driving experience of the vehicle.

[0107] Optionally, in step S132, controlling the motor controller to enable the motor based on the pre-charging relay state may include the following execution steps:

[0108] Step S1321, obtaining a second motor capacitor voltage and a third motor capacitor voltage, wherein the second motor capacitor voltage is the voltage value of the motor capacitor when the battery management system sends a negative relay closed state signal to the vehicle controller, and the third motor capacitor voltage is the voltage value of the motor capacitor when the vehicle controller receives the negative relay closed state signal sent by the battery management system;

[0109] Step S1322, in response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being less than the first voltage threshold, controlling the pre-charging relay to close;

[0110] Step S1323, when the pre-charging relay is in a closed state, in response to the pre-charging relay state indicating that the pre-charging relay operates normally, obtaining a pre-charging voltage value of the motor capacitor;

[0111] Step S1324 , controlling the motor controller to enable the motor based on the pre-charge voltage value.

[0112] In an embodiment of the present invention, the first voltage threshold can be understood as a preset value of the difference between the voltage value of the motor capacitor when the battery management system sends a negative relay closing state signal to the vehicle controller and the voltage value of the motor capacitor when the vehicle controller receives the negative relay closing state signal sent by the battery management system. Exemplarily, the first voltage threshold can be set to 7V, which is not limited here.

[0113] Obtaining the second motor capacitor voltage and the third motor capacitor voltage can be understood as obtaining the voltage value of the motor capacitor when the battery management system sends a negative relay closing state signal to the vehicle controller and the voltage value of the motor capacitor when the vehicle controller receives the negative relay closing state signal sent by the battery management system.

[0114] In response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being less than the first voltage threshold, the pre-charge relay is controlled to close. It can be understood that when the battery management system sends a negative relay closed state signal to the vehicle controller, the difference between the voltage value of the motor capacitor and the voltage value of the motor capacitor when the vehicle controller receives the negative relay closed state signal sent by the battery management system is less than the first voltage threshold, the pre-charge relay is controlled to be in a normal working state. Exemplarily, when the vehicle controller receives the closed state of the negative relay fed back by the battery management system, the motor bus capacitor voltage value at the time of feedback is recorded at the same time, and then compared with the current motor bus capacitor voltage value. The vehicle controller determines the fault state of the pre-charge relay and the positive relay by checking the voltage difference of the motor bus capacitor voltage at these two moments. When the voltage difference of the motor bus capacitor at the two moments is less than 7V (calibrable), the power-on process continues. The vehicle controller sends a pre-charge relay closed signal to the battery management system, and the battery management system controls the pre-charge relay to close.

[0115] When the pre-charge relay is in a closed state, in response to the pre-charge relay state indicating that the pre-charge relay is operating normally, the pre-charge voltage value of the motor capacitor is obtained, which can be understood as obtaining the pre-charge voltage value of the motor capacitor when the pre-charge relay is in a normal working state. Exemplarily, the battery management system checks the closed state of the pre-charge relay and feeds back to the vehicle controller. At the same time, the vehicle controller confirms the state of the pre-charge relay. If the pre-charge relay is in a closed state, that is, the pre-charge relay state is normal, the vehicle controller continues to control the power-on process. The pre-charge circuit will charge the motor capacitor to reduce the spark arcing and reduce the impact when the positive relay is closed and contacted, increase system safety, and the motor controller controls the motor capacitor to pre-charge and reach the specified voltage value, and then obtains the pre-charge voltage value of the motor capacitor.

[0116] Controlling the motor controller to enable the motor based on the pre-charge voltage value can be understood as controlling the enabling function of the motor controller by obtaining the pre-charge voltage value of the motor capacitor, thereby starting the motor.

[0117] In an embodiment of the present invention, the voltage value of the motor capacitor when the battery management system sends a negative relay closed state signal to the vehicle controller and the voltage value of the motor capacitor when the vehicle controller receives the negative relay closed state signal sent by the battery management system are obtained. When the difference between the voltage value of the motor capacitor when the battery management system sends a negative relay closed state signal to the vehicle controller and the voltage value of the motor capacitor when the vehicle controller receives the negative relay closed state signal sent by the battery management system is less than a first voltage threshold, the pre-charging relay is controlled to be in a normal working state. When the pre-charging relay is in a normal working state, the pre-charging voltage value of the motor capacitor is obtained, and the enabling function of the motor controller is controlled by the obtained pre-charging voltage value of the motor capacitor, thereby starting the motor. Therefore, on the basis of improving the stability and reliability of the vehicle system, it is possible to ensure that the motor can maintain a normal working state when it starts.

[0118] Optionally, in step S1321, a second motor capacitor voltage and a third motor capacitor voltage are obtained, wherein the second motor capacitor voltage is a voltage value of the motor capacitor when the battery management system sends a negative relay closed state signal to the vehicle controller, and the third motor capacitor voltage is a voltage value of the motor capacitor when the vehicle controller receives a negative relay closed state signal sent by the battery management system. The following execution steps may also be included:

[0119] Step S13211: in response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, stop controlling the motor and report a first fault code, wherein the first fault code is used to indicate that a sticking fault exists in the pre-charging relay;

[0120] Step S13212, in response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than the second voltage threshold, stop controlling the motor and report a second fault code, wherein the second fault code is used to indicate that there is a adhesion fault in the positive relay.

[0121] In the embodiment of the present invention, the first fault code may be understood as a fault code indicating that the pre-charging relay cannot be completely disconnected or connected during a switch operation.

[0122] The second fault code can be understood as a fault code indicating that adhesion has occurred on the contacts or mechanical parts of the positive relay, causing the positive relay to be unable to open or close normally.

[0123] In response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, the motor control is stopped and the first fault code is reported. It can be understood that when the battery management system sends a negative relay closed state signal to the vehicle controller, the difference between the motor capacitor voltage value and the motor capacitor voltage value when the vehicle controller receives the negative relay closed state signal sent by the battery management system is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, the motor control is stopped, and a fault code indicating that the pre-charging relay cannot be completely disconnected or connected during the switch operation is reported. Exemplarily, when the vehicle controller receives the negative relay closed state feedback from the battery management system, the motor bus capacitor voltage value at the time of feedback is recorded at the same time, and then compared with the current motor bus capacitor voltage value. The vehicle controller determines the fault state of the pre-charging relay by checking the voltage difference of the motor bus capacitor voltage at these two moments. When the voltage difference of the motor bus capacitor at the two moments is greater than 7V and less than 55V, the pre-charging relay has a sticking fault. If the pre-charging relay state fails, the vehicle controller records the fault code and controls the termination of the power-on process.

[0124] In response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than the second voltage threshold, the motor control is stopped and the second fault code is reported. It can be understood that when the battery management system sends a negative relay closed state signal to the vehicle controller, the difference between the motor capacitor voltage value and the motor capacitor voltage value when the vehicle controller receives the negative relay closed state signal sent by the battery management system is greater than the second voltage threshold, the motor control is stopped, and a fault code indicating that adhesion has occurred on the contacts or mechanical parts of the positive relay, resulting in the positive relay being unable to open or close normally, is reported. Exemplarily, when the vehicle controller receives the closed state of the negative relay fed back by the battery management system, the motor bus capacitor voltage value at the time of feedback is recorded at the same time, and then compared with the current motor bus capacitor voltage value. The vehicle controller determines the fault state of the pre-charging relay and the positive relay by checking the voltage difference of the motor bus capacitor voltage at these two moments. When the voltage difference of the motor bus capacitor at the two moments is greater than 55V, there is an adhesion fault in the positive relay, and the vehicle controller records the fault code and controls the termination of the power-on process.

[0125] In an embodiment of the present invention, when the difference between the voltage value of the motor capacitor when the battery management system sends a negative pole relay closing state signal to the vehicle controller and the voltage value of the motor capacitor when the vehicle controller receives the negative pole relay closing state signal sent by the battery management system is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, control of the motor is stopped and a first fault code is reported; when the difference between the voltage value of the motor capacitor when the battery management system sends a negative pole relay closing state signal to the vehicle controller and the voltage value of the motor capacitor when the vehicle controller receives the negative pole relay closing state signal sent by the battery management system is greater than the second voltage threshold, control of the motor is stopped and a second fault code is reported, thereby improving the monitoring and processing capabilities of the vehicle control system for abnormal motor capacitor voltage conditions and reducing the impact of faults caused by abnormal motor capacitor voltage on the vehicle system.

[0126] Optionally, in step S1324, controlling the motor controller to enable the motor based on the pre-charge voltage value may include the following execution steps:

[0127] Step S13241, in response to the pre-charge voltage value being greater than or equal to the third voltage threshold, determining the difference between the second power battery voltage and the fourth motor capacitor voltage within the first time period;

[0128] Step S13242: in response to the difference between the second power battery voltage and the fourth motor capacitor voltage being less than a fourth voltage threshold, controlling the positive relay to close;

[0129] Step S13243: when the positive electrode relay is in a closed state, in response to the positive electrode relay operating normally, controlling the pre-charging relay to be disconnected within a second time period;

[0130] Step S13244: When the pre-charging relay is in the disconnected state, control the motor controller to enable the motor.

[0131] In the embodiment of the present invention, the third voltage threshold may be understood as a preset voltage value used to determine whether the pre-charge voltage reaches a specified value.

[0132] The first time period may be understood as a user-defined time period. For example, the first time period may be 1.5 seconds, which is not limited here.

[0133] The second power battery voltage may be understood as the battery voltage fed back by the battery management system within the first time period when the pre-charge voltage value is greater than or equal to the third voltage threshold.

[0134] The fourth motor capacitor voltage may be understood as the motor bus capacitor voltage within the first time period when the pre-charge voltage value is greater than or equal to the third voltage threshold.

[0135] The fourth voltage threshold can be understood as a preset value of the difference between the battery voltage fed back by the battery management system in the first time period and the motor bus capacitor voltage. For example, the fourth voltage threshold can be set to 15V, which is not limited here.

[0136] The second time period may be understood as a user-defined time period. For example, the first time period may be 0.5 seconds, which is not limited here.

[0137] In response to the pre-charge voltage value being greater than or equal to the third voltage threshold, the difference between the second power battery voltage and the fourth motor capacitor voltage within the first time period is determined. It can be understood that when the pre-charge voltage value is greater than or equal to the specified voltage value, the battery voltage and the motor bus capacitor voltage fed back by the battery management system within the first time period are obtained to determine the difference between the two.

[0138] In response to the difference between the second power battery voltage and the fourth motor capacitor voltage being less than the fourth voltage threshold, the positive relay is controlled to be closed. It can be understood that when the difference between the battery voltage fed back by the battery management system in the first time period and the motor bus capacitor voltage is less than the fourth voltage threshold, the positive relay is controlled to be in a closed state. Exemplarily, after the pre-charge relay is closed, within a time period of 1.5 seconds, when the vehicle controller detects that the voltage difference between the motor bus capacitor voltage and the power battery voltage is less than 15V, the vehicle controller sends a positive relay closing signal to the battery management system, and the battery management system controls the positive relay to be closed.

[0139] When the positive relay is in a closed state, in response to the normal operation of the positive relay, the pre-charging relay is controlled to be disconnected within the second time period. It can be understood that when the positive relay is in a normal working state, the pre-charging relay is disconnected within the second time period. Exemplarily, the battery management system checks the closed state of the positive relay and feeds back to the vehicle controller, and the vehicle controller confirms the state of the positive relay. If the state of the positive relay is normal, the vehicle controller continues to control the power-on process. After the positive relay is closed, within a time period of 0.5s, the vehicle controller sends a pre-charging relay disconnection signal to the battery management system, and the battery management system controls the pre-charging relay to disconnect.

[0140] When the pre-charging relay is in the disconnected state, the motor controller is controlled to enable the motor. It can be understood that when the pre-charging relay is closed, the motor controller can still enable the motor and allow the motor to work normally. For example, the battery management system controls the pre-charging relay to disconnect, and at the same time feeds back the detected relay state to the vehicle controller to continue controlling the power-on process.

[0141] In an embodiment of the present invention, when the pre-charge voltage value is greater than or equal to a specified voltage value, the battery voltage fed back by the battery management system in the first time period and the motor bus capacitor voltage are obtained to determine the difference between the two. When the difference between the battery voltage fed back by the battery management system in the first time period and the motor bus capacitor voltage is less than the fourth voltage threshold, the positive relay is controlled to be in a closed state. When the positive relay is in a normal working state, the pre-charge relay is turned off in a second time period. When the pre-charge relay is turned off, the motor controller can still enable the motor to allow the motor to work normally. Thereby, the pre-charge relay can be disconnected in time when the positive relay is working normally, avoiding circuit damage and energy waste caused by excessive pre-charging.

[0142] Optionally, in step S13241, in response to the pre-charge voltage value being greater than or equal to the third voltage threshold, determining the difference between the second power battery voltage and the fourth motor capacitor voltage within the first time period may further include the following execution steps:

[0143] Step S132411, in response to the difference between the second power battery voltage and the fourth motor capacitor voltage being greater than or equal to a fourth voltage threshold, stop controlling the motor and report a third fault code, wherein the third fault code is used to indicate that there is a pull-in fault in the pre-charging relay.

[0144] In the embodiment of the present invention, the third fault code can be understood as a fault code indicating that the pre-charging relay cannot be normally attracted, resulting in the circuit failing to work normally.

[0145] In an embodiment of the present invention, when the difference between the battery voltage fed back by the battery management system in the first time period and the motor bus capacitor voltage is greater than or equal to the fourth voltage threshold, the control of the motor is stopped, and a fault code indicating that the pre-charging relay cannot be normally attracted, resulting in the circuit failing to work normally, is reported.

[0146] Optionally, in step S13243, when the positive relay is in a closed state, the following execution steps are also included:

[0147] Step S132431, in response to a pre-charging relay operating failure, determining a difference between a third power battery voltage and a fifth motor capacitor voltage;

[0148] Step S132432, in response to the difference between the third power battery voltage and the fifth motor capacitor voltage being greater than the fifth voltage threshold, stop controlling the motor and report a fourth fault code, wherein the fourth fault code is used to indicate that there is a pull-in fault in the positive relay.

[0149] In the embodiment of the present invention, the third power battery voltage can be understood as the power battery bus voltage within a specified time after the pre-charging relay is disconnected. For example, the specified time can be 0.5 seconds, which is not limited here.

[0150] The fifth motor capacitor voltage can be understood as the motor bus capacitor voltage within a specified time after the pre-charging relay is disconnected. For example, the specified time can be 0.5 seconds, which is not limited here.

[0151] The fifth voltage threshold can be understood as a preset value of the difference between the power battery bus voltage and the motor bus capacitor voltage within a specified time period. Exemplarily, the fifth voltage threshold can be set to 7V, which is not limited here.

[0152] The fourth fault code can be understood as a fault code indicating that the positive relay cannot be normally attracted, resulting in the circuit not being able to work normally.

[0153] In response to the pre-charging relay operating failure, the difference between the third power battery voltage and the fifth motor capacitor voltage is determined. It can be understood that when the pre-charging relay is in an operating failure state, the power battery bus voltage and the motor bus capacitor voltage are obtained within a specified time, and the difference between the two is determined. Exemplarily, the power battery bus voltage and the motor bus capacitor voltage are obtained within 0.5 seconds, and the difference between the two is determined.

[0154] In response to the difference between the third power battery voltage and the fifth motor capacitor voltage being greater than the fifth voltage threshold, the motor control is stopped, and the fourth fault code is reported, wherein the fourth fault code is used to indicate that there is a pull-in fault in the positive relay. It can be understood that when the difference between the power battery bus voltage and the motor bus capacitor voltage is greater than the five voltage thresholds, the control of the motor is stopped, and a fault code indicating that the positive relay cannot be normally pulled in is reported, causing the circuit to not work properly. Exemplarily, when the pre-charge relay fails to operate, within 0.5 seconds, the vehicle controller determines whether the positive relay is normally pulled in by checking the voltage difference between the power battery bus voltage and the motor bus capacitor voltage. When the voltage difference between the two is greater than 7V, there is a pull-in fault in the positive relay, and the vehicle controller controls the termination of the power-on process and records the fault code.

[0155] It is understandable that when the difference between the power battery bus voltage and the motor bus capacitor voltage is less than the fifth voltage threshold, it indicates that the positive relay is in normal working condition. For example, when the pre-charging relay fails to operate, within 0.5 seconds, the vehicle controller determines whether the positive relay is normally energized by checking the voltage difference between the power battery bus voltage and the motor bus capacitor voltage. When the voltage difference between the two is less than 7V, the positive relay is closed.

[0156] In an embodiment of the present invention, when the pre-charging relay is in a state of operating failure, the power battery bus voltage and the motor bus capacitor voltage are obtained within a specified time, and the difference between the two is determined. When the difference between the two is greater than the fifth voltage threshold, the control of the motor is stopped, and a fault code indicating that the positive relay cannot be normally attracted, resulting in the circuit not being able to work normally, is reported, thereby timely detecting the cause of the failure of the pre-charging relay and avoiding potential dangers caused by the circuit not being able to work normally.

[0157] Optionally, in step S10, the method further includes the following execution steps:

[0158] Step S101: In response to the target vehicle meeting a fault condition, controlling the motor to enter a power-off mode, wherein the fault condition includes at least one of the following: any relay operation failure, a first preset fault of the motor, a second preset fault of the power battery or a request to disconnect any relay, a collision of the target vehicle, an insulation monitoring state of a preset reminder state, an interlock fault of the target vehicle and a vehicle speed lower than a preset speed, or a communication interruption between the motor controller and the vehicle controller;

[0159] Step S102: in response to the target vehicle switching to the first state, controlling the motor controller to disable the motor, and obtaining third working information of the target vehicle, wherein the third working information is used to reflect the power-off qualification of the motor;

[0160] Step S103: In response to the third working information satisfying the preset power-off condition, the motor is controlled to enter the power-off mode, wherein the preset power-off condition includes: the second vehicle speed of the target vehicle is zero, the vehicle electric air conditioner feeds back a power-off permission signal, the battery management system feeds back a power-off permission signal, and the motor controller feeds back a power-off permission signal.

[0161] In the embodiment of the present invention, the fault condition can be understood as an abnormal condition that the vehicle controller needs to control the motor controller to execute the high voltage power-off function.

[0162] The power-off mode can be understood as a mode in which the motor of the target vehicle stops working, the power supply is disconnected, and no mechanical movement or rotation is generated. The first preset fault can be understood as a fault in the motor that requires disconnection of the high-voltage relay. For example, the first preset fault can be severe fault 1, severe fault 2, and severe fault 3, which are not limited here.

[0163] The second preset fault can be understood as a fault in the power battery that requires disconnection of the high-voltage relay.

[0164] The preset reminder state can be understood as an alarm state.

[0165] The preset vehicle speed may be understood as a user-defined vehicle speed threshold. For example, the preset vehicle speed may be 5 km / h, which is not limited here.

[0166] The third working information can be understood as the working state information after the target vehicle switches from the normal working state to the engine-off state, which is used to reflect the power-off qualification of the motor.

[0167] The preset power-off condition can be understood as a condition for determining whether the target vehicle currently meets the conditions for controlling the motor to perform the high-voltage power-off function.

[0168] In response to the target vehicle meeting the fault condition, the motor is controlled to enter the power-off mode. It can be understood that when the target vehicle meets the preset fault condition, the motor will be controlled to enter the power-off mode, that is, the state of stopping operation.

[0169] In response to the target vehicle switching to the first state, the motor controller is controlled to disenable the motor, and the third working information of the target vehicle is obtained, wherein the third working information is used to reflect the power-off qualification of the motor, which can be understood as when the target vehicle switches from the normal operating state to the flameout state, the motor controller stops controlling the motor, and obtains the working state information of the target vehicle after switching from the normal operating state to the flameout state.

[0170] In response to the third working information satisfying the preset power-off condition, the motor is controlled to enter the power-off mode. It can be understood that when the working state information after the target vehicle switches from the normal working state to the ignition-off state satisfies the condition for the motor to perform the high-voltage power-off function, the motor is controlled to stop normal operation. Exemplarily, the preset power-off conditions include one of the high-voltage relays failing, the motor failing to disconnect the high-voltage relay, the power battery failing to disconnect the high-voltage relay, or the battery management system requesting to disconnect the high-voltage relay, which are not limited here.

[0171] In an embodiment of the present invention, when the target vehicle meets a preset fault condition, the motor will be controlled to enter a power-off mode, i.e., a state of stopping operation. When the target vehicle switches from a normal operating state to a flameout state, the motor controller stops controlling the motor and obtains the operating state information of the target vehicle after switching from a normal operating state to a flameout state. When the operating state information of the target vehicle after switching from a normal operating state to a flameout state meets the condition for controlling the motor to execute a high-voltage power-off function, the motor is controlled to stop normal operation.

[0172] Optionally, in step S101, the method further includes the following execution steps:

[0173] Step S1011: In the power-off mode, the positive relay is controlled to be disconnected, and fourth working information of the target vehicle is obtained, wherein the fourth working information is used to reflect the disconnection qualification of the positive relay, the disconnection qualification of the negative relay, the discharge state of the motor capacitor, and the disconnection qualification of the pre-charging relay;

[0174] Step S1012: when the positive relay is in the disconnected state, in response to the fourth working information satisfying the preset disconnection condition, stop controlling the motor.

[0175] In the embodiment of the present invention, the fourth working information may be understood as the working state information of the target vehicle when the positive relay is controlled to be disconnected in the power-off mode.

[0176] The preset disconnection condition can be understood as being used to determine whether the working status information of the target vehicle when the positive relay is disconnected satisfies the preset conditions for disconnection of the positive relay, the negative relay and the pre-charging relay.

[0177] In the power-off mode, the positive relay is controlled to be disconnected, and the fourth working information of the target vehicle is obtained. It can be understood that in the mode of controlling the power-off of the motor of the target vehicle, the positive relay is disconnected, and the working status information of the target vehicle at this time is obtained. Exemplarily, when the high-voltage power-off function of the vehicle starts, the vehicle controller sends a positive relay disconnection signal to the battery management system, the battery management system controls the positive relay to be disconnected, the battery management system checks the disconnection state of the positive relay, and feeds back to the vehicle controller, and the vehicle controller confirms the state of the relay.

[0178] When the positive pole relay is in the disconnected state, in response to the fourth working information satisfying the preset disconnection condition, the control of the motor is stopped. It can be understood that when the positive pole relay is in the disconnected state, when the working status information of the target vehicle at this time satisfies the preset conditions of the disconnection of the positive pole relay, the negative pole relay and the pre-charging relay, the control of the motor is stopped.

[0179] In the embodiment of the present invention, in the mode of controlling the target vehicle's motor to be powered off, the positive relay is disconnected, and the target vehicle's working status information at this time is obtained. In the state where the positive relay is disconnected, when the working status information of the target vehicle at this time meets the preset conditions that the positive relay, the negative relay, and the pre-charging relay are disconnected, the control of the motor is stopped. By obtaining the working status information of the target vehicle at this time, problems can be discovered and maintained in time, thereby improving the reliability and stability of the vehicle.

[0180] Optionally, in step S1012, in response to the fourth working information satisfying a preset disconnection condition, stopping controlling the motor includes the following execution steps:

[0181] Step S10121, in response to the difference between the sixth motor capacitor voltage in the third time period and the seventh motor capacitor voltage before the positive relay is disconnected being greater than a sixth voltage threshold, determining that the positive relay operates normally;

[0182] Step S10122, in response to the positive electrode relay operating normally, controlling the negative electrode relay to be disconnected;

[0183] Step S10123, when the negative electrode relay is in the disconnected state, in response to the discharge state of the motor controller satisfying the preset discharge state, controlling the pre-charge relay to close, the preset discharge state is used to indicate that the motor controller enters the preset discharge mode and exits the preset discharge mode;

[0184] Step S10124: when the pre-charging relay is in a closed state, in response to the pre-charging relay operating normally, obtaining a voltage change value of the motor capacitor in a fourth time period;

[0185] Step S10125: In response to the voltage change value being less than the seventh voltage threshold, the pre-charging relay is controlled to be disconnected, and the motor is stopped from being controlled.

[0186] In the embodiment of the present invention, the third time period may be understood as a user-defined time period. For example, the third time period may be 0.5 seconds, which is not limited herein.

[0187] The sixth motor capacitor voltage can be understood as the motor bus capacitor voltage within the third time period after the main relay is disconnected. For example, the motor bus capacitor voltage within 0.5 seconds after the main relay is disconnected.

[0188] The seventh motor capacitor voltage can be understood as the motor bus capacitor voltage before the main relay is disconnected.

[0189] The sixth voltage threshold may be understood as a preset value for representing the difference between the motor bus capacitor voltage in the third time period after the main relay is disconnected and the motor bus capacitor voltage before the main relay is disconnected. Exemplarily, the sixth voltage threshold may be 7V.

[0190] The discharge state can be understood as the activation and exit state of the fast discharge function of the motor controller.

[0191] The preset discharge state may be understood as a state in which the motor controller activates the rapid discharge function or exits the rapid discharge function.

[0192] The preset discharge mode can be understood as activating the fast discharge function.

[0193] The fourth time period may be understood as a user-defined period of time. For example, the fourth time period may be 0.5 seconds, which is not limited here.

[0194] The seventh voltage threshold may be understood as a preset value representing the change in the motor capacitor voltage within the fourth time period. Exemplarily, the seventh voltage threshold may be 7V, which is not limited here.

[0195] In response to the difference between the sixth motor capacitor voltage in the third time period and the seventh motor capacitor voltage before the positive relay is disconnected being greater than the sixth voltage threshold, it is determined that the positive relay is operating normally. It can be understood that when the difference between the motor bus capacitor voltage in the third time period and the motor bus capacitor voltage before the main relay is disconnected is greater than the sixth voltage threshold, it can be determined that the positive relay is in a normal operating state.

[0196] In response to the normal operation of the positive relay, the negative relay is controlled to be disconnected. It can be understood that when the positive relay is in normal operation, the battery management system controls the negative relay to be in a disconnected state. For example, within 0.5s before the positive relay is disconnected, the vehicle controller detects that the voltage drop of the motor bus capacitor exceeds 7V, then the vehicle controller sends a negative relay disconnection signal to the battery management system, and the battery management system controls the negative relay to be disconnected. The battery management system checks the disconnection state of the negative relay and feeds back to the vehicle controller at the same time to continue controlling the power-off process.

[0197] When the negative relay is in the disconnected state, in response to the discharge state of the motor controller meeting the preset discharge state, the pre-charge relay is controlled to close. The preset discharge state is used to indicate that the motor controller enters the preset discharge mode and exits the preset discharge mode. It can be understood that when the negative relay is in the disconnected state, when the discharge state of the motor controller can activate the fast discharge or exit the fast discharge function, the pre-charge relay is controlled to be in the closed state. Exemplarily, after the negative relay is disconnected, the motor controller should respond to the fast discharge instruction of the vehicle controller to activate the fast discharge or exit the fast discharge function. After the motor capacitor is rapidly discharged through the internal circuit, it enters the pre-charge relay control. When the fast discharge function is activated, the motor controller should exit the fast discharge process if one of the following conditions is met: (1) The motor controller receives the prohibition of fast discharge instruction from the vehicle controller; (2) The motor bus capacitor voltage has dropped to a safe voltage; (3) An abnormality occurs in the diagnosis during the fast discharge process of the motor controller; (4) The motor hard-line emergency stop signal triggers the setting, that is, the motor stops suddenly.

[0198] When the pre-charge relay is in a closed state, in response to the normal operation of the pre-charge relay, the voltage change value of the motor capacitor in the fourth time period is obtained, which can be understood as obtaining the motor bus capacitor voltage change in the fourth time period when the pre-charge relay is in a normal operating state. Exemplarily, after the negative relay is disconnected and the motor capacitor is quickly discharged, within 0.5s, the vehicle controller sends a pre-charge relay closing signal to the battery management system, the battery management system controls the pre-charge relay to close, the battery management system checks the closing state of the pre-charge relay, and feeds back to the vehicle controller at the same time. If the pre-charge relay state is normal, continue the power-off process. After the pre-charge relay is closed, the motor bus capacitor voltage change within 0.5 seconds is obtained, and the vehicle controller further determines whether the negative relay has been disconnected by checking the rise of the motor bus capacitor voltage.

[0199] In response to the voltage change value being less than the seventh voltage threshold, the pre-charge relay is controlled to be disconnected, and the control of the motor is stopped. It can be understood that when the motor bus capacitor voltage change value is less than the seventh voltage threshold in the fourth time period, the battery management system controls the pre-charge relay to remain disconnected and stops controlling the motor. Exemplarily, if the motor bus capacitor voltage rises by less than 7V, the negative pole relay has been disconnected, and the power-off process continues to be controlled. When the negative pole relay is disconnected, the vehicle controller sends a pre-charge relay disconnection signal to the battery management system, and the battery management system controls the pre-charge relay to be disconnected, and at the same time feeds back the detected pre-charge relay state to the vehicle controller, continues to control the power-off process, and stops controlling the motor.

[0200] In an embodiment of the present invention, when the difference between the motor bus capacitor voltage in the third time period and the motor bus capacitor voltage before the main relay is disconnected is greater than the sixth voltage threshold, it can be determined that the positive relay is in a normal operating state. When the positive relay is in a normal operating state, the battery management system controls the negative relay to be in a disconnected state. When the negative relay is in a disconnected state, when the discharge state of the motor controller can activate the fast discharge or exit the fast discharge function, the pre-charge relay is controlled to be in a closed state. When the pre-charge relay is in a normal operating state, the change of the motor bus capacitor voltage in the fourth time period is obtained. When the motor bus capacitor voltage change value in the fourth time period is less than the seventh voltage threshold, the battery management system controls the pre-charge relay to remain in a disconnected state and stops controlling the motor. Exemplarily, during the vehicle power-off process, the vehicle controller sends a signal to the motor controller to control the motor controller motor not to enable, and then sequentially controls the positive relay to be disconnected, the negative relay to be disconnected, the fast discharge, the pre-charge relay to be closed, and the pre-charge relay to be disconnected, then the vehicle hybrid system high voltage power-off is successful, and then the vehicle will not be able to drive. By monitoring and controlling the relay status and the motor bus capacitor voltage changes, the battery over-discharge or over-charge can be detected and prevented in time, effectively extending the battery life, while also protecting the motor and other related equipment from damage.

[0201] Optionally, in step S10121, the method further includes the following execution steps:

[0202] Step S101211, in response to the difference between the sixth motor capacitor voltage and the seventh motor capacitor voltage being less than or equal to the sixth voltage threshold, storing the fault flag state of the positive relay into the internal fault code, and controlling the negative relay to disconnect.

[0203] In an embodiment of the present invention, when the difference between the motor bus capacitor voltage in the third time period and the motor bus capacitor voltage before the main relay is disconnected is less than or equal to the sixth voltage threshold, it is determined that the positive relay is in a fault state. For example, when the difference between the motor bus capacitor voltage and the motor bus capacitor voltage before the main relay is disconnected is less than or equal to 7V within 0.5 seconds, the positive relay has an adhesion fault. At this time, the control method is as follows: If the positive relay has an adhesion fault, the control enters the fault power-off process. The vehicle controller stores the fault flag status of the positive relay in the internal fault code, and at the same time, the vehicle controller sends a negative relay disconnect message to the battery management system to control the negative relay to disconnect. Thereby, the positive relay fault can be discovered and handled in a timely manner, ensuring the normal operation of the system and improving the reliability and safety of the entire battery management system.

[0204] Optionally, in step S10125, the method further includes the following execution steps:

[0205] Step S101251: In response to the voltage change value being greater than or equal to the seventh voltage threshold, the fault flag state of the negative pole relay is stored in the internal fault code, and a power-off fault signal is reported.

[0206] In the embodiment of the present invention, in response to the voltage change value being greater than or equal to the seventh voltage threshold, the fault mark state of the negative pole relay is stored in the internal fault code, and the power-off fault signal is reported. It can be understood that when the motor bus capacitor voltage change value is greater than or equal to the seventh voltage threshold in the fourth time period, the negative pole relay is still in a closed state, that is, the negative pole relay has a adhesion fault, and the fault mark state of the negative pole relay is stored in the internal fault code, and an abnormal power-off information prompt is given. Exemplarily, if the motor bus capacitor voltage rises by more than 7V within 0.5 seconds, the negative pole relay is still in a closed state, that is, the negative pole relay has an adhesion fault. The vehicle controller sends a disconnect message of the negative pole relay, the positive pole relay, and the pre-charge relay to the battery management system, and the vehicle controller stores the fault mark state of the negative pole relay in the internal fault code, and sends a power-off fault signal to the instrument at the same time. The instrument performs an abnormal power-off information prompt, so that the adhesion fault problem of the negative pole relay can be discovered and solved in time to avoid possible motor damage or safety accidents.

[0207] Optionally, in step S10123, the method further includes the following execution steps:

[0208] Step S101231, in response to the motor controller entering the preset discharge mode, obtaining fifth working information, wherein the fifth working information includes at least one of the following: command information received by the motor controller, the eighth motor capacitor voltage, a diagnosis result of the motor controller, and a motor hard-line emergency stop signal state;

[0209] Step S101232, in response to the fifth working information satisfying the conditions for exiting the preset discharge mode, controlling the motor controller to exit the preset discharge mode, wherein the conditions for exiting the preset discharge mode include at least one of the following: the motor controller receives an instruction to prohibit rapid discharge, the eighth motor capacitor voltage is less than or equal to the preset safety voltage, the diagnosis result of the motor controller is abnormal, and the motor hard-wired emergency stop signal status indicates that the motor hard-wired emergency stop signal is set.

[0210] In the embodiment of the present invention, the fifth working information may be understood as the current working state information of the target vehicle when the motor controller enters the state of activating the fast discharge function.

[0211] In response to the motor controller entering a preset discharge mode, the fifth working information is obtained. It can be understood that when the motor controller enters a state of activating the rapid discharge function, the working status information of the target vehicle is obtained, including at least one of the following: the command information received by the motor controller, the eighth motor capacitor voltage, the diagnostic results of the motor controller, and the motor hard-line emergency stop signal status.

[0212] In response to the fifth working information satisfying the conditions for exiting the preset discharge mode, the motor controller is controlled to exit the preset discharge mode. It can be understood that when the motor controller enters the state of activating the rapid discharge function, the current working state information of the target vehicle satisfies the motor controller receiving the instruction to prohibit rapid discharge, the eighth motor capacitor voltage is less than or equal to the preset safety voltage, the diagnosis result of the motor controller is abnormal, and the motor hard-wired emergency stop signal state indicates that the motor hard-wired emergency stop signal is set to at least one of the above, the motor controller is controlled to exit the state of activating the rapid discharge function.

[0213] In an embodiment of the present invention, when the motor controller enters a state of activating the rapid discharge function, the fifth working information obtained includes at least one of the following: the command information received by the motor controller, the eighth motor capacitor voltage, the motor controller's diagnostic result, and the motor hard-wire emergency stop signal state. When the fifth working information meets the conditions for exiting the preset discharge mode, the motor controller is controlled to exit the state of activating the rapid discharge function, wherein the conditions for exiting the preset discharge mode include at least one of the following: the motor controller receives a prohibition of rapid discharge instruction, the eighth motor capacitor voltage is less than or equal to the preset safety voltage, the motor controller's diagnostic result is abnormal, and the motor hard-wire emergency stop signal state indicates that the motor hard-wire emergency stop signal is set. This ensures that the motor controller can obtain key information in a timely manner when activating the rapid discharge function, and safely exits the state when necessary, to ensure the safe operation of the motor and the equipment.

[0214] The vehicle hybrid power system described in the present invention is mainly composed of assembly components such as an engine, a motor, a power battery, a gearbox, a clutch, a transmission mechanism, etc., and also has a controller corresponding to each power assembly component.

[0215] Figure 2 is a flow chart of a vehicle hybrid power system configuration scheme according to one embodiment of the present invention, such as Figure 2As shown in the figure, each controller includes a hybrid control unit (HCU), a motor control unit (MCU), a battery management system (BMS), an engine controller (EMS), a transmission controller (TCU), a direct current converter (DCDC), an instrument cluster (IC), and a body controller (BCM). Each controller communicates with each other through a controller area network (CAN). Among the above controllers, the HCU is the core controller of the vehicle, which is used to coordinate and control other subsystems, and realize the control of the power-on and power-off process and driving of the hybrid vehicle. The MCU is used to control the motor, the BMS is used to control the power battery, the EMS is used to control the engine, the TCU is used to control the transmission, the DCDC is used to convert high-voltage energy into low-voltage energy, and the IC is used to display various system information. Based on the above-mentioned vehicle hybrid power system structure, a more efficient and reliable motor control method is proposed to achieve reasonable control of the motor during the power-on and power-off process, so as to avoid corresponding problems in the subsequent vehicle driving process, which may lead to poor driving experience for users.

[0216] When the vehicle key switches from Key-Off to Key-On, the HCU detects that the following conditions are met and the control motor enters the high-voltage power-on control process.

[0217] (1) Before the motor is powered on with high voltage, the MCU needs to complete the self-test initialization process;

[0218] (2) The end of the self-test process can be judged by the motor working status signal (MotRunSts), which is sent by the MCU to the HCU. The default state of MotRunSts is the initialization state. After the MCU self-test is completed, MotRunSts is set to the normal state. The time interval from Key-On to the completion of the MCU self-test should be less than the specified value (such as 200ms, which can be calibrated);

[0219] (3) Before the motor is powered on with high voltage, the HCU needs to receive and detect the mode status signal (MCUMdSts) reported by the MCU to ensure that the MCU is in a non-PWM and non-fast power-off state when powered on. MCUMdSts=0 indicates that the motor is in a PWM state (internal pulse modulation process). The motor is allowed to be powered on with high voltage only when MCUMdSts is in a non-0 state.

[0220] (4) During the high-voltage power-on process, the HCU needs to receive the motor DC bus voltage (MotDCVol) reported by the MCU in real time in order to detect the capacitor pre-charge status;

[0221] (5) Check whether the BMS allows power-on, that is, the battery status signal reported by the BMS is normal (BattSts=1), 1 means allowed, 0 means not allowed;

[0222] (6) Check that the anti-theft device is normal, that is, the anti-theft status signal sent by the BCM is normal (ImoStatus = 1), 1 means the anti-theft device passes, and 0 means the anti-theft device fails;

[0223] (7) Check that the high-voltage interlocking device is normal, that is, the high-voltage interlocking status signal sent by the BMS is normal (BattHVI LF lag = 1), 1 indicates normal, and 0 indicates abnormal;

[0224] (8) Check that the insulation fault status is normal. The HCU reads the insulation fault status stored last time to ensure that there is no uneliminated insulation fault. This signal is sent by the BMS to the HCU;

[0225] (9) Check that the status of all current high-voltage relays sent by the BMS is normal (no adhesion). This signal is sent by the BMS to the HCU.

[0226] Figure 3 is a schematic diagram of the timing relationship of the motor power-on conditions according to one embodiment of the present invention, such as Figure 3As shown, when the vehicle key switches from the ignition-off state to the standby state, when the HCU detects that the preset power-on conditions are met, the motor is controlled to enter the high-voltage power-on control process. Before the motor is powered on at high voltage, the MCU needs to complete the self-test initialization process. The end of the self-test process can be judged by the motor working status signal, which is sent by the MCU to the HCU. The default state of the motor working status signal is the initialization state. After the MCU self-test is completed, the motor working status signal is set to the normal state. The time interval from the standby state to the completion of the MCU self-test should be less than the specified value. For example, it can be set to 200ms, which is not limited here. Before the motor is powered on at high voltage, the HCU needs to receive and detect the mode status signal reported by the MCU to ensure that the MCU is in a non-PWM and non-fast power-off state when powered on. The mode status signal is equal to 0, indicating that the motor is in the state of the internal pulse modulation process. The mode status signal is non-0 before the motor is allowed to be powered on at high voltage.

[0227] When the vehicle key is in KeyStart, the HCU detects that the following conditions are met and triggers the negative relay closing control.

[0228] (1) Check that the current vehicle speed is 0 and the gearbox is in P gear (the gear position signal is sent from the TCU to the HCU);

[0229] (2) Check that the difference between the bus capacitor voltage fed back by the MCU and the battery voltage fed back by the BMS exceeds 55V (calibrable);

[0230] (3) The HCU sends a negative relay closing signal command to the BMS. When the BMS detects that there is no fault in the power system, it controls the negative relay to close and sends the negative relay status to the HCU;

[0231] (4) The BMS checks the closing status of the negative relay and feeds back to the HCU.

[0232] When the HCU receives the closed state of the negative relay from the BMS, it also records the motor bus capacitor voltage value at the time of feedback, and then compares it with the current motor bus capacitor voltage value. The HCU determines the fault state of the pre-charge relay and the positive relay by checking the voltage difference of the motor bus capacitor voltage at these two moments, as follows:

[0233] (1) When the voltage difference of the motor bus capacitor at two moments is less than 7V (calibrable), the power-on process continues;

[0234] (2) When the voltage difference of the motor bus capacitor at two moments is greater than 7V and less than 55V (calibrable), the pre-charging relay has a sticking fault, the HCU records the fault code and controls the termination of the power-on process;

[0235] (3) When the voltage difference of the motor bus capacitor at two moments is greater than 55V (calibrable), the positive relay has a sticking fault, the HCU records the fault code and controls the termination of the power-on process.

[0236] When the negative pole relay is closed, the HCU sends a pre-charging relay closing signal to the BMS. The BMS controls the pre-charging relay to close. The BMS checks the closing status of the pre-charging relay and feeds it back to the HCU. At the same time, the HCU confirms the status of the relay.

[0237] 1) If the pre-charging relay is in normal state, the HCU continues to control the power-on process;

[0238] 2) If the pre-charge relay status fails, the HCU control terminates the power-on process and the HCU records the fault code.

[0239] After the pre-charging relay is closed, the pre-charging circuit will charge the motor capacitor to reduce the spark arcing and impact when the positive relay closes the contact, thereby increasing system safety. The MCU controls the motor capacitor to pre-charge and reach the specified voltage value.

[0240] The pre-charging relay closure detection method requires the HCU to determine the voltage difference between the power battery voltage and the motor bus capacitor voltage. If the voltage difference between the two is less than 15V (calibrable) within the specified time (such as 1.5 seconds), the positive relay control is entered; if after the specified time, the voltage difference between the two is not less than 15V (calibrable), it is considered that the pre-charging relay has a closure fault. At this time, the power-on process needs to be terminated and the fault code needs to be recorded.

[0241] Figure 4 is a schematic diagram of a motor capacitor pre-charging structure according to one embodiment of the present invention. Figure 4 As shown, the motor capacitor pre-charging structure includes a fuse, a power battery, a positive relay, a pre-charging relay, a pre-charging group, a negative relay, a motor capacitor and a motor. First, the power battery is connected to the positive relay through a fuse, and the positive relay is connected to the pre-charging resistor through a pre-charging relay. The pre-charging resistor is connected to the motor capacitor, and the motor is connected to the negative relay. When the system starts, the positive relay is closed, allowing current to pass through the pre-charging relay and the pre-charging resistor to pre-charge the motor capacitor. After the pre-charging is completed, the pre-charging relay is disconnected, and the negative relay is closed, allowing current to pass through the motor capacitor, thereby starting the motor. During the operation of the motor, the pre-charging resistor no longer works, and only the motor capacitor assumes the role of stabilizing the current. Through the above implementation process, based on the motor capacitor pre-charging structure, it can be ensured that the current is avoided from suddenly increasing when starting the motor, thereby protecting the motor and other electrical components and extending their service life. At the same time, the motor capacitor pre-charging structure can also improve the stability and efficiency of the system.

[0242] When the pre-charging relay is closed, when the HCU detects that the voltage difference between the motor bus capacitor voltage and the power battery voltage is less than 15V, the HCU sends a positive relay closing signal to the BMS, and the BMS controls the main positive relay to close. The BMS checks the closing status of the positive relay and feeds back to the HCU, and the HCU confirms the status of the relay.

[0243] (1) If the positive relay is in normal state, the HCU continues to control the power-on process. After the positive relay is closed, within the specified time (such as 0.5s), the HCU sends a pre-charge relay disconnection signal to the BMS. The BMS controls the pre-charge relay to disconnect and feeds back the detected relay state to the HCU to continue controlling the power-on process.

[0244] (2) If the pre-charging relay fails, the HCU controls the termination of the power-on process. The control method is as follows:

[0245] When the pre-charging relay is disconnected, within a specified time (such as 0.5s), the HCU determines whether the positive relay is normally energized by checking the voltage difference between the power battery bus voltage and the motor bus capacitor voltage.

[0246] (1) When the voltage difference between the two is less than 7V, the positive relay is closed.

[0247] (2) When the voltage difference between the two is greater than 7V, the positive relay has a pull-in failure, and the HCU control terminates the power-on process and records the fault code.

[0248] When the negative relay is closed, the pre-charge relay is closed, the motor capacitor is pre-charged, the positive relay is closed, and the pre-charge relay is disconnected, the HCU sends a signal to the MCU to control the MCU motor to enable. If the MCU motor is enabled, the motor high voltage is successfully powered on, and the vehicle can be driven purely by electricity. When the driver engages the drive gear or reverse gear and steps on the accelerator, the vehicle can be driven.

[0249] Figure 5 is a schematic diagram of the timing relationship of the motor power-on function according to one embodiment of the present invention, such as Figure 5As shown, the realization of the timing relationship of the motor power-on function mainly includes the following five steps: 1. Negative pole relay control: According to the control signal, the disconnection instruction and the closing instruction can be sent to control the state of the negative pole relay to be disconnected or closed; 2. Pre-charging relay control: Also according to the control signal, the disconnection instruction and the closing instruction can be sent to control the state of the pre-charging relay to be disconnected or closed; 3. Motor capacitor voltage: During the pre-charging process, the motor capacitor will gradually charge and prepare to start the motor; 4. Positive pole relay control: According to the control signal, the disconnection instruction and the closing instruction can be sent to control the state of the positive pole relay to be disconnected or closed; 5. Motor enable state: When the positive pole relay is closed, the motor enters the enable state, ready to receive the control signal to start operation.

[0250] During the whole process, the control signals and state changes of the negative relay, pre-charge relay and positive relay are all to ensure the safe and stable operation of the motor during the power-on process. After each step is completed, the motor can start and operate normally to achieve the power output and energy conversion of the hybrid vehicle.

[0251] When the vehicle key is in Key-Off and before the high-voltage relay is disconnected, the HCU needs to notify the MCU to enter the power-off preparation mode (the HCU sends MCUEnable = 0 to the MCU). The next operation instruction can be executed only after the MCU feedbacks that the power-off is allowed. MCUEnable indicates the MCU motor enable status signal, 0 means disabled, and 1 means enabled.

[0252] (1) Under abnormal circumstances, when the HCU detects any of the following conditions, the HCU controls the MCU motor to perform the high voltage power-off function.

[0253] 1) One of the high voltage relays is faulty;

[0254] 2) The motor has a fault that requires disconnecting the high-voltage relay, such as serious fault 1, serious fault 2, or serious fault 3;

[0255] 3) The power battery has a fault that requires disconnecting the high-voltage relay or the BMS requests to disconnect the high-voltage relay;

[0256] 4) The vehicle collides and the collision signal is set;

[0257] 5) The insulation monitoring status is in alarm status;

[0258] 6) The vehicle has a high-voltage interlock fault and the vehicle speed is lower than the specified value (5km / h);

[0259] 7) The communication between MCU and HCU is interrupted, and HCU cannot receive the CAN signal from MCU.

[0260] (2) Under normal circumstances, when the vehicle key is in the Key-Off position, the HCU controls the MCU motor to perform the high voltage power-off function when the HCU detects that the following conditions are met:

[0261] 1) The current speed of the vehicle is 0;

[0262] 2) The vehicle's electric air conditioner feeds back a power-off permission signal to the HCU;

[0263] 3) BMS feeds back the power-off permission signal to HCU;

[0264] 4) MCU feeds back the power-off permission signal to HCU.

[0265] When the key switches from Key-Start to Key-On / Key-Off, the HCU needs to control the MCU to cut off the three-phase AC input of the motor. The HCU sends a three-phase AC cut-off command to the MCU, and the MCU internally controls the three-phase AC cut-off of the motor. Then the motor enable state changes from "enabled" to "disabled".

[0266] Figure 6 is a schematic diagram of a three-phase AC switching timing of a motor according to one embodiment of the present invention. Figure 6 As shown in the figure, when the key switches from the start state to the standby state or the ignition off state, the HCU needs to control the MCU to cut off the three-phase AC input of the motor. The HCU sends a three-phase AC cut-off instruction to the MCU, and the MCU controls the motor to cut off the three-phase AC internally, and then the motor enable state changes from "enabled" to "disabled". When the motor does not need to work, the three-phase AC input of the motor is cut off in time, thereby reducing energy consumption.

[0267] When the vehicle's high-voltage power-off function starts, the HCU sends a positive relay disconnect signal to the BMS. The BMS controls the positive relay to disconnect. The BMS checks the disconnection status of the positive relay and feeds it back to the HCU. At the same time, the HCU confirms the status of the relay.

[0268] (1) The positive relay is in normal state: continue the power-off process;

[0269] (2) Positive relay status fault: Fault handling is required and the fault power-off process is entered.

[0270] Positive relay adhesion fault detection: When the positive relay is disconnected, within the specified time (such as 0.5 seconds), the HCU determines whether the motor capacitor voltage drops by more than 7V (calibrable) compared to before disconnection. If it exceeds 7V, it is normal, and the power-off process continues. Otherwise, the positive relay has an adhesion fault. At this time, the control method is as follows:

[0271] If the positive relay has a sticking fault, the control enters the fault power-off process: the HCU stores the fault flag status of the positive relay into the internal fault code, and at the same time, the HCU sends a negative relay disconnect message to the BMS to control the negative relay to disconnect.

[0272] When the positive relay is disconnected, within the specified time (such as 0.5s), the HCU detects that the voltage drop of the motor bus capacitor exceeds 7V, then the HCU sends a negative relay disconnection signal to the BMS, and the BMS controls the main negative relay to disconnect. The BMS checks the disconnection status of the negative relay and feeds it back to the HCU to continue controlling the power-off process.

[0273] When the negative relay is disconnected, the MCU should respond to the fast discharge instruction of the HCU to activate the fast discharge or exit the fast discharge function. After the motor capacitor is quickly discharged through the internal circuit, it enters the pre-charge relay control.

[0274] When the fast discharge function is activated, the MCU shall exit the fast discharge process if one of the following conditions is met:

[0275] (1) MCU receives the prohibition of rapid discharge instruction from HCU;

[0276] (2) The motor bus capacitor voltage has dropped to a safe voltage;

[0277] (3) The diagnosis was abnormal during the MCU rapid discharge process;

[0278] (4) The motor hard-wired emergency stop signal triggers the setting, that is, the motor stops suddenly.

[0279] When the negative relay is disconnected and the motor capacitor is discharged quickly, within the specified time (such as 0.5s), the HCU sends a pre-charging relay closing signal to the BMS. The BMS controls the pre-charging relay to close. The BMS checks the closing status of the pre-charging relay and feeds back to the HCU at the same time.

[0280] If the pre-charge relay is in normal state, the power-off process continues. After the pre-charge relay is closed, within the specified time (0.5s), the HCU further determines whether the negative relay has been disconnected by checking the rise of the motor bus capacitor voltage.

[0281] (1) If the motor bus capacitor voltage rises to more than 7V, the negative relay is still in the closed state, that is, the negative relay has a sticking fault;

[0282] If the negative relay has a sticking fault, the control enters the fault power-off process: HCU sends the main negative, main positive, and pre-charging relay disconnection message to the BMS, and the HCU stores the fault flag status of the negative relay into the internal fault code, and sends a power-off fault signal to the instrument at the same time, and the instrument prompts the power-off abnormality information.

[0283] (2) If the motor bus capacitor voltage rises to less than 7V, the negative relay has been disconnected and the power-off process continues to be controlled.

[0284] When the negative relay is disconnected, the HCU sends a pre-charging relay disconnection signal to the BMS. The BMS controls the pre-charging relay to disconnect and feeds back the detected relay status to the HCU to continue controlling the power-off process.

[0285] During the vehicle power-off process, the HCU sends a signal to the MCU to control the MCU motor to be disabled, and then controls the positive relay to disconnect, the negative relay to disconnect, the fast discharge, the pre-charge relay to close, and the pre-charge relay to disconnect in sequence. The vehicle hybrid system high voltage power-off is successful, and the vehicle will not be able to drive afterwards.

[0286] Figure 7 is a schematic diagram of the timing relationship of the motor power-off function according to one embodiment of the present invention, such as Figure 7 As shown in the figure, the process of the hybrid vehicle motor power-off function timing is as follows: the system first controls the positive relay, sends a closing command to close it, and connects the motor circuit. If the positive relay is in a closed state, the motor circuit is also in a closed state, and then the system controls the negative relay and can send a disconnection command or a closing command. The negative relay can be in an open state or a closed state, and is controlled according to the command. Then the system can send a fast discharge command, including a no-discharge command and a discharge command, to control the discharge process of the motor capacitor. The motor capacitor undergoes a high-voltage holding stage, a fast discharge process, and a high-voltage step-down stage during the power-off process. The system can also control the pre-charging relay and send a disconnection command or a closing command. The pre-charging relay can be in an open state or a closed state, and is controlled according to the command. Finally, the system controls the positive relay again, sends a disconnection command to disconnect it, and disconnects the motor circuit. The positive relay is in an open state, the motor circuit is disconnected, and the entire motor power-off process is completed.

[0287] The vehicle hybrid system of the present invention is mainly composed of assembly components such as an engine, a motor, a power battery, a gearbox, a clutch, a transmission mechanism, and a controller corresponding to each power assembly component. When the working information of the target vehicle meets the preset motor power-on condition, the BMS controls the negative relay to close in sequence, the pre-charge relay to close, the motor capacitor pre-charge is completed, the positive relay is closed, and after the pre-charge relay is disconnected, the HCU sends a signal to the MCU to control the MCU motor to enable. If the MCU motor is enabled, the motor high voltage is successfully powered on, and the vehicle can be driven purely electric at this time. When the driver hangs the drive gear or the reverse gear and steps on the accelerator, the vehicle can be driven. When the working information of the target vehicle meets the preset motor power-off condition, during the vehicle power-off process, the HCU sends a signal to the MCU to control the MCU motor not to enable, and then the BMS controls the positive relay to disconnect, the negative relay to disconnect, the fast discharge, the pre-charge relay to close, and the pre-charge relay to disconnect, then the vehicle hybrid system high voltage power-off is successful, and the vehicle will not be driven to travel afterwards.

[0288] Optionally, the application also includes the following information: HCU calculates the motor output target torque value according to the driver's vehicle driving conditions and sends it to the MCU via CAN signals. Among them, the motor torque may be positive or negative. The positive torque value represents the motor drive output torque or the motor assist torque, such as the motor drive output positive torque in pure electric mode, the engine works and the motor assists the output torque under high-speed conditions; negative torque represents the motor power generation torque, such as when the vehicle is in energy recovery, the motor outputs negative torque.

[0289] In order to make the MCU respond to the torque request of the HCU more reasonably and effectively, the following provisions need to be made:

[0290] (1) The motor torque response time should meet the change time requirements of "0Nm-maximum driving torque" and "maximum power generation torque-0Nm", and the response time should be controlled within 50ms (calibrable value, the smaller the better). (Note: the maximum power generation torque is a negative value); (2) The motor torque accuracy should meet the response control accuracy of ±5Nm within the change of -100Nm-100Nm; the response accuracy of changes greater than 100Nm is ±5% of the target torque value.

[0291] Figure 8 is a schematic diagram of the relationship between the motor torque control signal between the HCU and the MCU according to one embodiment of the present invention, such as Figure 8As shown in the figure, the motor request status signal sent by HCU to MCU includes torque control mode and speed control mode. MCU has torque control function and can quickly respond to motor request status signal (such as torque control mode) and motor torque request value signal instruction issued by HCU. In addition, while sending the current motor output torque to HCU, MCU also sends the validity flag of motor output torque to HCU. When the validity flag is valid, HCU can recognize that the motor output torque is a valid value. At the same time, MCU should send the current motor drive or assist torque, as well as the motor power generation torque capacity to HCU through CAN bus to ensure reasonable torque distribution inside HCU.

[0292] Fig. 9 is a schematic diagram of the relationship between motor speed control signals according to one embodiment of the present invention, such as Fig. 9 As shown in the figure, during the motor no-load idling, pure electric creeping, idling power generation and pure electric shifting process, the HCU needs to control the MCU to control the motor speed. At this time, the MCU can stably control the motor speed according to the load changes. Therefore, the MCU should have a speed control function and be able to quickly respond to the speed control mode and speed signal instructions issued by the HCU. In addition, during speed control, the MCU should limit the maximum power output of the motor according to the power limit instruction of the HCU.

[0293] Under pure electric creep conditions, the MCU controls the motor to operate in speed mode. To avoid the risk of overheating due to high torque output of the motor in a stalled state, the HCU needs to limit the maximum power output of the motor under electric creep conditions. The limit is sent to the MCU by the HCU via a CAN signal, and then the MCU should control the motor to ensure that the maximum power does not exceed the signal limit in speed mode.

[0294] Table 1 shows the design requirements of motor speed control response time and accuracy when the target vehicle is in different working modes. The corresponding meanings of each parameter are as follows: Fig.10 As shown, Fig.10 It is a schematic diagram of the motor speed response control according to one embodiment of the present invention. For example, in the motor idle power generation mode, the HCU sends a motor speed request value of 750rpm, then the MCU should respond to the motor speed request value instruction sent by the HCU, when the motor speed after the response is greater than 20rpm (exceeding the threshold in the table), or the motor speed is less than 10rpm (below the threshold in the table), the MCU should control the motor to reach the requirement of 750±10rpm within the specified time (less than 700ms), that is, 740-760rpm meets the control response characteristic requirements, which is not limited here.

[0295] Table 1 Motor speed response characteristics

[0296]

[0297] During the vehicle power-on and power-off process, the HCU needs to handle the fault according to the motor fault status signal sent by the MCU. If the vehicle is driving, the HCU also needs to handle the fault according to the different fault levels sent by the MCU. The handling measures for each motor fault level are different, as shown in Table 2. Table 2 records the possible faults of the target vehicle motor, the consequences of different faults, and the handling measures of the vehicle controller for the fault.

[0298] Table 2 Motor related fault diagnosis

[0299]

[0300]

[0301] Through the above hybrid vehicle motor control method, including high-voltage relay control, fast discharge control, capacitor pre-charge control, torque and speed mode control, etc., effective control of the power-on and power-off process of the target vehicle can be achieved. At the same time, a motor fault diagnosis and processing method is created, and the stability and reliability of vehicle operation are ensured through reasonable control of the motor.

[0302] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0303] In this embodiment, a vehicle motor control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0304] Fig.11 is a structural block diagram of a vehicle motor control device according to one embodiment of the present invention. Fig.11As shown, taking a vehicle motor control device 1100 as an example, the device includes: a first acquisition module 1101, for acquiring first working information of the target vehicle in response to the target vehicle switching from a first state to a second state, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor; a first control module 1102, for controlling the motor to enter a power-on mode in response to the first working information satisfying a preset power-on condition; a second acquisition module 1103, for acquiring second working information of the target vehicle in response to the target vehicle switching from the second state to the third state in the power-on mode, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second working information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; a second control module 1104, for controlling the motor controller to enable the motor in response to the second working information satisfying the preset closing condition, and controlling the target vehicle to travel.

[0305] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0306] An embodiment of the present invention further provides a vehicle, which is used to execute the steps in any of the above method embodiments.

[0307] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above method embodiments when running on a computer or a processor.

[0308] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0309] Step S10, in response to the target vehicle switching from the first state to the second state, obtaining first working information of the target vehicle, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor;

[0310] Step S11, in response to the first working information satisfying a preset power-on condition, controlling the motor to enter a power-on mode;

[0311] Step S12: in the power-on mode, in response to the target vehicle switching from the second state to the third state, obtaining second operating information of the target vehicle, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second operating information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charge relay, the pre-charge state of the motor capacitor, and the closing qualification of the positive relay;

[0312] Step S13: In response to the second working information satisfying a preset closing condition, the motor controller is controlled to enable the motor and control the target vehicle to travel.

[0313] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0314] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0315] Optionally, in this embodiment, the processor in the electronic device may be configured to run a computer program to perform the following steps:

[0316] Step S10, in response to the target vehicle switching from the first state to the second state, obtaining first working information of the target vehicle, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor;

[0317] Step S11, in response to the first working information satisfying a preset power-on condition, controlling the motor to enter a power-on mode;

[0318] Step S12: in the power-on mode, in response to the target vehicle switching from the second state to the third state, obtaining second operating information of the target vehicle, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second operating information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charge relay, the pre-charge state of the motor capacitor, and the closing qualification of the positive relay;

[0319] Step S13: In response to the second working information satisfying a preset closing condition, the motor controller is controlled to enable the motor and control the target vehicle to travel.

[0320] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the steps in any of the above method embodiments when executed by a processor.

[0321] Optionally, in this embodiment, the computer program in the above computer program product may be configured to perform the following steps when executed by a processor:

[0322] Step S10, in response to the target vehicle switching from the first state to the second state, obtaining first working information of the target vehicle, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor;

[0323] Step S11, in response to the first working information satisfying a preset power-on condition, controlling the motor to enter a power-on mode;

[0324] Step S12: in the power-on mode, in response to the target vehicle switching from the second state to the third state, obtaining second operating information of the target vehicle, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second operating information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charge relay, the pre-charge state of the motor capacitor, and the closing qualification of the positive relay;

[0325] Step S13: In response to the second working information satisfying a preset closing condition, the motor controller is controlled to enable the motor and control the target vehicle to travel.

[0326] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0327] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0328] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0329] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0330] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0331] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0332] If the integrated unit is implemented in the form of 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 the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., various media that can store program codes.

[0333] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A vehicle motor control method, characterized in that: include: In response to the target vehicle switching from a first state to a second state, obtaining first working information of the target vehicle, wherein the first state is used to indicate that the power system of the target vehicle is turned off and the engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first working information is used to reflect the power-on qualification of the motor; In response to the first working information satisfying a preset power-on condition, controlling the motor to enter a power-on mode; In the power-on mode, in response to the target vehicle switching from the second state to the third state, obtaining second operating information of the target vehicle, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second operating information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; In response to the second operating information satisfying a preset closing condition, a motor controller is controlled to enable the motor and control the target vehicle to travel.

2. The method according to claim 1, characterized in that: The first working information includes: a motor working state signal, a mode state signal of the motor controller, a power battery state signal, an anti-theft state signal, a high-voltage interlock state signal, an insulation fault state, and a state of any relay; The preset power-on conditions include: within a first time period, the motor working state signal switches from an initialization state to a working state, the mode state signal is in a first signal state, the power battery state signal is in a second signal state, the anti-theft state signal is in a third signal state, the high-voltage interlock state signal is in a fourth signal state, the insulation fault state indicates that there is no fault, and the state of any relay indicates that any relay is operating normally.

3. The method according to claim 1, characterized in that The second working information includes: a first vehicle speed of the target vehicle, gear information of a gearbox, a first motor capacitor voltage, a first power battery voltage, power system state information, and a pre-charging relay state. In response to the second working information satisfying a preset closing condition, controlling the motor controller to enable the motor includes: In response to the first vehicle speed being zero, the gear information indicating that the transmission is in a parking gear, the difference between the first motor capacitor voltage and the first power battery voltage being greater than a second voltage threshold, and the power system status information indicating that the power system is normal, controlling the negative relay to close; When the negative relay is in a closed state, the motor controller is controlled to enable the motor based on the pre-charge relay state.

4. The method according to claim 3, characterized in that The controlling the motor controller to enable the motor based on the pre-charging relay state comprises: Obtain a second motor capacitor voltage and a third motor capacitor voltage, wherein the second motor capacitor voltage is the voltage value of the motor capacitor when the battery management system sends a negative relay closed state signal to the vehicle controller, and the third motor capacitor voltage is the voltage value of the motor capacitor when the vehicle controller receives the negative relay closed state signal sent by the battery management system; In response to a difference between the second motor capacitor voltage and the third motor capacitor voltage being less than a first voltage threshold, controlling the pre-charging relay to close; When the pre-charging relay is in a closed state, in response to the state of the pre-charging relay indicating that the pre-charging relay operates normally, obtaining a pre-charging voltage value of the motor capacitor; The motor controller is controlled to enable the motor based on the pre-charge voltage value.

5. The method according to claim 4, characterized in that The method further comprises: In response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, stopping controlling the motor and reporting a first fault code, wherein the first fault code is used to indicate that the pre-charging relay has a sticking fault; In response to the difference between the second motor capacitor voltage and the third motor capacitor voltage being greater than the second voltage threshold, control of the motor is stopped and a second fault code is reported, wherein the second fault code is used to indicate that there is a adhesion fault in the positive relay.

6. The method according to claim 4, characterized in that The controlling the motor controller to enable the motor based on the pre-charge voltage value comprises: In response to the pre-charge voltage value being greater than or equal to a third voltage threshold, determining a difference between a second power battery voltage and a fourth motor capacitor voltage within a first time period; In response to the difference between the second power battery voltage and the fourth motor capacitor voltage being less than a fourth voltage threshold, controlling the positive relay to close; When the positive relay is in a closed state, in response to the positive relay operating normally, controlling the pre-charging relay to be disconnected within a second time period; When the pre-charging relay is in an off state, the motor controller is controlled to enable the motor.

7. The method according to claim 6, characterized in that The method further comprises: In response to the difference between the second power battery voltage and the fourth motor capacitor voltage being greater than or equal to the fourth voltage threshold, control of the motor is stopped and a third fault code is reported, wherein the third fault code is used to indicate that there is a pull-in fault in the pre-charging relay.

8. The method according to claim 6, characterized in that The method further comprises: When the positive relay is in a closed state, in response to an operation failure of the pre-charging relay, determining a difference between a third power battery voltage and a fifth motor capacitor voltage; In response to the difference between the third power battery voltage and the fifth motor capacitor voltage being greater than a fifth voltage threshold, control of the motor is stopped and a fourth fault code is reported, wherein the fourth fault code is used to indicate that there is a pull-in fault in the positive relay.

9. The method according to claim 1, characterized in that: The method further comprises: In response to the target vehicle satisfying a fault condition, the motor is controlled to enter a power-off mode, wherein the fault condition includes at least one of the following: any relay operating failure, a first preset fault in the motor, a second preset fault in the power battery or a request to disconnect any relay, a collision with the target vehicle, an insulation monitoring state being a preset reminder state, an interlock fault in the target vehicle and a vehicle speed lower than a preset speed, or communication between the motor controller and the vehicle controller is interrupted.

10. The method according to claim 1, characterized in that The method further comprises: In response to the target vehicle switching to the first state, controlling the motor controller to disable the motor, and acquiring third operating information of the target vehicle, wherein the third operating information is used to reflect the power-off qualification of the motor; In response to the third working information satisfying a preset power-off condition, the motor is controlled to enter a power-off mode, wherein the preset power-off condition includes: the second vehicle speed of the target vehicle is zero, the vehicle electric air conditioner feeds back a power-off permission signal, the battery management system feeds back a power-off permission signal, and the motor controller feeds back a power-off permission signal.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: In the power-off mode, the positive relay is controlled to be disconnected, and fourth working information of the target vehicle is obtained, wherein the fourth working information is used to reflect the disconnection qualification of the positive relay, the disconnection qualification of the negative relay, the discharge state of the motor capacitor, and the disconnection qualification of the pre-charging relay; When the positive relay is in an off state, in response to the fourth operation information satisfying a preset off condition, the control of the motor is stopped.

12. The method according to claim 11, characterized in that In response to the fourth operation information satisfying a preset disconnection condition, stopping controlling the motor includes: In response to a difference between a sixth motor capacitor voltage in a third time period and a seventh motor capacitor voltage before the positive relay is disconnected being greater than a sixth voltage threshold, determining that the positive relay is operating normally; In response to the positive relay operating normally, controlling the negative relay to be disconnected; When the negative pole relay is in an open state, in response to the discharge state of the motor controller satisfying a preset discharge state, controlling the pre-charging relay to close, wherein the preset discharge state is used to indicate that the motor controller enters a preset discharge mode and exits the preset discharge mode; When the pre-charging relay is in a closed state, in response to the pre-charging relay operating normally, obtaining a voltage change value of the motor capacitor within a fourth time period; In response to the voltage change value being less than a seventh voltage threshold, the pre-charging relay is controlled to be opened, and the control of the motor is stopped.

13. The method according to claim 12, characterized in that The method further comprises: In response to the difference between the sixth motor capacitor voltage and the seventh motor capacitor voltage being less than or equal to the sixth voltage threshold, the fault flag state of the positive relay is stored in the internal fault code, and the negative relay is controlled to be disconnected.

14. The method according to claim 12, characterized in that The method further comprises: In response to the voltage change value being greater than or equal to the seventh voltage threshold, the fault flag state of the negative pole relay is stored in an internal fault code, and a power-off fault signal is reported.

15. The method according to claim 12, characterized in that The method further comprises: In response to the motor controller entering the preset discharge mode, fifth working information is acquired, wherein the fifth working information includes at least one of the following: command information received by the motor controller, an eighth motor capacitor voltage, a diagnosis result of the motor controller, and a motor hard-line emergency stop signal state; In response to the fifth working information satisfying the conditions for exiting the preset discharge mode, the motor controller is controlled to exit the preset discharge mode, wherein the conditions for exiting the preset discharge mode include at least one of the following: the motor controller receives an instruction to prohibit rapid discharge, the eighth motor capacitor voltage is less than or equal to a preset safety voltage, the diagnosis result of the motor controller is abnormal, and the motor hard-wired emergency stop signal status indicates that the motor hard-wired emergency stop signal is set.

16. A vehicle motor control device, characterized in that: include: A first acquisition module, configured to acquire first operating information of the target vehicle in response to the target vehicle switching from a first state to a second state, wherein the first state is used to indicate that a power system of the target vehicle is turned off and an engine of the target vehicle is not started, the second state is used to indicate that the power system is turned on and the engine is not started, and the first operating information is used to reflect the power-on qualification of the motor; A first control module, configured to control the motor to enter a power-on mode in response to the first working information satisfying a preset power-on condition; a second acquisition module, configured to acquire second operating information of the target vehicle in response to the target vehicle switching from the second state to the third state in the power-on mode, wherein the third state is used to indicate that the power system is turned on and the engine is started, and the second operating information is used to reflect the closing qualification of the negative relay, the closing qualification of the pre-charging relay, the pre-charging state of the motor capacitor, and the closing qualification of the positive relay; The second control module is used to control the motor controller to enable the motor and control the target vehicle to travel in response to the second working information satisfying a preset closing condition.

17. A vehicle, characterized in that: The vehicle is used to execute the vehicle motor control method described in any one of claims 1 to 15 above.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the vehicle motor control method described in any one of claims 1 to 15 when running on a computer or a processor.

19. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the vehicle motor control method described in any one of claims 1 to 15.

20. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the vehicle motor control method described in any one of claims 1 to 15.

Citation Information

Cited By

  • Flying car power distribution system control method and device, flying car and storage medium

    CN119428203A