High-voltage interlocking control method, motor controller, vehicle and storage medium
By setting up a dedicated low-voltage circuit inside the motor controller to detect the interlock status of the high-voltage connector, the problem of false triggering of high-voltage interlock faults caused by poor contact of the low-voltage connector is solved, enabling more accurate fault location and safe handling, and improving user experience and fault handling efficiency.
Patent Information
- Application Number
- CN202511648706.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-11
- Publication Date
- 2026-02-24
AI Technical Summary
In existing technologies, poor contact in low-voltage connectors leads to a high rate of false triggering of high-voltage interlock faults, making it impossible to accurately locate faulty high-voltage components, affecting the user's vehicle experience and limiting the efficiency and accuracy of fault handling.
A dedicated low-voltage circuit is set up inside the motor controller to detect the interlock status of the high-voltage connectors and send the detection results to the vehicle controller. The vehicle controller then executes targeted safety handling strategies based on the interlock status of the motor controller.
This reduces the risk of false triggering caused by poor contact in low-voltage connectors, improves the accuracy and efficiency of fault handling, and ensures vehicle safety and user experience.
Smart Images

Figure CN121552926A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle control technology, and in particular relates to a high-voltage interlock control method, a motor controller, a vehicle, and a storage medium. Background Technology
[0002] As the core power component of the high-voltage system in new energy vehicles, the motor controller is responsible for converting the DC power from the power battery into the AC power required to drive the motor. The reliable connection of its high-voltage connectors is crucial to the vehicle's power output and safety. In related technologies, a high-voltage interlock detection method is typically used to detect the connection status (interlock status) of the motor controller's high-voltage connectors. Specifically, a low-voltage circuit connects the motor controller's high-voltage connectors in series with the high-voltage connectors of other high-voltage components (such as the power battery). This low-voltage circuit is monitored in real time by the vehicle controller. When all series-connected high-voltage connectors are correctly inserted, the low-voltage circuit forms a closed circuit, and the vehicle controller can detect preset normal circuit signals (such as specific voltage or resistance values). When abnormal conditions occur, such as high-voltage harness damage, loose high-voltage connectors, or poor contact, the low-voltage circuit will become open-circuited or short-circuited. Upon detecting the relevant signals, the vehicle controller determines that a high-voltage interlock fault has occurred. Once a high-voltage interlock fault is detected, the vehicle controller will immediately execute preset safety measures, such as prohibiting the high-voltage system from being powered on, or forcibly cutting off the high-voltage circuit when the high-voltage system is already powered on, thereby effectively ensuring driving safety.
[0003] However, in practical applications, multiple high-voltage components' high-voltage connectors' interlock terminals need to be connected in series via low-voltage connectors to form a low-voltage circuit. Occasional poor contact in the low-voltage connectors can cause a momentary open circuit in the low-voltage circuit, falsely triggering a high-voltage interlock fault determination. This leads to unnecessary protection actions (such as powering off the entire vehicle), affecting the user experience and causing the actual failure rate of the vehicle's high-voltage interlock system to be statistically higher, interfering with the diagnosis and troubleshooting of real faults. On the other hand, the vehicle controller can only obtain the overall on / off status information of the entire low-voltage circuit. When an open-circuit fault occurs, the vehicle controller cannot distinguish whether the problem lies with the high-voltage connector of the motor controller or other high-voltage components. This makes it difficult for the vehicle controller to implement differentiated safety handling strategies for the motor controller, limiting the efficiency and accuracy of fault handling.
[0004] It should be noted that the information disclosed in the background section of this application is intended only to enhance the understanding of the general background of this application, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0005] This application provides a high-voltage interlock control method for a motor controller, a motor controller, a vehicle, and a storage medium, in order to solve the problems in related technologies, such as high false trigger rate of high-voltage interlock faults due to poor contact of low-voltage connectors, and inability to accurately locate faulty high-voltage components.
[0006] In a first aspect, embodiments of this application provide a high-voltage interlock control method for a motor controller. The motor controller includes N high-voltage connectors with interlock terminals, and the interlock terminals of the N high-voltage connectors are electrically connected to form a low-voltage circuit, where N ≥ 1. The method includes: Based on the voltage sampling value of the low-voltage circuit, determine the interlocking state of N high-voltage connectors; The vehicle controller sends N interlock states of the high-voltage connectors to the vehicle controller, which then performs corresponding control operations based on the interlock states.
[0007] In one possible implementation, determining the interlocking state of the N high-voltage connectors based on the voltage sampling value of the low-voltage circuit includes: If the voltage sampling value of the low-voltage circuit is within the preset voltage range, then the interlocking state of the N high-voltage connectors is determined to be normal. If the voltage sampling value of the low-voltage circuit does not fall within the preset voltage range, then the interlocking state of the N high-voltage connectors is determined to be abnormal.
[0008] One possible implementation also includes: If the interlocking state of N high-voltage connectors is abnormal, then determine whether the bus voltage of the motor controller is less than the first preset voltage value and whether the input voltage of the AC device is less than the second preset voltage value. If the bus voltage of the motor controller is less than the first preset voltage value or the input voltage of the AC device is less than the second preset voltage value, then the interlocking state of the N high-voltage connectors is determined to be the open circuit state. If the bus voltage of the motor controller is greater than or equal to the first preset voltage value, and the input voltage of the AC device is greater than or equal to the second preset voltage value, then the interlocking state of the N high-voltage connectors is determined to be normal.
[0009] One possible implementation also includes: If the interlocking state of the N high-voltage connectors is open circuit, then determine whether the speed of the drive motor is less than the preset speed value. If the speed of the drive motor is less than the preset speed value, then the interlocking state of the N high-voltage connectors is determined to be an interlocking fault state. If the speed of the drive motor is greater than or equal to the preset speed value, then the interlocking state of the N high-voltage connectors is determined to be an interlocking alarm state.
[0010] One possible implementation also includes: The vehicle controller is used to record fault codes and execute a fault power-off processing procedure when the interlocking state of the N high-voltage connectors is an interlocking fault state. The vehicle controller is used to record fault codes when the interlock status of N high-voltage connectors is in an interlock alarm state.
[0011] In one possible implementation, the step of determining whether the drive motor speed is less than a preset speed value if the interlocking state of the N high-voltage connectors is an open circuit includes: If the interlocking state of N high-voltage connectors is open circuit, then the interlocking state of N high-voltage connectors is updated according to the first preset update cycle, where the first preset update cycle is less than the first preset time. If, after the first preset time, the interlocking state of the N high-voltage connectors remains open, then it is determined whether the speed of the drive motor is less than the preset speed value.
[0012] In one possible implementation, the step of determining whether the drive motor speed is less than a preset speed value if the interlocking state of the N high-voltage connectors is an open circuit includes: If the interlocking state of N high-voltage connectors is open circuit, then the interlocking state of N high-voltage connectors is updated according to the second preset update cycle, where the second preset update cycle is less than the second preset time. If the cumulative number is greater than the preset number, then it is determined whether the speed of the drive motor is less than the preset speed value. The cumulative number is the cumulative number of times that the interlocking state of N high-voltage connectors is in the open circuit state within the second preset time period.
[0013] Secondly, embodiments of this application provide a motor controller, including: N high-voltage connectors with interlocking terminals are electrically connected to form a low-voltage circuit, where N≥1; A control unit configured to perform the method described in any one of the first aspects.
[0014] Thirdly, embodiments of this application provide a vehicle including the motor controller described in the second aspect.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any one of the first aspects.
[0016] In this embodiment, by setting a dedicated low-voltage circuit inside the motor controller to detect the interlock status of the high-voltage connector of the motor controller itself, it is not necessary to connect to the low-voltage circuit of the whole vehicle, thus reducing the risk of false triggering caused by poor contact of the low-voltage connector; at the same time, the detected interlock status is sent to the vehicle controller, and the vehicle controller can directly execute targeted safety handling strategies based on the interlock status of the high-voltage connector of the motor controller. Attached Figure Description
[0017] Figure 1 A schematic diagram of a high-voltage interlock provided in an embodiment of this application; Figure 2 This application provides a schematic diagram of the interlocking structure of a high-voltage interlocking connector. Figure 3 This is a schematic diagram of an application scenario provided by an embodiment of this application; Figure 4 This is a schematic flowchart of a high-voltage interlock control method for a motor controller provided in an embodiment of this application; Figure 5 This is a schematic flowchart of a high-voltage interlock false alarm detection method provided in an embodiment of this application; Figure 6 This is a schematic flowchart of another high-voltage interlock control method for a motor controller provided in an embodiment of this application; Figure 7 This is a schematic flowchart of another high-voltage interlock control method for a motor controller provided in an embodiment of this application. Detailed Implementation
[0018] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0019] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0020] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0021] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0022] With the acceleration of the global energy transition, new energy vehicles are playing an increasingly important role in the transportation sector due to their significant advantages such as environmental friendliness and high efficiency. As the number of new energy vehicles continues to rise, their safety has become a growing concern. The high-voltage systems of new energy vehicles (including the power battery pack, motor controller, and on-board charger) are the core of the power system, typically operating at voltages of several hundred volts. Electrical failures can cause serious harm to people and vehicles. Therefore, ensuring the safety of high-voltage systems is a critical aspect of the design and manufacturing process of new energy vehicles.
[0023] As the core power component of the high-voltage system in new energy vehicles, the motor controller is responsible for converting the DC power from the power battery into the AC power required to drive the motor. The reliable connection of its high-voltage connectors plays a decisive role in the safety of the entire vehicle. In related technologies, high-voltage interlock detection is typically used to detect the connection status of the high-voltage connectors of the motor controller.
[0024] See Figure 1 This is a schematic diagram of a high-voltage interlock provided in an embodiment of this application. Figure 1 As shown, a low-voltage circuit connects the high-voltage connector of the motor controller in series with the interlock terminals of the high-voltage connectors of other high-voltage components (power battery pack and air conditioner in the figure), and the vehicle controller monitors this low-voltage circuit in real time.
[0025] See Figure 2 This is a schematic diagram of the interlocking structure of a high-voltage interlocking connector provided in an embodiment of this application. Figure 2 As shown, the interlocking structure is integrated inside the high-voltage connector. The high-voltage interlocking function is achieved through the differentiated physical design (such as differences in length and position) between the interlocking terminals and the high-voltage terminals. Specifically, when the high-voltage connector is inserted, the high-voltage terminals connect before the interlocking terminals; when the high-voltage connector is removed, the interlocking terminals disconnect before the high-voltage terminals, thus ensuring the effectiveness of the high-voltage interlocking detection.
[0026] When all series-connected high-voltage connectors are correctly plugged in, the low-voltage circuit forms a closed circuit, and the vehicle controller can detect preset normal circuit signals (such as specific voltage or resistance values). However, when abnormalities occur, such as damage to the high-voltage harness, accidental loosening of high-voltage connectors, or poor contact, the low-voltage circuit will become open. Upon detecting the relevant signals, the vehicle controller will determine that a high-voltage interlock fault has occurred. Once a high-voltage interlock fault is determined, the vehicle controller will immediately execute preset safety measures, such as prohibiting the high-voltage system from being powered on, or forcibly disconnecting the high-voltage circuit if the high-voltage system is already powered on, thereby effectively ensuring driving safety.
[0027] However, in practical applications, multiple high-voltage components' high-voltage connectors' interlock terminals need to be connected in series via low-voltage connectors to form a low-voltage circuit. Occasional poor contact in the low-voltage connectors can cause a momentary open circuit in the low-voltage circuit, falsely triggering a high-voltage interlock fault determination. This leads to unnecessary protection actions (such as powering off the entire vehicle), affecting the user experience and causing the actual failure rate of the vehicle's high-voltage interlock system to be statistically higher, interfering with the diagnosis and troubleshooting of real faults. On the other hand, the vehicle controller can only obtain the overall on / off status information of the entire low-voltage circuit. When an open-circuit fault occurs, the vehicle controller cannot distinguish whether the problem lies with the high-voltage connector of the motor controller or other high-voltage components. This makes it difficult for the vehicle controller to implement differentiated safety handling strategies for the motor controller, limiting the efficiency and accuracy of fault handling.
[0028] To address the aforementioned issues, this application provides a high-voltage interlock control method for a motor controller. By setting up a dedicated low-voltage circuit within the motor controller to detect the interlock status of the motor controller's own high-voltage connectors, it eliminates the need to connect to the vehicle's low-voltage circuit, reducing the risk of false triggering due to poor contact of the low-voltage connectors. Simultaneously, the detected interlock status is sent to the vehicle controller, which can directly execute targeted safety handling strategies based on the interlock status of the motor controller's high-voltage connectors.
[0029] See Figure 3 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 3As shown, this application scenario includes a motor controller 300 and a vehicle controller 310. The motor controller 300 includes a control unit 301, a first high-voltage connector 302, and a second high-voltage connector 303. The interlock terminals of the first and second high-voltage connectors are electrically connected (in series or in parallel) to form a low-voltage circuit 304. The motor controller and the vehicle controller can communicate with each other (e.g., via a CAN bus). In practical applications, the control unit 301 determines the interlock status of N high-voltage connectors based on the voltage sampling values of the low-voltage circuit and sends the interlock status to the vehicle controller 310. The vehicle controller 310 can then take corresponding control operations based on the interlock status of the high-voltage connectors of the motor controller 300.
[0030] In practical applications, vehicle controllers include, but are not limited to, components such as the Vehicle Control Unit (VCU) and the Hybrid Control Unit (HCU) that can be used to monitor the low-voltage circuit.
[0031] It should be noted that the first high-voltage connector 302 and the second high-voltage connector 303 are merely exemplary descriptions of this embodiment. In this application embodiment, the motor controller 300 must include at least one high-voltage connector (i.e., N high-voltage connectors, N≥1), and the interlocking terminals of each high-voltage connector can be connected in series or in parallel to form a corresponding low-voltage circuit.
[0032] See Figure 4 This is a schematic flowchart of a high-voltage interlock control method for a motor controller provided in an embodiment of this application. This method can be applied to... Figure 3 The control unit in the illustrated application scenario. For example... Figure 4 As shown, the method specifically includes the following steps.
[0033] Step S401: Determine the interlocking status of N high-voltage connectors based on the voltage sampling value of the low-voltage circuit.
[0034] First, obtain the voltage sampling value of the low-voltage circuit.
[0035] For example, voltage sampling values can be obtained through voltage divider resistors. The control unit may include an analog-to-digital converter (ADC) input channel, with at least one voltage divider resistor network connected in series in the low-voltage circuit. The voltage divider resistor network attenuates the voltage signal of the low-voltage circuit to a safe voltage value suitable for the ADC input range according to a preset ratio. The control unit periodically collects this attenuated voltage value through its ADC channel and uses it as the voltage sampling value of the low-voltage circuit. Alternatively, voltage sampling values can be obtained through a detection chip. The control unit can be connected to a voltage detection chip (such as an isolation amplifier or voltage monitor) via an interface. The input terminal of the voltage detection chip is directly connected to the monitoring point of the low-voltage circuit or through a voltage divider circuit. After conditioning (such as isolating, amplifying, or filtering) the collected low-voltage circuit voltage signal, it outputs an analog or digital signal proportional to the original voltage. The control unit can obtain the voltage sampling value of the low-voltage circuit by reading the signal output by the chip. Of course, those skilled in the art can adjust the method of obtaining the voltage sampling value of the low-voltage circuit according to requirements, and this application embodiment does not impose specific limitations on this.
[0036] After acquiring the voltage sample value, in order to accurately determine the interlocking status of the high-voltage connector, the voltage sample value can be compared with a preset voltage threshold. Based on the comparison result, the interlocking status of N high-voltage connectors (N≥1) within the motor controller is determined.
[0037] In one possible implementation, if the voltage sampling value of the low-voltage circuit is within a preset voltage range, the interlocking state of the N high-voltage connectors is determined to be normal; if the voltage sampling value of the low-voltage circuit is not within the preset voltage range, the interlocking state of the N high-voltage connectors is determined to be abnormal.
[0038] In practical applications, when the high-voltage connector is properly plugged in, the circuit is fully conductive and the voltage value will stabilize within the preset voltage range (e.g., 1.9V ≤ voltage sampling value ≤ 2.1V). When the high-voltage connector is improperly plugged in, the interlock terminal may have poor contact or the circuit may be disconnected, and the voltage sampling value will decrease. In extreme cases, if the interlock terminal is short-circuited, the voltage may even increase.
[0039] It is understandable that the voltage sampling value of the low-voltage circuit can directly reflect the status of the low-voltage circuit. If the voltage sampling value of the low-voltage circuit is within the preset voltage range, it indicates that the voltage value of the low-voltage circuit is normal, and there is no open circuit or other problem in the low-voltage circuit. Therefore, the interlocking status of the N high-voltage connectors can be determined to be normal. If the voltage sampling value of the low-voltage circuit is not within the preset voltage range, it indicates that the voltage value of the low-voltage circuit is abnormal, and there may be problems such as the interlocking terminals being disconnected. Therefore, the interlocking status of the N high-voltage connectors can be determined to be abnormal.
[0040] In practical applications, the voltage sampling value of the low-voltage circuit can be compared with the preset voltage range through the underlying software (Basic Software, BSW) in the control unit. Simultaneously, for ease of analysis, flag bits can be set to represent the interlocking state; for example, HvilFlt == false indicates a normal interlocking state, and HvilFlt == true indicates an abnormal interlocking state. Those skilled in the art can adjust the representation of the interlocking state according to their needs; this application does not impose specific limitations on this.
[0041] Of course, those skilled in the art can adjust the method of determining the interlocking state of N high-voltage connectors based on the voltage sampling value of the low-voltage circuit according to their needs, such as determining the interlocking state by judging the changing trend of the voltage sampling value. This application does not impose specific limitations on this.
[0042] Step S402: Send the interlock status of N high-voltage connectors to the vehicle controller.
[0043] In this embodiment, after the control unit determines the interlock status of N high-voltage connectors in the motor controller, it also needs to send the interlock status to the vehicle controller. The vehicle controller is used to perform corresponding control operations based on the interlock status.
[0044] For example, the control unit can send an interlock status to the vehicle controller via the CAN bus. When the vehicle controller receives the abnormal status signal and the vehicle is in a high-voltage power-on state, the vehicle controller will trigger the high-voltage power-off process, disconnect the power battery from the high-voltage bus, and warn the user through the instrument panel. This avoids equipment damage and electric shock risks caused by problems such as poor contact of high-voltage connectors, thereby effectively ensuring the safety of the vehicle and personnel.
[0045] In this embodiment, by setting a dedicated low-voltage circuit inside the motor controller to detect the interlock status of the high-voltage connector of the motor controller itself, it is not necessary to connect to the low-voltage circuit of the whole vehicle, thus reducing the risk of false triggering caused by poor contact of the low-voltage connector; at the same time, the detected interlock status is sent to the vehicle controller, and the vehicle controller can directly execute targeted safety handling strategies based on the interlock status of the high-voltage connector of the motor controller.
[0046] In practical applications, voltage sampling may be affected by factors such as electromagnetic interference, occasional hardware failures, or low-voltage system fluctuations, leading to inaccurate voltage sampling. This can cause false alarms of abnormal interlocking states of high-voltage connectors, and may also trigger unnecessary high-voltage power-down, affecting the driving experience. To reduce false alarms of abnormal interlocking states of the motor controller's high-voltage connectors due to inaccurate voltage sampling, further improvements to the control strategy are needed.
[0047] See Figure 5 This is a schematic flowchart of a high-voltage interlock false alarm detection method provided in an embodiment of this application. This method can be used for... Figure 3 The control unit in the illustrated application scenario. For example... Figure 5 As shown, the method specifically includes the following steps.
[0048] Step S501: If the interlocking status of N high-voltage connectors is abnormal, determine whether the bus voltage of the motor controller is less than the first preset voltage value and whether the input voltage of the AC device is less than the second preset voltage value. In this application, if the interlocking status of N high-voltage connectors is abnormal, further false alarm detection is required. This is done by comparing the bus voltage and the input voltage of the AC equipment with the first preset voltage value and the second preset voltage value to determine the interlocking status of the N high-voltage connectors.
[0049] The bus voltage is the voltage supplied by the power battery to the motor controller. This voltage directly indicates the interlock status of the high-voltage connector. If the high-voltage connector is connected correctly, the bus voltage should be at its normal value, greater than or equal to the first preset voltage value. If the high-voltage connector interlock status is abnormal, the bus voltage will rapidly decrease, falling below the first preset voltage value. AC equipment refers to equipment that operates using alternating current (such as an air conditioner compressor). The input voltage of AC equipment refers to the voltage supplied by the power battery to the AC equipment. If the high-voltage connector is connected correctly, the input voltage of the AC equipment should be at its normal value, greater than or equal to the second preset voltage value. If the high-voltage connector interlock status is abnormal, the input voltage of the AC equipment will also rapidly decrease, falling below the second preset voltage value.
[0050] It is understood that the first preset voltage value is used to determine whether the bus voltage of the motor controller is normal, and the second preset voltage value is used to determine whether the input voltage of the AC device is normal. The first preset voltage value can be set to 200V, and the second preset voltage value can also be set to 200V. Of course, those skilled in the art can adjust the first and second preset voltage values as needed, and this application embodiment does not impose specific limitations on this.
[0051] In practical applications, the application software (BSW) in the control unit can receive the interlock status flag HvilFlt==true and then execute subsequent judgment steps.
[0052] Step S502: If the bus voltage of the motor controller is less than the first preset voltage value or the input voltage of the AC device is less than the second preset voltage value, then determine that the interlocking state of the N high-voltage connectors is the open circuit state. As mentioned above, the bus voltage of the motor controller and the input voltage of the AC equipment can reflect the interlocking status of the high-voltage connectors. If the input voltage of the AC equipment is less than the second preset voltage value, the interlocking status of the N high-voltage connectors is determined to be open circuit; if the bus voltage of the motor controller is less than the first preset voltage value, the interlocking status of the N high-voltage connectors is determined to be open circuit; that is, the interlocking status of the N high-voltage connectors of the motor controller is abnormal, and there are no false alarms.
[0053] In practical applications, for ease of analysis, flag bits can be set to represent the interlocking state, such as HvilFlt==no indicating that the interlocking state is open circuit. Of course, those skilled in the art can adjust the representation of the interlocking state according to their needs, and this application does not impose specific limitations on this.
[0054] Step S503: If the bus voltage of the motor controller is greater than or equal to the first preset voltage value, and the input voltage of the AC device is greater than or equal to the second preset voltage value, then the interlocking state of the N high-voltage connectors is determined to be normal.
[0055] As mentioned above, the bus voltage and the input voltage of the AC equipment can reflect the interlocking status of the high-voltage connectors. If the bus voltage of the motor controller is greater than or equal to the first preset voltage value, and the input voltage of the AC equipment is greater than or equal to the second preset voltage value, then the interlocking status of N high-voltage connectors is determined to be normal, that is, the abnormal interlocking status of the high-voltage connectors of the motor controller is a false alarm.
[0056] In this embodiment of the application, by further determining the bus voltage of the motor controller and the input voltage of the AC equipment, the false alarms of abnormal states of the high-voltage connector of the motor controller can be significantly reduced.
[0057] In practical applications, in order to further improve the control logic of high-voltage interlocks, it is also necessary to determine different interlock states based on the current state of the vehicle.
[0058] See Figure 6 This is a schematic flowchart of another high-voltage interlock control method for a motor controller provided in this application embodiment. This method can be applied to... Figure 3 The control unit in the illustrated application scenario. For example... Figure 6 As shown, the method specifically includes the following steps.
[0059] Step S601: If the interlocking state of N high-voltage connectors is open circuit, then determine whether the speed of the drive motor is less than the preset speed value.
[0060] In this embodiment, if the interlocking state of N high-voltage connectors is open circuit, it is necessary to further determine the vehicle's drive motor speed to identify different interlocking states and execute different processing strategies. It is understood that the drive motor speed directly reflects the vehicle's current driving state. If the drive motor speed is less than a preset speed value, it indicates that the vehicle is in a low-speed or parked state; if the drive motor speed is greater than or equal to the preset speed value, it indicates that the vehicle is in a high-speed driving state. By determining the speed, the current driving state of the vehicle can be distinguished, and different interlocking states can be determined based on the driving state to execute different processing strategies.
[0061] In this embodiment, the preset rotational speed can be set to 300 rpm. Of course, those skilled in the art can adjust the preset rotational speed as needed, and this embodiment does not impose specific limitations on this.
[0062] In practical applications, components such as the high-voltage connectors of the motor controller may experience transient signal anomalies due to electromagnetic interference during operation. If the interlock status is directly determined to be an open circuit at this time, it may lead to the false triggering of subsequent safety procedures.
[0063] Therefore, in one possible implementation, if the interlocking state of N high-voltage connectors is open circuit, the interlocking state of N high-voltage connectors is updated according to a first preset update cycle, which is less than a first preset time. If the interlocking state of N high-voltage connectors is still open circuit after the first preset time, it is determined whether the speed of the drive motor is less than a preset speed value.
[0064] Specifically, the control unit monitors the interlock status in real time according to a first preset update cycle (e.g., 10ms / time). If the interlock status remains open after a first preset time (50ms), it indicates that the open interlock status is not due to an instantaneous signal abnormality, and the drive motor speed is further determined. Of course, those skilled in the art can adjust the first preset update cycle and the first preset time according to their needs, and this application embodiment does not impose specific limitations on this.
[0065] In another possible implementation, if the interlock status of N high-voltage connectors is open circuit, then the interlock status of N high-voltage connectors is updated according to the second preset update cycle; if the cumulative number is greater than the preset number, then it is determined whether the speed of the drive motor is less than the preset speed value.
[0066] The second preset update cycle is shorter than the second preset time, and the cumulative count is the cumulative number of times the interlocking state of N high-voltage connectors is in the open circuit state within the second preset time. Specifically, the control unit monitors the interlocking state in real time according to the second preset update cycle (e.g., 5ms / time). If the cumulative number of times the interlocking state of N high-voltage connectors is in the open circuit state within the second preset time (e.g., 50ms) is greater than the preset number (e.g., 5 times), it indicates that the open circuit state is not caused by an instantaneous signal abnormality, and the drive motor speed is further determined. Of course, those skilled in the art can adjust the second preset update cycle, the second preset time, and the preset number of times according to their needs, and this application embodiment does not impose specific limitations on this.
[0067] In practical applications, the application software (BSW) in the control unit can receive the interlock status flag HvilFlt==no to determine whether the drive motor speed is less than the preset speed value.
[0068] Step S602: If the drive motor speed is less than the preset speed value, then the interlock status of N high-voltage connectors is determined to be an interlock fault state.
[0069] In this embodiment, if the drive motor speed is less than a preset speed value, it indicates that the vehicle is in a low-speed driving or parked state. At this time, the vehicle's safety is relatively high; even if a power-off operation is performed immediately, a sudden power interruption will not cause a driving accident. Therefore, the interlocking state of N high-voltage connectors is determined as an interlocking fault state to characterize the current state at which the vehicle can perform a power-off operation.
[0070] Step S603: If the drive motor speed is greater than or equal to the preset speed value, then determine the interlock status of N high-voltage connectors as the interlock alarm status.
[0071] In this embodiment, if the drive motor speed is greater than or equal to a preset speed value, it indicates that the vehicle is in a high-speed driving state. If a power-down process is performed directly at this time, it may cause safety risks (such as loss of braking or steering assist). Therefore, the interlocking state of the N high-voltage connectors is determined as an interlocking alarm state to indicate that the vehicle cannot be immediately powered down.
[0072] In practical applications, to ensure driving safety, in one possible implementation, the vehicle controller is used to record fault codes and execute a fault power-off process when the interlock status of N high-voltage connectors is an interlock fault state; the vehicle controller is also used to record fault codes when the interlock status of N high-voltage connectors is an interlock alarm state.
[0073] The fault-based power-off handling process includes: shutting down the drive motor, disconnecting the vehicle's high-voltage circuit, illuminating the vehicle's fault indicator lights, and shutting down the motor controller. It can be understood that by implementing differentiated handling strategies based on different interlock states (interlock fault state or interlock alarm state), fault handling can be optimized while ensuring driving safety, avoiding secondary accidents caused by direct power-off in high-speed driving scenarios.
[0074] To facilitate understanding of the high-voltage interlocking method for motor controllers, the following explanation will be provided with reference to specific embodiments. See also... Figure 7 This is a schematic diagram of another high-voltage interlock control method for a motor controller provided in an embodiment of this application. Figure 7 As shown, the method specifically includes the following steps.
[0075] Step S701: Determine whether the voltage sampling value of the low-voltage circuit belongs to the preset voltage range.
[0076] The control unit in the motor controller acquires the voltage sampling value of the low-voltage circuit formed by the interlocking terminals of N high-voltage connectors in the motor controller, and determines whether the voltage sampling value of the low-voltage circuit belongs to a preset voltage range, where the preset voltage range is [1.9V, 2.1V]. If the voltage sampling value belongs to the preset voltage range, the interlocking state of the N high-voltage connectors is determined to be normal; otherwise, the interlocking state of the N high-voltage connectors is determined to be abnormal, and step S702 is executed.
[0077] Step S702: Determine whether the bus voltage of the motor controller is less than the first preset voltage value, or whether the input voltage of the AC device is less than the second preset voltage value.
[0078] The first preset voltage value is 200V, and the second preset voltage value is 200V.
[0079] If the input voltage of the AC device is less than the second preset voltage value or the bus voltage of the motor controller is less than the first preset voltage value, then the interlocking state of the N high-voltage connectors is determined to be open circuit, and step S703 is executed; otherwise, the interlocking state of the N high-voltage connectors is determined to be normal.
[0080] Step S703: Determine whether the interlock state is open circuit after the first preset time.
[0081] The interlock status is updated according to a first preset period. If the interlock status is in an open circuit state after a first preset time, then step S704 is executed. The first preset period is 10ms and the first preset time is 50ms.
[0082] Step S704: Determine whether the speed of the drive motor is less than the preset speed value.
[0083] If the drive motor speed is less than the preset speed value, the interlock status of N high-voltage connectors is determined to be an interlock fault state, and step S705 is executed; otherwise, the interlock status of N high-voltage connectors is determined to be an interlock alarm state, and step S706 is executed.
[0084] Step S705: Record the fault code and execute the fault power-down procedure.
[0085] The vehicle controller records the fault code and executes the fault power-down process, which includes shutting down the drive motor, disconnecting the vehicle's high-voltage circuit, illuminating the vehicle's fault light, and shutting down the motor controller.
[0086] Step S706: Record only the fault codes.
[0087] The vehicle controller only records fault codes.
[0088] Corresponding to the above embodiments, this application also provides a motor controller, including: N high-voltage connectors with interlocking terminals, the interlocking terminals of the N high-voltage connectors being electrically connected to form a low-voltage circuit, N≥1; and a control unit configured to execute some or all of the steps in the above method embodiments.
[0089] Corresponding to the above embodiments, this application also provides a vehicle, which includes the above-described motor controller.
[0090] Corresponding to the above embodiments, this application also provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program runs, it can control the device where the computer-readable storage medium is located to execute some or all of the steps in the above method embodiments. In specific implementation, the computer-readable storage medium may be a magnetic disk, an optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0091] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects have an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0092] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0093] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0094] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0095] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A high-voltage interlock control method for a motor controller, characterized in that, The motor controller includes N high-voltage connectors with interlocked terminals. The interlocked terminals of the N high-voltage connectors are electrically connected to form a low-voltage circuit, where N ≥ 1. The method includes: Based on the voltage sampling value of the low-voltage circuit, determine the interlocking state of N high-voltage connectors; The vehicle controller sends N interlock states of the high-voltage connectors to the vehicle controller, which then performs corresponding control operations based on the interlock states.
2. The method according to claim 1, characterized in that, The step of determining the interlocking state of N high-voltage connectors based on the voltage sampling value of the low-voltage circuit includes: If the voltage sampling value of the low-voltage circuit is within the preset voltage range, then the interlocking state of the N high-voltage connectors is determined to be normal. If the voltage sampling value of the low-voltage circuit does not fall within the preset voltage range, then the interlocking state of the N high-voltage connectors is determined to be abnormal.
3. The method according to claim 2, characterized in that, Also includes: If the interlocking state of N high-voltage connectors is abnormal, then determine whether the bus voltage of the motor controller is less than the first preset voltage value and whether the input voltage of the AC device is less than the second preset voltage value. If the bus voltage of the motor controller is less than the first preset voltage value or the input voltage of the AC device is less than the second preset voltage value, then the interlocking state of the N high-voltage connectors is determined to be the open circuit state. If the bus voltage of the motor controller is greater than or equal to the first preset voltage value, and the input voltage of the AC device is greater than or equal to the second preset voltage value, then the interlocking state of the N high-voltage connectors is determined to be normal.
4. The method according to claim 3, characterized in that, Also includes: If the interlocking state of the N high-voltage connectors is open circuit, then determine whether the speed of the drive motor is less than the preset speed value. If the speed of the drive motor is less than the preset speed value, then the interlocking state of the N high-voltage connectors is determined to be an interlocking fault state. If the speed of the drive motor is greater than or equal to the preset speed value, then the interlocking state of the N high-voltage connectors is determined to be an interlocking alarm state.
5. The method according to claim 4, characterized in that, Also includes: The vehicle controller is used to record fault codes and execute a fault power-off processing procedure when the interlocking state of the N high-voltage connectors is an interlocking fault state. The vehicle controller is used to record fault codes when the interlock status of N high-voltage connectors is in an interlock alarm state.
6. The method according to claim 4, characterized in that, If the interlocking state of the N high-voltage connectors is open, then determining whether the drive motor speed is less than a preset speed value includes: If the interlocking state of N high-voltage connectors is open circuit, then the interlocking state of N high-voltage connectors is updated according to the first preset update cycle, where the first preset update cycle is less than the first preset time. If, after the first preset time, the interlocking state of the N high-voltage connectors remains open, then it is determined whether the speed of the drive motor is less than the preset speed value.
7. The method according to claim 4, characterized in that, If the interlocking state of the N high-voltage connectors is open, then determining whether the drive motor speed is less than a preset speed value includes: If the interlocking state of N high-voltage connectors is open circuit, then the interlocking state of N high-voltage connectors is updated according to the second preset update cycle, where the second preset update cycle is less than the second preset time. If the cumulative number is greater than the preset number, then it is determined whether the speed of the drive motor is less than the preset speed value. The cumulative number is the cumulative number of times that the interlocking state of N high-voltage connectors is in the open circuit state within the second preset time period.
8. A motor controller, characterized in that, include: N high-voltage connectors with interlocking terminals are electrically connected to form a low-voltage circuit, where N≥1; A control unit configured to perform the method according to any one of claims 1 to 7.
9. A vehicle, characterized in that, Includes the motor controller as described in claim 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1 to 7.