Fan starting method and device, electronic equipment and readable medium

By periodically sampling and zero crossing point judgment of the phase current of the DC brushless motor, the problem of increasing cost of sensorless control method is solved, and the smooth start of the motor is achieved.

CN119401864APending Publication Date: 2025-02-07GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411409056.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The sensorless DC brushless motor control method requires the addition of a voltage detection circuit, which increases the cost of starting the fan upwind.

Method used

By periodically sampling the phase current of the motor, the zero crossing point of the current is determined, and the backwind state of the motor is judged based on this information, thereby controlling the start of the motor.

Benefits of technology

It realizes the detection of the motor's upwind state before starting the motor, and controls the motor to start smoothly based on the upwind state, avoiding the defect of increasing hardware control costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119401864A_ABST
    Figure CN119401864A_ABST
Patent Text Reader

Abstract

The invention provides a draught fan starting method and device, electronic equipment and a readable medium, the draught fan starting method and device are applied to motor control equipment, the motor control equipment is used for controlling a motor to provide power for starting of a draught fan, and the motor comprises at least one phase; periodically sampling the current of at least one phase to obtain a current sampling value of at least one phase; determining a zero crossing point of the current of the phase based on the current sampling value of the phase; based on the current sampling value of the at least one phase and the zero crossing point of the current of the at least one phase, determining the forward and reverse wind state of the motor; any phase is used as a target phase, and based on the zero crossing point of the current of the target phase, the number of target sampling times in the sampling process of the target phase is obtained; judging whether the motor meets a preset motor starting condition or not based on the target sampling times and the forward and reverse wind state; if the motor meets the motor starting condition, the motor is controlled to provide power for starting of the draught fan, the motor is controlled to be stably started based on the forward and reverse wind state of the motor, and hardware control cost does not need to be newly increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fans, and in particular to a method for starting a fan, a device for starting a fan, an electronic device and a computer-readable medium. Background Art

[0002] A brushless DC motor is a device that converts electrical energy into mechanical energy. A brushless DC motor can be used to power an outdoor fan system. Starting with or without wind is a basic function that an outdoor fan system must meet. In order to use a brushless DC motor to achieve the start of an outdoor fan system with or without wind, it is necessary to detect the motor's forward and reverse wind status before the motor is started. The forward and reverse wind status of the motor is usually determined based on the direction of rotation of the rotor under the action of wind before the motor is started. If the direction of rotation of the rotor under the action of wind is inconsistent with the preset direction of rotation when the motor is started, the motor is in a reverse wind state; if the direction of rotation of the rotor under the action of wind is consistent with the preset direction of rotation when the motor is started, the motor is in a forward wind state.

[0003] The sensorless DC brushless motor control method in the related art can detect the phase line voltage of the DC brushless motor and obtain the position and speed of the motor rotor in the forward and reverse wind states based on the phase line voltage, and then realize the forward and reverse wind start of the outdoor fan system based on the position and speed of the motor rotor. However, the corresponding control device of the sensorless DC brushless motor control method needs to add a voltage detection circuit to detect the phase line voltage of the DC brushless motor, which increases the cost of starting the fan in the forward and reverse winds. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for starting a fan, so as to at least solve the problem that the control device corresponding to the sensorless DC brushless motor control method needs to add a voltage detection circuit to detect the phase line voltage of the DC brushless motor, which increases the cost of starting the fan with or without wind.

[0005] An embodiment of the present invention discloses a method for starting a fan, which is applied to a motor control device, wherein the motor control device is used to control a preset motor to provide power for starting a preset fan, wherein the motor includes at least one phase; the method includes:

[0006] Periodically sampling the current of the at least one phase to obtain a current sampling value of the at least one phase;

[0007] Determining a zero-crossing point of the current of the phase based on the current sampling value of the phase;

[0008] Determining the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase;

[0009] Taking any phase as a target phase, and based on a zero-crossing point of a current of the target phase, obtaining a target sampling number of the target phase in the sampling process;

[0010] Based on the target sampling number and the headwind and tailwind conditions, determining whether the motor meets a preset motor starting condition;

[0011] If the motor meets the motor starting condition, the motor is controlled to provide power for starting the fan.

[0012] Optionally, the headwind and forward wind states at least include a forward wind state; and judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and forward wind states includes:

[0013] If the target sampling number is greater than a preset first sampling number threshold, it is confirmed that the motor meets the motor starting condition;

[0014] If the target sampling number is not greater than the first sampling number threshold, determining whether the target sampling number is greater than a preset second sampling number threshold;

[0015] If the target sampling number is not greater than the second sampling number threshold, determining whether the motor is in the downwind state;

[0016] If the motor is in the downwind state, it is confirmed that the motor meets the motor starting condition.

[0017] Optionally, the motor includes a rotor; when the motor does not provide power for starting the fan, the rotation direction of the rotor under a preset wind force is a first rotation direction; when the motor provides power for starting the fan, the motor control device instructs the rotor to rotate in a second direction; the downwind state means that the first rotation direction is consistent with the second rotation direction.

[0018] Optionally, judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind states includes:

[0019] If the target sampling number is greater than the second sampling number threshold, the operating speed of the rotor under the wind force is reduced until the target sampling number is greater than the first sampling number threshold.

[0020] Optionally, determining the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase includes:

[0021] For any phase, based on the current sampling value of the phase and the zero-crossing point of the current of the phase, determine the time when the current of the phase passes through the corresponding zero-crossing point;

[0022] Based on the time, determining an order in which the current of the at least one phase passes through the zero crossing points;

[0023] Based on the sequence, the forward and backward wind states of the motor are determined.

[0024] Optionally, before periodically sampling the current of the at least one phase to obtain the current sampling value of the at least one phase, the method includes:

[0025] The target offset of the current of the at least one phase is obtained by calibrating the offset of the sampling of the current of the at least one phase by the motor control device.

[0026] Optionally, determining the zero-crossing point of the current of the phase based on the current sampling value of the phase includes:

[0027] For any phase, obtaining a difference between a current sampling value of the phase and the corresponding target offset;

[0028] Based on the difference between the current sampling value of the phase and the corresponding target offset, a zero crossing point of the current of the phase is determined.

[0029] Optionally, acquiring a target sampling number in the sampling process of the target phase based on the zero-crossing point of the current of the target phase includes:

[0030] Acquire the first sampling number between any two adjacent zero-crossing points in the sampling process of the target phase;

[0031] Based on the target offset corresponding to the target and the current sampling value of the target phase, obtaining a second sampling number in the sampling process of the target phase;

[0032] The target sampling number is acquired based on the first sampling number and the second sampling number.

[0033] Optionally, acquiring a second sampling number in the sampling process of the target phase based on the target offset corresponding to the target and the current sampling value of the target phase includes:

[0034] Obtaining a difference between a current sampling value of the target phase and a target offset corresponding to the target;

[0035] Based on the difference between the current sampling value of the target phase and the target offset corresponding to the target, a second sampling number in the sampling process of the target phase is obtained.

