PWM control circuit and motor control system

By designing the PWM control circuit, using logic circuits and AND gate hardware to quickly identify the fault of the equipment to be detected and output the correct PWM signal, the problem of insufficient software identification stability is solved, the stability and reliability of the system are improved, and the system is avoided. damage.

CN221686852UActive Publication Date: 2024-09-10HEFEI SUNSHINE POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323461697.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2024-09-10
Estimated Expiration
2033-12-18

AI Technical Summary

Technical Problem

In the existing technology, when the abnormal working conditions of the equipment to be detected are identified through software, the stability requirements are high. When the software works abnormally or has not completed initialization, it cannot send the correct PWM signal to the switching device of the system in time, causing system damage. .

Method used

A PWM control circuit is designed to identify faults of the equipment to be detected through logic circuits and AND gates, and quickly respond and output the correct PWM signal through hardware circuits, including logic circuits, AND gates, flip devices and RC filter circuits. The logic circuit A high level output at the output terminal indicates that the device is not faulty, and a low level indicates a fault.

Benefits of technology

Quickly identify faults through hardware and output the correct PWM signal, which improves the stability and reliability of the system and avoids system damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221686852U
    Figure CN221686852U
Patent Text Reader

Abstract

The utility model discloses a PWM control circuit and a motor control system. The PWM control circuit comprises a logic circuit and a first AND gate. The input end of the logic circuit is connected with a detection port of equipment to be detected, the output end of the logic circuit is connected with the first input end of the first AND gate, the second input end of the first AND gate is connected with a PWM port of a controller, and the output end of the first AND gate is connected with a PWM output port of an enabling chip; and the output signal of the output end of the logic circuit is high level and indicates that the to-be-detected equipment does not fail, otherwise, the to-be-detected equipment fails. The to-be-detected fault is identified in a hardware mode, that is, the to-be-detected fault is identified through a logic circuit, the to-be-detected fault is quickly responded to, a correct PWM signal is output, and damage to a system is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of integrated circuit design, in particular to a PWM control circuit and a motor control system. Background Art

[0002] In some control systems, when a device to be detected fails, it is necessary to perform wave blocking processing on the switch devices in the system to avoid damage to the system. The wave blocking processing requires quickly sending a PWM (Pulse Width Modulation) signal to the switch devices.

[0003] In the related art, the abnormal working condition of the device to be detected is identified by software, and the PWM control signal is sent to the enabling chip by software. However, identifying the abnormal working condition of the device to be detected by software requires relatively high stability of the software. For example, when the software does not work properly or the software is not initialized at the moment of power on and off, the software will fail to identify the abnormal working condition of the device to be detected, and the correct PWM signal cannot be sent to the switch device of the system in time, causing damage to the system. Utility Model Content

[0004] Based on the above problems, the utility model provides a PWM control circuit and a motor control system, which send correct PWM signals to the switching device in time to avoid damage to the system.

[0005] The utility model embodiment discloses the following technical solution:

[0006] In a first aspect, an embodiment of the utility model provides a PWM control circuit, comprising: a logic circuit and a first AND gate;

[0007] The input end of the logic circuit is connected to the detection port of the device to be detected, the output end of the logic circuit is connected to the first input end of the first AND gate, the second input end of the first AND gate is connected to the PWM port of the controller, and the output end of the first AND gate is connected to the PWM output port of the enabling chip;

[0008] The output signal at the output end of the logic circuit is at a high level, indicating that the device to be detected has not failed; otherwise, the device to be detected has failed.

[0009] Optionally, the logic circuit includes: a second AND gate; input ends of the second AND gate are respectively connected to two detection ports of the device to be detected.

[0010] Optionally, the logic circuit further includes: a third AND gate and a fourth AND gate;

[0011] The input end of the third AND gate is respectively connected to the other two detection ports of the device to be detected, the output ends of the second AND gate and the third AND gate are respectively connected to the input end of the fourth AND gate, and the output end of the fourth AND gate serves as the output end of the logic circuit.

