A motor controller MCU overvoltage robustness diagnosis method, system, device and medium

By implementing overvoltage robustness diagnosis methods in the motor controller MCU, including receiving overvoltage signals, triggering a fault interrupt signal, entering an emergency shutdown and reading back the fault signal pin to confirm the fault type, the problem of failure diagnosis and positioning elimination in the prior art is solved, and the robustness of overvoltage diagnosis of the motor controller MCU is improved.

CN119781434APending Publication Date: 2025-04-08JEE AUTOMATION EQUIP SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411946908.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The prior art cannot achieve fault diagnosis and positioning elimination in motor overvoltage protection, resulting in intermittent on-off protection only in case of overvoltage, and overvoltage faults cannot be effectively identified and handled.

Method used

The overvoltage robustness diagnosis method is implemented in the motor controller MCU, including receiving an overvoltage signal, triggering a fault interrupt signal, entering an emergency shutdown, reading back the fault signal pin to confirm the fault type, and executing corresponding policies to identify and handle overvoltage faults.

Benefits of technology

This method can effectively distinguish the types of overvoltage faults without changing the hardware circuit, improve the robustness of overvoltage diagnosis of the motor controller MCU, and realize the accurate identification and processing of overvoltage faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781434A_ABST
    Figure CN119781434A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a motor controller MCU overvoltage robustness diagnosis method, system, device and medium, belonging to the field of circuit fault diagnosis technology, the method includes the following steps: receiving an overvoltage signal and triggering a motor controller MCU fault interrupt signal, pulling down the pin level that sends a comprehensive fault signal; entering an emergency shutdown to protect the motor controller circuit; reading back the pin that sends the comprehensive fault signal, confirming the type of the triggered fault, and executing the corresponding strategy. Based on the existing overvoltage protection circuit, the present disclosure resets the latch unit at different time intervals according to the characteristics of different overvoltage fault types after receiving the overvoltage fault signal, and identifies the overvoltage fault type by the reset time and reset times; the present disclosure can effectively distinguish the type of overvoltage fault without changing the hardware circuit, and switch on and off according to the fault type, thereby improving the robustness of the motor controller MCU overvoltage diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit fault diagnosis, and in particular to a method, system, device and medium for diagnosing overvoltage robustness of a motor controller MCU. Background Art

[0002] Motor overvoltage refers to the voltage peak value exceeding the peak voltage corresponding to the maximum steady-state voltage of the device during the operation of the motor. This voltage state exceeding the rated value will not only cause the internal current of the motor to increase and thus increase the temperature, but also cause serious consequences such as winding burnout and insulation damage. In addition, overvoltage may also cause impact on the power supply system and affect the stability of the entire power system.

[0003] Generally, an overvoltage detection circuit is used to detect motor overvoltage. The overvoltage detection circuit mainly includes a current sampling circuit, a voltage amplifier circuit, a voltage reference circuit, and a voltage comparator. The current sampling circuit is used to sample the current of the load circuit and output the sampled voltage; the voltage reference circuit is used to output a reference voltage value according to the overvoltage threshold control unit; the voltage comparator is used to compare the sampled voltage output by the voltage amplifier circuit with the reference voltage value output by the voltage reference circuit, and output an overvoltage signal; the overvoltage signal is used to control the disconnection of the load circuit.

[0004] Fault diagnosis strategy is a technology that understands and grasps the state of the machine during operation, determines whether it is normal or abnormal as a whole or in part, detects faults and their causes at an early stage, and can predict the development trend of faults. To diagnose a system fault, it must first be tested. When a system fault occurs, the fault type, fault location, and cause are diagnosed, and finally a solution is given to achieve fault recovery. It can be seen that the motor controller MCU overvoltage diagnosis strategy is to detect the three-phase current of the motor, diagnose the fault when overvoltage occurs, and achieve shutdown or fault recovery.

[0005] The existing technology generally uses intermittent on-off to achieve overvoltage protection. By sampling the voltage, when the sampled voltage exceeds the specified threshold, the overcurrent protection circuit outputs an overvoltage indication signal, and then automatically blocks the wave and stops running, making it impossible to diagnose and locate the fault.

[0006] Therefore, it is necessary to provide a new motor controller MCU overvoltage robustness diagnosis method, system, device and medium to solve the above technical problems. Summary of the invention

[0007] The purpose of the present disclosure is to provide a motor controller MCU overvoltage robustness diagnosis method, system, device and medium in order to solve the above-mentioned problem.

