Bus voltage fault processing method and device, motor controller and vehicle
By judging the effectiveness of the bus voltage signal in an electric vehicle and adjusting the motor torque using the power battery pack and the alternative value of the DC converter voltage value, the problem of bus voltage signal invalid caused by internal faults of the motor controller is solved, and the stability of the vehicle is improved Sex and driving experience.
Patent Information
- Application Number
- CN202411327544.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-11-08
AI Technical Summary
In electric vehicles, the bus voltage sampling circuit inside the motor controller fails to cause the bus voltage signal to be invalid, affecting the normal operation of the drive system and user experience.
By determining whether the bus voltage signal is invalid and when the whole vehicle is in operation, the motor torque is adjusted to ensure that the motor controller is controlled by using the smaller value of the power battery pack voltage value and the DC converter voltage value as the substitute value of the bus voltage. reliability and stability.
When the bus voltage signal is invalid, the vehicle is maintained normally through the adjustment of the power battery pack and the voltage value of the DC converter, which improves the reliability of the motor controller, the stability and driving experience of the entire vehicle.
Smart Images

Figure CN118906822A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a bus voltage fault processing method, device, motor controller and vehicle. Background Art
[0002] In the motor control process, bus voltage is a necessary input signal. Its accuracy directly affects the motor control effect and further affects the vehicle's driving performance.
[0003] Inside electric vehicles, a bus voltage sampling circuit is installed within the electric drive controller to obtain the voltage value on the electric drive system bus. This value is crucial in the motor controller, as its authenticity and effectiveness directly impact motor control. However, if the voltage sampling circuit within the motor controller fails during normal vehicle operation, it will be unable to effectively detect the bus voltage value, rendering the bus voltage signal invalid. This will affect the normal operation of the drive system and provide a poor driving experience for the user.
[0004] Therefore, it is necessary to provide an improved bus voltage fault handling method, device, motor controller and vehicle to solve the above problems. Summary of the Invention
[0005] The present application provides a bus voltage fault handling method, device, motor controller and vehicle that improve stability and reliability.
[0006] This application discloses a bus voltage fault processing method, comprising:
[0007] When the motor controller is in the working mode, determining whether the bus voltage signal is in an invalid state;
[0008] Based on the bus voltage signal being in an invalid state, monitoring the entire vehicle and determining whether the entire vehicle is in a running state;
[0009] Based on the entire vehicle being in a running state, the torque of the motor is adjusted using a bus voltage replacement value, where the bus voltage replacement value is determined based on the voltage value of the power battery pack and the voltage value of the DC converter.
[0010] Furthermore, the adjusting the torque of the motor by using the bus voltage substitute value includes:
[0011] Determining whether the voltage signal of the DC converter is in a valid state;
[0012] When the voltage signal of the DC converter is in a valid state, comparing the voltage value of the power battery pack with the voltage value of the DC converter;
[0013] The smaller value between the voltage value of the power battery pack and the voltage value of the DC converter is selected as the bus voltage replacement value.
[0014] Furthermore, the step of adjusting the torque of the motor by using the bus voltage substitute value further includes:
[0015] When the voltage signal of the DC converter is in an invalid state, the voltage value of the power battery pack is selected as the bus voltage replacement value.
[0016] Furthermore, the determining whether the bus voltage signal is in an invalid state includes:
[0017] Obtaining the bus voltage value of the motor controller and the voltage value of the power battery pack;
[0018] Calculating the absolute value of the difference between the bus voltage value and the voltage value of the power battery pack;
[0019] If the absolute value of the difference is greater than a first threshold and the voltage value of the power battery pack is greater than a second threshold, determining that the bus voltage signal is in a valid state;
[0020] Otherwise, it is determined that the bus voltage signal is in an invalid state.
[0021] Furthermore, judging whether the vehicle is in a running state based on the bus voltage signal being in an invalid state includes:
[0022] Based on obtaining a closing signal of the high-voltage relay and monitoring that the vehicle is in a driving state, determining that the vehicle is in a running state;
[0023] Based on obtaining a disconnection signal of the high-voltage relay, or monitoring that the entire vehicle is in a stationary state, it is determined that the entire vehicle is not in a running state, and the electric drive system is controlled to enter a fault mode.
[0024] Furthermore, the method further comprises:
[0025] Before the motor controller enters the working mode, based on the acquisition of the closing signal of the high-voltage relay, judging whether the bus voltage signal is in a valid state according to the fault detection result of the bus voltage signal;
[0026] Based on the bus voltage signal being in a valid state, the motor controller enters a working mode;
[0027] Based on the bus voltage signal being in an invalid state, the electric drive system is controlled to enter a fault mode.
[0028] Furthermore, after the torque of the motor is adjusted by using the bus voltage substitute value, the method further includes:
[0029] Continuing to determine whether the vehicle is in a driving state;
[0030] If it is detected that the vehicle is not in a driving state, the electric drive system is controlled to enter a fault mode.
[0031] The present application also discloses a bus voltage fault processing device, comprising:
[0032] The first judgment module is used to judge whether the bus voltage signal is in an invalid state;
[0033] a second judgment module, configured to monitor the entire vehicle and determine whether the entire vehicle is in a running state based on the bus voltage signal being in an invalid state;
[0034] A processing module, configured to select a bus voltage replacement value based on the voltage value of the power battery and the voltage value of the DC converter;
[0035] The control module is used to adjust the torque of the motor using the bus voltage replacement value based on the vehicle being in a running state.
[0036] The present application also discloses a motor controller, comprising a memory and a processor;
[0037] The memory is used to store computer programs;
[0038] When the processor is used to execute the computer program, it implements the bus voltage fault processing method described above.
[0039] The present application also discloses a vehicle, comprising the motor controller as described above.
[0040] The bus voltage fault handling method, device, motor controller and vehicle of the present application determine the bus voltage replacement value based on the voltage value of the power battery pack and the voltage value of the DC converter, judge whether the whole vehicle is in the running state when the bus voltage signal is in an invalid state, and use the bus voltage replacement value to adjust the torque of the motor when the whole vehicle is in the running state, thereby maintaining the continued operation of the whole vehicle when the bus voltage signal is invalid, and by selecting a suitable bus voltage replacement value to replace the bus voltage as the input of the motor control, the reliability and safety of the motor controller are improved, thereby improving the stability and driving experience of the whole vehicle.
[0041] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0043] Figure 1 This is a flow chart of the bus voltage fault handling method of the present application.
[0044] Figure 2 This is a schematic diagram of the high-voltage circuit of the electric drive system of this application.
[0045] Figure 3 This is a complete flow chart of an embodiment of the bus voltage fault processing method of the present application.
[0046] Figure 4 It is a schematic diagram of the bus voltage fault handling device of the present application. DETAILED DESCRIPTION
[0047] Here, the technical solutions in the embodiments (or "implementations") of the present application will be clearly and completely described in conjunction with the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements.
[0048] It should be noted that the terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0049] Next, the embodiments of this specification are described in detail.
[0050] like Figure 1 As shown, the present application provides a bus voltage fault processing method, comprising the following steps:
[0051] Step S100: When the motor controller is in the working mode, determine whether the bus voltage signal is in an invalid state.
[0052] Motor controllers typically include a bus voltage sampling circuit to measure the bus voltage. The motor controller's underlying software calculates the bus voltage based on the electrical signal from the bus voltage sampling circuit and determines the validity of the bus voltage signal. If the bus voltage sampling circuit malfunctions, it becomes unable to effectively detect the bus voltage, potentially rendering the bus voltage signal invalid.
[0053] Specifically, in this application, the method for determining whether the bus voltage signal is in an invalid state includes the following steps:
[0054] S101. Obtain the bus voltage value of the motor controller and the voltage value of the power battery pack.
[0055] S102: Calculate the absolute value of the difference between the bus voltage and the power battery pack voltage.
[0056] S103: If the absolute value of the difference is greater than the first threshold and the voltage value of the power battery pack is greater than the second threshold, determine that the bus voltage signal is in a valid state.
[0057] S104 : Otherwise, determine that the bus voltage signal is in an invalid state.
[0058] It can be seen that the bus voltage signal is only valid when both the absolute value of the difference between the bus voltage and the power battery pack voltage is greater than the first threshold, and the power battery pack voltage is greater than the second threshold, are met. Failure to meet any of these conditions will result in the bus voltage signal being invalid.
[0059] Under normal circumstances, the power battery pack voltage is not too low. If the power battery pack voltage is less than the second threshold, it may indicate insufficient charge or abnormal battery status, which can affect the normal operation of the electric drive system and make the bus voltage measurement unreliable. At the same time, by setting the absolute value of the difference between the bus voltage and the power battery pack voltage to be greater than the first threshold, it is possible to eliminate the interference of small fluctuations caused by system errors in determining the validity of the bus voltage.
[0060] In this embodiment, the first threshold and the second threshold are both 40V.
[0061] Furthermore, before the motor controller enters the working mode, the following steps are also included:
[0062] Based on the closing signal of the high-voltage relay, it is determined whether the bus voltage signal is in a valid state.
[0063] Please also refer to Figure 2 Only when the high-voltage relay is closed will the entire electric drive system's electrical circuit be closed. At this point, the power battery pack voltage can be transmitted to the motor controller. The bus voltage sampling circuit within the motor controller collects the bus voltage, allowing the motor controller to determine the validity status of the bus voltage signal.
[0064] Based on the bus voltage signal being in a valid state, the motor controller enters the working mode. The motor controller controls the motor normally to start running and drive the entire vehicle.
[0065] Because the bus voltage signal is in an invalid state, the electric drive system enters fault mode. At this point, the vehicle is stationary because the motor controller has not yet driven the motor. When the electric drive system enters fault mode, the motor controller reports a fault code to the central control unit for further analysis and repair.
[0066] In the present application, the status detection of the bus voltage signal is real-time, which is conducive to timely and effective control of the motor when the bus voltage fails, so as to improve the reliability and stability of the motor controller, and improve the timeliness of the bus voltage fault handling method of the present application.
[0067] Step S200: Based on the bus voltage signal being in an invalid state, monitor the entire vehicle and determine whether the entire vehicle is in a running state.
[0068] After determining that the bus voltage signal is invalid, the vehicle status will be continuously monitored to determine whether the vehicle is in operation. In this application, the operation status of the vehicle is related to the opening and closing status of the high-voltage relay and the movement status of the vehicle. Determining whether the vehicle is in operation also includes the following steps:
[0069] Based on obtaining the closing signal of the high-voltage relay and monitoring that the entire vehicle is in a driving state, it is determined that the entire vehicle is in an operating state.
[0070] The closure of the high-voltage relay indicates that the electric drive system's electrical circuit is closed, and the motor controller is functioning normally to control the motor's output torque. The vehicle's driving state is typically determined by its speed. For example, if the motor speed exceeds a certain threshold, the vehicle is considered to be in motion; otherwise, it is considered to be stationary.
[0071] Based on obtaining the disconnection signal of the high-voltage relay, or monitoring that the vehicle is in a stationary state, it is determined that the vehicle is not in a running state, and the electric drive system is controlled to enter a fault mode.
[0072] It's understandable that when the motor controller detects a bus voltage fault, it transmits this information to the battery management system. The battery management system may take specific actions based on the bus voltage fault, including disconnecting the high-voltage relay. If the high-voltage relay disconnects, the electric drive system's electrical circuit cannot close, and the motor controller loses power to operate normally. At this point, the electric drive system enters fault mode and reports a fault code.
[0073] When the vehicle is stationary, there is no need to adjust the motor torque, and the electric drive system will enter fault mode and report a fault code.
[0074] In this application, in the process of determining whether the vehicle is in operation, the vehicle's driving or stationary state is first determined, and then the opening and closing status of the high-voltage relay is determined.
[0075] Step S300: Based on the vehicle being in operation, the torque of the motor is adjusted using a bus voltage replacement value, where the bus voltage replacement value is determined based on the voltage value of the power battery pack and the voltage value of the DC converter.
[0076] When the high-voltage relay is closed and the vehicle is in motion, the motor controller enters torque-degraded mode. In this mode, the motor torque is adjusted using a substitute value for the bus voltage, preventing an emergency stop and allowing the vehicle to continue running to a repair station or other safe location.
[0077] Specifically, the bus voltage substitution value is used to adjust the torque of the motor, including the following steps:
[0078] Determine whether the voltage signal of the DC converter is in a valid state.
[0079] If the voltage sampling circuit of the DC converter fails, that is, the voltage signal of the DC converter is in an invalid state, the voltage of the DC converter has no reference value and cannot play a role in bus voltage fault processing.
[0080] When the voltage signal of the DC converter is in a valid state, the voltage value of the power battery pack is compared with the voltage value of the DC converter, and the smaller value of the voltage value of the power battery pack and the voltage value of the DC converter is selected as the bus voltage replacement value.
[0081] Understandably, the voltages at various points in the electric drive system are not uniform, and a certain voltage differential always exists. By selecting the smaller of the power battery pack and DC converter voltages as the bus voltage substitute, the risks associated with excessively high bus voltage substitutes can be effectively mitigated, improving the reliability and fault tolerance of the motor controller. Furthermore, by inputting a smaller voltage value into the motor control calculation process to adjust the motor torque, more precise motor control can be achieved, allowing the motor controller to maintain relatively stable operation even in the event of a bus voltage failure.
[0082] When the voltage signal of the DC converter is in an invalid state, the voltage value of the power battery pack is selected as the bus voltage substitute value.
[0083] In this case, the voltage value of the power battery pack is directly selected as the bus voltage substitute value, ensuring that the motor controller can still operate normally when the DC converter voltage signal is invalid, avoiding instability of the motor controller due to the inability to obtain a valid bus voltage.
[0084] Furthermore, after the bus voltage replacement value is used to adjust the torque of the motor, the bus voltage fault processing method of the present application further includes the following steps:
[0085] Continue to determine whether the vehicle is in a driving state.
[0086] If it is detected that the vehicle is not in driving state, the electric drive system is controlled to enter fault mode.
[0087] When the vehicle is not in motion, there is no need to control the motor's torque. In this case, the electric drive system is controlled to enter fault mode and report a fault code, prompting maintenance to display the vehicle's fault condition and obtain repairs as soon as possible.
[0088] The following combination Figure 3 , the complete process of an embodiment of the bus voltage fault processing method of the present application is described:
[0089] First, close the high voltage relay.
[0090] Based on the closing signal of the high-voltage relay, it is determined whether the bus voltage signal is in a valid state.
[0091] If the bus voltage signal is in an invalid state, the electric drive system is controlled to enter a fault mode and report a fault code. If the bus voltage signal is in a valid state, the motor controller enters an operating mode and continues to determine whether the bus voltage signal is in a valid state.
[0092] If the bus voltage signal is in a valid state, the motor controller continues the working mode. If the bus voltage signal is in an invalid state, it is determined whether the vehicle is in a driving state.
[0093] If the vehicle is stationary, the electric drive system is controlled to enter fault mode and report a fault code. If the vehicle is in motion, the high-voltage relay is determined to be closed.
[0094] When the high-voltage relay is disconnected, the electric drive system enters fault mode and reports a fault code. When the high-voltage relay is closed, the motor torque is adjusted using the bus voltage substitute value, and the motor controller enters torque-degraded operation mode while continuing to determine whether the vehicle is in a driving state.
[0095] Assuming the vehicle is stationary, the electric drive system is controlled to enter fault mode and report a fault code. Assuming the vehicle is in motion, the motor torque is adjusted using the bus voltage substitution value.
[0096] like Figure 4 As shown, the present application also provides a bus voltage fault processing device, comprising:
[0097] The first judgment module is used to judge whether the bus voltage signal is in an invalid state.
[0098] The second judgment module is used to monitor the entire vehicle and judge whether the entire vehicle is in a running state based on the fact that the bus voltage signal is in an invalid state.
[0099] The processing module is used to select a bus voltage replacement value according to the voltage value of the power battery and the voltage value of the DC converter.
[0100] The control module is used to adjust the torque of the motor using the bus voltage replacement value based on the vehicle being in a running state.
[0101] The present application also provides a motor controller including a memory and a processor. The memory is used to store a computer program. The processor is used to implement the bus voltage fault processing method described above when executing the computer program.
[0102] The present application also provides a vehicle, comprising the motor controller as described above.
[0103] The bus voltage fault handling method, device, motor controller and vehicle of the present application determine the bus voltage replacement value based on the voltage value of the power battery pack and the voltage value of the DC converter, judge whether the whole vehicle is in the running state when the bus voltage signal is in an invalid state, and use the bus voltage replacement value to adjust the torque of the motor when the whole vehicle is in the running state, thereby maintaining the continued operation of the whole vehicle when the bus voltage signal is invalid, and by selecting a suitable bus voltage replacement value to replace the bus voltage as the input of the motor control, the reliability and safety of the motor controller are improved, thereby improving the stability and driving experience of the whole vehicle.
[0104] It should be noted that the technical solutions or technical features described in the above embodiments can be combined or supplemented with each other without conflict. The scope of protection of this application is not limited to the precise structures described in the above embodiments and shown in the accompanying drawings; all modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application shall be included in the scope of protection of this application.
Claims
1. A method for handling a bus voltage fault, characterized in that: include: When the motor controller is in the working mode, determining whether the bus voltage signal is in an invalid state; Based on the bus voltage signal being in an invalid state, monitoring the entire vehicle and determining whether the entire vehicle is in a running state; Based on the whole vehicle being in a running state, the torque of the motor is adjusted by using a bus voltage substitution value, and the bus voltage substitution value is determined according to the voltage value of the power battery pack and the voltage value of the DC converter.
2. The bus voltage fault processing method according to claim 1, characterized in that: The step of adjusting the torque of the motor by using the bus voltage substitute value comprises: Determining whether the voltage signal of the DC converter is in a valid state; When the voltage signal of the DC converter is in a valid state, comparing the voltage value of the power battery pack with the voltage value of the DC converter; The smaller value between the voltage value of the power battery pack and the voltage value of the DC converter is selected as the bus voltage replacement value.
3. The bus voltage fault processing method according to claim 2, characterized in that: The step of adjusting the torque of the motor by using the bus voltage substitute value further includes: When the voltage signal of the DC converter is in an invalid state, the voltage value of the power battery pack is selected as the bus voltage replacement value.
4. The bus voltage fault processing method according to claim 1, characterized in that: The determining whether the bus voltage signal is in an invalid state includes: Obtaining a bus voltage value of the motor controller and a voltage value of the power battery pack; Calculating the absolute value of the difference between the bus voltage value and the voltage value of the power battery pack; If the absolute value of the difference is greater than a first threshold and the voltage value of the power battery pack is greater than a second threshold, it is determined that the bus voltage signal is in a valid state; Otherwise, it is determined that the bus voltage signal is in an invalid state.
5. The bus voltage fault processing method according to claim 1, characterized in that: The step of determining whether the vehicle is in a running state comprises: Based on obtaining a closing signal of the high-voltage relay and monitoring that the whole vehicle is in a driving state, determining that the whole vehicle is in a running state; Based on obtaining a disconnection signal of the high-voltage relay, or monitoring that the whole vehicle is in a stationary state, it is determined that the whole vehicle is not in a running state, and the electric drive system is controlled to enter a fault mode.
6. The bus voltage fault processing method according to claim 1, characterized in that: The method further comprises: Before the motor controller enters the working mode, based on the closing signal of the high-voltage relay obtained, it is determined whether the bus voltage signal is in a valid state; Based on the bus voltage signal being in a valid state, the motor controller enters a working mode; Based on the bus voltage signal being in an invalid state, the electric drive system is controlled to enter a fault mode.
7. The bus voltage fault processing method according to claim 1, characterized in that: After the torque of the motor is adjusted by using the bus voltage substitute value, the method further includes: Continue to determine whether the vehicle is in a driving state; If it is detected that the vehicle is not in a driving state, the electric drive system is controlled to enter a fault mode.
8. A bus voltage fault processing device, characterized in that: include: The first judgment module is used to judge whether the bus voltage signal is in an invalid state; A second judgment module is used to monitor the whole vehicle and judge whether the whole vehicle is in a running state based on the fact that the bus voltage signal is in an invalid state; A processing module, used for selecting a bus voltage substitute value according to a voltage value of a power battery and a voltage value of a DC converter; The control module is used to adjust the torque of the motor by using the bus voltage substitute value based on the whole vehicle being in a running state.
9. A motor controller, characterized in that: including memory and processor; The memory is used to store computer programs; When the processor is used to execute the computer program, the bus voltage fault processing method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: Comprising a motor controller as claimed in claim 9.