[0012] Optionally, the control circuit further comprises: a flip device;

[0013] The input end of the flip device is connected to the output end of the first AND gate, and the output end of the flip device is connected to the PWM output port of the enable chip; the flip device is any one of an inverter, an N-channel field effect transistor or a triode.

[0014] Optionally, the control circuit further includes: a first NOT gate;

[0015] The input end of the first NOT gate is connected to the output end of the first AND gate, and the output end of the first NOT gate is connected to the PWM output port of the enabling chip.

[0016] Optionally, the control circuit further includes: an RC filter circuit;

[0017] The input end of the RC filter circuit is connected to the output end of the first AND gate, and the output end of the RC filter circuit is connected to the input end of the flip device; the cutoff frequency of the RC filter circuit is a preset cutoff frequency.

[0018] Optionally, the logic circuit includes a second AND gate; one input end of the second AND gate is connected to a detection port of the fault to be detected of the device to be detected, and the other input end is connected to a high level.

[0019] Optionally, the logic circuit further includes: a second NOT gate; an input end of the second NOT gate is connected to a detection port of the fault to be detected, and an output end of the second NOT gate is connected to an input end of the second AND gate or the third AND gate.

[0020] Optionally, the device to be detected is a motor to be detected, and the detection ports include a phase current overcurrent detection port of the three-phase motor, a DC bus voltage overvoltage detection port, and a switch device fault detection port.

[0021] In a second aspect, an embodiment of the utility model provides a motor control system, the motor control system comprising: a controller, a motor, an enabling chip and the PWM control circuit according to any one of the first aspects;

[0022] The motor is the device to be detected;

[0023] The PWM port of the controller is connected to the second input terminal of the first AND gate in the PWM control circuit;

[0024] The PWM output port of the enabling chip is connected to the motor.

[0025] Compared with the prior art, the utility model has the following beneficial effects:

[0026] The utility model embodiment provides a PWM control circuit, which includes: a logic circuit and a first AND gate; the input end of the logic circuit is connected to the detection port of the device to be detected, the output end of the logic circuit is connected to the first input end of the first AND gate, the second input end of the first AND gate is connected to the PWM port of the controller, and the output end of the first AND gate is connected to the PWM output port of the enable chip; the output signal of the output end of the logic circuit is a high level indicating that the device to be detected has not failed, otherwise the device to be detected has failed. In the utility model embodiment, the fault to be detected is identified by hardware, that is, the fault to be detected is identified by the logic circuit, and the correct PWM signal is output in rapid response to the fault to be detected to avoid damage to the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the utility model 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 utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0028] Figure 1 A schematic diagram of a PWM control circuit provided by an embodiment of the utility model;

[0029] Figure 2 A schematic diagram of another PWM control circuit provided by an embodiment of the utility model;

[0030] Figure 3 A schematic diagram of another PWM control circuit provided by an embodiment of the utility model;

[0031] Figure 4 A schematic diagram of another PWM control circuit provided by an embodiment of the utility model;

[0032] Figure 5 A schematic diagram of a PWM control circuit provided by an embodiment of the utility model;

[0033] Figure 6 A schematic diagram of another PWM control circuit provided by an embodiment of the utility model;

[0034] Figure 7 A schematic diagram of another PWM control circuit provided by an embodiment of the utility model;

[0035] Figure 8 A schematic diagram of another PWM control circuit provided in an embodiment of the utility model. DETAILED DESCRIPTION

[0036] As described above, currently, the abnormal working conditions of the equipment to be detected in the control system are identified by software. When the equipment to be detected is in an abnormal working condition, the switch device in the system is closed. However, the software method has relatively high requirements for software stability. When the software does not work properly or the software is not initialized at the moment of power on and off, the software will fail to identify the abnormal working conditions of the equipment to be detected, and the correct PWM signal cannot be sent to the switch device in time for wave sealing, which will cause damage to the system.