[0008] The present invention achieves the above-mentioned purpose through the following technical solutions:

[0009] A motor controller MCU overvoltage robustness diagnosis method comprises the following steps:

[0010] Receive overvoltage signal and trigger motor controller MCU fault interrupt signal, pull down the pin level of sending comprehensive fault signal;

[0011] Enter emergency shutdown to protect the motor controller circuit;

[0012] Read back the pin that sent the comprehensive fault signal, confirm the type of fault that triggered it, and execute the corresponding strategy.

[0013] As a further optimization solution of the present disclosure, the comprehensive fault signal includes hardware overcurrent, hardware overvoltage, upper bridge INTB and lower bridge INTB.

[0014] As a further optimization solution of the present disclosure, after entering the emergency shutdown mode, all switches of the power module are turned off.

[0015] As a further optimization solution of the present disclosure, reading back the pin that sends the comprehensive fault signal, confirming the type of the triggered fault, and executing the corresponding strategy include:

[0016] Read back the pin that sends the comprehensive fault signal. The pin level that sends the comprehensive fault signal is low, and the corresponding fault accumulator performs a delay wait. After the delay wait for the first preset time, the pin that sends the comprehensive fault signal is still in a pulled-down state, and the fault is reported directly; if the pin that sends the comprehensive fault signal is reset within the first preset time, the fault Debounce strategy is entered.

[0017] As a further optimization solution of the present disclosure, the fault debounce strategy includes:

[0018] Determine whether the output result of the hardware overvoltage detection circuit is a high level; if not, determine that the overvoltage fault in the current diagnostic cycle is a transient fault, and restore control; if so, it means that overvoltage has occurred, and determine whether the output result of the hardware overvoltage detection circuit after the second preset time is a high level; if not, restore control; if so, it means that the overvoltage fault is confirmed to have actually occurred, and the fault is reported, and the motor controller MCU cannot restore control.

[0019] As a further optimization solution of the present disclosure, the hardware overvoltage detection circuit performs fault diagnosis including:

[0020] The pin that sends the comprehensive fault signal is detected, and the overvoltage signal is input into the hardware overvoltage detection circuit. When the hardware signal latch circuit outputs a high level, it represents a fault; when the reset signal of the hardware overvoltage detection circuit is pulled high within the third preset time, the hardware overvoltage detection circuit is reset, and the output level is restored from a high level to a low level; after the third preset time, if the input is still an overvoltage signal, the output level of the hardware signal latch circuit is pulled high again, and an overvoltage fault is reported.

[0021] As a further optimization solution of the present disclosure, the first preset time, the second preset time, and the third preset time are all 50 ms.

[0022] A motor controller MCU overvoltage robustness diagnosis system, comprising:

[0023] The pin pull-down module is used to receive the overvoltage signal and trigger the motor controller MCU fault interrupt signal, pulling down the pin that sends the comprehensive fault signal;

[0024] Circuit protection module, used to enter emergency shutdown to protect the motor controller circuit;

[0025] The fault type confirmation module is used to read back the pin that sends the comprehensive fault signal, confirm the type of triggered fault, and execute the corresponding strategy.

[0026] An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0027] Memory, for storing computer programs;

[0028] The processor is used to execute the program stored in the memory to implement the motor controller MCU overvoltage robustness diagnosis method.

[0029] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a motor controller MCU overvoltage robustness diagnosis method is implemented.

[0030] The beneficial effects of the present disclosure are:

[0031] Based on the existing overvoltage protection circuit, after receiving the overvoltage fault signal, the motor controller resets the latch unit at different time intervals according to the characteristics of different overvoltage fault types, and identifies the overvoltage fault type by the reset time and the number of resets; the present invention can effectively distinguish the type of overvoltage fault without changing the hardware circuit, and turn on and off according to the fault type, thereby improving the robustness of the overvoltage diagnosis of the motor controller MCU. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1is a flow chart of a method in an embodiment of the present disclosure;

[0033] Figure 2 is a working principle diagram of a hardware overvoltage detection circuit in an embodiment of the present disclosure;

[0034] Figure 3 is a flowchart of a specific method in an embodiment of the present disclosure;

[0035] Figure 4 is a flow chart of the Debounce strategy in an embodiment of the present disclosure;

[0036] Figure 5 is a system structure block diagram in an embodiment of the present disclosure;