[0036] The embodiment of the present invention further discloses a fan starting device, which is applied to a motor control device, wherein the motor control device is used to control a preset motor to provide power for starting a preset fan, wherein the motor includes at least one phase; the device includes:

[0037] A sampling module, used for periodically sampling the current of the at least one phase to obtain a current sampling value of the at least one phase;

[0038] A zero-crossing point determination module, used to determine the zero-crossing point of the current of the phase based on the current sampling value of the phase;

[0039] A forward and backward wind state determination module, used for determining the forward and backward wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase;

[0040] A target sampling number acquisition module, used for taking any phase as a target phase and acquiring the target sampling number of the target phase in the sampling process based on the zero-crossing point of the current of the target phase;

[0041] A judgment module, used for judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind conditions;

[0042] The control module is used for controlling the motor to provide power for starting the fan if the motor meets the motor starting condition.

[0043] Optionally, the headwind and headwind states at least include a headwind state; and the judgment module includes:

[0044] A first confirmation submodule, configured to confirm that the motor meets the motor start condition if the target sampling number is greater than a preset first sampling number threshold;

[0045] A first judgment submodule, configured to judge whether the target sampling number is greater than a preset second sampling number threshold if the target sampling number is not greater than the first sampling number threshold;

[0046] A second judgment submodule, configured to judge whether the motor is in the downwind state if the target sampling number is not greater than the second sampling number threshold;

[0047] The second confirmation submodule is used to confirm that the motor meets the motor starting condition if the motor is in the downwind state.

[0048] Optionally, the motor includes a rotor; when the motor does not provide power for starting the fan, the rotation direction of the rotor under a preset wind force is a first rotation direction; when the motor provides power for starting the fan, the motor control device instructs the rotor to rotate in a second direction; the downwind state means that the first rotation direction is consistent with the second rotation direction.

[0049] Optionally, the judging module includes:

[0050] The reducing submodule is used to reduce the operating speed of the rotor under the wind force if the target sampling number is greater than the second sampling number threshold, until the target sampling number is greater than the first sampling number threshold.

[0051] Optionally, the headwind and downwind state determination module includes:

[0052] A time determination submodule, for determining, for any phase, the time at which the current of the phase passes through the corresponding zero-crossing point based on the current sampling value of the phase and the zero-crossing point of the current of the phase;

[0053] A sequence determination submodule, configured to determine, based on the time, the sequence in which the current of the at least one phase passes through the zero-crossing point;

[0054] The headwind and forward wind state determination submodule is used to determine the headwind and forward wind state of the motor based on the sequence.

[0055] Optionally, the device comprises:

[0056] The calibration module is used to obtain a target offset of the current of the at least one phase by calibrating an offset of the sampling of the current of the at least one phase by the motor control device.

[0057] Optionally, the zero-crossing point determination module includes:

[0058] A difference acquisition submodule, used for acquiring, for any phase, a difference between a current sampling value of the phase and the corresponding target offset;

[0059] The zero-crossing point determination submodule is used to determine the zero-crossing point of the current of the phase based on the difference between the current sampling value of the phase and the corresponding target offset.

[0060] Optionally, the target sampling times acquisition module includes:

[0061] A first sampling number acquisition submodule, used to acquire a first sampling number between any two adjacent zero-crossing points in the sampling process of the target phase;

[0062] A second sampling number acquisition submodule, configured to acquire a second sampling number in the sampling process of the target phase based on a target offset corresponding to the target and a current sampling value of the target phase;

[0063] The target sampling number acquisition submodule is used to acquire the target sampling number based on the first sampling number and the second sampling number.

[0064] Optionally, the second sampling times acquisition submodule includes:

[0065] A difference acquisition unit, used for acquiring the difference between the current sampling value of the target phase and the target offset corresponding to the target;

[0066] The second sampling number acquisition unit is used to acquire the second sampling number of the target phase in the sampling process based on the difference between the current sampling value of the target phase and the target offset corresponding to the target.

[0067] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0068] The memory is used to store computer programs;

[0069] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0070] The embodiment of the present invention further discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors are enabled to execute the method described in the embodiment of the present invention.

[0071] The embodiments of the present invention include the following advantages:

[0072] In an embodiment of the present invention, a motor control device is used to control a preset motor to provide power for starting a preset fan, and the motor includes at least one phase. The motor control device periodically samples the current of at least one phase to obtain a current sampling value of at least one phase, and determines the zero-crossing point of the current of the phase based on the current sampling value of the phase. Based on the current sampling value of at least one phase and the zero-crossing point of the current of at least one phase, the forward and reverse wind states of the motor are determined. Any phase is taken as the target phase, and based on the zero-crossing point of the current of the target phase, the target number of samplings in the sampling process of the target phase is obtained. Based on the target sampling number and the forward and reverse wind states, it is determined whether the motor meets the preset motor starting conditions; if the motor meets the motor starting conditions, the motor is controlled to provide power for starting the fan, so that the forward and reverse wind states of the motor are detected before the motor starts, and the motor is controlled to start smoothly based on the forward and reverse wind states, and the present invention does not require additional hardware control costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 is a flowchart of a method for starting a fan provided in an embodiment of the present invention;

[0074] Figure 2 is a schematic diagram of an intelligent non-sensing module provided in an embodiment of the present invention;

[0075] Figure 3 1 is a schematic diagram of the correspondence between the forward and reverse wind states and sequences of a motor provided in an embodiment of the present invention;

[0076] Figure 4 is a flowchart of steps for obtaining a target sampling number corresponding to U provided in an embodiment of the present invention;

[0077] Figure 5 is a flowchart of steps of another method for starting a fan provided in an embodiment of the present invention;

[0078] Figure 6 is a flowchart of the steps of a method for determining the forward and reverse wind states of a motor provided in an embodiment of the present invention;

[0079] Figure 7 is a flowchart of the steps of another method for determining the forward and reverse wind states of a motor provided in an embodiment of the present invention;

[0080] Figure 8 is a structural block diagram of a fan starting device provided in an embodiment of the present invention;

[0081] Fig. 9 is a block diagram of an electronic device provided in an embodiment of the present invention;

[0082] Fig.10 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0083] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0084] To facilitate understanding of the technical solutions and technical effects of the embodiments of the present invention, the prior art of the present invention is briefly described below.

[0085] A brushless DC motor is a device that converts electrical energy into mechanical energy. Due to its high efficiency, low noise and long life, brushless DC motor products are becoming more and more popular. With the advancement of science and technology, the control technology of brushless DC motors is becoming more and more mature.

[0086] Traditional brushless DC motor control technology often uses position sensors to detect the position of brushless DC motors and then drive the motor. Position sensors include Hall sensors, photoelectric sensors, and magnetic encoders. However, the use of position sensors will increase the cost of brushless DC motor control technology and the size of the corresponding control equipment, and position sensors are not suitable for use in harsh environments.

[0087] In order to solve the problem that the use of position sensors will increase the cost of DC brushless motor control technology and the size of the corresponding control equipment, and that position sensors are not suitable for use in harsh environments, related technologies have adopted sensorless DC brushless motor control methods. For example: permanent magnet synchronous motor control method, which is a type of DC brushless motor.

