Dual-mode control method and device, air conditioner and storage medium
By simultaneously activating both sensory and sensorless control modes in the air conditioner, and switching to sensorless control mode when sensory control fails, the problem of motor control failure in humid and dusty environments is solved, and stable motor operation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2024-12-16
- Publication Date
- 2026-04-28
AI Technical Summary
Air conditioner motor control methods are easily affected by humid and dusty environments, which can cause them to malfunction and prevent normal operation.
A dual-mode control method is adopted, which starts both sensory control mode and sensorless control mode, and switches to sensorless control mode when sensory control mode fails, to ensure normal operation of the motor.
When the sensor-controlled mode fails, it can seamlessly switch to the sensorless control mode to ensure the stable operation of the motor and avoid motor control failure caused by sensor failure.
Smart Images

Figure CN119468447B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioner technology, and more particularly to a dual-mode control method, device, air conditioner, and storage medium. Background Technology
[0002] The motor in an air conditioner is one of the key components ensuring its efficient and reliable operation. Currently, the most common method for controlling air conditioner motors is sensor-based control. Sensor-based control involves installing a sensor within the motor to determine the rotor's position and speed, and then controlling the motor based on these parameters to ensure its normal operation.
[0003] However, the internal environment of an air conditioner is usually humid and dusty, which makes the sensors prone to failure. When the sensors fail, the motor cannot be controlled properly, which in turn causes the air conditioner to stop working. Summary of the Invention
[0004] This invention provides a dual-mode control method, device, air conditioner, and storage medium, aiming to solve the problem that current motor control methods are easily affected by environmental factors and fail.
[0005] In a first aspect, embodiments of the present invention provide a dual-mode control method applied to an air conditioner, the method comprising:
[0006] Controlled by the start command of the motor that starts the air conditioner, both a sensor control mode and a sensorless control mode are activated, and the motor is controlled through the sensor control mode;
[0007] If the sensory control mode is detected to be faulty, the motor is controlled by the sensorless control mode.
[0008] Secondly, embodiments of the present invention also provide a dual-mode control device, the device comprising:
[0009] The first starting unit is used to be controlled by the starting command of the motor of the air conditioner, and simultaneously start the sensor control mode and the sensorless control mode, and control the motor through the sensor control mode;
[0010] The first detection unit is used to control the motor through the sensorless control mode if the sensory control mode is detected to be ineffective.
[0011] Thirdly, embodiments of the present invention also provide an air conditioner, which includes a memory and a processor connected to the memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0012] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.
[0013] This invention provides a dual-mode control method, device, air conditioner, and storage medium. The method includes: simultaneously activating a sensor-controlled mode and a sensorless control mode upon receiving a start command to start the motor of the air conditioner, and controlling the motor through the sensor-controlled mode; if the sensor-controlled mode is detected to be faulty, then controlling the motor through the sensorless control mode. This invention allows for the simultaneous activation of both sensor-controlled and sensorless control modes when the motor starts, prioritizing the sensor-controlled mode. During motor operation, the sensor-controlled mode is continuously monitored for failure; if it fails, the system switches to the sensorless control mode to ensure normal motor operation even when the sensor-controlled mode fails. Attached Figure Description
[0014] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 This is a flowchart illustrating the dual-mode control method provided in an embodiment of the present invention;
[0016] Figure 2 This is a schematic diagram of the first sub-process of the dual-mode control method provided in this embodiment of the invention;
[0017] Figure 3 This is a schematic diagram of the second sub-process of the dual-mode control method provided in this embodiment of the invention;
[0018] Figure 4 This is a schematic diagram of the third sub-process of the dual-mode control method provided in this embodiment of the invention;
[0019] Figure 5 This is a schematic diagram of the fourth sub-process of the dual-mode control method provided in this embodiment of the invention;
[0020] Figure 6 This is a schematic diagram of the sensor control mode of the dual-mode control method provided in this embodiment of the invention;
[0021] Figure 7 This is a schematic diagram of the contactless control mode of the dual-mode control method provided in this embodiment of the invention;
[0022] Figure 8 This is a schematic block diagram of a dual-mode control device provided in an embodiment of the present invention;
[0023] Figure 9 This is a schematic block diagram of an air conditioner provided in an embodiment of the present invention. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] It should be understood that, when used in this specification and the appended claims, the terms “comprising” and “including” indicate the presence of the described features, integrals, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, operations, elements, components and / or collections thereof.
[0026] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.
[0027] Please see Figure 1 , Figure 1 This is a flowchart illustrating the dual-mode control method provided in an embodiment of the present invention. This dual-mode control method can be applied to air conditioners to control the operation of the motor and ensure that the motor can still operate even when sensor-based control fails. Figure 1 As shown, the method includes steps S110 to S120.
[0028] S110, controlled by the start command of the motor of the air conditioner, simultaneously activates the sensor control mode and the sensorless control mode, and controls the motor through the sensor control mode.
[0029] In this embodiment of the invention, the start command can be a command to control the air conditioner to start, that is, when the air conditioner starts, the motor starts synchronously. This start command can be issued by the user via a remote control or a smart device, for example, by sending a start command through the power button on the remote control, or by sending a start command through the corresponding app on the smart device. When the motor starts, both the sensor-controlled mode and the sensorless control mode will be activated simultaneously.
[0030] Sensor-based control refers to using sensors to measure the position and speed of the motor rotor and controlling the motor based on the measurement results. For example, a sensor can be installed on the motor rotor, and the sensor sends the rotor position and speed to the controller. The controller then adjusts the motor current according to the rotor position and speed to achieve precise motor control. Sensorless control, on the other hand, does not rely on sensors. It calculates the motor rotor position and then adjusts the motor current to achieve motor control.
[0031] Two synchronous tasks can be created in the controller: one for sensor control and one for non-sensor control. The sensor task runs the sensor-based control algorithm, while the non-sensor task runs the sensorless control algorithm. When the motor starts, the controller simultaneously activates both tasks, thus initiating both sensor-based and sensorless control modes concurrently. Additionally, a synchronization signal can be set in the controller to synchronize the operation of the sensor and non-sensor, ensuring synchronized operation of the sensor-based and sensorless control modes and preventing control errors. A flag signal can also be included to indicate whether the sensor-based control mode has been activated. When the sensor-based control mode is activated, the flag signal is valid, and the sensorless control module can normally acquire parameters such as pulse signals.
[0032] When both sensory control mode and sensorless control mode are activated simultaneously, the controller prioritizes controlling the motor through sensory control mode. Meanwhile, sensorless control mode calculates the rotor position and speed normally. Before sensory control mode fails, the rotor position and speed calculated by sensorless control mode are not used for motor control, but only for synchronizing information from sensory control mode, so as to facilitate seamless switching when sensory control mode fails.
[0033] S120, if the sensory control mode is detected to be faulty, the motor is controlled by the sensorless control mode.
[0034] In this embodiment of the invention, when a failure of the sensor-controlled mode is detected, the control mode is switched to the sensorless control mode, and the motor is controlled through the sensorless control mode. When the motor starts, the sensor-controlled mode and the sensorless control mode start synchronously. While the motor is controlled through the sensor-controlled mode, the sensorless control mode is also simulating motor control and calculating rotor position and speed. When the sensor-controlled mode fails, the control mode can be seamlessly switched to the sensorless control mode. The rotor position and speed calculated by the sensorless control mode can be immediately applied to the motor control, thus ensuring stable motor operation even after the sensor-controlled mode fails.
[0035] See Figure 2 In some embodiments, such as in the embodiments of the present invention, the dual-mode control method further includes steps S130-S150.
[0036] S130, acquire the pulse signal and detect the pulse signal to confirm whether there is any abnormality in the pulse signal;
[0037] S140, if the pulse signal is abnormal, then the sensor control mode is confirmed to be faulty;
[0038] S150, if the pulse signal is not abnormal, then the sensor control mode is confirmed to be effective.
[0039] In this embodiment of the invention, the encoder's pulse signal is acquired and detected to confirm whether there is any abnormality in the pulse signal, such as whether the pulse signal is lost or inaccurate. When the pulse signal is abnormal, it is confirmed that the sensory control mode is invalid and can be switched to the sensorless control mode. When the pulse signal is not abnormal, it is confirmed that the sensory control mode is valid and the motor can continue to be controlled in the sensory control mode.
[0040] See Figure 3 In some embodiments, such as in the embodiments of the present invention, step S130 further includes steps S131-S132.
[0041] S131, Obtain the three-phase pulse edges of the motor encoder and confirm whether there is any abnormality in the three-phase pulse edges;
[0042] S132, if any one of the three-phase pulse edges is abnormal, then the pulse signal is abnormal.
[0043] In this embodiment of the invention, the encoder's pulse signal may include three-phase pulse edges (A, B, and Z). These three-phase pulse edges are used to confirm the rotor position and rotor speed. A pulse edge refers to the change in the pulse signal from low to high or from high to low. If all three phase pulses are normal, the pulse signal is normal; if any one phase pulse is abnormal, the pulse signal is abnormal.
[0044] For example, a pulse detection module can be set up to detect whether there are any abnormalities in the edges of the three-phase pulses A, B, and Z. When the edges of the three-phase pulses A, B, and Z are all normal, the pulse detection module outputs a detection result of "1", indicating that the pulse signal is normal. When any one of the three-phase pulse edges is abnormal, the pulse detection module outputs a detection result of "0", indicating that the pulse signal is abnormal. The controller can determine whether to switch the control mode to the sensorless control mode based on the output result of the pulse detection module.
[0045] See Figure 4 In some embodiments, such as this embodiment, the dual-mode control method further includes steps S150-S153.
[0046] 150. Acquire a pulse signal and confirm the real-time speed of the motor based on the pulse signal;
[0047] 151. Calculate the difference between the real-time rotational speed and the target rotational speed to obtain a first difference, and obtain the current setting value based on the first difference;
[0048] 152. Calculate the difference between the current setpoint and the real-time current value to obtain a second difference, and obtain the voltage setpoint based on the second difference;
[0049] 153, The motor is controlled based on the voltage setting value.
[0050] In embodiments of the present invention, such as Figure 6 As shown, Figure 6This is a schematic diagram of the sensor-controlled mode, which mainly consists of current loop control and speed loop control. First, the encoder identifies the motor rotor angular velocity and converts it into rotational speed n. n is compared with the target rotational speed n*, and the difference is calculated to obtain the first difference value. This first difference value is fed into the speed loop PI controller for proportional-integral (PI) adjustment, resulting in the q-axis current Iq*, which is the current setpoint. Assuming Id* = 0, the real-time acquired three-phase currents Ia, Ib, and Ic are processed through Clark and Park transforms respectively to obtain Id and Iq. Id and Iq are then compared with Id* and Iq* respectively, and the difference is calculated to obtain the second difference value. This second difference value is input into the current loop PI controller for PI adjustment, resulting in the d-axis and q-axis voltages Ud and Uq. Ud and Uq are then processed through an inverse Park transform to obtain the α-axis and β-axis voltages Uα and Uβ, which are the voltage setpoints. These voltages are then pulse-width modulated to drive the inverter bridge, thereby controlling the motor.
[0051] See Figure 5 In some embodiments, such as this embodiment, the dual-mode control method further includes steps S160-S162.
[0052] S161, acquire a pulse signal, and confirm the initial position of the motor rotor based on the pulse signal;
[0053] S162, confirm the floating phase in the motor and confirm the back electromotive force of the floating phase;
[0054] S163, confirm the zero-crossing point of the back electromotive force, and control the motor based on the zero-crossing point.
[0055] In embodiments of the present invention, such as Figure 7 As shown, Figure 7 This is a schematic diagram of the sensorless control mode. In sensorless control mode, the initial position of the motor is first confirmed by a pulse signal. Then, the unconducted phase in the motor is identified to obtain the floating phase. The voltage of the floating phase is then detected by a digital-to-analog converter to obtain the back electromotive force. By comparing the back electromotive force with the zero point, the zero-crossing point is confirmed. Based on the detected zero-crossing point, the controller can decide when to perform commutation to achieve sensorless control.
[0056] The dual-mode control method disclosed in this invention can simultaneously activate both a sensor-based control mode and a sensorless control mode for controlling motor operation when the motor starts. The sensor-based control mode is used to control the motor first. At the same time, the sensor-based control mode is also detected in real time during the operation of the motor to check whether the sensor-based control mode has failed. When the sensor-based control mode fails, the motor can be switched to the sensorless control mode to control the motor, ensuring that the motor can still operate normally when the sensor-based control mode fails.
[0057] Figure 8 This is a schematic block diagram of a dual-mode control device 200 provided in an embodiment of the present invention. Figure 8 As shown, corresponding to the above dual-mode control method, the present invention also provides a dual-mode control device 200. This dual-mode control device 200 includes a unit for executing the above-described dual-mode control method. Specifically, please refer to... Figure 8 The dual-mode control device 200 includes a first start-up unit 201 and a first detection unit 202.
[0058] The first starting unit 201 is used to be controlled by the starting command of the motor of the air conditioner, and simultaneously start the sensor control mode and the sensorless control mode, and control the motor through the sensor control mode.
[0059] The first detection unit 202 is used to control the motor through the sensorless control mode if the sensory control mode is detected to be ineffective.
[0060] In this embodiment of the invention, the start command can be a command to control the air conditioner to start, that is, when the air conditioner starts, the motor starts synchronously. This start command can be issued by the user via a remote control or a smart device, for example, by sending a start command through the power button on the remote control, or by sending a start command through the corresponding app on the smart device. When the motor starts, both the sensor-controlled mode and the sensorless control mode will be activated simultaneously.
[0061] Sensor-based control refers to using sensors to measure the position and speed of the motor rotor and controlling the motor based on the measurement results. For example, a sensor can be installed on the motor rotor, and the sensor sends the rotor position and speed to the controller. The controller then adjusts the motor current according to the rotor position and speed to achieve precise motor control. Sensorless control, on the other hand, does not rely on sensors. It calculates the motor rotor position and then adjusts the motor current to achieve motor control.
[0062] Two synchronous tasks can be created in the controller: one for sensor control and one for non-sensor control. The sensor task runs the sensor-based control algorithm, while the non-sensor task runs the sensorless control algorithm. When the motor starts, the controller simultaneously activates both tasks, thus initiating both sensor-based and sensorless control modes concurrently. Additionally, a synchronization signal can be set in the controller to synchronize the operation of the sensor and non-sensor, ensuring synchronized operation of the sensor-based and sensorless control modes and preventing control errors. A flag signal can also be included to indicate whether the sensor-based control mode has been activated. When the sensor-based control mode is activated, the flag signal is valid, and the sensorless control module can normally acquire parameters such as pulse signals.
[0063] When both sensory control mode and sensorless control mode are activated simultaneously, the controller prioritizes controlling the motor through sensory control mode. Meanwhile, sensorless control mode calculates the rotor position and speed normally. Before sensory control mode fails, the rotor position and speed calculated by sensorless control mode are not used for motor control, but only for synchronizing information from sensory control mode, so as to facilitate seamless switching when sensory control mode fails.
[0064] When a failure of the sensor-controlled mode is detected, the control mode is switched to the sensorless control mode, and the motor is controlled through the sensorless control mode. During motor startup, the sensor-controlled and sensorless control modes start synchronously. While the motor is controlled through the sensor-controlled mode, the sensorless control mode is also simulating motor control and calculating rotor position and speed. When the sensor-controlled mode fails, the control mode can be seamlessly switched to the sensorless control mode. The rotor position and speed calculated by the sensorless control mode can be immediately applied to motor control, thus ensuring stable motor operation even after sensor-controlled mode failure.
[0065] In some embodiments, such as this one, the dual-mode control device 200 further includes a first acquisition unit, a first confirmation unit, and a second confirmation unit.
[0066] The first acquisition unit is used to acquire a pulse signal and detect the pulse signal to confirm whether there is an abnormality in the pulse signal.
[0067] The first confirmation unit is used to confirm that the sensing control mode has failed if the pulse signal is abnormal.
[0068] The second confirmation unit is used to confirm that the sensor control mode is effective if the pulse signal is not abnormal.
[0069] In this embodiment of the invention, the encoder's pulse signal is acquired and detected to confirm whether there is any abnormality in the pulse signal, such as whether the pulse signal is lost or inaccurate. When the pulse signal is abnormal, it is confirmed that the sensory control mode is invalid and can be switched to the sensorless control mode. When the pulse signal is not abnormal, it is confirmed that the sensory control mode is valid and the motor can continue to be controlled in the sensory control mode.
[0070] In some embodiments, such as this embodiment, the first acquisition unit further includes a second acquisition unit and a third confirmation unit.
[0071] The second acquisition unit is used to acquire the three-phase pulse edges of the motor encoder and to confirm whether there are any abnormalities in the three-phase pulse edges.
[0072] The third confirmation unit is used to determine if the pulse signal is abnormal if any one of the three-phase pulse edges is abnormal.
[0073] In this embodiment of the invention, the encoder's pulse signal may include three-phase pulse edges (A, B, and Z). These three-phase pulse edges are used to confirm the rotor position and rotor speed. A pulse edge refers to the change in the pulse signal from low to high or from high to low. If all three phase pulses are normal, the pulse signal is normal; if any one phase pulse is abnormal, the pulse signal is abnormal.
[0074] For example, a pulse detection module can be set up to detect whether there are any abnormalities in the edges of the three-phase pulses A, B, and Z. When the edges of the three-phase pulses A, B, and Z are all normal, the pulse detection module outputs a detection result of "1", indicating that the pulse signal is normal. When any one of the three-phase pulse edges is abnormal, the pulse detection module outputs a detection result of "0", indicating that the pulse signal is abnormal. The controller can determine whether to switch the control mode to the sensorless control mode based on the output result of the pulse detection module.
[0075] In some embodiments, such as this one, the dual-mode control device 200 further includes a fourth acquisition unit, a first calculation unit, a second calculation unit, and a first control unit.
[0076] The fourth acquisition unit is used to acquire pulse signals and confirm the real-time speed of the motor based on the pulse signals.
[0077] The first calculation unit is used to calculate the difference between the real-time rotational speed and the target rotational speed to obtain a first difference, and to obtain a current setting value based on the first difference;
[0078] The second calculation unit is used to calculate the difference between the current set value and the real-time current value to obtain a second difference, and to obtain the voltage set value based on the second difference;
[0079] A first control unit is used to control the motor based on the voltage setpoint.
[0080] In embodiments of the present invention, such as Figure 6 As shown, Figure 6This is a schematic diagram of the sensor-controlled mode, which mainly consists of current loop control and speed loop control. First, the encoder identifies the motor rotor angular velocity and converts it into rotational speed n. n is compared with the target rotational speed n*, and the difference is calculated to obtain the first difference value. This first difference value is fed into the speed loop PI controller for proportional-integral (PI) adjustment, resulting in the q-axis current Iq*, which is the current setpoint. Assuming Id* = 0, the real-time acquired three-phase currents Ia, Ib, and Ic are processed through Clark and Park transforms respectively to obtain Id and Iq. Id and Iq are then compared with Id* and Iq* respectively, and the difference is calculated to obtain the second difference value. This second difference value is input into the current loop PI controller for PI adjustment, resulting in the d-axis and q-axis voltages Ud and Uq. Ud and Uq are then processed through an inverse Park transform to obtain the α-axis and β-axis voltages Uα and Uβ, which are the voltage setpoints. These voltages are then pulse-width modulated to drive the inverter bridge, thereby controlling the motor.
[0081] In some embodiments, such as this one, the dual-mode control device 200 further includes a fifth acquisition unit, a fourth confirmation unit, and a fifth confirmation unit.
[0082] The fifth acquisition unit is used to acquire pulse signals and confirm the initial position of the motor rotor based on the pulse signals.
[0083] The fourth confirmation unit is used to confirm the floating phase in the motor and to confirm the back electromotive force of the floating phase.
[0084] The fifth confirmation unit is used to confirm the zero-crossing point of the back electromotive force and control the motor based on the zero-crossing point.
[0085] In embodiments of the present invention, such as Figure 7 As shown, Figure 7 This is a schematic diagram of the sensorless control mode. In sensorless control mode, the initial position of the motor is first confirmed by a pulse signal. Then, the unconducted phase in the motor is identified to obtain the floating phase. The voltage of the floating phase is then detected by a digital-to-analog converter to obtain the back electromotive force. By comparing the back electromotive force with the zero point, the zero-crossing point is confirmed. Based on the detected zero-crossing point, the controller can decide when to perform commutation to achieve sensorless control.
[0086] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned dual-mode control device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.
[0087] The aforementioned dual-mode control device can be implemented as a computer program, which can, for example... Figure 9 The air conditioner shown is running.
[0088] Please see Figure 9 , Figure 9 This is a schematic block diagram of an air conditioner provided in an embodiment of this application. It can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a smartphone, tablet, laptop, desktop computer, personal digital assistant, or wearable device. The server can be a standalone server or a server cluster composed of multiple servers.
[0089] See Figure 9 The air conditioner 300 includes a processor 302, a memory, and an interface 307 connected via a system bus 301. The memory may include a non-volatile storage medium 303 and internal memory 304.
[0090] The non-volatile storage medium 303 can store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, it causes the processor 302 to perform a dual-mode control method.
[0091] The processor 302 is used to provide computing and control capabilities to support the operation of the entire air conditioner 300.
[0092] The internal memory 304 provides an environment for the execution of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a dual-mode control method.
[0093] This interface 305 is used for communication with other devices. Those skilled in the art will understand that... Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the air conditioner 300 to which the present application is applied. The specific air conditioner 300 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0094] It should be understood that in the embodiments of this application, the processor 302 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (FSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0095] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0096] Therefore, the present invention also provides a storage medium. This storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program implements any embodiment of the dual-mode control method described above.
[0097] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0098] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0099] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0100] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0101] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an air conditioner to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0102] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0103] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.
[0104] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A dual-mode control method, characterized in that, The method, applied to an air conditioner, includes: simultaneously activating a sensory control mode and a sensorless control mode under the control of a start command for starting the motor of the air conditioner, and controlling the motor through the sensory control mode, wherein the sensorless control mode calculates the position and speed of the motor rotor in real time and synchronizes them to the sensory control mode before the sensory control mode fails. If the sensory control mode is detected to be faulty, the motor is controlled by the sensorless control mode. Acquire pulse signals and detect the pulse signals to confirm whether there are any abnormalities in the pulse signals; If the pulse signal is abnormal, the sensor control mode is confirmed to be faulty. The step of acquiring a pulse signal and detecting the pulse signal to confirm whether the pulse signal is abnormal includes: Obtain the three-phase pulse edges of the motor encoder and confirm whether there are any abnormalities in the three-phase pulse edges; If any one of the three-phase pulse edges is abnormal, then the pulse signal is abnormal.
2. The method according to claim 1, characterized in that, The method further includes: If the pulse signal is not abnormal, then the sensor control mode is confirmed to be effective.
3. The method according to claim 1, characterized in that, The sensing control modes include: Acquire pulse signals and confirm the real-time speed of the motor based on the pulse signals; The difference between the real-time rotational speed and the target rotational speed is calculated to obtain a first difference, and the current setting value is obtained based on the first difference; The difference between the current setpoint and the real-time current value is calculated to obtain a second difference, and the voltage setpoint is obtained based on the second difference; The motor is controlled based on the voltage setpoint.
4. The method according to claim 1, characterized in that, The method further includes: Acquire a pulse signal and confirm the initial position of the motor rotor based on the pulse signal.
5. The method according to claim 4, characterized in that, The contactless control mode includes: Identify the floating phase in the motor and confirm the back electromotive force of the floating phase; Identify the zero-crossing point of the back electromotive force and control the motor based on the zero-crossing point.
6. A dual-mode control device, characterized in that, The device, used in air conditioners, includes: The first starting unit is used to be controlled by the starting command of the motor of the air conditioner, and simultaneously start the sensor control mode and the sensorless control mode, and control the motor through the sensor control mode. In the sensorless control mode, before the sensor control mode fails, the position and speed of the motor rotor are calculated in real time and synchronized to the sensor control mode. The first detection unit is used to control the motor through the sensorless control mode if the sensory control mode is detected to be ineffective. The first acquisition unit is used to acquire a pulse signal and detect the pulse signal to confirm whether there is an abnormality in the pulse signal; The first confirmation unit is used to confirm that the sensing control mode has failed if the pulse signal is abnormal. The first acquisition unit includes: The second acquisition unit is used to acquire the three-phase pulse edges of the motor encoder and to confirm whether there are any abnormalities in the three-phase pulse edges. The third confirmation unit is used to determine if the pulse signal is abnormal if any one of the three-phase pulse edges is abnormal.
7. An air conditioner, characterized in that, The air conditioner includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to perform the steps of the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the steps of the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Brushless direct current motor control method on the basis of dual-mode control
CN105634346A
Brushless direct current motor control system and method
CN108039840A
Motor control mode fault detection method and device
CN109286353A
Intelligent variable frequency speed control device and control method applicable to pulse load
CN110061679A
Control method and device for motor with Hall sensor and control equipment
CN114499330A