[0037] Figure 6 It is a block diagram of the device structure in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0038] The present application is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out here that the following specific implementation methods are only used to further illustrate the present application and cannot be understood as limiting the scope of protection of the present application. Technical personnel in this field can make some non-essential improvements and adjustments to the present application based on the above application content.

[0039] like Figure 1 As shown, a motor controller MCU overvoltage robustness diagnosis method includes the following steps:

[0040] Receive overvoltage signal and trigger motor controller MCU fault interrupt signal, pull down the pin level of sending comprehensive fault signal;

[0041] Enter emergency shutdown to protect the motor controller circuit;

[0042] Read back the pin that sent the comprehensive fault signal, confirm the type of fault that triggered it, and execute the corresponding strategy.

[0043] In this embodiment, it specifically includes:

[0044] like Figure 2 As shown in the figure, when the hardware overvoltage detection circuit is working, the voltage sensor sends the hard-line voltage to the voltage sampling circuit, and the sampling signal, sampling monitoring signal and sampling verification signal are sent to the MCU after filtering. The MCU sends two PWM wave signals, which are filtered into DC signals by RC and used as positive and negative phase current comparison reference voltages respectively. The voltage sent by the voltage sensor is compared with the reference voltage by the comparator to detect whether the hard-line voltage is overvoltage, and the overvoltage signal is sent to the MCU.

[0045] like Figure 3 As shown in the figure, the overvoltage diagnosis strategy is introduced in detail:

[0046] The overvoltage signal triggers the controller fault interrupt signal, pulls down the integrated fault signal (generally including hardware overcurrent, hardware overvoltage, upper bridge INTB and lower bridge INTB) pin, and triggers the software to enter emergency shutdown; after entering emergency shutdown, the power module will first enter the FreeWheeling mode (all switches of the power module are turned off) to protect the controller circuit in the first place, and then confirm the type of triggered fault and execute the corresponding strategy;

[0047] After that, the fault diagnosis strategy is used to decide whether to continue protection or resume normal operation. By reading back the four pins that pull down the comprehensive fault signal, the pin level that sends the fault is low, and the corresponding fault accumulator will delay waiting. If the overvoltage fault pin is still in the pulled-down state after 50ms of delay waiting, the fault will be reported directly without fault debounce. If the overvoltage fault pin is pulled down and then recovered within 50ms, the fault debounce strategy will be entered.

[0048] In the overvoltage fault diagnosis Debounce strategy, first determine whether the output result of the hardware overvoltage detection circuit is a high level; if not, the overvoltage fault in the current diagnosis cycle is determined to be a transient fault, and control is restored; if yes, it means that an overvoltage has occurred, and determine whether the output result of the hardware overvoltage detection circuit is a high level after 50ms; if not, control is restored; if yes, it means that the overvoltage fault is confirmed to have actually occurred, and the fault is reported, and the motor controller cannot restore control.

[0049] like Figure 4 As shown in the figure, the hardware overvoltage detection circuit: when the initialization is completed, the overvoltage signal pin is detected, and the overvoltage signal is input to the hardware overvoltage detection circuit again. When the input signal is high, it means that the voltage is normal and not overvoltage, and when it is low, it is an overvoltage fault. After the overvoltage signal is input, the hardware signal latch circuit will output a high level, indicating a fault. When the reset signal of the hardware overvoltage detection circuit is pulled high within 50ms, the overvoltage signal detection pin is set high, the hardware signal latch circuit is reset, and the output level is restored from high to low. If the input is still an overvoltage signal after 50ms, the hardware signal latch circuit level will be pulled high again, and the overvoltage fault will be reported.

[0050] like Figure 5 As shown, an embodiment of the present disclosure provides a motor controller MCU overvoltage robustness diagnosis system, including:

[0051] The pin pull-down module 11 is used to receive the overvoltage signal and trigger the motor controller MCU fault interrupt signal, and pull down the pin for sending the comprehensive fault signal;

[0052] A circuit protection module 12, used to enter emergency shutdown to protect the motor controller circuit;

[0053] The fault type confirmation module 13 is used to read back the pin that sends the comprehensive fault signal, confirm the type of the triggered fault, and execute the corresponding strategy.

[0054] The implementation process of the functions and effects of each module in the above system is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.

[0055] For the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0056] In the above-mentioned embodiment, any multiple of all modules can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least some functions of one or more of these modules can be combined with at least some functions of other modules and implemented in one module. At least one of all modules can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of all modules can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0057] See also Figure 6 , an electronic device provided by an embodiment of the present disclosure includes a processor 1110, a communication interface 1120, a memory 1130 and a communication bus 1140, wherein the processor 1110, the communication interface 1120, and the memory 1130 communicate with each other through the communication bus 1140;

