Motor control circuit and control method therefor, and garage door controller and control method therefor
Patent Information
- Application Number
- PCT/CN2025/117411
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-04-18
- Filing Date
- 2025-08-28
- Publication Date
- 2026-10-22
Smart Images

Figure CN2025117411_22102026_PF_FP_ABST
Abstract
Description
Motor control circuit, garage door controller and its control method Technical Field
[0001] This invention relates to the field of motor control technology, specifically to motor control circuits, garage door controllers, and control methods thereof. Background Technology
[0002] Currently, garage door controllers generally use a low-voltage DC motor solution, and its circuit topology is shown in Figure 1. In the figure, the mains input voltage is first stepped down by an external transformer, and then rectified to supply power to the low-voltage DC motor at the back end. At the same time, the backup battery is connected in parallel to the DC bus through diodes. When the mains power fails, the DC motor can continue to run by being powered by the battery. When the mains power is normal, the DC bus voltage directly charges the battery.
[0003] The above solution requires an external transformer to step down the input voltage. In actual operation, the transformer's own losses reduce system efficiency, and its large size increases system volume and cost. Furthermore, since the backup battery is simply connected in parallel to the DC bus via a diode, prolonged power outages and repeated garage door openings will cause the battery voltage to gradually decrease, leading to a drop in the DC bus voltage. This will inevitably affect the DC motor's performance and reliability. Finally, because this solution simply connects the backup battery directly to the DC bus, its charging current cannot be adjusted according to the specific battery's charging characteristics, thus impacting battery lifespan. Summary of the Invention
[0004] In view of this, the present invention provides a motor control circuit, a garage door controller and a control method thereof, to solve the problem of how to improve the operating performance and reliability of DC motors.
[0005] In a first aspect, the present invention provides a motor control circuit, comprising: a power conversion module, a drive module, and a backup energy storage module, wherein the power conversion module has an input terminal as a power supply access terminal and its output terminal connected to the input terminal of the drive module, and is used to rectify AC power into DC power; the drive module has an output terminal connected to the power supply terminal of the motor, and is used to output a forward rotation power supply voltage or a reverse rotation power supply voltage; the backup energy storage module is connected to the output terminal of the power conversion module, and is used to charge and store energy by stepping down the DC power when the AC power is not interrupted; and to discharge the stored energy to the drive module by stepping up the voltage when the AC power is interrupted.
[0006] Compared to the current low-voltage DC motor garage door controller solutions that use external transformers, which suffer from low efficiency, large size, and high cost, the present invention provides a low-voltage DC motor drive solution. The mains power is rectified and directly supplied to the downstream DC motor drive, thus eliminating the need for an external transformer. This improves system efficiency, reduces size, and lowers cost.
[0007] Compared to the current low-voltage solution where the backup battery is directly connected to the DC bus, which suffers from the drawback of reduced battery voltage after prolonged mains power outages and repeated opening and closing of the garage door, leading to a decrease in DC bus voltage and thus affecting motor performance and reliability, this invention incorporates an online adjustable boost circuit within the backup energy storage module. The bus voltage is unaffected by battery voltage decay, greatly improving the reliability of motor operation.
[0008] To address the shortcomings of current low-voltage motor solutions where the backup battery is directly connected to the DC bus, resulting in an unadjustable charging current that affects battery lifespan, this invention incorporates a dedicated charging circuit within the backup energy storage module. The charging current can be adjusted according to the battery's charging characteristics, thus extending battery lifespan while maintaining battery performance.
[0009] In one optional implementation, the power conversion module includes: a filter circuit, a rectifier circuit, and a DC bus capacitor. The filter circuit has its input terminal as a power supply access terminal and its output terminal connected to the AC side of the rectifier circuit, and is used to filter the AC power. The rectifier circuit has its DC side connected in parallel with a support capacitor, and its DC side is also connected to the input terminal of the drive module and a backup energy storage module, and is used to rectify the AC power into DC power. The DC bus capacitor is connected in parallel with the DC side of the rectifier circuit.
[0010] In one optional embodiment, the backup energy storage module includes: a backup battery and a buck-boost circuit, wherein the backup battery has its power supply terminal connected to the first terminal of the buck-boost circuit; the buck-boost circuit has its second terminal connected to the output terminal of the power conversion module, which is used to form a buck charging circuit when the AC power is not interrupted, and to form a boost discharging circuit when the AC power is interrupted.
[0011] In one optional embodiment, the buck-boost circuit includes: a first inductor, a first IGBT, a second IGBT, a first diode, and a second diode, wherein the emitter of the first IGBT is connected to the positive terminal of the backup battery through the first inductor, and its emitter is also connected to the collector of the second IGBT; its collector is connected to one end of the DC side of the rectifier circuit; the emitter of the second IGBT is connected to the negative terminal of the backup battery and the other end of the DC side of the rectifier circuit; the first diode is connected in reverse parallel with the first IGBT; and the second diode is connected in reverse parallel with the second IGBT.
[0012] In one optional implementation, the motor control circuit further includes: a sampling module for collecting various electrical parameters from the power conversion module, the drive module, and the backup energy storage module; a control module connected to the control terminals of the sampling module, the drive module, and the buck-boost circuit, for performing closed-loop control of the motor speed and direction based on various electrical parameters; and for adjusting the charging current of the backup battery based on various electrical parameters.
[0013] Secondly, the present invention provides a garage door controller, comprising: a motor control circuit and a motor according to the first aspect and any optional embodiment thereof, wherein: a power conversion module, the input terminal of which is a power supply access terminal, and the output terminal of which is connected to the input terminal of the drive module, is used to rectify AC power into DC power; a drive module, the output terminal of which is connected to the power supply terminal of the motor, is used to output a forward rotation power supply voltage or a reverse rotation power supply voltage; and a backup energy storage module, which is connected to the output terminal of the power conversion module, is used to charge and store energy by stepping down the DC power when the AC power is not interrupted; and to discharge the stored energy to the drive module by stepping up the voltage when the AC power is interrupted.
[0014] Thirdly, the present invention provides a control method for a motor control circuit, applied to a control module of a motor control circuit, the method comprising: performing closed-loop control of the motor speed and direction based on multiple electrical parameters; and adjusting the charging current of a backup battery based on multiple electrical parameters.
[0015] In one optional implementation, the process of closed-loop control of the motor speed and direction includes: acquiring a speed command and the actual speed of the motor; subtracting the speed command from the actual speed to obtain a speed difference value; adjusting the speed difference value using a speed regulator to obtain a current command; and adjusting the voltage and current based on the current command using a hysteresis comparison method.
[0016] In one optional implementation, the process of adjusting the charging current of the backup battery includes: selecting a charging current command for the current stage based on the voltage of the backup battery; subtracting the charging current command from the actual charging current to obtain a current difference value; and adjusting the charging current using a hysteresis comparator based on the current difference value.
[0017] Fourthly, the present invention provides a control method for a garage door controller, comprising: a control method for a motor control circuit as described in the third aspect.
[0018] Fifthly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the control method of the motor control circuit of the third aspect or any corresponding embodiment above, or the control method of the garage door controller of the fourth method.
[0019] In a sixth aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the control method of the motor control circuit of the third aspect or any of the corresponding embodiments described above, or the control method of the garage door controller of the fourth method.
[0020] In a seventh aspect, the present invention provides a computer program product, including computer instructions for causing a computer to execute the control method of the motor control circuit of the third aspect or any of the corresponding embodiments of the above-described control method or the control method of the fourth method of the garage door controller. Attached Figure Description
[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 shows the motor drive circuit of the related technology;
[0023] Figure 2 is a composition diagram of a motor control circuit according to an embodiment of the present invention;
[0024] Figure 3 is a detailed circuit structure diagram of the motor control circuit according to an embodiment of the present invention;
[0025] Figure 4 is a block diagram of motor control according to an embodiment of the present invention;
[0026] Figure 5 is a block diagram of charging current control according to an embodiment of the present invention;
[0027] Figure 6 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0029] In the description of this invention, it should be noted that the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0030] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can also refer to the internal connection of two components; and they can refer to a wireless connection or a wired connection. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0031] Furthermore, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0032] This embodiment provides a motor control circuit, as shown in Figure 1, including: a power conversion module, a drive module, and a backup energy storage module.
[0033] As shown in Figure 1, the power conversion module has its input terminal as the power supply terminal and its output terminal connected to the input terminal of the drive module. It is used to rectify AC power into DC power. The drive module has its output terminal connected to the power supply terminal of the motor. It is used to output the forward or reverse power supply voltage. The backup energy storage module is connected to the output terminal of the power conversion module. It is used to charge and store energy by stepping down the DC power when the AC power is not interrupted. When the AC power is interrupted, it steps up the stored energy and discharges it to the drive module.
[0034] Specifically, the power conversion module can convert AC power (i.e., mains power) into DC power. When the AC power is not lost, the DC power charges the backup energy storage module and supplies power to the drive module. The drive module converts the DC power back into AC power to supply power to the motor. It can be understood that the direction of the AC power output by the drive module determines the direction of motor rotation.
[0035] Specifically, when the mains power is not interrupted, the mains power charges the backup energy storage module. In order to adapt to the power supply voltage level of the backup energy storage module, the backup energy storage module steps down the DC power output from the power conversion module before charging. At the same time, during the charging process, a phase-closed-loop control method can be used to control the charging current.
[0036] Specifically, when the mains power fails, the backup energy storage module discharges to the drive module to prevent the motor from stopping. When the motor is used with the garage door, the discharge voltage will gradually decrease with the number of times the garage door is opened and closed due to a prolonged mains power outage, leading to a drop in the DC bus voltage. This will inevitably affect the operating performance and reliability of the DC motor. Therefore, the backup energy storage module boosts the stored energy before discharging it to the drive module.
[0037] In some optional implementations, the power conversion module includes: a filter circuit, a rectifier circuit, and a DC bus capacitor. The filter circuit has its input terminal as a power supply terminal and its output terminal connected to the AC side of the rectifier circuit, and is used to filter the AC power. The rectifier circuit has its DC side connected in parallel with a support capacitor, and its DC side is also connected to the input terminal of the drive module and a backup energy storage module, and is used to rectify the AC power into DC power. The DC bus capacitor is connected in parallel with the DC side of the rectifier circuit.
[0038] Optionally, as shown in Figure 3, the filter circuit is composed of capacitors C1 and C2 and a common-mode inductor L1. The common-mode inductor can present high impedance to common-mode interference current, effectively attenuating common-mode noise transmitted along the power line or signal line and limiting it to a certain range, thereby improving anti-interference ability and electromagnetic compatibility.
[0039] Optionally, as shown in Figure 3, the rectifier circuit is an uncontrolled single-phase rectifier circuit. The single-phase rectifier bridge composed of diodes D1, D2, D3, and D4 rectifies the output to the DC bus capacitor E1. Alternatively, the rectifier circuit can be a controllable rectifier circuit composed of IGBT transistors, MOSFET transistors, SiC, etc., and the output voltage of the rectifier circuit can be controlled by a closed-loop control method.
[0040] In some optional implementations, as shown in Figure 3, the drive module consists of MOSFETs Q1, Q2, Q3, and Q4, where Q1 and Q3 form the forward rotation arm, and Q2 and Q4 form the reverse rotation arm. When Q1 and Q3 are on and Q2 and Q4 are off, current flows from the positive terminal of the motor armature winding to the negative terminal and out, causing the motor to rotate forward. When Q2 and Q4 are on and Q1 and Q3 are off, current flows from the negative terminal of the motor armature winding to the positive terminal and out, causing the motor to rotate in reverse. In actual operation, the output torque and direction of the motor are controlled by controlling the duty cycle and conduction sequence of each group of MOSFETs in the armature winding.
[0041] In some optional implementations, the backup energy storage module includes: a backup battery and a buck-boost circuit, wherein the backup battery has its power supply terminal connected to the first terminal of the buck-boost circuit; the buck-boost circuit has its second terminal connected to the output terminal of the power conversion module, which is used to form a buck charging circuit when the AC power is not interrupted; and to form a boost discharging circuit when the AC power is interrupted.
[0042] Specifically, the step-up / step-down circuit enables bidirectional energy flow, allowing energy to flow both from the backup battery to the DC bus and vice versa. When the mains power fails, the motor is powered by the backup battery. Since the backup battery voltage is much lower than the DC bus voltage, it needs to be boosted to the DC bus voltage before it can be used. Simultaneously, to maintain the energy stored in the backup battery, it needs to be charged when the mains power is on. Again, due to the significant voltage difference between the backup battery and the DC bus, the DC bus voltage needs to be stepped down before the backup battery can be charged.
[0043] In some optional implementations, as shown in Figure 3, the buck-boost circuit includes: a first inductor L2, a first IGBT G1, a second IGBT G2, a first diode D5, and a second diode D6. The emitter of the first IGBT G1 is connected to the positive terminal of the backup battery through the first inductor L1, and its emitter is also connected to the collector of the second IGBT G2; its collector is connected to one end of the DC side of the rectifier circuit. The emitter of the second IGBT G2 is connected to the negative terminal of the backup battery and the other end of the DC side of the rectifier circuit. The first diode D5 is connected in reverse parallel with the first IGBT G1. The second diode D6 is connected in reverse parallel with the second IGBT G1.
[0044] Specifically, when the mains power is not interrupted, the first IGBT G1, the second diode D6, and the first inductor L1 form a step-down charging circuit to charge the energy storage battery after stepping down the mains power; when the mains power is interrupted, the second IGBT G2, the first diode D1, and the first inductor L2 form a step-up discharging circuit to boost the discharge voltage of the backup battery before output.
[0045] In some optional implementations, the motor control circuit further includes: a sampling module for collecting various electrical parameters from the power conversion module, drive module, and backup energy storage module; a control module connected to the control terminals of the sampling module, drive module, and buck-boost circuit, for performing closed-loop control of the motor speed and direction based on various electrical parameters; and for adjusting the charging current of the backup battery based on various electrical parameters.
[0046] Specifically, the sampling module includes motor current sampling, bus voltage sampling, battery voltage sampling, and charging current sampling.
[0047] Optionally, as shown in Figure 3, the motor current sampling includes: resistors R9 to R14, capacitors C6 to C8, and comparator IC1B. The bus voltage sampling includes: resistors R15 and R16. The battery voltage sampling includes: resistors R1 and R2. The charging current sampling includes: resistors R4 to R8, battery capacitors C3 to C5, and comparator IC1B.
[0048] This embodiment provides a garage door controller, as shown in Figure 2, including: a motor control circuit and a motor; a power conversion module, whose input terminal is a power supply access terminal and whose output terminal is connected to the input terminal of the drive module, used to rectify AC power into DC power; a drive module, whose output terminal is connected to the power supply terminal of the motor, used to output forward or reverse power supply voltage; and a backup energy storage module, which is connected to the output terminal of the power conversion module, used to charge and store energy by stepping down the DC power when the AC power is not interrupted; and to discharge the stored energy to the drive module by stepping up the voltage when the AC power is interrupted.
[0049] This embodiment provides a control method for a motor control circuit, applied to a control module of the motor control circuit. The method includes: performing closed-loop control of the motor speed and direction based on multiple electrical parameters; and adjusting the charging current of the backup battery based on multiple electrical parameters.
[0050] In some optional implementations, the process of closed-loop control of the motor speed and direction includes: acquiring a speed command and the actual speed of the motor; subtracting the speed command from the actual speed to obtain a speed difference value; adjusting the speed difference value using a speed regulator to obtain a current command; and adjusting the voltage and current based on the current command using a hysteresis comparison method.
[0051] Specifically, based on the specific topology shown in Figure 3, the motor control block diagram is shown in Figure 4. In Figure 4, a speed command ω* greater than zero represents forward rotation, in which case forward rotation bridge arm MOSFETs Q1 and Q3 participate in the control; a speed command ω* less than zero represents reverse rotation, in which reverse rotation bridge arm MOSFETs Q2 and Q4 participate in the control.
[0052] Specifically, Figure 4 illustrates this using motor forward rotation control as an example. The speed command ω* is compared with the actual speed ω fed back by the encoder mounted on the DC motor. The difference is then adjusted by the speed regulator to output the current command I. motor * This current command is related to the actual motor current I. motor Perform hysteresis comparisons, when I motor *Greater than I motor When both MOSFETs Q1 and Q3 are turned on simultaneously, the motor current I... motor Increase, when I motor *less than I motor When Q1 and Q3 are off, the motor current decreases. By continuously adjusting I by controlling the on / off state of Q1 and Q3, the current can be reduced. motor * and I motor The deviation between them is used to achieve the purpose of the actual motor current following the change of the current command. The reverse control principle is the same as the above, except that the MOSFETs involved in the control are Q2 and Q4.
[0053] In some alternative implementations, the process of adjusting the charging current of the backup battery includes: selecting a charging current command for the current stage based on the voltage of the backup battery; subtracting the charging current command from the actual charging current to obtain a current difference; and adjusting the charging current using a hysteresis comparator based on the current difference.
[0054] Specifically, in Figure 3, L2, G1, and D6 form a backup battery charging circuit. When the system detects that the battery voltage has dropped to below 90% of the nominal value under mains power supply, the circuit is activated to charge the battery.
[0055] Specifically, the battery charging circuit adopts a current-controlled mode: when the battery voltage is below 80% of the nominal value, the charging current is set to a constant current to charge the battery; when the battery voltage is above 90%, the charging current is set to 30%; and the charging circuit shuts off when the battery reaches the nominal voltage value. The specific control block diagram is shown in Figure 5. Compared with the shortcomings of existing solutions where the charging current cannot be adjusted, this solution can adjust the charging current at each stage according to the battery's charging characteristics, thereby increasing the battery's lifespan while maintaining battery performance.
[0056] In Figure 5, the system first detects the battery voltage and, based on the aforementioned battery charging current control strategy, issues corresponding charging current commands according to the different battery voltages. Simultaneously, the system detects the actual charging output current I. cout Charging current command With the actual charging current I cout Hysteresis comparison is performed. When the charging current command is greater than the actual charging current, the first IGBT is turned on, and the actual charging current increases. When the charging current command is less than the actual current, the first IGBT is turned off, and the charging current decreases. By controlling the on and off of the first IGBT, the deviation between the charging current command and the actual charging current is controlled, thereby achieving the purpose of the charging current following the command.
[0057] In some optional implementations, as shown in Figure 3, the first inductor L2, G2, and D5 form a boost circuit. When the system detects a mains power failure (detected via DC bus voltage), this boost circuit is activated. The backup battery, after being boosted, is connected to the DC bus to provide the energy required for motor operation. The control method for this boost circuit is the same as that of a conventional boost circuit, and will not be described in detail here. Unlike existing solutions where the backup battery is directly connected to the DC bus, this solution adds a boost circuit with output voltage regulation between the backup battery and the DC bus. This boost circuit can maintain the output voltage at a fixed value and is not affected by the decrease in battery voltage. Therefore, it solves the problem that the decrease in battery voltage during prolonged mains power failures causes a decrease in DC bus voltage, affecting motor operating performance and reliability.
[0058] This embodiment provides a control method for a garage door controller, including: a control method for a motor control circuit.
[0059] This invention also provides a computer device having the above-described control module.
[0060] Please refer to Figure 6, which is a schematic diagram of a computer device according to an optional embodiment of the present invention. As shown in Figure 6, the computer device includes one or more processors 10, a memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components communicate with each other using different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 6 uses one processor 10 as an example.
[0061] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0062] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.
[0063] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0064] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0065] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means; Figure 6 shows an example of a connection via a bus.
[0066] Input device 30 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the computer device, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some alternative embodiments, the display device may be a touchscreen.
[0067] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0068] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0069] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0070] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A motor control circuit, characterized in that, include: Power conversion module, drive module, and backup energy storage module, among which, The power conversion module has a power supply input terminal and its output terminal connected to the input terminal of the drive module. It is used to rectify AC power into DC power. The drive module has its output terminal connected to the power supply terminal of the motor, and it is used to output the forward rotation power supply voltage or the reverse rotation power supply voltage. A backup energy storage module is connected to the output terminal of the power conversion module. It is used to charge and store energy by stepping down the DC power when the AC power is not interrupted, and to discharge the stored energy to the drive module when the AC power is interrupted.
2. The motor control circuit according to claim 1, characterized in that, The power conversion module includes: a filter circuit, a rectifier circuit, and a DC bus capacitor, wherein... A filter circuit, whose input terminal is the power supply input terminal and whose output terminal is connected to the AC side of the rectifier circuit, is used to filter the AC power. The rectifier circuit has its DC side connected in parallel with the supporting capacitor, and its DC side is also connected to the input terminal of the drive module and the backup energy storage module. It is used to rectify AC power into DC power. A DC bus capacitor is connected in parallel with the DC side of the rectifier circuit.
3. The motor control circuit according to claim 2, characterized in that, The backup energy storage module includes: a backup battery and a step-up / step-down circuit, wherein... A backup battery, the power supply terminal of which is connected to the first terminal of the buck-boost circuit; The step-up / step-down circuit has its second terminal connected to the output terminal of the power conversion module. It is used to form a step-down charging circuit when the AC power is not interrupted and a step-up discharging circuit when the AC power is interrupted.
4. The motor control circuit according to claim 3, characterized in that, The buck-boost circuit includes: a first inductor, a first IGBT, a second IGBT, a first diode, and a second diode, wherein... The emitter of the first IGBT is connected to the positive terminal of the backup battery through the first inductor, and its emitter is also connected to the collector of the second IGBT; its collector is connected to one end of the DC side of the rectifier circuit. The emitter of the second IGBT is connected to the negative terminal of the backup battery and the other end of the DC side of the rectifier circuit. The first diode is connected in reverse parallel with the first IGBT transistor; The second diode is connected in reverse parallel with the second IGBT.
5. The motor control circuit according to claim 3, characterized in that, Also includes: The sampling module is used to collect various electrical parameters of the power conversion module, drive module, and backup energy storage module; The control module is connected to the control terminals of the sampling module, the drive module, and the step-up / step-down circuit. It is used to perform closed-loop control of the motor speed and direction based on the various electrical parameters, and to adjust the charging current of the backup battery based on the various electrical parameters.
6. A garage door controller, characterized in that, include: The motor control circuit and motor according to any one of claims 1 to 5, wherein, The power conversion module has a power supply input terminal and its output terminal connected to the input terminal of the drive module. It is used to rectify AC power into DC power. The drive module has its output terminal connected to the power supply terminal of the motor, and it is used to output the forward rotation power supply voltage or the reverse rotation power supply voltage. A backup energy storage module is connected to the output terminal of the power conversion module. It is used to charge and store energy by stepping down the DC power when the AC power is not interrupted, and to discharge the stored energy to the drive module when the AC power is interrupted.
7. A control method for a motor control circuit, characterized in that, The method, applied to the control module of the motor control circuit according to claim 5, comprises: Based on the aforementioned electrical parameters, the speed and direction of the motor are controlled in a closed loop. Based on the aforementioned electrical parameters, the charging current of the backup battery is adjusted.
8. The control method for the motor control circuit according to claim 7, characterized in that, The process of performing closed-loop control on the speed and direction of the motor includes: Obtain the speed command and the actual speed of the motor; The difference between the speed command and the actual conversion is used to obtain the speed difference value; The speed difference is adjusted using a speed regulator to obtain a current command; The voltage and current are adjusted based on the current command using a hysteresis comparison method.
9. The control method for the motor control circuit according to claim 7, characterized in that, The process of adjusting the charging current of the backup battery includes: The charging current command for the current stage is selected based on the voltage of the backup battery. The difference between the charging current command and the actual charging current is used to obtain the current difference value; Based on the current difference, the charging current is adjusted using a hysteresis comparator.
10. A control method for a garage door controller, characterized in that, include: The control method of the motor control circuit according to any one of claims 7 to 9.
11. A computer device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the control method of the motor control circuit according to any one of claims 7 to 9, or the control method of the garage door controller according to claim 10.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the control method of the motor control circuit according to any one of claims 7 to 9, or the control method of the garage door controller according to claim 10.
13. A computer program product, characterized in that, Includes computer instructions for causing a computer to execute the control method of the motor control circuit according to any one of claims 7 to 9, or the control method of the garage door controller according to claim 10.