[0037] In order to solve the above technical problems, an embodiment of the utility model provides a PWM control circuit, including: a logic circuit and a first AND gate; the input end of the logic circuit is connected to the detection port of the device to be detected, the output end of the logic circuit is connected to the first input end of the first AND gate, the second input end of the first AND gate is connected to the PWM port of the controller, and the output end of the first AND gate is connected to the PWM output port of the enabling chip; the output signal of the output end of the logic circuit is a high level, indicating that the device to be detected has not failed, otherwise the device to be detected has failed.

[0038] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0039] See also Figure 1 , which is a schematic diagram of a PWM control circuit provided in an embodiment of the utility model.

[0040] like Figure 1 As shown, Figure 1 The control circuit 100 includes: a logic circuit 101 and a first AND gate 102;

[0041] The input end of the logic circuit 101 is connected to the detection port of the device to be detected, the output end of the logic circuit 101 is connected to the first input end of the first AND gate 102, the second input end of the first AND gate 102 is connected to the PWM port of the controller, and the output end of the first AND gate 102 is connected to the PWM output port of the enable chip; the output signal of the output end of the logic circuit 100 is a high level indicating that the device to be detected has not failed, otherwise the device to be detected has failed.

[0042] The controller includes but is not limited to a digital signal processor (DAP) or a field programmable gate array (FPGA). A high level of the PWM control port of the controller indicates that the PWM control port is enabled, and a low level indicates that the PWM control port is disabled.

[0043] The device to be detected may be a motor to be detected, and the detection port includes a phase current overcurrent detection port (A phase overcurrent detection port, B phase overcurrent detection port and C phase overcurrent detection port) of the three-phase motor, a DC bus voltage overvoltage detection port and a switch device fault detection port. When the output signal of the phase current overcurrent detection port, the DC bus voltage overvoltage detection port or the switch device fault detection port is at a low level, it indicates that the corresponding phase current is overcurrent, the DC bus voltage is overvoltage or the switch device is faulty.

[0044] The embodiments of the utility model will be described respectively with the effective level of the enabling chip being a high level and the effective level being a low level.

[0045] (1) The PWM output port of the enabling chip is high level to indicate that the PWM output is enabled, and low level to indicate that the PWM output is disabled, that is, the high level signal outputted from the output end of the first AND gate 101 is directly used as a signal to enable the PWM output port of the enabling chip.

[0046] Specifically, when the motor to be detected has not failed (phase current overcurrent, DC bus voltage overvoltage or switching device failure), a high level is output to the logic circuit 100, and the output end of the logic circuit 100 outputs a high level, and the high level output by the logic circuit 100 is used as an input of the first AND gate 101, and the other input of the first AND gate 101 is the high level output by the controller. The output end of the first AND gate 101 inputs the output high level to the PWM output end of the enable chip to complete the enabling of the PWM output port.

[0047] In one implementation, Figure 2 As shown, the control circuit 200 includes: a second AND gate 201 and a first AND gate 202. The input end of the second AND gate 201 is connected to the detection port 1 and the detection port 2 of the device to be detected, the output end of the second AND gate 201 is connected to the first input end of the first AND gate 202, the second input end of the first AND gate 202 is connected to the PWM port of the controller, and the output end of the first AND gate 202 is connected to the PWM output port of the enable chip.

[0048] In one implementation, Figure 3As shown, the control circuit 300 includes: a second AND gate 301 and a first AND gate 302. Among them, one input end of the second AND gate 301 is connected to the detection port of the device to be detected, the other input end is connected to the +5V voltage, the output end of the second AND gate 301 is connected to the first input end of the first AND gate 302, the second input end of the first AND gate 302 is connected to the PWM port of the controller, and the output end of the first AND gate 302 is connected to the PWM output port of the enable chip.