[0088] Brushless DC motors can be used to power outdoor fan systems. Wind-driven and wind-driven starting are basic functions that outdoor fan systems must meet. Wind-driven and wind-driven starting refers to the ability of outdoor fan systems to start and run smoothly in both wind-driven and wind-driven conditions.

[0089] A brushless DC motor generally includes a stator and a rotor. When the rotor of a brushless DC motor is rotating freely (i.e., there is no external load or the motor is decelerating), the relative movement between the permanent magnet on the rotor and the stator winding will generate a back electromotive force in the stator winding, and the waveform of this back electromotive force is directly related to the position of the rotor. Therefore, the permanent magnet synchronous motor control method can obtain the back electromotive force of the brushless DC motor in free rotation in the forward and reverse wind states by detecting the phase line voltage of the brushless DC motor, thereby obtaining the rotor position and speed of the motor. Further, based on the rotor position and speed of the motor, the closed-loop control mode can be smoothly switched to adjust the operation of the motor according to the rotor position and speed of the motor to ensure that the motor provides power for the forward and reverse wind start of the outdoor fan system. However, this method requires an additional voltage detection circuit, which not only increases the cost, but also the existence of the voltage detection circuit increases the area of ​​the circuit board in the corresponding equipment of the permanent magnet synchronous motor control method and the complexity of the circuit board design.

[0090] In addition, some sensorless DC brushless motor control methods use PWM (Pulse Width Modulation) to short-circuit the phase line of the DC brushless motor to brake the DC brushless motor, so that the DC brushless motor slows down or even stops, or outputs a zero vector. Then, by detecting the phase current of the DC brushless motor, the motor state and the rotor position and speed of the motor can be obtained based on the phase current. Furthermore, based on the rotor position and speed of the motor, the closed-loop control mode can be smoothly switched to achieve the adjustment of the motor operation according to the rotor position and speed of the motor.

[0091] However, if the rotor of the motor that powers the outdoor fan is in a non-stationary state, that is, in a rotating state, before the outdoor fan system is started, positioning by PWM may fail, which may lead to failure to start the motor and the outdoor fan system. And if the motor speed is high, the DC brushless motor brake will generate a large current when positioning by PWM, which may damage the power device. Moreover, calculating the speed and position of the motor rotor based on the large current requires a lot of calculations, so the control chip in the related equipment of the sensorless DC brushless motor control method needs to have good performance, which increases the cost of the sensorless DC brushless motor control method.

[0092] Reference Figure 1 , shows a flowchart of a method for starting a fan provided in an embodiment of the present invention, which is applied to a motor control device, wherein the motor control device is used to control a preset motor to provide power for starting a preset fan, wherein the motor includes at least one phase; specifically, the following steps may be included:

[0093] Step 101, periodically sampling the current of the at least one phase to obtain a current sampling value of the at least one phase;

[0094] In an embodiment of the present invention, the motor control device can control the motor to provide power for starting the fan. The motor control device includes an intelligent sensorless module.

[0095] Reference Figure 2 , shows a schematic diagram of an intelligent non-sensing module provided in an embodiment of the present invention. The intelligent non-sensing module consists of three parts, namely, a main control MCU (Microcontroller Unit), a driving chip HVIC (High Voltage Integrated Circuit), and a three-phase half-bridge power circuit.

[0096] The main control MCU has functions such as AD sampling, fault detection, running algorithms and logic processing, and instruction interaction. It is a comprehensive processing unit of the intelligent non-sensing module. The driver chip HVIC is used to connect the main control MCU and the three-phase half-bridge power circuit. The driver chip HVIC has high-voltage isolation function and driving capability. The driver chip HVIC can convert the logic level output by the main control MCU into the driving level of the power device of the three-phase half-bridge power circuit, that is, it can convert the low-voltage logic signal output by the main control MCU into a sufficiently high voltage and current to drive the power device. The driver chip HVIC can provide electrical isolation between the main control MCU and the three-phase half-bridge power circuit, which means that even if the three-phase half-bridge power circuit is in a high voltage state, the main control MCU can still maintain a safe low voltage level to protect the main control MCU from the influence of high voltage. The three-phase half-bridge power circuit consists of six power devices, which are directly connected to the three-phase winding of the motor to control the operation of the motor. The power device may be an IGBT (Insulated Gate Bipolar Transistor) element or a MOS (Metal-Oxide-Semiconductor Field-Effect Transistor) element.

[0097] Specifically, the main control MCU can collect the VDC voltage (DC bus voltage) and Iu, Iv, Iw three-phase current of the motor, i.e., the three-phase current of the motor, and the voltage and current collected by the preset algorithm are calculated to obtain the rotor position and speed of the motor. The main control MCU can send a driving pulse instruction to the driver chip HVIC according to the result of the algorithm operation, and the driver chip HVIC can receive the driving pulse instruction from the main control MCU, and convert these instructions into signals suitable for driving the three-phase half-bridge power circuit (voltage and current meet the requirements of the three-phase half-bridge power circuit). The driver chip HVIC sends these signals to the three-phase half-bridge power circuit, so that the three-phase half-bridge power circuit controls the operation of the motor according to these signals, and controls the motor to start. The main control MCU can also perform fault detection on the motor.

[0098] The main control MCU uses a three-stage startup method to control the brushless DC motor. The three-stage startup is positioning, open-loop dragging and switching into closed-loop operation. Among them, positioning refers to obtaining the rotor position and speed of the motor. Open-loop dragging means that the main control MCU provides a certain current and voltage to the motor through the driver chip HVIC and the three-phase half-bridge power circuit to make the motor rotor start to rotate, so that after the motor rotor has been positioned, it reaches a level suitable for switching into closed-loop control; in this process, the motor may accelerate from a stationary state to a lower stable operating speed. Switching into closed-loop operation means adjusting the operation of the motor according to the rotor position and speed of the motor so that the motor can start smoothly.

[0099] In an embodiment of the present invention, the motor may include at least one phase. Specifically, the motor may be a three-phase motor, and the motor may include a U phase, a V phase, and a W phase. The motor control device may periodically sample the current of at least one phase to obtain a current sampling value of at least one phase. Among them, the current sampling value of the U phase may be Iu, the current sampling value of the V phase may be Iv, and the current sampling value of the W phase may be Iw.

[0100] In some embodiments of the present invention, before periodically sampling the current of the at least one phase to obtain the current sampling value of the at least one phase, the process includes:

[0101] The target offset of the current of the at least one phase is obtained by calibrating the offset of the sampling of the current of the at least one phase by the motor control device.

[0102] Specifically, before periodically sampling the current of at least one phase to obtain the current sampling values of at least one phase, the offset of the sampling of the current of at least one phase by the calibration motor control device can be calibrated to obtain the target offset of the current of at least one phase. Among them, the target offset of the current of phase U can be Iue, the target offset of the current of phase V can be Ive, and the target offset of the current of phase W can be Iwe.

