Driving loop short circuit fault control method and device, equipment and medium
By determining whether there is a short-circuit fault in the circuit current of the driving unit and performing corresponding control, the problem of inflexible short-circuit fault recovery strategy in the prior art is solved, and higher safety and reliability and more flexible control strategies are achieved.
Patent Information
- Application Number
- CN202411542699.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, the driver loop short circuit fault recovery strategy is inflexible and has poor results, which may lead to damage to the driver unit or fail to meet user needs.
By obtaining the circuit current of the drive unit, it is determined whether there is a short circuit fault and the drive unit is turned off when a short circuit fault occurs. After the preset first time, the opening or closing of the drive unit is controlled according to the request type sent by the vehicle control system to the drive unit during the shutdown period.
It realizes the safety and reliability of key electrical components and the vehicle in the event of short circuit failure, and makes more reasonable logical judgments by combining the instructions of the vehicle control system, which improves the control flexibility of the drive circuit.
Smart Images

Figure CN119401338A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle controllers, and in particular to a drive circuit short-circuit fault control method, device, equipment and medium. Background Art
[0002] With the development of electrification and intelligence in the automotive industry, the traditional vehicle electronic and electrical architecture has gradually evolved towards centralization. The vehicle controller also integrates many drive units. The short circuit detection of the drive unit is directly related to the safety and reliability of the vehicle. It can protect key electronic components from damage and ensure the stability of the vehicle control system.
[0003] Currently, the more common approach to short-circuit fault recovery of a drive unit is as follows.
[0004] Solution 1: After a short circuit occurs, the fault information is reported to the vehicle control system. The vehicle control system makes different logical judgments based on the different drive units and controls the drive units to open or close (for example, some important drive units need to be closed after the first failure, while some drive units can be opened again). There are two problems with this approach. First, there is a certain time delay in waiting for the vehicle control system to issue a shutdown command, which may cause damage to the drive unit. Second, different control logic needs to be set for each drive unit in the vehicle control system, which is more cumbersome.
[0005] Option 2: After a short circuit occurs, the drive unit is immediately turned off until the next time an opening command is received from the vehicle control system.
[0006] Solution three: after a short circuit fault occurs, the drive unit is immediately turned off, and after a certain period of time, the drive unit is turned on again to determine the short circuit fault.
[0007] For the above-mentioned schemes 2 and 3, the drive unit can be shut down immediately when a short circuit occurs, which is highly safe. However, during the shutdown period of the drive unit, all commands issued by the vehicle control system will not be responded to. After a certain period of time, whether it is maintained closed or directly opened, it cannot fully meet the user's needs.
[0008] For example, for a certain drive unit A, after the first short circuit fault occurs, the vehicle control system believes that the drive unit A can ignore the short circuit fault and try to open again after receiving the fault information. When the opening instruction is within the closing period of the drive unit A, it cannot respond. If the control logic of the second solution is followed, the drive unit A will not be opened. For a certain drive unit B, after the first short circuit fault occurs, the vehicle control system believes that the drive unit B needs to be closed immediately after receiving the fault information, and cannot be opened again to avoid damaging the electrical components in the drive unit B. When the closing instruction is within the closing period of the drive unit B, it cannot respond. If the third solution is followed, the drive unit B will be opened again, which is very likely to cause damage to the electrical components in the drive unit B. Summary of the invention
[0009] In view of the above defects of the prior art, the present invention provides a drive circuit short circuit fault control method and device, equipment, and medium to solve the technical problems of inflexible recovery strategy and poor effect of drive circuit short circuit fault.
[0010] To achieve the above-mentioned object and other related objects, the present invention provides a method for controlling a drive circuit short-circuit fault, comprising: when a drive unit is turned on, obtaining a circuit current of the drive unit; judging whether the drive unit has a short-circuit fault based on the circuit current and a preset short-circuit current threshold; when the drive unit has a short-circuit fault, turning off the drive unit; after a preset first time, controlling the drive unit to be turned on or off based on the type of request sent by the vehicle control system to the drive unit during the closing period.
[0011] In one embodiment of the present invention, when the drive unit is turned on, the loop current of the drive unit is obtained, including: when the drive unit is turned on, after a preset second time, the loop current of the drive unit is obtained again; based on the loop current and a preset short-circuit current threshold, it is determined whether the drive unit has a short-circuit fault, including: if the loop current is greater than the short-circuit current threshold and the duration exceeds a preset third time, then the drive unit has a short-circuit fault; otherwise, the drive unit does not have a short-circuit fault.
[0012] In an embodiment of the present invention, the first time is 5 to 20 seconds, and the second time is 50 to 200 ms.
[0013] In one embodiment of the present invention, the drive unit is controlled to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the closing period, including: judging whether the vehicle control system sends a request to the drive unit during the closing period; if so, controlling the drive unit to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the closing period; if not, turning on the drive unit, judging again whether the drive unit has a short-circuit fault according to the loop current and a preset short-circuit current threshold, and controlling the drive unit to be turned on or off according to the result of the second short-circuit fault judgment.
[0014] In one embodiment of the present invention, the drive unit is controlled to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the closing period, including: controlling the drive unit to be turned on or off according to the type of the latest request sent by the vehicle control system to the drive unit during the closing period.
[0015] In one embodiment of the present invention, the drive unit is controlled to be turned on or off according to the type of the latest request sent by the vehicle control system to the drive unit during the closing period, including: judging whether the type of the latest request sent by the vehicle control system to the drive unit during the closing period is to turn on; if so, turning on the drive unit, judging again whether the drive unit has a short-circuit fault according to the loop current and a preset short-circuit current threshold, and controlling the drive unit to be turned on or off according to the second short-circuit fault judgment result; if not, keeping the drive unit turned off.
[0016] In one embodiment of the present invention, the drive unit is controlled to be turned on or off according to the second short-circuit fault judgment result, including: when the second short-circuit fault judgment result is that a short-circuit fault exists, the drive unit is controlled to be turned off; when the second short-circuit fault judgment result is that there is no short-circuit fault, the drive unit is kept turned on.
[0017] To achieve the above-mentioned purpose and other related purposes, the present invention also provides a drive circuit short-circuit fault control device, including: a data acquisition unit, used to acquire the circuit current of the drive unit when the drive unit is turned on; a fault judgment unit, used to judge whether the drive unit has a short-circuit fault based on the circuit current and a preset short-circuit current threshold; a fault handling unit, used to shut down the drive unit when the drive unit has a short-circuit fault; a fault recovery unit, used to control the drive unit to be turned on or off after a preset first time, according to the type of request sent by the vehicle control system to the drive unit during the shutdown period.
[0018] To achieve the above-mentioned purpose and other related purposes, the present invention also provides an electronic device, including a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement a method provided in any one of the above embodiments.
[0019] To achieve the above object and other related objects, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to enable a computer to execute the method provided in any one of the above embodiments.
[0020] Beneficial effects of the present invention: The present invention proposes a drive circuit short-circuit fault control method and device, equipment, and medium. When a short-circuit fault occurs in the drive unit, the method immediately shuts down the drive unit for a period of time to protect key electrical components and the safety and reliability of the entire vehicle. At the same time, after the first period of time, the opening or closing of the drive unit is controlled according to the type of request sent by the vehicle control system to the drive unit during the closing period. That is, when recovering from a short-circuit fault, a more reasonable logical judgment is performed in combination with the instructions sent by the vehicle control system during the shutdown protection period, and a single operation of maintaining the closing or directly opening is no longer performed, thereby making the control of the drive circuit more flexible and ensuring the safety and reliability of the entire vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A flow chart of a short circuit fault control method provided by an embodiment of the present invention;
[0023] Figure 2 A schematic diagram of a first control method provided by an embodiment of the present invention;
[0024] Figure 3 A schematic diagram of a second control method provided by an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of a third control method provided by an embodiment of the present invention;
[0026] Figure 5 A schematic diagram of a fourth control method provided by an embodiment of the present invention;
[0027] Figure 6A schematic diagram of a fifth control method provided by an embodiment of the present invention;
[0028] Figure 7 A schematic diagram of a short circuit fault control device provided by an embodiment of the present invention;
[0029] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0030] Explanation of the reference numerals: 101, data acquisition unit; 102, fault judgment unit; 103, fault processing unit; 104, fault recovery unit; 201, processor; 202, memory. DETAILED DESCRIPTION
[0031] The following describes the embodiments of the present invention through specific specific embodiments, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. It should be noted that the following embodiments and the features in the embodiments can be combined with each other without conflict. In addition to the specific methods, equipment, and materials used in the embodiments, according to the technical personnel in this technical field's grasp of the prior art and the records of the present invention, any methods, equipment, and materials of the prior art that are similar or equivalent to the methods, equipment, and materials described in the embodiments of the present invention can also be used to implement the present invention.
[0032] It should be understood that the terms used in the embodiments of the present invention are for describing specific embodiments rather than for limiting the scope of protection of the present invention. Unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those generally understood by those skilled in the art.
[0033] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In some of the embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0034] The flowchart and block diagram in the accompanying drawings illustrate the system architecture, functions and operations that may be implemented according to the methods and computer program products of various embodiments disclosed in the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, the program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0035] The drive unit mentioned in the present invention refers to the circuit part of the vehicle controller used to control and drive various electrical devices or systems. These drive units are responsible for converting the control signal of the controller into a power signal that can drive the actuator (such as a motor, relay, solenoid valve, etc.), thereby realizing the control of various functions of the vehicle, such as window lifting, seat adjustment, wiper action, etc. The short-circuit fault detection and recovery function of the drive unit is crucial to the safety and reliability of the vehicle, because if a short circuit occurs in the drive unit, it may cause a sharp increase in current, thereby damaging key electronic components and affecting the stability of the vehicle control system. Therefore, an effective short-circuit fault detection and recovery mechanism can detect and handle these problems in a timely manner, protect the key electronic components of the vehicle, and ensure the safe operation of the vehicle.
[0036] See also Figure 1 , Figure 1 A driving circuit short circuit fault control method provided in an embodiment of the present invention includes steps S100 to S400.
[0037] Step S100, when the drive unit is turned on, the loop current of the drive unit is obtained. The loop current here is the actual output current of the drive loop of the drive unit, which is real-time. At the same time, it can be understood that the loop current of the drive unit can only be obtained when the drive unit is turned on. Therefore, this step is to obtain the loop current when the drive unit is turned on.
[0038] In a specific embodiment of the present invention, step S100 includes: when the drive unit is turned on, after a preset second time, the loop current of the drive unit is obtained. In this embodiment, the second time is set because the loop that drives the capacitive load usually generates a surge current of 5 to 10 times the rated current value at the moment of opening. In order to prevent the surge current from causing the output protection to shut down, or the surge current is misjudged as a short-circuit current, the current or voltage can not be collected within the preset second time, and the current or voltage can be collected and judged after the second time. The preset value of the second time can be set according to the time when the surge current occurs, for example, it can be set to 50 to 200ms, that is, the second time can be set to 50ms, 60ms, 80ms, 100ms, 120ms, 145ms, 200ms, etc.
[0039] Step S200: judging whether the drive unit has a short circuit fault according to the loop current and the preset short circuit current threshold. This step mainly judges whether the drive unit has a short circuit according to the loop current.
[0040] In this step, the short-circuit current threshold is a preset value, which refers to a current value pre-set in the circuit design. If the loop current exceeds this set current value, the system will consider that a short-circuit fault has occurred in the circuit. The short-circuit current threshold is determined based on the safe operating range of the circuit design. It is usually higher than the current when the circuit is working normally, but not so high that it will immediately damage the circuit components. For different drive units, the corresponding short-circuit current threshold is also different.
[0041] In a specific embodiment of the present invention, step S200 includes: if the loop current is greater than the short-circuit current threshold and the duration exceeds a preset third time, a short-circuit fault exists in the drive unit; otherwise, the drive unit does not have a short-circuit fault.
[0042] In this embodiment, a third time is also set. If there is no third time, any instantaneous current exceeding the short-circuit current threshold may trigger the short-circuit protection, which may cause false triggering and affect the normal operation of the circuit. By setting the third time, it is possible to more accurately confirm whether a short-circuit fault has actually occurred. If the current only exceeds the threshold for a short period of time, it may be a normal operating current or an instantaneous fluctuation, and no protective measures need to be taken. Only when the current continues to exceed the threshold for a certain period of time (i.e., the third time), it is more likely to be a real short-circuit fault.
[0043] By introducing the preset second time and third time, it is possible to more accurately determine whether there is a short circuit fault. And, it is understandable that when the third time is longer than the second time, the second time is unnecessary to set and can be omitted.
[0044] Step S300: When a short circuit fault occurs in the drive unit, the drive unit is turned off. Since a short circuit fault is very harmful, when a drive circuit of a drive unit is confirmed to have a short circuit fault, the drive unit should be immediately controlled to be turned off to protect the electrical components in the drive unit from damage.
[0045] Step S400, after the preset first time, the drive unit is controlled to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the shutdown period. The recovery strategy after the short circuit fault occurs is the focus of the present invention. Specifically, when executing the short circuit recovery strategy, it is mainly based on the type of request sent by the vehicle control system (i.e., the system that sends requests to each drive unit) to the drive unit during the shutdown period to perform recovery. This recovery strategy is described in detail below.
[0046] The first time preset in this embodiment can be set as needed. Moreover, different first times can be set for different drive units. The first time can be, for example, 5 to 20 seconds, that is, the first time can be set to 5 seconds, 6 seconds, 8 seconds, 10 seconds, 10.5 seconds, 15 seconds, 20 seconds, etc.
[0047] It should be noted that the first time is not fixed and may be adjusted according to different application scenarios and circuit design requirements. When setting it specifically, the following factors can be considered: (1) Ensure that the circuit has enough time to cool and stabilize after the short circuit occurs, reducing the risk of thermal damage or other damage caused by the short circuit; (2) If the short circuit is caused by external factors (such as poor wire contact, temporary external short circuit, etc.), the first time should be enough for these temporary problems to clear naturally; (3) In the first time, the vehicle control system has the opportunity to detect and respond to the short circuit, such as notifying the driver through warning lights or information prompts, or taking other necessary safety measures; etc. In actual applications, this length of time may need to be determined through experiments and simulations to ensure that it can effectively protect the circuit and meet the requirements of the vehicle control system.
[0048] In a specific embodiment of the present invention, step S400 includes: determining whether the vehicle control system sends a request to the drive unit during the shutdown period: if so, controlling the drive unit to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the shutdown period; if not, turning on the drive unit, and determining again whether the drive unit has a short-circuit fault based on the loop current and a preset short-circuit current threshold, and controlling the drive unit to be turned on or off based on the result of the second short-circuit fault judgment.
[0049] In this embodiment, it is first determined whether the vehicle control system sends a request to the drive unit during the shutdown period. If no request is sent, that is, the vehicle control system does not have any request in the first time, such as Figure 2 and Figure 3 As shown, it can be understood that the vehicle control system has not issued further instructions to the drive unit. According to the control logic before the shutdown, the vehicle control system should control the drive unit to remain in the open state, so the drive unit can be turned on and the short-circuit fault judgment can be performed again. The second short-circuit fault judgment process is the same as the first short-circuit fault judgment process, which will not be described in detail here. If the vehicle control system sends a request to the drive unit in the first time, it is necessary to further determine whether to perform fault recovery.
[0050] In a specific embodiment of the present invention, the drive unit is controlled to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the shutdown period, including: controlling the drive unit to be turned on or off according to the type of the latest request sent by the vehicle control system to the drive unit during the shutdown period. During the shutdown period, the vehicle control system may send multiple requests to the drive unit, and since the drive unit is shut down due to a short circuit fault, these requests cannot be received and responded to. However, according to the actual fault recovery logic, only the latest (or last) request should be considered. Therefore, in this embodiment, whether to perform fault recovery is determined based on the type of the latest request.
[0051] In a specific embodiment of the present invention, the drive unit is controlled to be turned on or off according to the type of the latest request sent by the vehicle control system to the drive unit during the closing period, including: judging whether the type of the latest request sent by the vehicle control system to the drive unit during the closing period is to turn on: if so, turning on the drive unit, judging again whether the drive unit has a short-circuit fault according to the loop current and a preset short-circuit current threshold, and controlling the drive unit to be turned on or off according to the result of the second short-circuit fault judgment; if not, keeping the drive unit turned off.
[0052] In this embodiment, if the type of the latest request is open, it is necessary to open the drive unit and determine again whether the drive unit has a short circuit fault. Figure 4 and Figure 5 shown.
[0053] In this embodiment, if the type of the latest request is close, such as Figure 6 As shown, at this time, other requests before the latest request are not considered (even if there is an open request among these requests), fault recovery is not performed, and the drive unit is kept closed (that is, the drive circuit state is no output).
[0054] In the above-mentioned figures, a "fault bit" is usually a variable or status flag used to identify whether the system has encountered a specific fault. It is an important status flag that plays a key role in fault detection, processing, reporting and system recovery, and is an important mechanism to ensure system reliability and safety. The fault bit mentioned in the present invention corresponds to a short-circuit fault of the drive unit. If the fault bit is set, when a short-circuit fault is diagnosed, the fault bit will be marked as a fault state. The underlying software that executes the control logic in the present invention can send the fault bit information to the vehicle control system so that the vehicle control system can make a reasonable response.
[0055] In combination with the above embodiments, it can be seen that if the vehicle control system does not send a request to the drive unit during the shutdown period, or the type of the latest request sent by the vehicle control system to the drive unit during the shutdown period is open, the drive unit must be turned on and a second short-circuit fault detection must be performed. In these two cases, there are two situations in which the second short-circuit fault detection result is that a short-circuit fault exists or does not exist. Therefore, there are four corresponding solutions, respectively, as follows: Figure 2 to Figure 5 shown.
[0056] In a specific embodiment of the present invention, according to the second short circuit fault judgment result, controlling the drive unit to be turned on or off includes: when the second short circuit fault judgment result is that a short circuit fault exists, controlling the drive unit to be turned off, such as Figure 2 and Figure 4 As shown; when the second short-circuit fault judgment result is that there is no short-circuit fault, keep the drive unit turned on, such as Figure 3 and Figure 5 shown.
[0057] In this embodiment, different recovery strategies are executed according to the different results of the second short-circuit fault judgment. If the second short-circuit fault judgment result is that there is a short-circuit fault, it is necessary to control the drive unit to be turned off, and because the short-circuit fault is detected again, the drive unit will be additionally controlled to turn off the preset first time. If the second short-circuit fault judgment result is that there is no short-circuit fault, then the subsequent short-circuit recovery processing strategy will be different. At this time, fault recovery needs to be performed, and the open state of the drive unit is maintained (it has been opened during the second short-circuit fault judgment), and the fault position needs to be restored to a fault-free state.
[0058] In general, this method immediately shuts down the drive unit for a period of time when a short-circuit fault occurs in the drive unit to protect key electrical components and the safety and reliability of the entire vehicle; at the same time, after the first period of time, the drive unit is also controlled to be opened or closed according to the type of request sent by the vehicle control system to the drive unit during the shutdown period, that is, when recovering from a short-circuit fault, a more reasonable logical judgment is made in combination with the instructions sent by the vehicle control system during the shutdown protection period, and a single operation of maintaining the shutdown or directly opening is no longer executed, thereby making the control of the drive circuit more flexible and ensuring the safety and reliability of the entire vehicle.
[0059] After adopting the control logic of the present invention, no matter what control logic is executed by the vehicle control unit after a short circuit fault occurs in the drive unit, the fault recovery logic of the present invention can well respond to the output logic of the vehicle control unit. Similarly, taking the drive unit A and the drive unit B in the background technology as an example, according to the control logic of the present invention, the drive unit A will be turned on again after the first time, while the drive unit B will not be turned on again, but will remain closed. It can be seen that the control logic of the present invention is more reasonable.
[0060] It should be noted that the step division of the above methods is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0061] See also Figure 6 , Figure 6 A drive circuit short circuit fault control device provided in one embodiment of the present invention comprises a data acquisition unit 101, a fault judgment unit 102, a fault processing unit 103 and a fault recovery unit 104. The data acquisition unit 101 is used to acquire the circuit current of the drive unit when the drive unit is turned on; the fault judgment unit 102 is used to judge whether the drive unit has a short circuit fault according to the circuit current and a preset short circuit current threshold; the fault processing unit 103 is used to control the drive unit to close for a preset first time when the drive unit has a short circuit fault; the fault recovery unit 104 is used to judge whether to perform fault recovery according to the type of request sent by the vehicle control system to the drive unit during the closing period, and control the drive unit to open or close according to the judgment result.
[0062] It should be noted that the short-circuit fault control device of this embodiment is a device corresponding to the above-mentioned short-circuit fault control method, and the functional modules in the short-circuit fault control device may correspond to the corresponding steps in the short-circuit fault control method. The short-circuit fault control device of this embodiment can be implemented in coordination with the short-circuit fault control method, that is, in the absence of conflict, the relevant technical details mentioned in the short-circuit fault control method of the above-mentioned embodiment can also be applied to the short-circuit fault control device of this embodiment.
[0063] It should be noted that the above-mentioned functional modules can be fully or partially integrated into one physical entity during actual implementation, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, some or all of the steps of the above method, or the above functional modules can be completed by hardware integrated logic circuits in the processor element or instructions in software form.
[0064] See also Figure 7 , Figure 7 An electronic device provided for one embodiment of the present invention includes a processor 201, a memory 202 and a communication bus; the communication bus is used to connect the processor 201 and the memory 202; the processor 201 is used to execute a computer program stored in the memory 202 to implement the above-mentioned drive circuit short circuit fault control method.
[0065] The above-mentioned electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0066] The electronic device mentioned above can be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.
[0067] The electronic device may also include network devices and / or user devices. The network devices include, but are not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.
[0068] The network where the above electronic devices are located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0069] The processor 201 may be, for example, a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components; the memory may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage.
[0070] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is used to enable a computer to execute the above-mentioned drive circuit short-circuit fault control method.
[0071] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A drive circuit short circuit fault control method, characterized in that: include: When the drive unit is turned on, obtaining a loop current of the drive unit; Determining whether the drive unit has a short-circuit fault according to the loop current and a preset short-circuit current threshold; When a short circuit occurs in the driving unit, shutting down the driving unit; After a preset first time has passed, the drive unit is controlled to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the closing period.
2. The drive circuit short circuit fault control method according to claim 1, characterized in that: When the drive unit is turned on, the loop current of the drive unit is obtained, including: When the drive unit is turned on, the loop current of the drive unit is obtained again after a preset second time.
3. The driving circuit short circuit fault control method according to claim 1, characterized in that: Judging whether the drive unit has a short circuit fault according to the loop current and a preset short circuit current threshold value includes: If the loop current is greater than the short-circuit current threshold and lasts for more than a preset third time, a short-circuit fault occurs in the drive unit; otherwise, no short-circuit fault occurs in the drive unit.
4. The driving circuit short circuit fault control method according to claim 1, characterized in that: According to the type of request sent by the vehicle control system to the drive unit during the shutdown period, controlling the drive unit to be turned on or off includes: Determine whether the vehicle control system sends a request to the drive unit during the shutdown period: If yes, controlling the drive unit to be turned on or off according to the type of request sent by the vehicle control system to the drive unit during the off period; If not, the drive unit is turned on, and whether the drive unit has a short circuit fault is determined again based on the loop current and a preset short-circuit current threshold, and the drive unit is controlled to be turned on or off based on the second short circuit fault judgment result.
5. The driving circuit short circuit fault control method according to claim 4, characterized in that: According to the type of request sent by the vehicle control system to the drive unit during the shutdown period, controlling the drive unit to be turned on or off includes: The drive unit is controlled to be turned on or off according to the type of the latest request sent by the vehicle control system to the drive unit during the closing period.
6. The driving circuit short circuit fault control method according to claim 5, characterized in that: According to the type of the latest request sent by the vehicle control system to the drive unit during the shutdown period, controlling the drive unit to be turned on or off includes: Determine whether the type of the latest request sent by the vehicle control system to the drive unit during the closing period is open: If yes, turn on the drive unit, determine again whether the drive unit has a short circuit fault according to the loop current and a preset short circuit current threshold, and control the drive unit to turn on or off according to the second short circuit fault determination result; If not, keep the drive unit off.
7. The driving circuit short circuit fault control method according to claim 6, characterized in that: According to the second short circuit fault judgment result, controlling the drive unit to be turned on or off includes: When the second short-circuit fault judgment result is that a short-circuit fault exists, controlling the drive unit to shut down; When the second short-circuit fault judgment result is that there is no short-circuit fault, the driving unit is kept turned on.
8. A drive circuit short circuit fault control device, characterized in that: include: A data acquisition unit, used for acquiring a loop current of the drive unit when the drive unit is turned on; A fault judgment unit, used for judging whether the drive unit has a short-circuit fault according to the loop current and a preset short-circuit current threshold; A fault processing unit, used for shutting down the drive unit when a short circuit fault occurs in the drive unit; The fault recovery unit is used to control the drive unit to be turned on or off after a preset first time has passed according to the type of request sent by the vehicle control system to the drive unit during the closing period.
9. An electronic device, characterized in that: The system comprises a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used to make a computer execute the method according to any one of claims 1 to 7.