[0049] In one implementation, Figure 4 As shown, the control circuit 400 includes: a second AND gate 401, a third AND gate 402, a fourth AND gate 403 and a first AND gate 404. The input end of the second AND gate 401 is respectively connected to two detection ports, the input end of the third AND gate 402 is respectively connected to the other two detection ports of the device to be detected, the output ends of the second AND gate 402 and the third AND gate 403 are respectively connected to the input end of the fourth AND gate 404, and the output end of the fourth AND gate 404 serves as the output end of the logic circuit.

[0050] The device to be detected is detected by a logic circuit. When the device to be detected is not faulty, the logic circuit outputs a high-level signal; when the device to be detected is faulty, the logic circuit outputs a low-level signal. There are two main advantages of detecting faults in the device to be detected by hardware circuits: first, it can quickly determine whether the device to be detected is faulty (rapidity); second, the probability of error is low, and the correct PWM signal is sent to the switching device to avoid damage to the system (reliability).

[0051] (2) The PWM output port of the enable chip is low level to indicate PWM output is enabled, and high level to indicate PWM output is disabled. When the motor to be detected is not faulty, the first AND gate outputs a high level signal, so the signal needs to be flipped to output a low level signal to enable the PWM output port.

[0052] Specifically, when the motor to be detected has not failed (phase current overcurrent, DC bus voltage overvoltage or switching device failure), a high level is output to the logic circuit, and the output end of the logic circuit outputs a high level. The high level output by the logic circuit is used as an input of the first AND gate, and the other input of the first AND gate is the high level output by the controller. The output end of the first AND gate will output a high level, and the flip device will flip the high level output of the first AND gate to a low level and input it to the PWM output end of the enable chip, thereby completing the enabling of the PWM output port.

[0053] In one implementation, Figure 5 As shown, the control circuit includes: a second AND gate, a third AND gate, a fourth AND gate, a first AND gate, an RC filter and a flip device.

[0054] exist Figure 5 Among them, U18A is the second AND gate, U18B is the third AND gate, U18C is the fourth AND gate, U18D is the first AND gate, and Q4 is a flip device (transistor). DRIVE is the PWM port signal of the controller, ILA_SHORT (A phase current overcurrent detection port), ILC_SHORT (C phase current overcurrent detection port), VDC_FAULT (DC bus voltage overvoltage detection port), IGBT_FAULT (switching device fault detection port), and OE is the input port of the enable chip.

[0055] It should be noted that the RC filter circuit located at the front end of the flip device Q4 is used to filter out interference frequencies. In addition, the cutoff frequency of the RC filter circuit can also be set to a preset threshold value, and the preset threshold value can be set or modified according to user needs.

[0056] It should be understood that the cutoff frequency of the RC filter circuit determines the degree of attenuation of the signal by the filter circuit. When the frequency of the signal is less than the cutoff frequency, the attenuation of the signal by the filter circuit is reduced, and the signal can pass through the filter circuit better; when the frequency of the signal is greater than the cutoff frequency, the attenuation of the signal by the filter circuit is greater, and the signal is effectively filtered out.

[0057] In addition, the flip device can also be any one of an N-channel field effect transistor and an inverter.

[0058] In one implementation, Figure 6 As shown, the control circuit includes: a second AND gate, a third AND gate, a fourth AND gate, a first AND gate, an RC filter circuit and an inverter. Among them, U1A is the second AND gate, U1B is the third AND gate, U1C is the fourth AND gate, U1D is the first AND gate, and U2 is an inverter.

[0059] In addition to using a flip device (N-channel field effect transistor, triode or inverter), level flipping can also be achieved through a NOT gate.

[0060] In one implementation, Figure 7 As shown, the control circuit includes: a second AND gate, a third AND gate, a fourth AND gate, a first AND gate and a first NOT gate. Among them, U1A is the second AND gate, U1B is the third AND gate, U1C is the fourth AND gate, U1D is the first AND gate, and U1F is the first NOT gate.