[0103] Step 102: Based on the current sampling values of the phase, determine the zero-crossing points of the current of the phase;

[0104] In the embodiments of the present invention, the motor control device can respectively determine the zero-crossing points of the current of each phase based on the current sampling values of at least one phase.

[0105] In some embodiments of the present invention, the determining the zero-crossing points of the current of the phase based on the current sampling values of the phase includes:

[0106] For any phase, obtain the difference between the current sampling value of the phase and the corresponding target offset;

[0107] Based on the difference between the current sampling value of the phase and the corresponding target offset, determine the zero-crossing points of the current of the phase.

[0108] In the embodiments of the present invention, when respectively determining the zero-crossing points of the current of each phase based on the current sampling values of at least one phase, for any phase, the motor control device can obtain the difference between the current sampling value of the phase and the corresponding target offset. The current sampling value in the case where the absolute value of the difference between the current sampling value of the phase and the corresponding target offset is within the range of the preset difference threshold and the number of sampling times when the absolute value of the difference between the current sampling value of the phase and the corresponding target offset is within the range of the preset difference threshold is greater than the preset third sampling number threshold is determined as the zero-crossing point of the current of the phase.

[0109] For phase U in the motor, if the preset difference threshold is A and the third sampling number threshold is N, then the current sampling value in the case where the absolute value of the difference between the current sampling value Iu and the target offset Iue is within the threshold A and the number of times satisfying the condition |Iu - Iue| < A is greater than the threshold N can be determined as the zero-crossing point of the current of phase U. The determination methods of the zero-crossing points of the currents of phase V and phase W are similar to the determination method of the zero-crossing point of the current of phase U, and the present invention will not elaborate here.

[0110] Step 103: Based on the current sampling values of the at least one phase and the zero-crossing points of the current of the at least one phase, determine the headwind and tailwind states of the motor;

[0111] In the embodiment of the present invention, the motor control device can determine the forward or reverse wind state of the motor based on the current sampling value of at least one phase and the zero-crossing point of the current of at least one phase.

[0112] In some embodiments of the present invention, the motor includes a rotor; when the motor does not provide power for starting the fan, the rotation direction of the rotor under a preset wind force is a first rotation direction; when the motor provides power for starting the fan, the motor control device instructs the rotor to rotate in a second rotation direction; the downwind state means that the first rotation direction is consistent with the second rotation direction.

[0113] In an embodiment of the present invention, before the motor control device controls the motor to start and provides power for the start of the fan, it is necessary to first detect the forward and reverse wind states of the motor. The motor includes a rotor, and the forward and reverse wind states of the motor include a forward wind state and a reverse wind state. When the motor does not provide power for the start of the fan, the rotation direction of the rotor under the preset wind force is a first rotation direction. The preset wind force may refer to natural wind force. When the motor provides power for the start of the fan, the motor control device instructs the rotor to run in a second rotation direction. The commanded rotation direction refers to the rotation direction indicated by the instruction regarding its rotation direction issued by the motor control device to the motor rotor. The forward wind state means that the first rotation direction is consistent with the second rotation direction, and the reverse wind state means that the first rotation direction is inconsistent with the second rotation direction.

[0114] In an embodiment of the present invention, before the motor is started, if the motor is in a headwind state, the motor control device needs to first perform positioning, obtain the rotor position and speed of the motor, and then perform open-loop dragging so that after the motor rotor has been positioned, it reaches a level suitable for switching into closed-loop control. Then, the closed-loop operation is switched on, and the operation of the motor is adjusted according to the rotor position and speed of the motor so that the motor starts smoothly. If the motor is in a tailwind state, the motor control device can directly adjust the operation of the motor according to the rotor position and speed of the motor so that the motor starts smoothly.

[0115] In some embodiments of the present invention, determining the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase includes:

[0116] For any phase, based on the current sampling value of the phase and the zero-crossing point of the current of the phase, determine the time when the current of the phase passes through the corresponding zero-crossing point;

[0117] Based on the time, determining an order in which the current of the at least one phase passes through the zero crossing points;

[0118] Based on the sequence, the forward and backward wind states of the motor are determined.

[0119] In an embodiment of the present invention, for any phase in the motor, the motor control device can determine the time when the current of the phase passes through the corresponding zero-crossing point based on the current sampling value of the phase and the zero-crossing point of the current of the phase. Based on the time when the current of each phase in the motor passes through its corresponding zero-crossing point, the order in which the current of each phase in the motor passes through its corresponding zero-crossing point can be determined. Based on this order, the forward and reverse wind states of the motor can be determined.

[0120] Reference Figure 3 , shows a schematic diagram of the corresponding wind-forward and wind-backward states and sequences of a motor provided in an embodiment of the present invention. The motor includes a U phase, a V phase, and a W phase. If the order in which the U phase, V phase, and W phase of the motor pass through their corresponding zero-crossing points is: U phase, W phase, and V phase, the motor is in a wind-forward state. If the order in which the U phase, V phase, and W phase of the motor pass through their corresponding zero-crossing points is: U phase, V phase, and W phase, the motor is in a headwind state.

[0121] In an embodiment of the present invention, the order of detecting the zero crossing points of the three phases U, V, and W is used to determine the headwind or headwind state. The specific logic is as follows: when the U phase detects the zero crossing point, the zero crossing flags Zv and Zw of the V phase and the W phase are cleared to 0 (the flag Z is 1, indicating entering the zero crossing point), and then the U, V, and W phase currents are collected in turn to monitor whether a zero crossing occurs. If the V phase zero crossing occurs first, it indicates a headwind; if the W phase zero crossing occurs first, it indicates a headwind.

[0122] Step 104, taking any phase as a target phase, and obtaining a target sampling number of the target phase in the sampling process based on the zero-crossing point of the current of the target phase;

[0123] In an embodiment of the present invention, the motor control device can use any one of the U phase, the V phase, and the W phase as the target phase, and obtain the target sampling number in the sampling process of the target phase based on the zero crossing point of the current of the target phase. Based on the target sampling number, it can be determined whether the motor meets the preset motor starting condition.

[0124] In some embodiments of the present invention, acquiring a target sampling number in the sampling process of the target phase based on the zero-crossing point of the current of the target phase includes:

[0125] Acquire the first sampling number between any two adjacent zero-crossing points in the sampling process of the target phase;

[0126] Based on the target offset corresponding to the target and the current sampling value of the target phase, obtaining a second sampling number in the sampling process of the target phase;

[0127] The target sampling number is acquired based on the first sampling number and the second sampling number.

[0128] In an embodiment of the present invention, the motor control device may obtain the first sampling count between two adjacent zero-crossing points during the periodic sampling of the target phase, and based on the target offset corresponding to the target phase and the current sampling value of the target phase, obtain the second sampling count during the sampling process of the target phase. The motor control device may use the sum of the first sampling count and the second sampling count as the target sampling count during the periodic sampling of the target phase.

[0129] In some embodiments of the present invention, the obtaining of the second sampling count during the sampling process of the target phase based on the target offset corresponding to the target phase and the current sampling value of the target phase includes:

[0130] Obtaining the difference between the current sampling value of the target phase and the target offset corresponding to the target phase;

[0131] Based on the difference between the current sampling value of the target phase and the target offset corresponding to the target phase, obtaining the second sampling count during the sampling process of the target phase.

[0132] In an embodiment of the present invention, the motor control device may obtain the first sampling count between two adjacent zero-crossing points during the periodic sampling of the target phase. The motor control device may obtain the difference between the current sampling value of the target phase and the target offset corresponding to the target phase; based on the difference between the current sampling value of the target phase and the target offset corresponding to the target phase, the second sampling count during the sampling process of the target phase can be obtained. Specifically, the second sampling count is the sampling count when the difference between the current sampling value of the target phase and the target offset corresponding to the target phase is less than a preset difference threshold during the periodic sampling of the target phase.

[0133] The motor control device may use the sum of the first sampling count and the second sampling count as the target sampling count during the periodic sampling of the target phase.

[0134] It should be noted that if the current sampling value Iu of the U phase of the motor is sampled with a carrier period T, when the absolute value of the difference between the current sampling value Iu and the target offset Iue is within the threshold range A, it indicates entering the zero-crossing region (defining the number of times when the absolute value of the difference between the current sampling value Iu and the offset Iue is within the threshold range A and satisfies the condition |Iu - Iue| < A is greater than the threshold N as the zero-crossing point). If it is outside the threshold range A, it indicates that it has exited the zero-crossing region. Count the first sampling count Ncnt between two adjacent zero-crossing points. When just entering the non-zero-crossing region from the zero-crossing region, the current speed of the motor (i.e., the rotational speed of the motor) can be calculated. The specific speed calculation formula is as follows:

[0135] n = 60 / ((Ncnt + Zcnt) * T * 2 * P)

[0136] Among them, Zcnt is the second sampling count when the difference between the current sampling value Iu and the target offset Iue is less than the threshold A, T is the carrier period, P is the number of pole pairs of the motor, and n is the rotational speed. Since the number of pole pairs P of the motor and the carrier period T are constants, Ncnt + Zcnt is directly used as the current rotational speed judgment basis.

[0137] Refer to Figure 4 , which shows a flowchart of steps for obtaining the target sampling count corresponding to U in an embodiment of the present invention, and specifically may include the following steps:

[0138] Step 401, the main control turns off the upper three-phase bridge arm, and the lower bridge arm turns on U-phase and V-phase according to the carrier frequency, and the duty cycle is taken as 0.04 - 0.1.

[0139] In an embodiment of the present invention, the main control MCU turns off the driving signal of the upper bridge arm of the three-phase half-bridge, and the lower bridge arm turns on two or three phases according to the carrier frequency, and the on-duty cycle ≤ Y, and the Y value is a relatively small value, generally 0.04 - 0.1 can be taken.

[0140] Step 402: Sample the U-phase current Iu with the carrier period T.

[0141] Step 403: |Iu - Iue| < A.

[0142] In an embodiment of the present invention, the zero-crossing point is defined as: the absolute value of the difference between the current sampling value Iu and the target offset Iue is within the threshold A range, and the number of times satisfying the condition |Iu - Iue| < A is greater than the threshold N.

[0143] In an embodiment of the present invention, following the previous step, after sampling the U-phase current Iu, it is judged whether the absolute value of the difference between the sampled current sampling value Iu and the target offset Iue is within the threshold A range. If the absolute value of the difference between the sampled current sampling value Iu and the target offset Iue is within the threshold A range, then step 404 is executed: the zero-crossing count Zcnt = Zcnt + 1, and the flag bit Z is set to 1. That is, if entering the zero-crossing region, the zero-crossing point statistical count Zcnt is incremented by 1, and the zero-crossing flag bit Z is set to 1. If the absolute value of the difference between the sampled current sampling value Iu and the target offset Iue is not within the threshold A range, then step 407 is executed: judge Z == 1. That is, when it is judged that the absolute value of the difference between the sampled current sampling value Iu and the target offset Iue is not within the threshold A range, it indicates entering the non-zero-crossing region, and then the value of Z is used to judge whether the previous cycle was in the zero-crossing region. If Z is 1, it means the previous cycle was in the zero-crossing region; if Z is 0 (i.e., Z ≠ 1), it means the previous cycle was in the non-zero-crossing region.

[0144] Step 405: Zcnt > Nmax.

[0145] In an embodiment of the present invention, if Zcnt > Nmax, step 406 is executed: N = 0, and the machine stops; that is, if the number of zero crossings Zcnt is greater than the threshold Nmax, it indicates that the current sampled within T * Nmax time is small, that is, the back electromotive force is small, indicating that the motor has not rotated or rotated slowly within T * Nmax time. If Zcnt is not greater than Nmax, return to step 402: continue to sample the U-phase current at intervals of period T.

[0146] Step 408: Zcnt > Nref.

[0147] In an embodiment of the present invention, following step 407, if Z ≠ 1 in step 407, this step 408 is executed. Zcnt > Nref indicates that the previous cycle was in the zero-crossing region, and this cycle enters the non-zero-crossing region, and the zero-crossing region statistical count value Zcnt is greater than the threshold Nref, indicating that the rotor has indeed entered the non-zero-crossing region from the zero-crossing region. It should be noted that the purpose of setting the threshold Nref is to prevent sampling anomalies (although the probability is very small). Nref is taken to be greater than 1, that is, there are at least 2 or more samplings in the zero-crossing region. If Zcnt > Nref is satisfied, the target sampling times of the U-phase are counted, that is, step 409 is executed: N = Ncnt + Zcnt, and Ncnt, Zcnt, and Z are cleared. If Zcnt > Nref is not satisfied, it indicates that sampling has an anomaly, and step 410 is executed: the count Ncnt = Ncnt + 1 + Zcnt, Zcnt and Z are cleared; that is, when Z is not equal to 1, it indicates that the previous cycle was not in the zero-crossing region, and the sampling period count Ncnt of the non-zero-crossing region is counted as Ncnt = Ncnt + 1; when Zcnt < Nref (that is, Zcnt > Nref is not satisfied), it indicates that sampling has an anomaly, and it is also added to the non-zero-crossing region statistical count Ncnt. So the combined formula is Ncnt = Ncnt + 1 + Zcnt; and Zcnt, Zu, Zv, and Zw are all cleared, indicating that the current cycle is not in the zero-crossing region, and return to step 402: continue to sample the U-phase current at intervals of period T.

[0148] Step 105, based on the target sampling times and the head / tail wind state, determine whether the motor meets a preset motor starting condition;

[0149] In an embodiment of the present invention, the motor control device can determine whether the motor meets a preset motor starting condition based on the target sampling times and the head / tail wind state.

[0150] In some embodiments of the present invention, the head / tail wind state at least includes a tail wind state; the determining whether the motor meets a preset motor starting condition based on the target sampling times and the head / tail wind state includes:

[0151] If the target sampling number is greater than a preset first sampling number threshold, it is confirmed that the motor meets the motor starting condition;

