Electric motors and their control methods, devices, motor controllers, media and program products
By controlling the motor's current generation using open-loop operating parameters before motor startup and judging the status of the current sensor and acquisition circuit, the problem of damage caused by motor current sensor failure is solved, achieving a highly safe and low-cost self-diagnosis.
Patent Information
- Application Number
- CN202611295540.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-11-17
AI Technical Summary
In a closed-loop control system for a motor, if the motor current sensor fails, it can lead to damage to the power module in the motor drive system or even damage to the motor itself.
Before the motor starts, the open-loop operation parameters are set to control the motor to run in an open loop. The set open-loop voltage is injected to generate current, and the current sensor and its acquisition circuit are checked to determine whether they are normal, thus preventing the motor from starting.
Without the need for additional hardware circuitry, it achieves self-diagnosis of the current sensor status, reducing costs and improving safety, thus preventing damage to the motor drive system and the motor.
Smart Images

Figure CN123122318A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of motor technology, specifically relating to a motor control method, device, motor controller, motor, storage medium, and computer program product. More particularly, it relates to a method, device, motor controller, motor, storage medium, and computer program product for self-diagnosing the status of a current sensor before motor startup. The motor controller involves the manufacture of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs), insulated-gate bipolar transistor (IGBT) chips, and modules. Background Technology
[0002] In motor drive systems, motor current sensors are the primary detection devices for closed-loop motor control. However, in a motor's closed-loop control system, if the motor current sensor fails, it can damage the power module in the motor drive system and even the motor itself. This motor controller involves the manufacture of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs), insulated-gate bipolar transistors (IGBTs), and related modules.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The purpose of this invention is to provide a motor control method, device, motor controller, motor, storage medium, and computer program product to solve the problem that in a closed-loop control system of a motor, if the motor current sensor fails, it can cause damage to the power module in the motor drive system or even damage to the motor itself. This invention achieves the effect of controlling the motor's open-loop operation to generate current before motor startup based on set open-loop operating parameters, and determining the normality of the current sensor and its acquisition circuitry, without adding additional hardware circuitry, resulting in low cost and high safety. The motor controller relates to the manufacture of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs), insulated-gate bipolar transistor chips, and modules.
[0005] This invention provides a method for controlling a motor, wherein the control system of the motor includes a current sensor; the method for controlling the motor includes: acquiring preset open-loop operating parameters of the motor before it starts after being powered on; controlling the motor to operate in open loop based on the preset open-loop operating parameters; acquiring a current value sampled by the current sensor of the motor during open-loop operation, and recording it as the current of the motor; determining whether the current sensor of the motor and the acquisition circuit connected to the current sensor are normal based on the current of the motor; if it is determined that both the current sensor of the motor and the acquisition circuit connected to the current sensor are normal, then allowing the motor to start; if it is determined that the current sensor of the motor is abnormal and / or the acquisition circuit connected to the current sensor is abnormal, then disallowing the motor to start.
[0006] In some embodiments, the set open-loop operating parameters of the motor include: the set open-loop voltage of the motor; controlling the open-loop operation of the motor based on the set open-loop operating parameters of the motor includes: injecting the set open-loop voltage of the motor into the motor to enable the motor to operate in open loop.
[0007] In some embodiments, the set open-loop operating parameters of the motor further include: the set open-loop voltage of the motor, the set rotation angle of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor; controlling the open-loop operation of the motor based on the set open-loop operating parameters of the motor further includes: injecting the set open-loop voltage of the motor into the motor for a preset duration; determining the three-phase voltage of the motor based on the set open-loop voltage of the motor and the set rotation angle of the motor; determining the three-phase duty cycle of the motor based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor; and controlling the drive end of the motor to operate according to the three-phase duty cycle of the motor, so that the drive end of the motor drives the motor to operate in open loop.
[0008] In some embodiments, the set open-loop voltage of the motor includes: the d-axis voltage U of the motor. d and the q-axis voltage U of the motor q Based on the set open-loop voltage and the set rotation angle of the motor, the three-phase voltage of the motor is determined, including: based on the set open-loop voltage and the set rotation angle of the motor, the α-axis voltage V of the motor is obtained through Park inverse transformation. α and the β-axis voltage V of the motor β Based on the α-axis voltage V of the motor α and the β-axis voltage V of the motor β The three-phase voltage of the motor is obtained by Clark inverse transformation.
[0009] In some implementations, determining the three-phase duty cycle of the motor based on its three-phase voltage, its set duty cycle, and its DC bus voltage includes: calculating the three-phase duty cycle of the motor using the following formula:
[0010] ;
[0011] Among them, T u T represents the duty cycle of the first phase in the three-phase duty cycle of the motor. v T represents the duty cycle of the second phase in the three-phase duty cycle of the motor.w T represents the duty cycle of the third phase in the three-phase duty cycle of the motor. pwm This indicates the set duty cycle of the motor; V a V represents the first phase voltage in the three-phase voltage of the motor. b V represents the second phase voltage in the three-phase voltage of the motor. c V represents the third phase voltage in the three-phase voltage of the motor; max This indicates the three-phase voltage V of the motor. a V b and V c The maximum value in, V min This indicates the three-phase voltage V of the motor. a V b and V c The minimum value in; V dc The value represents the DC bus voltage of the motor; k1, k2, and k3 all represent calculation coefficients.
[0012] In some implementations, determining whether the motor current sensor and the acquisition circuit connected to the motor current sensor are normal based on the motor current includes: determining whether the motor current is greater than or equal to a preset current threshold; if the motor current is greater than or equal to the preset current threshold, then the motor current sensor and the acquisition circuit connected to the motor current sensor are determined to be normal; if the motor current is not greater than or equal to the preset current threshold, then the motor current sensor is determined to be abnormal and / or the acquisition circuit connected to the motor current sensor is abnormal.
[0013] In some embodiments, in the control system of the motor, the output side of the motor's drive end has three-phase power lines. A first current transformer module is provided in the first phase of the three-phase power lines, and a second current transformer module is provided in the second phase of the three-phase power lines. Both the first and second current transformer modules of the motor serve as current sensors for the motor. The current of the motor includes: a first current of the motor, and / or a second current of the motor. Acquiring the current value sampled by the current sensors of the motor, and recording it as the current of the motor, includes: acquiring the current value sampled by the first current transformer module of the motor, and recording it as the first current of the motor; and / or, acquiring the current value sampled by the second current transformer module of the motor, and recording it as the second current of the motor.
[0014] Accordingly, determining whether the current sensor of the motor and the acquisition circuit connected to the current sensor of the motor are normal based on the current of the motor further includes: when the first current of the motor is obtained, determining whether the first current transformer module of the motor and the acquisition circuit connected to the first current transformer module of the motor are normal based on the first current of the motor; and / or, when the second current of the motor is obtained, determining whether the second current transformer module of the motor and the acquisition circuit connected to the second current transformer module of the motor are normal based on the second current of the motor.
[0015] In conjunction with the above method, another aspect of the present invention provides a motor control device, comprising: an acquisition unit configured to acquire preset open-loop operating parameters of the motor before starting the motor after it is powered on; a control unit configured to control the motor to operate in open loop based on the preset open-loop operating parameters; the acquisition unit is further configured to acquire a current value sampled by a current sensor of the motor and record it as the current of the motor during the open-loop operation of the motor; the control unit is further configured to determine whether the current sensor of the motor and the acquisition circuit connected to the current sensor of the motor are normal based on the current of the motor; the control unit is further configured to allow the motor to start if it is determined that both the current sensor of the motor and the acquisition circuit connected to the current sensor of the motor are normal; the control unit is further configured to disallow the motor to start if it is determined that the current sensor of the motor is abnormal and / or the acquisition circuit connected to the current sensor of the motor is abnormal.
[0016] In conjunction with the above-described device, the present invention further provides a motor controller, comprising: the motor control device described above.
[0017] In conjunction with the above-described device, the present invention further provides a motor, comprising: the motor control device described above, or the motor controller described above.
[0018] In conjunction with the above method, the present invention further provides a storage medium comprising a stored program, wherein, when the program is executed, the device on which the storage medium is located executes the steps of the motor control method described above.
[0019] In conjunction with the above method, the present invention further provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the motor control method described above.
[0020] The present invention addresses the problem of determining whether the motor's current sensor and / or the current acquisition circuit connected to the current sensor are faulty before the motor starts. Before starting the motor after power-on, open-loop operating parameters of the motor are set. Based on these parameters, the motor is controlled to operate in open loop. During open-loop operation, the current value sampled by the motor's current sensor is acquired and recorded as the motor's current. Based on the current, the current sensor and its connected acquisition circuit are assessed for proper functioning. If both are deemed normal, the motor is allowed to start. If the current sensor and its connected acquisition circuit are found to be faulty, the motor is not allowed to start. Therefore, by controlling the motor's open-loop operation to generate current before startup based on the set open-loop operating parameters (e.g., injecting a set open-loop voltage to induce current), the current sensor and its acquisition circuit can be used to determine its functionality without requiring additional hardware circuitry, resulting in low cost and high safety. This motor controller involves the manufacturing of power electronic components such as metal-oxide-semiconductor field-effect transistors, insulated-gate bipolar transistor chips and modules.
[0021] Specifically, in the solution of this invention, to address the problem of determining whether the motor's current sensor and / or the current acquisition line connected to the current sensor is faulty before the motor starts, the motor's current sensor is configured as follows: a first CT module on the U-phase line and a second CT module on the V-phase line in the motor's three-phase power lines; required parameters are preset, such as setting the current sampling period time (i.e., the interruption frequency, such as the current sampling period time F). interrupt ), PWM period time (such as the carrier period time T of PWM), pwm ), set the open-loop voltage (such as open-loop voltage U) d and U q (value), and setting the open-loop frequency (such as the motor open-loop frequency F). m ), and obtain the DC bus voltage (e.g., sample the DC bus voltage V). dcThe system determines the open-loop rotation angle θ of the motor in each interrupt cycle based on the set current sampling period and the set open-loop frequency. A set open-loop voltage is injected into the three-phase power lines of the motor for a period of time to allow the motor to operate in open loop based on the set open-loop frequency and the calculated open-loop rotation angle θ for each interrupt cycle. While the motor is operating in open loop, the system acquires current data sampled by the current sensor (specifically, current data sampled by each CT module). It then determines whether the absolute value of the current data sampled by the current sensor is greater than or equal to a current setting threshold. If the absolute value is greater than or equal to the current setting threshold, the current sensor and its connected current acquisition circuit are considered normal, and the motor is allowed to start. If the absolute value is less than the current setting threshold, the current sensor and / or its connected current acquisition circuit are considered abnormal, and the motor is not allowed to start. Therefore, by injecting a set open-loop voltage before motor startup to obtain the motor current and determine the normality of the current sensor and its acquisition circuit, no additional hardware circuitry is required, resulting in low cost and high safety. This motor controller involves the manufacturing of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs) and insulated-gate bipolar transistor chips and modules.
[0022] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention.
[0023] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0024] Figure 1 This is a flowchart illustrating an embodiment of the motor control method of the present invention;
[0025] Figure 2 This is a flowchart illustrating an embodiment of the second process of controlling the open-loop operation of the motor in the method of the present invention;
[0026] Figure 3 This is a flowchart illustrating an embodiment of the method for determining the three-phase voltage of the motor according to the present invention;
[0027] Figure 4 This is a flowchart illustrating an embodiment of the first process in the method of the present invention for determining whether the current sensor of the motor and the acquisition line connected to the current sensor of the motor are normal.
[0028] Figure 5 This is a schematic diagram of the structure of an embodiment of the motor control device of the present invention;
[0029] Figure 6A schematic diagram of a structure for an embodiment of a motor-driven inverter terminal;
[0030] Figure 7 This is a flowchart illustrating an embodiment of a self-diagnostic method for the status of a current sensor before motor startup, which shows the self-test process of the current sensor.
[0031] Figure 8 This is a flowchart illustrating an embodiment of the motor injection open-loop voltage method in a self-diagnostic method for the current sensor status before motor startup, which shows the motor injection open-loop voltage process.
[0032] Referring to the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:
[0033] 102 - Acquisition unit; 104 - Control unit. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0035] Considering that in a closed-loop control system for a motor, if the motor current sensor fails, it can damage the power module in the motor drive system or even the motor itself. For example, in the design of motors in relevant solutions, it is usually assumed that the current sensor and the current acquisition circuit (or the current sampling circuit connected to the current sensor) are stable. However, during the use of motor products, various problems can cause the current acquisition circuit connected to the current sensor to become loose or the current sensor to fail. In a closed-loop control system for a motor, such as a field-oriented control (FOC) motor control system, forcibly driving the motor when the current sensor fails can easily damage the power module (such as the IGBT module) in the motor drive system, as well as cause high-current demagnetization or mechanical damage to the motor.
[0036] Therefore, the present invention proposes a motor control method, specifically a self-diagnostic method for the status of a current sensor before motor startup. Before motor startup, a small current is generated to determine whether the current sensor and the current sampling line connected to the current sensor are damaged, thus avoiding damage to the power module or even the motor in the motor drive system due to current sensor failure. This method is highly safe and low in cost.
[0037] According to an embodiment of the present invention, a method for controlling a motor is provided, such as... Figure 1 The diagram shows a flowchart of an embodiment of the method of the present invention. In this motor control method, the motor control system has a current sensor; specifically, in the motor control system, the output side of the motor drive end has three-phase power lines, and a current sensor is respectively installed in two of the three-phase power lines of the motor. Figure 6 This is a schematic diagram of one embodiment of the motor-driven inverter terminal, showing the structure of the motor-driven inverter terminal. For example... Figure 6 As shown, the motor drive inverter includes a three-phase inverter bridge composed of transistors Q1, Q2, Q3, Q4, Q5, and Q6, which acts as an inverter to supply power to the motor. Transistors Q1, Q2, Q3, Q4, Q5, and Q6 can be six IGBT modules. The drive signal for each transistor (Q1, Q2, Q3, Q4, Q5, and Q6) is connected to a PWM control module. The motor control system also includes a PWM control module, a current sampling module, and a voltage sampling module, all of which are connected to the main control chip in the motor controller. The PWM control module can be an IGBT module driver controller, generally called a driver board, and its selection should match the motor power. The current sampling module can be a current sensor, also matched to the motor power. The voltage sampling module can be constructed using a resistor divider circuit.
[0038] The externally input AC power (such as AC power from the power grid) is rectified by the rectifier bridge to output the DC bus voltage V. dc The inverter is located on the output side of the DC bus capacitor C (i.e., the supporting capacitor). The inverter inverts the DC bus voltage provided by the DC bus capacitor C to generate AC power, which is then supplied to the motor via the three-phase power supply lines (such as the U-phase, V-phase, and W-phase lines). These three-phase power supply lines are the motor's three-phase power lines. Two current transformer (CT) modules are installed in the motor's three-phase power supply lines. Both CT modules are power-taking devices for the current transformers in the power system. These two CT modules (denoted as the first CT module and the second CT module) are current sensors for the motor's U and V phases. The first CT module is located in the U-phase line of the motor's three-phase power supply line, and the second CT module is located in the V-phase line. Both the first and second CT modules are connected to a current sampling module, which outputs the sampled current to the main control chip in the motor controller. The voltage sampling module is used to sample the DC bus voltage V on the rectifier bridge output side. dcThe sampled voltage is then output to the main control chip in the motor controller. The main control chip in the motor controller outputs a control signal to the PWM control module, which generates a drive signal to drive each of the following switches: Q1, Q2, Q3, Q4, Q5, and Q6. In the solution of this invention, as... Figure 1 As shown, the motor control method includes steps S110 to S160.
[0039] In step S110, before the motor starts after being powered on, the set open-loop operating parameters of the motor are obtained; wherein, the set open-loop operating parameters of the motor are set to obtain the set open-loop operating parameters of the motor.
[0040] In step S120, the motor is controlled to operate in open loop based on the set open-loop operating parameters of the motor.
[0041] In step S130, when the motor is operating in open loop, the current value sampled by the motor's current sensor is acquired and recorded as the motor's current; the motor's current is the current data I obtained by the current sampling module. meas .
[0042] In step S140, based on the motor current, it is determined whether the motor current sensor and the acquisition line connected to the motor current sensor are normal.
[0043] In step S150, if it is determined that the current sensor of the motor and the acquisition line connected to the current sensor of the motor are both normal, the motor is allowed to start.
[0044] In step S160, if it is determined that the current sensor of the motor is malfunctioning and / or the acquisition line connected to the current sensor of the motor is malfunctioning, then the motor is not allowed to start.
[0045] In the present invention, the motor control system includes a current sensor. Before the motor starts after power-on, open-loop operating parameters are set. Based on these parameters, the motor is controlled to operate in an open-loop manner. During open-loop operation, the current value sampled by the motor's current sensor is acquired and recorded as the motor's current. Based on the current, the current sensor and its connected acquisition circuit are assessed for proper functioning. If both are deemed normal, the motor is allowed to start. If the current sensor malfunctions and its connected acquisition circuit malfunctions, the motor is not allowed to start. Therefore, by controlling the motor's open-loop operation to generate current before startup based on the set open-loop operating parameters, the proper functioning of the current sensor and its acquisition circuit is determined without adding additional hardware circuitry, resulting in low cost and high safety.
[0046] The present invention proposes a self-diagnostic scheme for the status of a current sensor before motor startup. Without adding additional hardware circuitry, it can determine whether the current sensor and the current sampling line connected to the current sensor are damaged by generating a small current before the motor starts. This avoids damage to the power module or even the motor in the motor drive system due to the failure of the current sensor, and is highly safe and low in cost.
[0047] In some embodiments, the set open-loop operating parameters of the motor include: the set open-loop voltage of the motor; the set open-loop voltage of the motor includes: the set d-axis voltage U of the motor. d and the set q-axis voltage U of the motor q Wherein, the set d-axis voltage U of the motor d and the set q-axis voltage U of the motor q If the open-loop voltage U is set d and U q value.
[0048] In step S120, based on the set open-loop operating parameters of the motor, the open-loop operation of the motor is controlled, including: a first process of controlling the open-loop operation of the motor, specifically as follows:
[0049] A predetermined open-loop voltage is injected into the motor to enable it to operate in open-loop mode. Specifically, the predetermined open-loop voltage is injected into the three-phase power lines at the drive end of the motor, and the motor's open-loop algorithm is used to enable it to operate in open-loop mode.
[0050] In this invention, a specific open-loop voltage can be injected to induce current in the motor before it is officially started. The main control chip of the motor controller samples the current to determine whether the motor current sensor and the current sampling circuit connected to the current sensor are faulty. That is, in the motor control system, an open-loop algorithm is used to inject a specific open-loop voltage to drive the motor to generate a small current. The main control chip of the motor controller collects the current through the current sampling module. If the collected current is greater than a set reference value, it indicates that the current sensor is normal and the current sampling circuit connected to the current sensor is normal; otherwise, it indicates that the current sampling circuit connected to the current sensor is open-circuited and / or the current sensor is faulty. This eliminates the need for additional hardware circuitry, resulting in low cost and high safety.
[0051] The present invention proposes a self-diagnostic scheme for the status of a current sensor before motor startup. This scheme injects a predetermined open-loop voltage into the motor, specifically into the three-phase power lines of the motor's drive terminal, enabling the motor to operate in open loop. This is achieved entirely through algorithms and existing circuitry in the motor control system without adding additional hardware resources such as circuitry, resulting in low cost. Furthermore, this scheme uses low voltage, low current, and short testing time, preventing damage to the motor insulation and power modules (such as IGBT modules) in the motor drive system, thus ensuring high safety.
[0052] In some embodiments, the set open-loop operating parameters of the motor further include: the set open-loop voltage of the motor, the set rotation angle of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor; wherein, the set open-loop voltage of the motor, such as the set open-loop voltage U... d and U q Value. The set rotation angle of the motor, such as a set rotation angle θ, which is the rotation angle θ of the motor in each interrupt cycle. The set duty cycle of the motor, such as the set PWM duty cycle T. pwm (i.e., the carrier period time T of the PWM) pwm The DC bus voltage of the motor, such as the sampled DC bus voltage V... dc .
[0053] In step S120, controlling the open-loop operation of the motor based on the set open-loop operating parameters of the motor further includes: a second process of controlling the open-loop operation of the motor.
[0054] The following is combined Figure 2 The flowchart shown is a schematic diagram of an embodiment of the second process of controlling the open-loop operation of the motor in the method of the present invention. It further illustrates the specific process of controlling the open-loop operation of the motor in step S120, including steps S210 to S240.
[0055] Step S210: Inject the set open-loop voltage of the motor into the motor for a preset duration, specifically, inject the set open-loop voltage of the motor into the three-phase power line of the motor drive end for a preset duration.
[0056] Step S220: Determine the three-phase voltage of the motor based on the set open-loop voltage and the set rotation angle of the motor; specifically, determine the three-phase voltage of the motor using the FOC algorithm based on the set open-loop voltage and the set rotation angle of the motor; the three-phase voltage of the motor, such as the motor three-phase voltage V... a V b and V c .
[0057] Step S230: Determine the three-phase duty cycle of the motor based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor. Specifically, the three-phase duty cycle of the motor is determined using the SVPWM algorithm based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor. Here, the three-phase duty cycle of the motor refers to the three-phase duty cycle at the drive end of the motor, such as the duty cycle T of the power module (e.g., IGBT module) in a PWM motor drive system. u T v and T w .
[0058] Step S240: Control the motor drive end to run according to the three-phase duty cycle of the motor, so that the motor drive end drives the motor to run in open loop, thereby controlling the motor to run in open loop and realizing the open loop operation of the motor.
[0059] In the solution of this invention, the open-loop operation of the motor is controlled based on the set open-loop operating parameters of the motor. Specifically, an open-loop voltage is injected into the three-phase power lines of the motor, that is, the set open-loop voltage U in the FOC algorithm is used. d and U q By setting the open-loop voltage U d and U q An open-loop drive motor can be used to rotate the motor by a set rotation angle θ. Specifically, this is achieved through a set open-loop voltage U. d and U q The motor is driven in an open-loop manner using the Space Vector Pulse Width Modulation (SVPWM) algorithm, meaning the motor is controlled in a closed loop without using current parameters, causing the motor to rotate at a set rotation angle θ. This open-loop voltage U is injected into the three-phase power lines of the motor. d and U qAfterwards, the motor rotates at a set rotation angle θ, generating current in the three-phase power lines. The current data of the three-phase power lines is sampled by the current sampling module to determine the status of the current sensor. No additional hardware circuitry is required, resulting in low cost and high safety.
[0060] In some embodiments, the set open-loop voltage of the motor includes: the d-axis voltage U of the motor. d and the q-axis voltage U of the motor q Wherein, the set d-axis voltage U of the motor d and the set q-axis voltage U of the motor q If the open-loop voltage U is set d and U q value.
[0061] In step S220, the specific process of determining the three-phase voltage of the motor based on the set open-loop voltage of the motor and the set rotation angle of the motor is described in the following exemplary description.
[0062] The following is combined Figure 3 The flowchart shown is a schematic diagram of an embodiment of the method of the present invention for determining the three-phase voltage of the motor. The specific process of determining the three-phase voltage of the motor in step S220 is further explained, including steps S310 to S320.
[0063] Step S310: Based on the set open-loop voltage of the motor and the set rotation angle of the motor, the α-axis voltage V of the motor is obtained through Park inverse transformation. α and the β-axis voltage V of the motor β .
[0064] Step S320, based on the α-axis voltage V of the motor α and the β-axis voltage V of the motor β The three-phase voltages of the motor are obtained by Clark inverse transformation. The three-phase voltages of the motor are, for example, the three-phase voltage V of the motor. a V b and V c .
[0065] Figure 8 This is a flowchart illustrating an embodiment of the motor injection open-loop voltage method in a self-diagnostic method for the current sensor status before motor startup. It shows the process of injecting open-loop voltage into the motor. Figure 8 As shown, the process of injecting open-loop voltage into the motor includes:
[0066] Step 21: Initialization phase, set parameters, then proceed to step 22.
[0067] In step 21, parameter settings are performed, specifically including setting the interrupt frequency F. i Set the open-loop voltage U d and U q Value, set the motor open-loop frequency F m and sampling DC bus voltage V dc .
[0068] In step 21, the interrupt frequency F is set. i For example, setting the program interrupt frequency F interrupt and carrier period T pwm Program interrupt frequency F interrupt (e.g., 1000Hz), carrier period T pwm (e.g., 100 microseconds) are constants set by the main control chip. These two constants are the current sampling period F in the FOC algorithm. interrupt and the carrier period time T of PWM pwm .
[0069] In step 21, the open-loop voltage U is set. d and U q Values, such as setting the open-loop voltage U d and U q Value (e.g., 1%~5% of the motor's rated voltage can be set). The d-axis voltage U in the rotating Cartesian coordinate system obtained after Clark transformation in the FOC control algorithm. d With q-axis voltage U q The Clark transformation is a coordinate transformation method used in the field of power electronics and motor control. It projects electrical quantities in a three-phase stationary coordinate system (ABC) onto an orthogonal two-phase stationary coordinate system (αβ0).
[0070] In step 21, the open-loop frequency F of the motor is set. m (i.e., setting the open-loop frequency in step 11), such as setting the open-loop motor drive frequency F. m (e.g., 1Hz~2Hz).
[0071] Step 22, Parameter Calculation: Based on the program interrupt frequency F interrupt and the motor open-loop frequency F m The rotation angle θ of the motor in each interrupt cycle is calculated, and then step 23 is executed. Each interrupt cycle is the program interrupt frequency F. interrupt .
[0072] In step 22, the open-loop drive of the motor needs to know the rotation angle θ of the motor in each interruption cycle:
[0073] θ = (2πF) m ) / F interrupt (1).
[0074] Step 23: Based on the motor's rotation angle θ in each interruption cycle and the set open-loop voltage U d and U q Values, the voltages V along the α and β axes in the stationary Cartesian coordinate system obtained through the inverse Park transformation in FOC control. α and V β Then proceed to step 24. The Park transformation is a coordinate transformation method for analyzing the operation of a synchronous motor. It projects the stator three-phase currents onto the direct axis (d-axis), quadrature axis (q-axis), and zero axis (0-axis) that rotate with the rotor, thereby diagonalizing the stator inductance matrix to simplify the analysis.
[0075] In step 23, after knowing the rotation angle θ of the motor in each interruption cycle, the voltages V along the α-axis and β-axis in the stationary coordinate system of the FOC can be obtained through the inverse Park transformation. α and V β :
[0076] V α =cosθ*U d -sinθ*U q (2);
[0077] V β =sinθ*U d +cosθ*U q (3).
[0078] Step 24: Based on the α-axis and β-axis voltages V α and V β The three-phase voltage V of the motor is obtained through Clark inverse transformation. a V b and V c Then proceed to step 25.
[0079] In step 24, the voltages V along the α-axis and β-axis are known. α and V β Then, the three-phase voltage V of the motor can be obtained through Clark inverse transformation. a V b and V c :
[0080] V a =V α (4);
[0081] V b =√3 / 2*V β -1 / 2*V α (5);
[0082] V c =-(Va +V b (6).
[0083] In the solution of this invention, based on the set open-loop voltage of the motor and the set rotation angle of the motor, the three-phase voltage of the motor is determined using the FOC algorithm. Then, based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor, the three-phase duty cycle of the motor is determined using the SVPWM algorithm to control the open-loop operation of the motor to generate a small current. The main control chip of the motor controller collects the current through the current sampling module. If the collected current is greater than the set reference value, it indicates that the current sensor is normal and the current sampling line connected to the current sensor is normal. Otherwise, it indicates that the current sampling line connected to the current sensor is open-circuited and / or the current sensor is in a faulty state. No additional hardware circuit is required, which is low in cost and high in safety.
[0084] In some implementations, step S230, determining the three-phase duty cycle of the motor based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor, includes:
[0085] Based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor, the three-phase duty cycle of the motor is calculated using the following formula:
[0086] ;
[0087] Among them, T u T represents the duty cycle of the first phase in the three-phase duty cycle of the motor. v T represents the duty cycle of the second phase in the three-phase duty cycle of the motor. w T represents the duty cycle of the third phase in the three-phase duty cycle of the motor. pwm This indicates the set duty cycle of the motor; V a V represents the first phase voltage in the three-phase voltage of the motor. b V represents the second phase voltage in the three-phase voltage of the motor. c V represents the third phase voltage in the three-phase voltage of the motor; max This indicates the three-phase voltage V of the motor. a V b and V c The maximum value in, V min This indicates the three-phase voltage V of the motor. a V b and V c The minimum value in; V dcThe value represents the DC bus voltage of the motor; k1, k2, and k3 all represent calculation coefficients, such as k1 being 4, k2 being 2, and k3 being 2.
[0088] like Figure 8 As shown, the process of injecting open-loop voltage into the motor also includes:
[0089] Step 25, Motor three-phase voltage V a V b and V c Finally, based on the sampled DC bus voltage V dc and PWM duty cycle T pwm (i.e., the carrier period time T of the PWM) pwm The duty cycle T of the power module (such as the IGBT module) in the PWM drive motor system is obtained through the Fast Space Vector Pulse Width Modulation (SVPWM) algorithm. u T v and T w :
[0090] (7).
[0091] Among them, V max It is the three-phase voltage V of the motor a V b and V c The maximum value in, V min It is the three-phase voltage V of the motor a V b and V c The minimum value in.
[0092] The duty cycle T of the power module (such as the IGBT module) in a PWM drive motor system u T v and T w , is the time of the power module (such as IGBT module) in the PWM control motor drive system, that is, the PWM duty cycle time of the three phases of the motor.
[0093] From formulas (1) to (7), a specific open-loop voltage U can be injected. d and U q The motor is driven to rotate in an open loop and generate current, thereby detecting whether the current sensor and the current sampling circuit connected to the current sensor are faulty. No additional hardware circuit is required, which is low in cost and high in safety.
[0094] In the solution of this invention, the three-phase duty cycle of the motor is determined based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor, so as to control the open-loop operation of the motor to generate a small current. The main control chip of the motor controller collects the current through the current sampling module. If the collected current is greater than the set reference value, it indicates that the current sensor is normal and the current sampling line connected to the current sensor is normal. Otherwise, it indicates that the current sampling line connected to the current sensor is open circuit and / or the current sensor is in a faulty state. No additional hardware circuit is required, which is low in cost and high in safety. The open-loop voltage algorithm is adopted, and the motor current is small, realizing small current sampling detection without affecting the motor, further improving safety.
[0095] In some implementations, step S140, determining whether the current sensor of the motor and the acquisition line connected to the current sensor of the motor are normal based on the current of the motor, includes: a first process of determining whether the current sensor of the motor and the acquisition line connected to the current sensor of the motor are normal.
[0096] The following is combined Figure 4 The diagram shows an embodiment of the first process of determining whether the current sensor of the motor and the acquisition line connected to the current sensor of the motor are normal in the method of the present invention. The specific process of determining whether the current sensor of the motor and the acquisition line connected to the current sensor of the motor are normal in step S140 is further explained, including steps S410 to S430.
[0097] Step S410: Determine whether the current of the motor is greater than or equal to a preset current threshold; wherein, the preset current threshold is the current setting threshold.
[0098] Step S420: If it is determined that the current of the motor is greater than or equal to the preset current threshold, then it is determined that the current sensor of the motor and the acquisition line connected to the current sensor of the motor are both normal.
[0099] Step S430: If it is determined that the current of the motor is not greater than or equal to the preset current threshold, then it is determined that the current sensor of the motor is abnormal and / or the acquisition line connected to the current sensor of the motor is abnormal.
[0100] Figure 7This is a flowchart illustrating an embodiment of a self-diagnostic method for the status of a current sensor before motor startup, showing the self-test process of the current sensor. The self-test process involves injecting an open-loop voltage to drive the motor, generating a drive current that is detected by the current sensor. Because the open-loop voltage-driven motor operation is a pure voltage open-loop drive, the current parameters do not participate in the algorithm calculation during this period. Therefore, during the open-loop voltage-driven motor operation, a large current will not be generated that could damage the motor and the power modules (such as IGBT modules) in the motor drive system due to current sensor failure.
[0101] like Figure 7 As shown, the self-test process of the current sensor includes:
[0102] Step 11: First, it is necessary to set the open-loop frequency, open-loop voltage, and rotation angle θ for the open-loop control of the motor control system, and obtain the set open-loop frequency and set open-loop voltage U. d and U q Then set the rotation angle θ, and then execute step 12.
[0103] In step 11, the open-loop voltage of the motor control system during open-loop control is set, that is, the motor dq-axis voltage is set as follows: d-axis voltage U d and q-axis voltage U q The value (which can be set to 1%~5% of the motor's rated voltage) is used to obtain the set open-loop voltage U. d and U q The open-loop voltage U is set. d and U q It is the voltage value of the rotating vector in the FOC (Field Oriented Control, a motor control algorithm) algorithm.
[0104] In step 11, the rotation angle θ of the motor control system during open-loop control is set, which controls the motor rotation frequency.
[0105] Step 12: Set the open-loop frequency and open-loop voltage U according to the settings in Step 11. d and U q And set the rotation angle θ, obtain the three-phase PWM duty cycle of the motor through the FOC algorithm, and then execute step 13.
[0106] In step 12, the open-loop frequency and open-loop voltage U set in step 11 are used. d and U q By setting the rotation angle θ, the duty cycle of the drive signal PWM of the IGBT module in the inverter can be obtained through the FOC algorithm, that is, the duty cycle of the three-phase PWM of the motor can be obtained.
[0107] Step 13: Based on the three-phase PWM duty cycle of the motor calculated in Step 12, control the IGBT module in the inverter to drive the motor to run in open loop, and then execute Step 14.
[0108] Step 14: The current sampling module samples and obtains current data I. meas The sampled current data is then transmitted to the main control chip in the motor controller for judgment, and then step 15 is executed.
[0109] Among them, current data I meas This refers to either of the two current data points sampled by the two CT modules. In other words, the two current data points sampled by the two CT modules are evaluated separately.
[0110] Step 15: Determine whether the current data |I obtained by the current sampling module meets the requirements. meas |≥Current setting threshold: If yes, then the current sensor is confirmed to be normal and the current sampling line connected to the current sensor is normal, and the motor can start; otherwise, the current sensor is confirmed to be abnormal (i.e. the current sampling line connected to the current sensor is in an open circuit and / or the current sensor is in a fault state), and the motor is not allowed to start.
[0111] In steps 12 to 15, the open-loop frequency and open-loop voltage U are set in step 11. d and U q And by setting the rotation angle θ, the duty cycle of the PWM drive signal of the IGBT module in the inverter can be obtained through the FOC algorithm, thereby turning on the IGBT module in the inverter to drive the motor to rotate. At this time, the phase current of the motor can be obtained through the current sensor, and the obtained current signal is sent to the main controller. When the main controller detects the signal |I meas If the current setting threshold is greater than or equal to the current setting threshold, it indicates that the current sensing is normal; otherwise, it indicates that the current sensor or sampling circuit is malfunctioning.
[0112] In the solution of this invention, the current sensor of the motor and the acquisition line connected to the current sensor of the motor are determined to be normal based on the current of the motor. No additional hardware circuit is required. It is implemented entirely by the algorithm and the existing circuit in the motor control system, which simplifies the structure and reduces the cost. The small current is generated by using the open-loop voltage characteristics, which does not damage the motor and the power module (such as IGBT module) in the motor drive system, thus ensuring the safety of the motor.
[0113] In the solution of this invention, a software algorithm is used to detect open circuit of the current sensor without increasing hardware costs. This enables the current sensor to be detected before the motor starts, preventing damage to the power module (such as the IGBT module) in the motor drive system due to current sensor failure. It is low-cost and safe.
[0114] In some embodiments, in the control system of the motor, the output side of the motor's drive end has three-phase power lines. A first current transformer module is provided in the first phase of the three-phase power lines, and a second current transformer module is provided in the second phase of the three-phase power lines. Both the first and second current transformer modules of the motor serve as current sensors for the motor. The first current transformer module of the motor is, for example, a first current transformer (CT) module; the second current transformer module of the motor is, for example, a second current transformer (CT) module.
[0115] The current of the motor includes: a first current of the motor, and / or a second current of the motor.
[0116] In step S130, the current value sampled by the current sensor of the motor is obtained and recorded as the current of the motor, including:
[0117] Obtain the current value sampled by the first current transformer module of the motor, and record it as the first current of the motor; and / or,
[0118] The current value sampled by the second current transformer module of the motor is obtained and recorded as the second current of the motor.
[0119] Accordingly, step S140, determining whether the motor current sensor and the acquisition line connected to the motor current sensor are normal based on the motor current, further includes a second process of determining whether the motor current sensor and the acquisition line connected to the motor current sensor are normal, as follows:
[0120] Upon obtaining the first current of the motor, determine whether the first current transformer module of the motor and the acquisition line connected to the first current transformer module of the motor are functioning correctly; and / or,
[0121] If the second current of the motor is obtained, it is determined whether the second current transformer module of the motor and the acquisition line connected to the second current transformer module of the motor are normal.
[0122] This invention proposes a self-diagnostic scheme for the status of a current sensor before motor startup. It develops a specific open-loop voltage injection strategy: before the motor officially starts, a fixed voltage (e.g., less than 50V, sustained for a period such as 0.1s) is injected to generate current in the motor. This current can be used as a criterion for determining whether the current sensor and its connected current acquisition circuit are faulty. In this invention, based on existing circuitry in the motor control system, current sensor failure detection is achieved entirely through software algorithms. Each current sensor and its acquisition circuit are individually tested without adding extra circuitry or increasing costs, resulting in low cost. It can be seamlessly upgraded on older motor models without requiring additional hardware, demonstrating good versatility. This invention is applicable to various motor scenarios, including permanent magnet synchronous motors and induction motors.
[0123] Some solutions acquire data such as the motor rotor position and current sensor direction before the motor starts to drive the motor. However, the solution of this invention uses open-loop voltage to generate current and obtain the result of whether the current sensor and / or the current acquisition circuit connected to the current sensor is damaged.
[0124] Some solutions involve detecting motor current and rotor signals during motor operation, calculating the motor's dq-axis reference signal using a model, and then locating the faulty current sensor using a coordinate transformation-based current sensor fault location method. However, the solution of this invention injects the motor's dq-axis voltage signal before motor startup and identifies whether the current sensor and / or the current acquisition circuit connected to the current sensor is faulty by detecting the motor current. This eliminates the need for additional hardware circuitry, resulting in low cost and high safety.
[0125] The technical solution of this embodiment addresses the issue of determining whether the motor's current sensor and / or the current acquisition circuit connected to the current sensor are faulty before the motor starts. Before the motor starts after power-on, open-loop operating parameters of the motor are set. Based on these parameters, the motor is controlled to operate in open loop. During open-loop operation, the current value sampled by the motor's current sensor is acquired and recorded as the motor's current. Based on the current, the current sensor and its connected acquisition circuit are assessed for proper functioning. If both are deemed normal, the motor is allowed to start. If the current sensor and its connected acquisition circuit are found to be faulty, the motor is not allowed to start. Therefore, by controlling the motor's open-loop operation to generate current before startup based on the set open-loop operating parameters (e.g., injecting a set open-loop voltage to induce current), the current sensor and its acquisition circuit are assessed for proper functioning without requiring additional hardware circuitry, resulting in low cost and high safety. This motor controller involves the manufacturing of power electronic components such as metal-oxide-semiconductor field-effect transistors, insulated-gate bipolar transistor chips and modules.
[0126] Specifically, in the solution of this invention, to address the problem of determining whether the motor's current sensor and / or the current acquisition line connected to the current sensor is faulty before the motor starts, the motor's current sensor is configured as follows: a first CT module on the U-phase line and a second CT module on the V-phase line in the motor's three-phase power lines; required parameters are preset, such as setting the current sampling period time (i.e., the interruption frequency, such as the current sampling period time F). interrupt ), PWM period time (such as the carrier period time T of PWM), pwm ), set the open-loop voltage (such as open-loop voltage U) d and U q (value), and setting the open-loop frequency (such as the motor open-loop frequency F). m ), and obtain the DC bus voltage (e.g., sample the DC bus voltage V). dcThe system determines the open-loop rotation angle θ of the motor in each interrupt cycle based on the set current sampling period and the set open-loop frequency. A set open-loop voltage is injected into the three-phase power lines of the motor for a period of time to allow the motor to operate in open loop based on the set open-loop frequency and the calculated open-loop rotation angle θ for each interrupt cycle. While the motor is operating in open loop, the system acquires current data sampled by the current sensor (specifically, current data sampled by each CT module). It then determines whether the absolute value of the current data sampled by the current sensor is greater than or equal to a current setting threshold. If the absolute value is greater than or equal to the current setting threshold, the current sensor and its connected current acquisition circuit are considered normal, and the motor is allowed to start. If the absolute value is less than the current setting threshold, the current sensor and / or its connected current acquisition circuit are considered abnormal, and the motor is not allowed to start. Therefore, by injecting a set open-loop voltage before motor startup to obtain the motor current and determine the normality of the current sensor and its acquisition circuit, no additional hardware circuitry is required, resulting in low cost and high safety. This motor controller involves the manufacturing of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs) and insulated-gate bipolar transistor chips and modules.
[0127] According to an embodiment of the present invention, a motor control device corresponding to the motor control method is also provided. See also Figure 5 The diagram shows a structural schematic of an embodiment of the device of the present invention. This motor controller relates to the manufacture of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs), insulated-gate bipolar transistor chips, and modules. The motor control device may include: an acquisition unit 102 and a control unit 104.
[0128] The acquisition unit 102 is configured to acquire the set open-loop operating parameters of the motor before it starts after being powered on; wherein, the open-loop operating parameters of the motor are set to obtain the set open-loop operating parameters of the motor. The specific functions and processing of the acquisition unit 102 are described in step S110.
[0129] The control unit 104 is configured to control the motor to operate in an open-loop manner based on the set open-loop operating parameters of the motor. The specific functions and processing of the control unit 104 are described in step S120.
[0130] The acquisition unit 102 is further configured to acquire, when the motor is operating in open loop, the current value sampled by the current sensor of the motor, and record it as the current of the motor; the current of the motor, such as the current data I sampled by the current sampling module. meas For details on the specific functions and processing of the acquisition unit 102, please refer to step S130.
[0131] The control unit 104 is further configured to determine, based on the motor's current, whether the motor's current sensor and the acquisition circuit connected to the motor's current sensor are functioning correctly. For the specific functions and processing of this control unit 104, please refer to step S140.
[0132] The control unit 104 is further configured to allow the motor to start if it is determined that both the motor's current sensor and the acquisition line connected to the motor's current sensor are normal. The specific functions and processing of this control unit 104 are further described in step S150.
[0133] The control unit 104 is further configured to prevent the motor from starting if it is determined that the motor's current sensor is malfunctioning and / or the acquisition line connected to the motor's current sensor is malfunctioning. The specific functions and processing of this control unit 104 are further described in step S160.
[0134] In the present invention, the motor control system includes a current sensor. Before the motor starts after power-on, open-loop operating parameters are set. Based on these parameters, the motor is controlled to operate in an open-loop manner. During open-loop operation, the current value sampled by the motor's current sensor is acquired and recorded as the motor's current. Based on the current, the current sensor and its connected acquisition circuit are assessed for proper functioning. If both are deemed normal, the motor is allowed to start. If the current sensor malfunctions and its connected acquisition circuit malfunctions, the motor is not allowed to start. Therefore, by controlling the motor's open-loop operation to generate current before startup based on the set open-loop operating parameters, the proper functioning of the current sensor and its acquisition circuit is determined without adding additional hardware circuitry, resulting in low cost and high safety.
[0135] Since the processing and functions implemented by the device in this embodiment are basically the same as the embodiments, principles and examples of the aforementioned methods, any details not covered in the description of this embodiment can be found in the relevant descriptions in the aforementioned embodiments, and will not be repeated here.
[0136] According to an embodiment of the present invention, a motor controller corresponding to a control device for a motor is also provided. The motor controller may include the motor control device described above. The motor controller relates to the manufacture of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs), insulated-gate bipolar transistor chips, and modules.
[0137] Since the processing and functions implemented by the motor controller in this embodiment are basically the same as those in the embodiments, principles and examples of the aforementioned device, any details not covered in this embodiment can be found in the relevant descriptions in the aforementioned embodiments, and will not be repeated here.
[0138] According to an embodiment of the present invention, a motor corresponding to a motor control device is also provided. The motor may include: the motor control device described above, or the motor controller described above. The motor controller relates to the manufacture of power electronic components such as metal-oxide-semiconductor field-effect transistors (MOSFETs), insulated-gate bipolar transistor chips, and modules.
[0139] Since the processing and functions implemented by the motor in this embodiment are basically the same as the embodiments, principles and examples of the aforementioned device, any details not covered in this embodiment can be found in the relevant descriptions in the aforementioned embodiments, and will not be repeated here.
[0140] According to an embodiment of the present invention, a computer program product corresponding to the motor control method is also provided, including a computer program that, when executed by a processor, implements the steps of the motor control method described above.
[0141] Since the processing and functions implemented by the product in this embodiment are basically the same as the embodiments, principles and examples of the aforementioned methods, any details not covered in the description of this embodiment can be found in the relevant descriptions in the aforementioned embodiments, and will not be repeated here.
[0142] According to an embodiment of the present invention, a storage medium corresponding to a motor control method is also provided, the storage medium including a stored program, wherein, when the program is executed, the device where the storage medium is located executes the steps of the motor control method described above.
[0143] Since the processing and functions implemented by the storage medium in this embodiment are basically the same as the embodiments, principles and examples of the aforementioned methods, any details not covered in this embodiment can be found in the relevant descriptions in the aforementioned embodiments, and will not be repeated here.
[0144] In summary, it is readily understood by those skilled in the art that, without conflict, the aforementioned advantageous methods can be freely combined and superimposed.
[0145] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of the claims of the present invention.
Claims
1. A method for controlling an electric motor, characterized in that, The control system of the motor has a current sensor; the control method of the motor includes: Before the motor starts after being powered on, the set open-loop operating parameters of the motor are obtained; Based on the set open-loop operating parameters of the motor, the motor is controlled to operate in an open-loop manner; When the motor is operating in open loop, the current value sampled by the current sensor of the motor is obtained and recorded as the current of the motor; Based on the motor current, determine whether the motor current sensor and the acquisition line connected to the motor current sensor are normal. If it is determined that the current sensor of the motor and the acquisition line connected to the current sensor of the motor are both normal, then the motor is allowed to start. If it is determined that the motor's current sensor is malfunctioning and / or the acquisition circuit connected to the motor's current sensor is malfunctioning, the motor is not allowed to start.
2. The motor control method according to claim 1, characterized in that, The set open-loop operating parameters of the motor include: the set open-loop voltage of the motor; Based on the set open-loop operating parameters of the motor, the open-loop operation of the motor is controlled, including: A set open-loop voltage is injected into the motor to enable it to operate in open loop.
3. The motor control method according to claim 1 or 2, characterized in that, The set open-loop operating parameters of the motor also include: the set open-loop voltage of the motor, the set rotation angle of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor. Controlling the open-loop operation of the motor based on the set open-loop operating parameters of the motor further includes: Inject the set open-loop voltage of the motor into the motor for a preset duration; The three-phase voltage of the motor is determined based on the set open-loop voltage of the motor and the set rotation angle of the motor. The three-phase duty cycle of the motor is determined based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor. The motor's drive end is controlled to operate according to the motor's three-phase duty cycle, so that the motor's drive end drives the motor to operate in open loop.
4. The motor control method according to claim 3, characterized in that, The set open-loop voltage of the motor includes: the d-axis voltage U of the motor. d and the q-axis voltage U of the motor q ; Based on the set open-loop voltage of the motor and the set rotation angle of the motor, the three-phase voltage of the motor is determined, including: Based on the set open-loop voltage of the motor and the set rotation angle of the motor, the α-axis voltage V of the motor is obtained through Park inverse transformation. α and the β-axis voltage V of the motor β ; Based on the α-axis voltage V of the motor α and the β-axis voltage V of the motor β The three-phase voltage of the motor is obtained by Clark inverse transformation.
5. The motor control method according to claim 3 or 4, characterized in that, The three-phase duty cycle of the motor is determined based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor, including: Based on the three-phase voltage of the motor, the set duty cycle of the motor, and the DC bus voltage of the motor, the three-phase duty cycle of the motor is calculated using the following formula: ; Among them, T u T represents the duty cycle of the first phase in the three-phase duty cycle of the motor. v T represents the duty cycle of the second phase in the three-phase duty cycle of the motor. w T represents the duty cycle of the third phase in the three-phase duty cycle of the motor. pwm This indicates the set duty cycle of the motor; V a V represents the first phase voltage in the three-phase voltage of the motor. b V represents the second phase voltage in the three-phase voltage of the motor. c V represents the third phase voltage in the three-phase voltage of the motor; max This indicates the three-phase voltage V of the motor. a V b and V c The maximum value in, V min This indicates the three-phase voltage V of the motor. a V b and V c The minimum value in; V dc The value represents the DC bus voltage of the motor; k1, k2, and k3 all represent calculation coefficients.
6. The motor control method according to any one of claims 1 to 5, characterized in that, Based on the motor's current, determine whether the motor's current sensor and the data acquisition circuit connected to the motor's current sensor are functioning correctly, including: Determine whether the current of the motor is greater than or equal to a preset current threshold. If it is determined that the current of the motor is greater than or equal to the preset current threshold, then it is determined that the current sensor of the motor and the acquisition line connected to the current sensor of the motor are both normal. If it is determined that the motor current is not greater than or equal to the preset current threshold, then it is determined that the motor current sensor is malfunctioning and / or the acquisition line connected to the motor current sensor is malfunctioning.
7. The motor control method according to any one of claims 1 to 6, characterized in that, In the control system of the motor, the output side of the drive end of the motor has three-phase power lines. A first current transformer module is provided in the first phase power line of the three-phase power lines of the motor, and a second current transformer module is provided in the second phase power line of the three-phase power lines of the motor. Both the first current transformer module and the second current transformer module of the motor serve as current sensors for the motor. in, The current of the motor includes: a first current of the motor, and / or a second current of the motor; Acquiring the current value sampled by the current sensor of the motor, denoted as the current of the motor, includes: Obtain the current value sampled by the first current transformer module of the motor, and record it as the first current of the motor; and / or, The current value sampled by the second current transformer module of the motor is obtained and recorded as the second current of the motor; Accordingly, Based on the motor's current, determining whether the motor's current sensor and the acquisition circuit connected to the motor's current sensor are functioning correctly also includes: Upon obtaining the first current of the motor, determine whether the first current transformer module of the motor and the acquisition line connected to the first current transformer module of the motor are functioning correctly; and / or, If the second current of the motor is obtained, it is determined whether the second current transformer module of the motor and the acquisition line connected to the second current transformer module of the motor are normal.
8. A control device for an electric motor, characterized in that, include: The acquisition unit is configured to acquire the set open-loop operating parameters of the motor after it is powered on and before it starts; The control unit is configured to control the open-loop operation of the motor based on the set open-loop operating parameters of the motor; The acquisition unit is further configured to acquire the current value sampled by the current sensor of the motor when the motor is operating in open loop, and record it as the current of the motor. The control unit is also configured to determine, based on the motor current, whether the motor current sensor and the acquisition line connected to the motor current sensor are functioning correctly. The control unit is further configured to allow the motor to start if it is determined that both the current sensor of the motor and the acquisition line connected to the current sensor of the motor are normal. The control unit is further configured to prevent the motor from starting if it is determined that the motor's current sensor is malfunctioning and / or the acquisition line connected to the motor's current sensor is malfunctioning.
9. A motor controller, characterized in that, include: The motor control device as described in claim 8.
10. An electric motor, characterized in that, include: The motor control device as described in claim 8, or the motor controller as described in claim 9.
11. A storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, the device containing the storage medium is controlled to perform the motor control method according to any one of claims 1 to 7.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the motor control method according to any one of claims 1 to 7.
