Dual-mode control method and device, air conditioner and storage medium
By adopting a dual-mode control method in the air conditioner, combining the inductive and inductive control modes, the problem of motor control being prone to failure in humid and dusty environments is solved, and the stable operation of the motor when the inductive control fails.
Patent Information
- Application Number
- CN202411849690.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-12-16
AI Technical Summary
The motor control method of air conditioner is susceptible to moisture and dust environment and fails to operate normally.
The dual-mode control method is adopted. The sensory control mode and sensorless control mode are started at the same time when the motor starts. The motor is preferred to control the motor through the sensory control mode to detect whether the sensory control mode is invalid in real time. If it fails, switch to the sensory control mode.
Ensure that the motor can still operate normally when the inductive control fails, and avoid motor control failure caused by environmental impact.
Smart Images

Figure CN119468447A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and in particular to a dual-mode control method, device, air conditioner and storage medium. Background Art
[0002] The motor in the air conditioner is one of the key components to ensure efficient and reliable operation of the air conditioner. The commonly used air conditioner motor control method is sensor control. Sensor control means that a sensor is installed in the motor to confirm the rotor position and rotor speed through the sensor, and then the motor is controlled according to the rotor position and rotor speed to ensure the normal operation of the motor.
[0003] However, the internal environment of the air conditioner is usually humid and has a certain degree of dust. The sensor is prone to failure in this environment. When the sensor fails, the motor cannot be controlled normally, which causes the air conditioner to fail to operate. Summary of the invention
[0004] The embodiments of the present invention provide a dual-mode control method, device, air conditioner and storage medium, aiming to solve the problem that the current motor control method is easily affected by the environment and fails.
[0005] In a first aspect, an embodiment of the present invention provides a dual-mode control method, which is applied to an air conditioner. The method includes:
[0006] Controlled by a start-up instruction for starting the motor of the air conditioner, the sensory control mode and the sensorless control mode are started simultaneously, and the motor is controlled by the sensory control mode;
[0007] If it is detected that the sensory control mode fails, the motor is controlled by the sensorless control mode.
[0008] In a second aspect, an embodiment of the present invention further provides a dual-mode control device, the device comprising:
[0009] A first starting unit, which is used to be controlled by a starting instruction for starting the motor of the air conditioner, start a sensory control mode and a non-sensing control mode at the same time, and control the motor through the sensory control mode;
[0010] The first detection unit is used to control the motor through the sensorless control mode if it is detected that the sensory control mode fails.
[0011] In a third aspect, an embodiment of the present invention further provides an air conditioner, which includes a memory and a processor connected to the memory, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0012] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.
[0013] The embodiment of the present invention provides a dual-mode control method, device, air conditioner and storage medium. The method includes: being controlled by a start-up instruction for starting the motor of the air conditioner, starting a sensed control mode and a non-sensing control mode at the same time, and controlling the motor through the sensed control mode; if it is detected that the sensed control mode fails, controlling the motor through the non-sensing control mode. The embodiment of the present invention can start the sensed control mode and the non-sensing control mode for controlling the operation of the motor at the same time when the motor starts, and control the motor preferentially through the sensed control mode. At the same time, during the operation of the motor, it will also detect in real time whether the sensed control mode fails. When the sensed control mode fails, it can switch to controlling the motor through the non-sensing control mode to ensure that the motor can still operate normally when the sensed control fails. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0015] Figure 1 is a flow chart of a dual-mode control method provided by an embodiment of the present invention;
[0016] Figure 2 is a schematic diagram of a first sub-process of the dual-mode control method provided by an embodiment of the present invention;
[0017] Figure 3 is a schematic diagram of a second sub-process of the dual-mode control method provided by an embodiment of the present invention;
[0018] Figure 4 is a schematic diagram of a third sub-process of the dual-mode control method provided in an embodiment of the present invention;
[0019] Figure 5 is a schematic diagram of a fourth sub-process of the dual-mode control method provided by an embodiment of the present invention;
[0020] Figure 6 is a schematic diagram of a sensory control mode of a dual-mode control method provided by an embodiment of the present invention;
[0021] Figure 7 is a principle diagram of a sensorless control mode of a dual-mode control method provided by an embodiment of the present invention;
[0022] Figure 8 is a schematic block diagram of a dual-mode control device provided by an embodiment of the present invention;
[0023] Fig. 9 is a schematic block diagram of an air conditioner provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work 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 "include" and "comprises" indicate the presence of described features, integers, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, operations, elements, components and / or groups thereof.
[0026] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, the singular forms of "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" used in the specification of the present invention and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0027] See also Figure 1 , Figure 1 1 is a flow chart of a dual-mode control method provided by an embodiment of the present invention. The dual-mode control method of the embodiment of the present invention can be applied to an air conditioner to control the operation of a motor and ensure that the motor can still operate when the sensor control fails. Figure 1 As shown, the method includes steps S110 to S120.
[0028] S110, controlled by a start instruction for starting the motor of the air conditioner, starting a sensory control mode and a sensorless control mode at the same time, and controlling the motor through the sensory control mode.
[0029] In an embodiment of the present invention, the start instruction may be an instruction for controlling the start of the air conditioner, that is, when the air conditioner is started, the motor is started synchronously. The start instruction may be issued by a user through a remote controller or a smart device, for example, by sending a start instruction through a power button on a remote controller, or by issuing a power instruction in a corresponding APP on a smart device. When the motor is started, the sensory control mode and the non-sensing control mode are started synchronously.
[0030] The sensor control mode is to measure the position and speed of the motor rotor through sensors, and control 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 rotor speed to the controller. The controller adjusts the motor current according to the rotor position and rotor speed to achieve precise control of the motor. The sensorless control mode is to control the motor without relying on sensors, and the motor rotor position is calculated, and then the motor current is adjusted to achieve control of the motor.
[0031] Two synchronization tasks can be created in the controller, namely sensor and no-sensor. Sensor is used to run the sensed control algorithm, and no-sensor is used to run the non-sensor control algorithm. When the motor starts, the controller starts both sensor and no-sensor synchronization tasks at the same time, thereby starting the sensed control mode and the non-sensor control mode at the same time. In addition, a synchronization signal can also be set in the controller. The synchronization signal is used to synchronize the operation of the sensor and the no-sensor to ensure the synchronous operation of the sensed control mode and the non-sensor control mode without causing control errors. At the same time, a flag signal can also be set to indicate whether the sensed control mode has been started. When the sensed control mode is started, the flag signal is valid, and the non-sensor control module can normally obtain parameters such as pulse signals.
[0032] When the sensed control mode and the sensorless control mode are started at the same time, the controller gives priority to controlling the motor through the sensed control mode. At the same time, the sensorless control mode calculates the rotor position and rotor speed normally. Before the sensed control mode fails, the rotor position and rotor speed calculated by the sensorless control mode are not used for motor control, but only for synchronizing the information of the sensed control mode, so as to facilitate seamless switching when the sensed control mode fails.
[0033] S120: If it is detected that the sensory control mode fails, the motor is controlled by the sensorless control mode.
[0034] In an embodiment of the present invention, when it is detected that the sensed control mode fails, the control mode is switched to the non-sense control mode, and the motor is controlled by the non-sense control mode. When the motor is started, the sensed control mode and the non-sense control mode are started synchronously, and while the motor is controlled by the sensed control mode, the non-sense control mode is also simulating the control of the motor and normally calculating the rotor position and rotor speed. When the sensed control mode fails, the control mode can be seamlessly switched to the non-sense control mode, and the rotor position and rotor speed calculated by the non-sense control mode can be immediately applied to the control of the motor, thereby ensuring the stable operation of the motor after the sensed control fails.
[0035] See also Figure 2 In some embodiments, such as in the embodiment of the present invention, the dual-mode control method further includes steps S130-S150.
[0036] S130, acquiring a pulse signal, and detecting the pulse signal to confirm whether the pulse signal is abnormal;
[0037] S140, if the pulse signal is abnormal, confirming that the sensory control mode is invalid;
[0038] S150: If there is no abnormality in the pulse signal, confirm that the sensory control mode is valid.
[0039] In the embodiment of the present invention, the pulse signal of the encoder is obtained, and the pulse signal is detected to confirm whether the pulse signal is abnormal, for example, whether the pulse signal is lost or whether the pulse signal is inaccurate. When the pulse signal is abnormal, it is confirmed that the sensed control mode is invalid and it can be switched to the non-sensing control mode. When the pulse signal is not abnormal, it is confirmed that the sensed control mode is valid and the motor can continue to be controlled in the sensed control mode.
[0040] See also Figure 3 In some embodiments, such as in an embodiment of the present invention, step S130 also includes steps S131-S132.
[0041] S131, obtaining the three-phase pulse edges of the motor encoder, and confirming whether there is any abnormality in the three-phase pulse edges;
[0042] S132: If there is an abnormality in any phase pulse edge among the three-phase pulse edges, then there is an abnormality in the pulse signal.
[0043] In the embodiment of the present invention, the pulse signal of the encoder may include three-phase pulse edges of A, B, and Z. The three-phase pulse edges of A, B, and Z are used to confirm the rotor position and rotor speed. The pulse edge refers to the change of the pulse signal from a low level to a high level or from a high level to a low level. If the three-phase pulses are normal, it indicates that the pulse signal is normal. If any one-phase pulse is abnormal, it indicates that the pulse signal is abnormal.
[0044] For example, a pulse detection module can be provided, which is used to detect whether there is an abnormality in the three-phase pulse edges of A, B, and Z. When the three-phase pulse edges of A, B, and Z are normal, the pulse detection module outputs a detection result of "1", indicating that the pulse signal is normal. When there is an abnormality in the pulse edge of any phase of the three-phase pulse edges of A, B, and Z, the pulse detection module outputs a detection result of "0", indicating that there is an abnormality in the pulse signal. The controller can confirm whether to switch the control mode to the non-sensing control mode based on the output result of the pulse detection module.
[0045] See also Figure 4 In some embodiments, such as the present embodiment, the dual-mode control method further includes steps S150-S153.
[0046] 150, acquiring a pulse signal, and confirming a real-time rotation speed of the motor based on the pulse signal;
[0047] 151, calculating the difference between the real-time speed and the target speed to obtain a first difference, and obtaining a current setting value based on the first difference;
[0048] 152, calculating the difference between the current setting value and the real-time current value to obtain a second difference, and obtaining a voltage setting value based on the second difference;
[0049] 153. Control the motor based on the voltage setting value.
[0050] In the embodiment of the present invention, Figure 6 As shown, Figure 6This is the schematic diagram of the sensory control mode, which is mainly divided into current loop control and speed loop control. First, the encoder identifies the angular velocity of the motor rotor and converts it into a speed n. n is compared with the target speed n* to obtain the first difference. The first difference is given to the speed loop PI for proportional integral adjustment to obtain the q-axis current Iq*, which is the current setting value. Let Id*=0, and the three-phase currents Ia, Ib, and Ic collected in real time are respectively transformed by Clark and Park to obtain Id and Iq. Then Id and Iq are compared with Id* and Iq* to obtain the second difference. The second difference is input into the current loop PI for proportional integral adjustment to obtain the voltages Ud and Uq of the d-axis and q-axis. Ud and Uq are transformed by inverse Park to obtain the voltages Uα and Uβ of the α-axis and β-axis, which is the voltage setting value, so that the voltage is pulse-width modulated to drive the inverter bridge, thereby controlling the motor.
[0051] See also Figure 5 In some embodiments, such as the present embodiment, the dual-mode control method further includes steps S160-S162.
[0052] S161, acquiring a pulse signal, and confirming an initial position of the motor rotor based on the pulse signal;
[0053] S162, confirming a floating phase in the motor, and confirming a back electromotive force of the floating phase;
[0054] S163, confirming the zero-crossing point of the back electromotive force, and controlling the motor based on the zero-crossing point.
[0055] In the embodiment of the present invention, Figure 7 As shown, Figure 7 This is the schematic diagram of the sensorless control mode. In the sensorless control mode, the initial position of the motor is first confirmed by a pulse signal, and then the non-conducting phase in the motor is confirmed to obtain a floating phase. The voltage of the floating phase is then detected by a digital-to-analog converter to obtain the back electromotive force. The zero crossing point is confirmed by comparing the back electromotive force with the zero point. Based on the detected zero crossing point, the controller can decide when to switch phases to achieve sensorless control.
[0056] The dual-mode control method disclosed in the present invention can simultaneously start the sensed control mode and the senseless control mode for controlling the operation of the motor when the motor is started, and preferentially control the motor through the sensed control mode. At the same time, during the operation of the motor, it will also detect in real time whether the sensed control mode fails. When the sensed control mode fails, it can be switched to control the motor through the senseless control mode to ensure that the motor can still operate normally when the sensed control fails.
[0057] Figure 8 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. The dual-mode control device 200 includes a unit for executing the above dual-mode control method. Figure 8 The dual-mode control device 200 includes a first starting unit 201 and a first detecting unit 202 .
[0058] The first starting unit 201 is used to be controlled by a starting instruction for starting the motor of the air conditioner, start the sensory control mode and the sensorless control mode at the same time, and control the motor through the sensory control mode;
[0059] The first detection unit 202 is configured to control the motor through the sensorless control mode if it is detected that the sensory control mode fails.
[0060] In an embodiment of the present invention, the start instruction may be an instruction for controlling the start of the air conditioner, that is, when the air conditioner is started, the motor is started synchronously. The start instruction may be issued by a user through a remote controller or a smart device, for example, by sending a start instruction through a power button on a remote controller, or by issuing a power instruction in a corresponding APP on a smart device. When the motor is started, the sensory control mode and the non-sensing control mode are started synchronously.
[0061] The sensor control mode is to measure the position and speed of the motor rotor through sensors, and control 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 rotor speed to the controller. The controller adjusts the motor current according to the rotor position and rotor speed to achieve precise control of the motor. The sensorless control mode is to control the motor without relying on sensors, and the motor rotor position is calculated, and then the motor current is adjusted to achieve control of the motor.
[0062] Two synchronization tasks can be created in the controller, namely sensor and no-sensor. Sensor is used to run the sensed control algorithm, and no-sensor is used to run the non-sensor control algorithm. When the motor starts, the controller starts both sensor and no-sensor synchronization tasks at the same time, thereby starting the sensed control mode and the non-sensor control mode at the same time. In addition, a synchronization signal can also be set in the controller. The synchronization signal is used to synchronize the operation of the sensor and the no-sensor to ensure the synchronous operation of the sensed control mode and the non-sensor control mode without causing control errors. At the same time, a flag signal can also be set to indicate whether the sensed control mode has been started. When the sensed control mode is started, the flag signal is valid, and the non-sensor control module can normally obtain parameters such as pulse signals.
[0063] When the sensed control mode and the sensorless control mode are started at the same time, the controller gives priority to controlling the motor through the sensed control mode. At the same time, the sensorless control mode calculates the rotor position and rotor speed normally. Before the sensed control mode fails, the rotor position and rotor speed calculated by the sensorless control mode are not used for motor control, but only for synchronizing the information of the sensed control mode, so as to facilitate seamless switching when the sensed control mode fails.
[0064] When the sensed control mode fails, the control mode is switched to the non-sense control mode, and the motor is controlled by the non-sense control mode. When the motor starts, the sensed control mode and the non-sense control mode are started synchronously. While the motor is controlled by the sensed control mode, the non-sense control mode is also simulating the control of the motor and calculating the rotor position and rotor speed normally. When the sensed control mode fails, the control mode can be seamlessly switched to the non-sense control mode. The rotor position and rotor speed calculated by the non-sense control mode can be immediately applied to the control of the motor, thereby ensuring the stable operation of the motor after the sensed control fails.
[0065] In some embodiments, such as this embodiment, 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 the pulse signal is abnormal;
[0067] A first confirmation unit, configured to confirm that the sensory control mode is invalid if the pulse signal is abnormal;
[0068] The second confirmation unit is used to confirm that the sensory control mode is valid if there is no abnormality in the pulse signal.
[0069] In the embodiment of the present invention, the pulse signal of the encoder is obtained, and the pulse signal is detected to confirm whether the pulse signal is abnormal, for example, whether the pulse signal is lost or whether the pulse signal is inaccurate. When the pulse signal is abnormal, it is confirmed that the sensed control mode is invalid and it can be switched to the non-sensing control mode. When the pulse signal is not abnormal, it is confirmed that the sensed control mode is valid and the motor can continue to be controlled in the sensed control mode.
[0070] In some embodiments, such as this embodiment, the first acquiring unit also includes a second acquiring unit and a third confirming unit.
[0071] The second acquisition unit is used to acquire the three-phase pulse edge of the motor encoder and confirm whether there is an abnormality in the three-phase pulse edge;
[0072] The third confirmation unit is used to confirm that the pulse signal is abnormal if any phase pulse edge among the three-phase pulse edges is abnormal.
[0073] In the embodiment of the present invention, the pulse signal of the encoder may include three-phase pulse edges of A, B, and Z. The three-phase pulse edges of A, B, and Z are used to confirm the rotor position and rotor speed. The pulse edge refers to the change of the pulse signal from a low level to a high level or from a high level to a low level. If the three-phase pulses are normal, it indicates that the pulse signal is normal. If any one-phase pulse is abnormal, it indicates that the pulse signal is abnormal.
[0074] For example, a pulse detection module can be provided, which is used to detect whether there is an abnormality in the three-phase pulse edges of A, B, and Z. When the three-phase pulse edges of A, B, and Z are normal, the pulse detection module outputs a detection result of "1", indicating that the pulse signal is normal. When there is an abnormality in the pulse edge of any phase of the three-phase pulse edges of A, B, and Z, the pulse detection module outputs a detection result of "0", indicating that there is an abnormality in the pulse signal. The controller can confirm whether to switch the control mode to the non-sensing control mode based on the output result of the pulse detection module.
[0075] In some embodiments, such as the present embodiment, 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] Wherein, the fourth acquisition unit is used to acquire the pulse signal and confirm the real-time rotation speed of the motor based on the pulse signal;
[0077] a first calculation unit, configured to calculate a difference between the real-time rotation speed and the target rotation speed to obtain a first difference, and obtain a current setting value based on the first difference;
[0078] a second calculation unit, configured to calculate a difference between the current setting value and the real-time current value to obtain a second difference, and obtain a voltage setting value based on the second difference;
[0079] A first control unit is used to control the motor based on the voltage setting value.
[0080] In the embodiment of the present invention, Figure 6 As shown, Figure 6This is the schematic diagram of the sensory control mode, which is mainly divided into current loop control and speed loop control. First, the encoder identifies the angular velocity of the motor rotor and converts it into a speed n. n is compared with the target speed n* to obtain the first difference. The first difference is given to the speed loop PI for proportional integral adjustment to obtain the q-axis current Iq*, which is the current setting value. Let Id*=0, and the three-phase currents Ia, Ib, and Ic collected in real time are respectively transformed by Clark and Park to obtain Id and Iq. Then Id and Iq are compared with Id* and Iq* to obtain the second difference. The second difference is input into the current loop PI for proportional integral adjustment to obtain the voltages Ud and Uq of the d-axis and q-axis. Ud and Uq are transformed by inverse Park to obtain the voltages Uα and Uβ of the α-axis and β-axis, which is the voltage setting value, so that the voltage is pulse-width modulated to drive the inverter bridge, thereby controlling the motor.
[0081] In some embodiments, such as this embodiment, the dual-mode control device 200 further includes a fifth acquisition unit, a fourth confirmation unit and a fifth confirmation unit.
[0082] Wherein, the fifth acquisition unit is used to acquire the pulse signal and confirm the initial position of the motor rotor based on the pulse signal;
[0083] a fourth confirmation unit, configured to confirm a floating phase in the motor and confirm a 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 the embodiment of the present invention, Figure 7 As shown, Figure 7 This is the schematic diagram of the sensorless control mode. In the sensorless control mode, the initial position of the motor is first confirmed by a pulse signal, and then the non-conducting phase in the motor is confirmed to obtain a floating phase. The voltage of the floating phase is then detected by a digital-to-analog converter to obtain the back electromotive force. The zero crossing point is confirmed by comparing the back electromotive force with the zero point. Based on the detected zero crossing point, the controller can decide when to switch phases 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 refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0087] The dual-mode control device can be implemented in the form of a computer program. Fig. 9 The air conditioner shown is running.
[0088] See also Fig. 9 , Fig. 9 This is a schematic block diagram of an air conditioner provided in an embodiment of the present application. It can be a terminal or a server, wherein the terminal can be an electronic device with communication function such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be an independent server or a server cluster composed of multiple servers.
[0089] See also Fig. 9 The air conditioner 300 includes a processor 302 , a memory and an interface 307 connected via a system bus 301 , wherein the memory may include a non-volatile storage medium 303 and an internal memory 304 .
[0090] The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, the processor 302 may execute 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 operation 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] The interface 305 is used to communicate with other devices. Those skilled in the art will appreciate that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the air conditioner 300 to which the scheme of 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 a different arrangement of components.
[0094] It should be understood that in the embodiment of the present application, the processor 302 may be a central processing unit (CPU), and the processor 302 may also be other general-purpose processors, digital signal processors (FSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0095] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can 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 embodiment of the above method.
[0096] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, any embodiment of the dual-mode control method is implemented.
[0097] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, or any other computer-readable storage medium that can store program codes.
[0098] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0099] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0100] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present 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 in the form of 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 is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions for an air conditioner to perform all or part of the steps of the method described in each embodiment of the present invention.
[0102] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0103] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0104] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A dual-mode control method, characterized in that: Applied to an air conditioner, the method comprises: Controlled by a start-up instruction for starting the motor of the air conditioner, the sensory control mode and the sensorless control mode are started simultaneously, and the motor is controlled by the sensory control mode; If it is detected that the sensory control mode fails, the motor is controlled by the sensorless control mode.
2. The method according to claim 1, characterized in that The method further comprises: Acquire a pulse signal, and detect the pulse signal to confirm whether the pulse signal is abnormal; If the pulse signal is abnormal, it is confirmed that the sensory control mode is invalid.
3. The method according to claim 2, characterized in that 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 is any abnormality in the three-phase pulse edges; If there is an abnormality in any phase pulse edge among the three-phase pulse edges, there is an abnormality in the pulse signal.
4. The method according to claim 2, characterized in that: The method further comprises: If there is no abnormality in the pulse signal, it is confirmed that the sensory control mode is effective.
5. The method according to claim 1, characterized in that The sensory control mode includes: Acquire a pulse signal, and confirm the real-time rotation speed of the motor based on the pulse signal; Calculating a difference between the real-time speed and the target speed to obtain a first difference, and obtaining a current setting value based on the first difference; Calculating a difference between the current setting value and the real-time current value to obtain a second difference, and obtaining a voltage setting value based on the second difference; The motor is controlled based on the voltage setting.
6. The method according to claim 1, characterized in that The method further comprises: A pulse signal is acquired, and an initial position of the motor rotor is confirmed based on the pulse signal.
7. The method according to claim 6, characterized in that The sensorless control mode includes: identifying a floating phase in the motor and identifying a back electromotive force of the floating phase; A zero crossing point of the back electromotive force is confirmed, and the motor is controlled based on the zero crossing point.
8. A dual-mode control device, characterized in that: Applied to an air conditioner, the device comprises: A first starting unit, which is used to be controlled by a starting instruction for starting the motor of the air conditioner, start a sensory control mode and a non-sensing control mode at the same time, and control the motor through the sensory control mode; The first detection unit is used to control the motor through the sensorless control mode if it is detected that the sensory control mode fails.
9. An air conditioner, characterized in that: The air conditioner comprises 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 execute the steps of the method as claimed in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 can be implemented.
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
Switching method and device for dual-mode control of brushless direct current motor
CN110768591A