[0152] If the target sampling number is not greater than the first sampling number threshold, determining whether the target sampling number is greater than a preset second sampling number threshold;

[0153] If the target sampling number is not greater than the second sampling number threshold, determining whether the motor is in the downwind state;

[0154] If the motor is in the downwind state, it is confirmed that the motor meets the motor starting condition.

[0155] In an embodiment of the present invention, the windward and windward states at least include the windward state. If the target sampling number is greater than the preset first sampling number threshold, it is confirmed that the motor meets the motor start condition. If the target sampling number is not greater than the first sampling number threshold, it is determined whether the target sampling number is greater than the preset second sampling number threshold. If the target sampling number is not greater than the second sampling number threshold, it is determined whether the motor is in the windward state. If the motor is in the windward state, it is confirmed that the motor meets the motor start condition.

[0156] In some embodiments of the present invention, judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind states includes:

[0157] If the target sampling number is greater than the second sampling number threshold, the operating speed of the rotor under the wind force is reduced until the target sampling number is greater than the first sampling number threshold.

[0158] In an embodiment of the present invention, if the target sampling number is greater than the second sampling number threshold, the operating speed of the rotor under the wind force is reduced until the target sampling number is greater than the first sampling number threshold.

[0159] Step 106: If the motor meets the motor starting condition, control the motor to provide power for starting the fan.

[0160] In the embodiment of the present invention, if the target sampling number is greater than the first sampling number threshold, it is confirmed that the motor meets the motor starting condition, and the motor control device first performs positioning and open-loop dragging, and then switches to closed-loop operation.

[0161] If the target sampling number is not greater than the first sampling number threshold, it is determined whether the target sampling number is greater than the second sampling number threshold. If the target sampling number is not greater than the second sampling number threshold, it is determined whether the motor is in a tailwind state. If the motor is in a tailwind state, it is confirmed that the motor meets the motor starting conditions, and the motor control device directly adjusts the operation of the motor according to the rotor position and speed of the motor to enable the motor to start smoothly.

[0162] In an embodiment of the present invention, a motor control device is used to control a preset motor to provide power for starting a preset fan, and the motor includes at least one phase. The motor control device periodically samples the current of at least one phase to obtain a current sampling value of at least one phase, and determines the zero-crossing point of the current of the phase based on the current sampling value of the phase. Based on the current sampling value of at least one phase and the zero-crossing point of the current of at least one phase, the forward and reverse wind states of the motor are determined. Any phase is taken as the target phase, and based on the zero-crossing point of the current of the target phase, the target number of samplings in the sampling process of the target phase is obtained. Based on the target sampling number and the forward and reverse wind states, it is determined whether the motor meets the preset motor starting conditions; if the motor meets the motor starting conditions, the motor is controlled to provide power for starting the fan, so that the forward and reverse wind states of the motor are detected before the motor starts, and the motor is controlled to start smoothly based on the forward and reverse wind states, and the present invention does not require additional hardware control costs.

[0163] The embodiment of the present invention provides an intelligent sensorless module and a control method for windward and windward starting thereof, which can senselessly control the windward and windward starting of a permanent magnet synchronous motor without detecting the motor phase voltage and current. The method does not increase the hardware control cost, and solves the problem that the windward and windward starting of the motor cannot be controlled by relying solely on the intelligent sensorless module. In the embodiment of the present invention, the intelligent sensorless module only needs to be configured with a few external components to complete the sensorless control of the motor, and has the characteristics of high integration and compact structure. In the embodiment of the present invention, without adding a back electromotive force detection circuit and other circuits, the current speed of the motor is estimated based on the target sampling number, and the starting of the motor is controlled based on the target sampling number.

[0164] Reference Figure 5 , shows a flowchart of the steps of another method for starting a fan provided in an embodiment of the present invention, which may specifically include the following steps:

[0165] Step 501, start.

[0166] Step 502: ADC offset calibration.

[0167] Step 503, obtaining the count N and the three-phase zero-crossing sequence.

[0168] After the motor control device receives the start instruction of the motor, it first calibrates and updates the offset of the Iu, Iv, and Iw three-phase current sampling channels, and then obtains the count N and the three-phase zero-crossing sequence.

[0169] Step 504, if N > N Downlimit , then execute Step 509; if N ≤ N Downlimit , then execute Step 505.

[0170] Step 505, if N threshold < N, then execute Step 506; if N ≤ N threshold , then execute Step 507.

[0171] Step 506, brake and obtain the count N. After Step 506 is executed, execute Step 504.

[0172] Step 507, determine whether the motor state is the downwind state. If so, execute Step 508; if not, execute Step 503.

[0173] Step 508, directly start in closed loop.

[0174] If N > N Downlimit , it means that the motor speed is low at this time. Regardless of the downwind or upwind state of the motor, the motor control device controls the motor to directly start in three stages. Among them, N is the target sampling times, N Downlimit is the first sampling times threshold, and N threshold is the second sampling base number threshold.

[0175] Step 509, motor positioning and start.

[0176] When N threshold < N < N Downlimit , regardless of the downwind or upwind state of the motor, the motor control device outputs a brake until the count N is greater than N Downlimit , and the motor control device controls the motor to directly start in three stages. If the value N is not greater than N threshold , it means that the motor speed is high. If the motor is in the downwind state, it directly starts in closed loop. If the motor is in the upwind state, continue to obtain the count N and the three-phase zero-crossing sequence.

[0177] Referring to Figure 6 , it shows the step flow chart of a method for determining the downwind and upwind states of a motor provided in an embodiment of the present invention, which may specifically include the following steps:

[0178] Step 601, the sampling of the U-phase current is completed.

[0179] Step 602, the main control closes the three-phase upper bridge arm, and the lower bridge arm turns on the V-phase and W-phase according to the carrier frequency, and the duty cycle is taken as 0.04 to 0.1.

[0180] Step 603, sample the V-phase current Iv.

[0181] Step 604, determine whether |Iv - Ive| < A. If yes, execute Step 605; if not, execute Step 606.

[0182] Step 605, set the zero-crossing count Zvcnt = Zvcnt + 1 and set the flag bit Zv = 1.

[0183] Step 606, determine whether Zv == 1. If yes, execute Step 607; if not, execute Step 610.

[0184] Step 607, determine whether Zvcnt > Nref. If yes, execute Step 608. If not, execute Step 609.

[0185] Step 608, determine whether Zw == 1. If yes, confirm that the motor is in the downwind state; if not, confirm that the motor is in the upwind state.

[0186] Step 609, clear Zv.

[0187] Step 610, clear Zvcnt.

[0188] Refer to Figure 7 , which shows the flowchart of steps of another method for determining the upwind and downwind states of the motor provided in the embodiment of the present invention, and specifically may include the following steps:

[0189] Step 701, the sampling of the V-phase current is completed.

[0190] Step 702, the main control closes the three-phase upper bridge arm, and the lower bridge arm turns on the U-phase and W-phase according to the carrier frequency, and the duty cycle is taken as 0.04 - 0.1.

[0191] Step 703, sample the W-phase current Iw.