[0061] In one implementation, Figure 8 As shown, the control circuit includes: a second AND gate, a third AND gate, a fourth AND gate, and a NAND gate. Among them, U1A is the second AND gate, U1B is the third AND gate, U1C is the fourth AND gate, and U3 is the NAND gate.

[0062] In the above-mentioned embodiment, when the output signal of the phase current overcurrent detection port, the DC bus voltage overvoltage detection port or the switch device fault detection port is at a low level, it indicates that the corresponding phase current is overcurrent, the DC bus voltage is overvoltage or the switch device is faulty.

[0063] When the user defines a high level as a situation where a fault occurs, a second NOT gate may be added between the input terminals of the AND gate connected to the detection port in the aforementioned embodiment, thereby achieving the effect in the aforementioned embodiment.

[0064] In addition, the embodiment of the utility model further provides a motor control system, which includes: a controller, a motor, an enabling chip and any PWM control circuit in the aforementioned embodiments;

[0065] The motor is the device to be tested;

[0066] The PWM port of the controller is connected to the second input terminal of the first AND gate in the PWM control circuit;

[0067] Enable the PWM output port of the chip to connect the motor.

[0068] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0069] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A PWM control circuit, characterized in that: include: Logic circuits and the first AND gate; The input end of the logic circuit is connected to the detection port of the device to be detected, the output end of the logic circuit is connected to the first input end of the first AND gate, the second input end of the first AND gate is connected to the PWM port of the controller, and the output end of the first AND gate is connected to the PWM output port of the enabling chip; The output signal at the output end of the logic circuit is at a high level, indicating that the device to be detected has not failed; otherwise, the device to be detected has failed.

2. The control circuit according to claim 1, characterized in that: The logic circuit comprises: a second AND gate; input ends of the second AND gate are respectively connected to two detection ports of the device to be detected.

3. The control circuit according to claim 2, characterized in that: The logic circuit further includes: a third AND gate and a fourth AND gate; The input end of the third AND gate is respectively connected to the other two detection ports of the device to be detected, the output ends of the second AND gate and the third AND gate are respectively connected to the input end of the fourth AND gate, and the output end of the fourth AND gate serves as the output end of the logic circuit.

4. The control circuit according to any one of claims 1 to 3, characterized in that: The control circuit further comprises: a flip device; The input end of the flip device is connected to the output end of the first AND gate, and the output end of the flip device is connected to the PWM output port of the enable chip; the flip device is any one of an inverter, an N-channel field effect transistor or a triode.

5. The control circuit according to claim 3, characterized in that: The control circuit further includes: a first NOT gate; The input end of the first NOT gate is connected to the output end of the first AND gate, and the output end of the first NOT gate is connected to the PWM output port of the enabling chip.

6. The control circuit according to claim 4, characterized in that: The control circuit also includes: an RC filter circuit; The input end of the RC filter circuit is connected to the output end of the first AND gate, and the output end of the RC filter circuit is connected to the input end of the flip device; the cutoff frequency of the RC filter circuit is a preset cutoff frequency.

7. The circuit according to claim 1, characterized in that The logic circuit comprises a second AND gate; one input end of the second AND gate is connected to the detection port of the device to be detected, and the other input end is connected to a high level.

8. The control circuit according to claim 3, characterized in that: The logic circuit further includes: a second NOT gate; an input end of the second NOT gate is connected to a detection port of the device to be detected, and an output end of the second NOT gate is connected to an input end of the second AND gate or the third AND gate.

9. The control circuit according to claim 1, characterized in that: The device to be detected is a motor to be detected, and the detection ports include a phase current overcurrent detection port of the three-phase motor, a DC bus voltage overvoltage detection port, and a switch device fault detection port.

10. A motor control system, characterized in that: The motor control system comprises: a controller, a motor, an enabling chip and a PWM control circuit according to any one of claims 1 to 9; The motor is the device to be detected; The PWM port of the controller is connected to the second input terminal of the first AND gate in the PWM control circuit; The PWM output port of the enabling chip is connected to the motor.