[0058] Memory 1130, for storing computer programs;

[0059] The processor 1110 is used to implement the motor controller MCU overvoltage robustness diagnosis method as shown below when executing the program stored in the memory 1130.

[0060] The communication bus 1140 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0061] The communication interface 1120 is used for communication between the above electronic device and other devices.

[0062] The memory 1130 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory 1130 may also be at least one storage device located away from the processor 1110.

[0063] The above-mentioned processor 1110 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can 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.

[0064] The embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the motor controller MCU overvoltage robustness diagnosis method described above is implemented.

[0065] The computer-readable storage medium may be included in the device / apparatus described in the above embodiment; or it may exist independently without being assembled into the device / apparatus. The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed, the motor controller MCU overvoltage robustness diagnosis method according to the embodiment of the present disclosure is implemented.

[0066] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0067] The above-mentioned embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present disclosure. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure.

Claims

1. A motor controller MCU overvoltage robustness diagnosis method, characterized in that: The following steps are involved: Receive overvoltage signal and trigger motor controller MCU fault interrupt signal, pull down the pin level of sending comprehensive fault signal; Enter emergency shutdown to protect the motor controller circuit; Read back the pin that sent the comprehensive fault signal, confirm the type of fault that triggered it, and execute the corresponding strategy.

2. The method for diagnosing overvoltage robustness of a motor controller MCU according to claim 1, characterized in that: The comprehensive fault signal includes hardware overcurrent, hardware overvoltage, upper bridge INTB and lower bridge INTB.

3. The motor controller MCU overvoltage robustness diagnosis method according to claim 1, characterized in that: After entering emergency shutdown, all switches of the power modules are turned off.

4. The motor controller MCU overvoltage robustness diagnosis method according to claim 1, characterized in that: Read back the pin that sent the comprehensive fault signal to confirm the type of fault that triggered it and execute the corresponding strategy including: Read back the pin that sends the comprehensive fault signal. The pin level that sends the comprehensive fault signal is low, and the corresponding fault accumulator performs a delay wait. After the delay wait for the first preset time, the pin that sends the comprehensive fault signal is still in a pulled-down state, and the fault is reported directly; if the pin that sends the comprehensive fault signal is reset within the first preset time, the fault Debounce strategy is entered.

5. A motor controller MCU overvoltage robustness diagnosis method according to claim 4, characterized in that: The fault debounce strategy includes: Determine whether the output result of the hardware overvoltage detection circuit is a high level; if not, determine that the overvoltage fault in the current diagnostic cycle is a transient fault, and restore control; if so, it means that overvoltage has occurred, and determine whether the output result of the hardware overvoltage detection circuit after the second preset time is a high level; if not, restore control; if so, it means that the overvoltage fault is confirmed to have actually occurred, and the fault is reported, and the motor controller MCU cannot restore control.

6. A motor controller MCU overvoltage robustness diagnosis method according to claim 5, characterized in that: The hardware overvoltage detection circuit performs fault diagnosis including: The pin that sends the comprehensive fault signal is detected, and the overvoltage signal is input into the hardware overvoltage detection circuit. When the hardware signal latch circuit outputs a high level, it represents a fault; when the reset signal of the hardware overvoltage detection circuit is pulled high within the third preset time, the hardware overvoltage detection circuit is reset, and the output level is restored from a high level to a low level; after the third preset time, if the input is still an overvoltage signal, the output level of the hardware signal latch circuit is pulled high again, and an overvoltage fault is reported.

7. A motor controller MCU overvoltage robustness diagnosis method according to claim 6, characterized in that: The first preset time, the second preset time, and the third preset time are all 50 ms.

8. A motor controller MCU overvoltage robustness diagnosis system, characterized in that: include: The pin pull-down module is used to receive the overvoltage signal and trigger the motor controller MCU fault interrupt signal, pulling down the pin that sends the comprehensive fault signal; Circuit protection module, used to enter emergency shutdown to protect the motor controller circuit; The fault type confirmation module is used to read back the pin that sends the comprehensive fault signal, confirm the type of triggered fault, and execute the corresponding strategy.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, for storing computer programs; A processor is used to execute a program stored in a memory to implement the motor controller MCU overvoltage robustness diagnosis method described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the motor controller MCU overvoltage robustness diagnosis method described in any one of claims 1 to 7 is implemented.