[0192] Step 704, determine whether |Iw - Iwe| < A. If yes, execute Step 705; if not, execute Step 706.

[0193] Step 705, set the zero-crossing count Zwcnt = Zwcnt + 1 and set the flag bit Zw = 1.

[0194] Step 706, determine whether Zw == 1. If yes, execute Step 707; if not, execute Step 710.

[0195] Step 707, determine whether Zwcnt > Nref. If yes, execute Step 708. If not, execute Step 709.

[0196] Step 708, determine whether Zv == 1. If yes, confirm that the motor is in the downwind state; if not, confirm that the motor is in the upwind state.

[0197] Step 709, clear Zw.

[0198] Step 710, clear Zwcnt.

[0199] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0200] Reference Figure 8 , shows a structural block diagram of a fan starting device provided in an embodiment of the present invention, which is applied to a motor control device, wherein the motor control device is used to control a preset motor to provide power for starting a preset fan, wherein the motor includes at least one phase; specifically, the following modules may be included:

[0201] The sampling module 801 is used to periodically sample the current of the at least one phase to obtain a current sampling value of the at least one phase;

[0202] A zero-crossing point determination module 802 is used to determine the zero-crossing point of the current of the phase based on the current sampling value of the phase;

[0203] A forward and backward wind state determination module 803, configured to determine the forward and backward wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase;

[0204] A target sampling number acquisition module 804 is used to take any phase as a target phase and acquire the target sampling number of the target phase in the sampling process based on the zero-crossing point of the current of the target phase;

[0205] A judgment module 805 is used to judge whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind conditions;

[0206] The control module 806 is configured to control the motor to provide power for starting the fan if the motor meets the motor starting condition.

[0207] In an optional embodiment of the present invention, the headwind and headwind states at least include a headwind state; and the judgment module includes:

[0208] A first confirmation submodule, configured to confirm that the motor meets the motor start condition if the target sampling number is greater than a preset first sampling number threshold;

[0209] A first judgment submodule, configured to judge whether the target sampling number is greater than a preset second sampling number threshold if the target sampling number is not greater than the first sampling number threshold;

[0210] A second judgment submodule, configured to judge whether the motor is in the downwind state if the target sampling number is not greater than the second sampling number threshold;

[0211] The second confirmation submodule is used to confirm that the motor meets the motor starting condition if the motor is in the downwind state.

[0212] In an optional embodiment of the present invention, the motor includes a rotor; when the motor does not provide power for starting the fan, the rotation direction of the rotor under a preset wind force is a first rotation direction; when the motor provides power for starting the fan, the motor control device instructs the rotor to rotate in a second rotation direction; the downwind state means that the first rotation direction is consistent with the second rotation direction.

[0213] In an optional embodiment of the present invention, the judgment module includes:

[0214] The reducing submodule is used to reduce the operating speed of the rotor under the wind force if the target sampling number is greater than the second sampling number threshold, until the target sampling number is greater than the first sampling number threshold.

[0215] In an optional embodiment of the present invention, the headwind and tailwind state determination module includes:

[0216] A time determination submodule, for determining, for any phase, the time at which the current of the phase passes through the corresponding zero-crossing point based on the current sampling value of the phase and the zero-crossing point of the current of the phase;

[0217] A sequence determination submodule, configured to determine, based on the time, the sequence in which the current of the at least one phase passes through the zero-crossing point;

[0218] The headwind and forward wind state determination submodule is used to determine the headwind and forward wind state of the motor based on the sequence.

[0219] In an optional embodiment of the present invention, the device comprises:

[0220] The calibration module is used to obtain a target offset of the current of the at least one phase by calibrating an offset of the sampling of the current of the at least one phase by the motor control device.

[0221] In an optional embodiment of the present invention, the zero-crossing point determination module includes:

[0222] A difference acquisition submodule, used for acquiring, for any phase, a difference between a current sampling value of the phase and the corresponding target offset;

[0223] The zero-crossing point determination submodule is used to determine the zero-crossing point of the current of the phase based on the difference between the current sampling value of the phase and the corresponding target offset.

[0224] In an optional embodiment of the present invention, the target sampling times acquisition module includes:

[0225] A first sampling number acquisition submodule, used to acquire a first sampling number between any two adjacent zero-crossing points in the sampling process of the target phase;

[0226] A second sampling number acquisition submodule, configured to acquire a second sampling number in the sampling process of the target phase based on a target offset corresponding to the target and a current sampling value of the target phase;

[0227] The target sampling number acquisition submodule is used to acquire the target sampling number based on the first sampling number and the second sampling number.

[0228] In an optional embodiment of the present invention, the second sampling times acquisition submodule includes:

[0229] A difference acquisition unit, used for acquiring the difference between the current sampling value of the target phase and the target offset corresponding to the target;

[0230] The second sampling number acquisition unit is used to acquire the second sampling number of the target phase in the sampling process based on the difference between the current sampling value of the target phase and the target offset corresponding to the target.

[0231] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0232] In addition, an embodiment of the present invention further provides an electronic device, such as Fig. 9 As shown, it includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904.

[0233] Memory 903, used for storing computer programs;

[0234] The processor 901 is used to execute the program stored in the memory 903 to implement the following steps:

[0235] Periodically sampling the current of the at least one phase to obtain a current sampling value of the at least one phase;

[0236] Determining a zero-crossing point of the current of the phase based on the current sampling value of the phase;

[0237] Determining the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase;

[0238] Taking any phase as a target phase, and based on a zero-crossing point of a current of the target phase, obtaining a target sampling number of the target phase in the sampling process;

[0239] Based on the target sampling number and the headwind and tailwind conditions, determining whether the motor meets a preset motor starting condition;

[0240] If the motor meets the motor starting condition, the motor is controlled to provide power for starting the fan.

[0241] In an optional embodiment of the present invention, the headwind and forward wind states at least include a forward wind state; and judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and forward wind states includes:

[0242] If the target sampling number is greater than a preset first sampling number threshold, it is confirmed that the motor meets the motor starting condition;

[0243] If the target sampling number is not greater than the first sampling number threshold, determining whether the target sampling number is greater than a preset second sampling number threshold;

[0244] If the target sampling number is not greater than the second sampling number threshold, determining whether the motor is in the downwind state;

[0245] If the motor is in the downwind state, it is confirmed that the motor meets the motor starting condition.

[0246] In an optional embodiment of the present invention, the motor includes a rotor; when the motor does not provide power for starting the fan, the rotation direction of the rotor under a preset wind force is a first rotation direction; when the motor provides power for starting the fan, the motor control device instructs the rotor to rotate in a second rotation direction; the downwind state means that the first rotation direction is consistent with the second rotation direction.

[0247] In an optional embodiment of the present invention, judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind states includes:

[0248] If the target sampling number is greater than the second sampling number threshold, the operating speed of the rotor under the wind force is reduced until the target sampling number is greater than the first sampling number threshold.

[0249] In an optional embodiment of the present invention, determining the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase includes:

[0250] For any phase, based on the current sampling value of the phase and the zero-crossing point of the current of the phase, determine the time when the current of the phase passes through the corresponding zero-crossing point;

[0251] Based on the time, determining an order in which the current of the at least one phase passes through the zero crossing points;

[0252] Based on the sequence, the forward and backward wind states of the motor are determined.

[0253] In an optional embodiment of the present invention, before periodically sampling the current of the at least one phase to obtain the current sampling value of the at least one phase, the process includes:

[0254] The target offset of the current of the at least one phase is obtained by calibrating the offset of the sampling of the current of the at least one phase by the motor control device.

[0255] In an optional embodiment of the present invention, determining the zero-crossing point of the current of the phase based on the current sampling value of the phase includes:

[0256] For any phase, obtaining a difference between a current sampling value of the phase and the corresponding target offset;

[0257] Based on the difference between the current sampling value of the phase and the corresponding target offset, a zero crossing point of the current of the phase is determined.

[0258] In an optional embodiment of the present invention, obtaining a target sampling number of the target phase in the sampling process based on the zero-crossing point of the current of the target phase includes:

[0259] Acquire the first sampling number between any two adjacent zero-crossing points in the sampling process of the target phase;

[0260] Based on the target offset corresponding to the target and the current sampling value of the target phase, obtaining a second sampling number in the sampling process of the target phase;

[0261] The target sampling number is acquired based on the first sampling number and the second sampling number.

[0262] In an optional embodiment of the present invention, the acquiring a second sampling number in the sampling process of the target phase based on the target offset corresponding to the target and the current sampling value of the target phase includes:

[0263] Obtaining a difference between a current sampling value of the target phase and a target offset corresponding to the target;

[0264] Based on the difference between the current sampling value of the target phase and the target offset corresponding to the target, a second sampling number in the sampling process of the target phase is obtained.

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

[0266] The communication interface is used for communication between the above terminal and other devices.

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

[0268] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0269] like Fig.10As shown, in another embodiment provided by the present invention, a computer-readable storage medium 1001 is also provided, in which instructions are stored. When the computer-readable storage medium 1001 is run on a computer, the computer executes a method for starting a fan described in the above embodiment.

[0270] In another embodiment provided by the present invention, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is enabled to execute a method for starting a wind turbine described in the above embodiment.

[0271] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0272] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0273] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0274] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for starting a fan, characterized in that: Applied to a motor control device, the motor control device is used to control a preset motor to provide power for starting a preset fan, the motor includes at least one phase; the method includes: Periodically sampling the current of the at least one phase to obtain a current sampling value of the at least one phase; Determining a zero-crossing point of the current of the phase based on the current sampling value of the phase; Determining the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase; Taking any phase as a target phase, and based on a zero-crossing point of a current of the target phase, obtaining a target sampling number of the target phase in the sampling process; Based on the target sampling number and the headwind and tailwind conditions, determining whether the motor meets a preset motor starting condition; If the motor meets the motor starting condition, the motor is controlled to provide power for starting the fan.

2. The method according to claim 1, characterized in that The headwind and tailwind states at least include a headwind state; and judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind states includes: If the target sampling number is greater than a preset first sampling number threshold, it is confirmed that the motor meets the motor starting condition; If the target sampling number is not greater than the first sampling number threshold, determining whether the target sampling number is greater than a preset second sampling number threshold; If the target sampling number is not greater than the second sampling number threshold, determining whether the motor is in the downwind state; If the motor is in the downwind state, it is confirmed that the motor meets the motor starting condition.

3. The method according to claim 2, characterized in that The motor includes a rotor; when the motor does not provide power for starting the fan, the rotation direction of the rotor under the action of a preset wind force is a first rotation direction; When the motor provides power for starting the fan, the motor control device instructs the rotor to run in a second direction; the downwind state means that the first direction is consistent with the second direction.

4. The method according to claim 3, characterized in that The step of judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind states includes: If the target sampling number is greater than the second sampling number threshold, the operating speed of the rotor under the wind force is reduced until the target sampling number is greater than the first sampling number threshold.

5. The method according to claim 1, characterized in that The determining of the forward and reverse wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase comprises: For any phase, based on the current sampling value of the phase and the zero-crossing point of the current of the phase, determine the time when the current of the phase passes through the corresponding zero-crossing point; Based on the time, determining an order in which the current of the at least one phase passes through the zero crossing points; Based on the sequence, the forward and backward wind states of the motor are determined.

6. The method according to claim 1, characterized in that Before periodically sampling the current of the at least one phase to obtain the current sampling value of the at least one phase, the method includes: The target offset of the current of the at least one phase is obtained by calibrating the offset of the sampling of the current of the at least one phase by the motor control device.

7. The method according to claim 6, characterized in that The step of determining the zero-crossing point of the current of the phase based on the current sampling value of the phase comprises: For any phase, obtaining a difference between a current sampling value of the phase and the corresponding target offset; Based on the difference between the current sampling value of the phase and the corresponding target offset, a zero crossing point of the current of the phase is determined.

8. The method according to claim 6, characterized in that The step of obtaining a target sampling number of the target phase in the sampling process based on the zero-crossing point of the current of the target phase includes: Acquire the first sampling number between any two adjacent zero-crossing points in the sampling process of the target phase; Based on the target offset corresponding to the target and the current sampling value of the target phase, obtaining a second sampling number in the sampling process of the target phase; The target sampling number is acquired based on the first sampling number and the second sampling number.

9. The method according to claim 8, characterized in that The acquiring a second sampling number in the sampling process of the target phase based on the target offset corresponding to the target and the current sampling value of the target phase comprises: Obtaining a difference between a current sampling value of the target phase and a target offset corresponding to the target; Based on the difference between the current sampling value of the target phase and the target offset corresponding to the target, a second sampling number in the sampling process of the target phase is obtained.

10. A fan starting device, characterized in that: Applied to a motor control device, the motor control device is used to control a preset motor to provide power for starting a preset fan, the motor includes at least one phase; the device includes: A sampling module, used for periodically sampling the current of the at least one phase to obtain a current sampling value of the at least one phase; A zero-crossing point determination module, used to determine the zero-crossing point of the current of the phase based on the current sampling value of the phase; A forward and backward wind state determination module, used for determining the forward and backward wind states of the motor based on the current sampling value of the at least one phase and the zero-crossing point of the current of the at least one phase; A target sampling number acquisition module, used for taking any phase as a target phase and acquiring the target sampling number of the target phase in the sampling process based on the zero-crossing point of the current of the target phase; A judgment module, used for judging whether the motor meets a preset motor starting condition based on the target sampling number and the headwind and tailwind conditions; The control module is used for controlling the motor to provide power for starting the fan if the motor meets the motor starting condition.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 9 when executing the program stored in the memory.

12. One or more computer-readable media having instructions stored thereon, which when executed by one or more processors cause the processors to perform the method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Motor starting state detection method based on single-resistor current sampling and controller

    CN120121980A

  • Motor starting state detection method and controller based on single resistor current sampling

    CN120121980B

  • Air conditioner

    CN121408793A