Purifier swing leaf control method, control device, purifier and storage medium
By automatically adjusting the swing angle of the blades based on the air purifier's fan motor speed, the cost and efficiency issues of the air purifier under abnormal conditions are solved, achieving automatic adjustment without feedback or manual operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN CHENBEI TECH CO LTD
- Filing Date
- 2022-09-20
- Publication Date
- 2026-07-10
AI Technical Summary
Existing air purifiers require feedback adjustment circuits or manual adjustment by the user when the stepper motor is stalled or the air outlet blades are blocked, resulting in high costs or cumbersome operation and reduced purification efficiency.
By obtaining the rotational speed of the air purifier's fan motor, the swing angle range of the blades is determined, and the swing angle is automatically adjusted in case of abnormalities, avoiding the need for additional configuration feedback adjustment and manual operation by the user.
It achieves adjustment without feedback and manual adjustment by the user, reducing the cost of the air purifier and improving purification efficiency.
Smart Images

Figure CN115540188B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of air purifier technology, and in particular relates to an air purifier blade control method, control device, air purifier and storage medium. Background Technology
[0002] Air purifiers, also known as air cleaners, air fresheners, and air purifiers, are devices that can adsorb, decompose, or transform various air pollutants (generally including PM2.5, dust, pollen, odors, formaldehyde and other indoor pollutants from renovations, bacteria, allergens, etc.) to effectively improve air cleanliness. Existing air purifiers include those with feedback regulation circuits and those without.
[0003] When an air purifier equipped with a feedback adjustment circuit experiences a stalled stepper motor or an obstructed air outlet louver causing abnormal louver angles, the circuit automatically adjusts the stepper motor based on the abnormal feedback signal detected by the circuit to adjust the louver angle, thus restoring the purifier to normal operation. However, the cost of the feedback adjustment circuit is relatively high, which increases the cost of the purifier.
[0004] Air purifiers without feedback adjustment circuits require manual adjustment by the user to return to normal operation when the stepper motor stalls or the louvers at the air outlet are blocked, causing abnormal swaying angles. This process is quite cumbersome. Furthermore, if the louvers sway abnormally, resulting in reduced airflow or incorrect airflow direction at the air outlet, the purifier's purification efficiency will decrease. Summary of the Invention
[0005] In view of the above, embodiments of this application provide a method, control device, purifier and storage medium for controlling the louver of an air purifier, so as to overcome or at least partially solve the problems of the prior art.
[0006] In a first aspect, embodiments of this application provide a method for controlling the oscillation of air purifier blades, including: acquiring the rotational speed of the fan motor of the air purifier; determining the oscillation angle range of the air purifier blades based on the rotational speed; and adjusting the oscillation angle range when it is determined that the oscillation of the air purifier blades is abnormal based on the oscillation angle range.
[0007] Secondly, embodiments of this application provide a purifier blade swing control device, including an acquisition module, an angle determination module, and an adjustment module. The acquisition module is used to acquire the rotational speed of the purifier's fan motor; the angle determination module is used to determine the swing angle range of the purifier's blades based on the rotational speed; and the adjustment module is used to adjust the swing angle range when it is determined from the swing angle range that the blades are swinging abnormally.
[0008] Thirdly, embodiments of this application provide an air purifier, including a memory; one or more processors coupled to the memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to perform the air purifier blade control method as provided in the first aspect above.
[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be called by a processor to execute the air purifier louver control method provided in the first aspect above.
[0010] The solution provided in this application obtains the rotational speed of the air purifier's fan motor, determines the swing angle range of the air purifier's blades based on the rotational speed, and adjusts the swing angle range when abnormal swing is detected based on the swing angle range. This achieves automatic adjustment of the swing angle range of the air purifier when abnormal swing is detected based on the rotational speed of the air purifier's fan motor, without the need for additional feedback adjustment or manual adjustment by the user, thus reducing the cost of the air purifier while improving its purification efficiency. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This illustration shows a scenario diagram of the air purifier provided in an embodiment of this application.
[0013] Figure 2 A schematic flowchart of a purifier blade control method provided in an embodiment of this application is shown.
[0014] Figure 3 This illustration shows a scenario diagram of the angle and rotation speed curves in the air purifier blade control method provided in an embodiment of this application.
[0015] Figure 4 This paper illustrates another flowchart of the air purifier blade control method provided in an embodiment of this application.
[0016] Figure 5 A structural block diagram of a purifier blade control device provided in an embodiment of this application is shown.
[0017] Figure 6 A functional block diagram of an air purifier provided in an embodiment of this application is shown.
[0018] Figure 7 This application illustrates a computer-readable storage medium for storing or carrying program code that implements a stepper motor control method according to an embodiment of this application. Detailed Implementation
[0019] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0021] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0022] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0023] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0024] Please see Figure 1 This illustration shows an application scenario of the air purifier blade control method provided in this application embodiment. The application scenario may include an air purifier 100, which may include a housing 110, a control module 120, a fan motor 130, a stepper motor 140, and blades 150. The control module 120, fan motor 130, stepper motor 140, and blades 150 are all mounted on the housing 110, which provides mounting support for the control module 120, fan motor 130, stepper motor 140, and blades 150.
[0025] The control module 120 is communicatively connected to the fan motor 130 and the stepper motor 140, and interacts with the fan motor 130 and the stepper motor 140 for data exchange. The control module 120 can be used to control the fan motor 130 and the stepper motor 140 to work.
[0026] In some embodiments, the purifier 100 may further include a fan. The purifier 100 is provided with an air inlet and an air outlet, and the fan is arranged opposite to the air inlet and the air outlet. The fan is connected to a fan motor 130, which can be used to drive the fan to draw ambient air from the environment where the purifier 100 is located into the purifier 100 through the air inlet, so that the purifier 100 purifies the drawn-in ambient air to obtain purified air. The fan motor 130 can also be used to drive the fan to discharge the purified air to the air outlet.
[0027] In some embodiments, the oscillating blade 150 is mounted at the air outlet and is connected to the stepper motor 140. The stepper motor 140 can be used to drive the oscillating blade 150 to oscillate, so that the oscillating blade 150 discharges purified air to the environment where the purifier 100 is located.
[0028] Please see Figure 2 The document illustrates a flowchart of a purifier louver control method according to an embodiment of this application. In a specific embodiment, the purifier louver control method can be applied to, for example... Figure 1 The control module 120 of the air purifier 100 shown below will be used as an example to explain... Figure 2 The process shown is described in detail. The air purifier blade control method may include the following steps S110 to S130.
[0029] Step S110: Obtain the rotation speed of the air purifier's fan motor.
[0030] In this embodiment, the air purifier may further include a speed sensor, which is mounted on the housing, and the housing provides mounting support for the speed sensor. The speed sensor is communicatively connected to the control module and interacts with the control module for data exchange. The speed sensor is used to collect the speed of the fan motor.
[0031] When the air purifier is purifying the ambient air, the control module can send a speed acquisition command to the speed sensor. The speed sensor receives and responds to the speed acquisition command, acquires the speed of the fan motor, and sends the acquired speed to the control module. The control module receives the speed returned by the speed sensor.
[0032] The speed can be multiple, and the speed acquisition command can be used to instruct the speed sensor to acquire multiple speeds of the fan motor at preset intervals. The preset interval can be set by the user based on the time taken for the stepper motor to rotate one degree. For example, if the time taken for the stepper motor to rotate one degree is 111 milliseconds (ms), the user can set the preset interval to 111 ms. The preset interval can also be the time taken for the control module to adjust based on multiple speed acquisitions from the speed sensor. The setting method for the preset interval is not limited here and can be set according to actual needs.
[0033] Step S120: Determine the swing angle range of the purifier's blades based on the rotation speed.
[0034] In this embodiment of the application, there can be multiple rotation speeds. After the control module obtains the rotation speed of the fan motor of the purifier, it can calculate the swing angle range of the purifier blades according to Formula 1 based on the multiple rotation speeds.
[0035] Formula 1 is:
[0036] Where angle is the swing angle of the air purifier blades, speed is the rotational speed of the fan motor, base is the base rotational speed of the fan motor, k1 is the rotational speed slope at the first angle, k2 is the rotational speed slope at the second angle, and 1k1I < 1k2I.
[0037] Understandably, to obtain Formula 1, the fan motor speed and blade oscillation angle at different speed settings can be pre-collected to obtain an angle-speed curve corresponding to the speed and oscillation angle, such as... Figure 3 As shown, the angle-speed curve includes a first angle-speed curve and a second angle-speed curve. The slope of the first angle-speed curve corresponds to the first angle-speed curve, and the slope of the second angle-speed curve corresponds to the second angle-speed curve. Based on the collected speed and swing angle, a fitting formula for the speed and swing angle is obtained, namely Formula 2.
[0038] Formula 2 is:
[0039] Formula 1 can be derived by working backward from Formula 2.
[0040] In one application scenario, the fan motor's speed can include a maximum speed SPmax = 537 rpm and a minimum speed SPmin = 470 rpm. The control module can calculate the minimum swing angle of the blades as 11° based on the maximum speed SPmax = 537 rpm and the maximum swing angle as 71° based on the minimum speed SPmin = 470 rpm. Therefore, the swing angle range of the blades is [11°, 71°]. The specific value of the fan motor's speed is not limited here; it can be determined based on actual requirements.
[0041] In some implementations, after determining the swing angle range of the purifier's blades based on the rotation speed, the control module can determine whether the blades are swinging abnormally based on the preset swing angle range and the swing angle range.
[0042] Specifically, after determining the swing angle range of the purifier's blades based on the rotation speed, the control module can determine whether the blades are swinging abnormally by checking whether the swing angle range truly falls within the preset swing angle range. If the swing angle range truly falls within the preset swing angle range, the blades are determined to be swinging normally; if the swing angle range does not truly fall within the preset swing angle range, the blades are determined to be swinging abnormally.
[0043] For example, if the preset swing angle range of the pendulum is [0°, 90°], and the swing angle range of the pendulum is [11°, 71°], then the swing angle range is truly included within the preset swing angle range, and the pendulum swing is determined to be normal. If the preset swing angle range of the pendulum is [15°, 45°], and the swing angle range of the pendulum is [20°, 50°], then the swing angle range is not truly included within the preset swing angle range, and the pendulum swing is determined to be abnormal. The preset swing angle range and its numerical value are not limited here; they can be set according to actual needs.
[0044] The preset swing angle range can be the angle range of the swing blade driven by the stepper motor that the user has preset. The preset swing angle range can also be the angle range that the control module automatically generates based on the user's multiple settings of the swing angle of the blade. There is no limitation here.
[0045] As an example, the air purifier may also include an operation panel and a memory. The operation panel is communicatively connected to the memory and interacts with the memory for data exchange. When the user needs to set the preset swing angle range of the blades, the user can input a first swing angle range on the operation panel. The operation panel receives and responds to the first swing angle range input by the user, determines the first swing angle range as the preset swing angle range of the blades, and saves the preset swing angle range to the memory.
[0046] As an example, the purifier may also include a memory. When the user needs to set the preset swing angle range of the blades, the user can send a second swing angle range to the control module through a terminal device that is connected to the control module. The control module receives and responds to the second swing angle range, determines the second swing angle range as the preset swing angle range of the blades, and stores the preset swing angle range in the memory.
[0047] The terminal device can connect to the control module via a network and interact with the control module through the network. The terminal device can be a mobile terminal device (e.g., mobile phone, PDA, tablet PC, laptop, smartwatch, smart bracelet, etc.) or a fixed terminal device (e.g., desktop computer, smart control panel, etc.), etc., and is not limited here.
[0048] The network can be any of the following: ZigBee network, Bluetooth (BT) network, Wireless Fidelity (Wi-Fi) network, Thread network, Long Range Radio (LoRa) network, Low-Power Wide-Area Network (LPWAN), infrared network, Narrow Band Internet of Things (NB-IoT), Controller Area Network (CAN), Digital Living Network Alliance (DLNA) network, Wide Area Network (WAN), Local Area Network (LAN), Metropolitan Area Network (MAN), or Wireless Personal Area Network (WPAN), etc., without limitation.
[0049] Step S130: When it is determined that the swing blade is abnormal based on the swing angle range, the swing angle range is adjusted.
[0050] In this embodiment, when the control module determines that the blade swing is abnormal based on the swing angle range, it can calculate the compensation angle of the stepper motor of the purifier according to the preset swing angle range and the swing angle range, and control the stepper motor to drive the blade to swing normally according to the compensation angle. This realizes that when the blade swing is abnormal based on the speed of the fan motor of the purifier, the swing angle range of the blade is automatically adjusted. There is no need for additional feedback adjustment and no need for the user to manually adjust the purifier, which reduces the cost of the purifier and improves the purification efficiency of the purifier.
[0051] Specifically, when the control module determines that the swing angle range is not truly included in the preset swing angle range, it determines that the swing blade swing is abnormal. Based on the preset swing angle range and the swing angle range, it calculates the angle difference between the minimum preset swing angle of the preset swing angle range and the minimum swing angle of the swing angle range, and uses this angle difference as the compensation angle of the stepper motor of the purifier. Based on the compensation angle, it controls the stepper motor to drive the swing blade to swing normally.
[0052] For example, if the preset swing angle range of the oscillating blade is [30°, 90°], and the swing angle range of the oscillating blade is [11°, 71°], then the swing angle range is not truly included in the preset swing angle range, and the oscillation of the oscillating blade is determined to be abnormal. The angle difference between the minimum preset swing angle of 30° and the minimum swing angle of 11° is calculated, and the angle difference of 19° is used as the compensation angle of the stepper motor of the purifier.
[0053] If the preset swing angle range of the oscillating blade is [15°, 45°], and the swing angle range of the oscillating blade is [16°, 46°], then the swing angle range is not truly included in the preset swing angle range. In this case, the oscillation of the oscillating blade is determined to be abnormal. The angle difference between the minimum preset swing angle of 15° and the minimum swing angle of 16° is calculated, and the angle difference is -1°. The angle difference of -1° is used as the compensation angle of the stepper motor of the purifier.
[0054] The solution provided in this embodiment obtains the rotational speed of the air purifier's fan motor, determines the swing angle range of the air purifier's blades based on the rotational speed, and adjusts the swing angle range when abnormal swing is detected based on the swing angle range. This achieves automatic adjustment of the swing angle range of the air purifier when abnormal swing is detected based on the rotational speed of the air purifier's fan motor, without the need for additional feedback adjustment or manual adjustment by the user. This reduces the cost of the air purifier while improving its purification efficiency.
[0055] Please see Figure 4 This illustrates a flowchart of a purifier louver control method according to another embodiment of this application. In a specific embodiment, the purifier louver control method can be applied to, for example... Figure 1The control module 120 of the air purifier 100 shown below will be used as an example to explain... Figure 4 The process shown is described in detail. The air purifier blade control method may include the following steps S210 to S260.
[0056] Step S210: Obtain the rotation speed of the air purifier's fan motor.
[0057] Step S220: Determine the swing angle range of the purifier's blades based on the rotation speed.
[0058] Step S230: When it is determined that the blade is oscillating abnormally according to the swing angle range, calculate the compensation angle of the stepper motor of the purifier according to the preset swing angle range and the swing angle range.
[0059] In this embodiment, steps S210, S220 and S230 can be referred to the corresponding steps in the previous embodiments, and will not be repeated here.
[0060] Step S240: Calculate the angle-speed slope of the blade based on the rotational speed, the preset swing angle range, and the swing angle range.
[0061] In this embodiment, when the control module determines that the blade oscillation is abnormal based on the oscillation angle range, it calculates the compensation angle of the purifier's stepper motor according to the preset oscillation angle range and the oscillation angle range itself. Then, it calculates the angular rotational speed slope of the blade based on the rotational speed, the preset oscillation angle range, and the oscillation angle range. The angular rotational speed slope is used to characterize the slope of the angular rotational speed curve corresponding to the rotational speed and the oscillation angle range.
[0062] In some implementations, the preset swing angle range may include a preset inflection point angle, which can be used to characterize the angle at which the slope of the angular rotational speed curve changes. When the control module determines that the blade swing is abnormal based on the swing angle range, it calculates the compensation angle of the purifier's stepper motor based on the preset swing angle range and the swing angle range itself. Then, it can determine whether the swing angle range includes the preset inflection point angle, and calculate the slope of the blade's angular rotational speed based on the determination result, which can reduce the calculation error of the blade's angular rotational speed slope.
[0063] Understandably, when the blade swings within the preset swing angle range, the fan motor speed changes less when the blade swings to the middle of the preset swing angle range. This causes the slope of the angle-speed curve of the blade to change in the middle angle range. Therefore, the angle at which the slope of the angle-speed curve of the blade changes can be set as the preset inflection point angle of the blade.
[0064] For example, if the preset swing angle of the blades is [0°, 90°], and the fan motor speed changes little when the blades swing to the range of [49°, 51°], and the slope of the blade angle-speed curve changes at 50°, then 50° can be set as the preset inflection point angle of the blades. The value of the preset inflection point angle of the blades is not limited here; it can be set according to actual needs.
[0065] As one implementation method, when the control module determines that the blade swing is abnormal based on the swing angle range, it calculates the compensation angle of the stepper motor of the purifier based on the preset swing angle range and the swing angle range. Then, it can determine whether the swing angle range includes the preset inflection point angle. When it is determined that the swing angle range includes the preset inflection point angle, the angle speed slope of the blade is calculated based on the rotational speed, the preset inflection point angle, the preset swing angle range, and the swing angle range.
[0066] Specifically, the rotational speed of the blade can include a first rotational speed and a second rotational speed, where the first rotational speed is less than the second rotational speed. The swing angle range of the blade can include a first swing angle and a second swing angle, where the first swing angle corresponds to the second rotational speed and the second swing angle corresponds to the first rotational speed, and the first swing angle is less than the second swing angle. The preset swing angle range can include a first preset swing angle and a second preset swing angle, where the first preset swing angle is less than the second preset swing angle.
[0067] When the control module determines that the swing angle range includes the preset inflection point angle, it means that the slope of the angle speed curve of the swing blade changes. The angle speed slope can include the first angle speed slope and the second angle speed slope. The first angle speed slope can be calculated according to Formula 3 based on the second speed, the preset inflection point speed corresponding to the preset inflection point angle, the preset inflection point angle, and the second swing angle.
[0068] Formula 3 is: k1 = (speed2 - speedmid) / (anglemid - angleact1);
[0069] Where k1 is the first angle rotational speed slope, speed2 is the second rotational speed, speedmid is the preset inflection point rotational speed, anglemid is the preset inflection point angle, and angleact1 is the first swing angle.
[0070] The control module can calculate the second angle speed slope according to Formula 4 based on the preset inflection point speed, the first speed, the first preset swing angle, the second preset swing angle, the preset inflection point angle, and the first swing angle.
[0071] Formula 4 is: k2 = (speedmid - speed1) / (angle2 + angleact1 - angle1 - anglemid);
[0072] Where k2 is the second angle rotational speed slope, speed1 is the first rotational speed, angle1 is the first preset swing angle, and angle2 is the second preset swing angle.
[0073] As one implementation method, when the control module determines that the blade swing is abnormal based on the swing angle range, it calculates the compensation angle of the stepper motor of the purifier based on the preset swing angle range and the swing angle range. Then, it can determine whether the swing angle range includes the preset inflection point angle. When it is determined that the swing angle range does not include the preset inflection point angle, the angle rotation speed slope of the blade is calculated based on the preset swing angle range and the swing angle range.
[0074] Specifically, when the control module determines that the swing angle range does not include the preset inflection point angle, it means that the slope of the angle speed curve of the swing blade has not changed. The angle speed slope can be the third angle speed slope. The third angle speed slope of the swing blade can be calculated according to Formula 5 based on the first speed, the second speed, the first preset swing angle, and the second preset swing angle.
[0075] Formula 5 is: k3 = (speed2 - speed1) / (angle2 - angle1);
[0076] Where k3 is the slope of the first angle rotational speed.
[0077] Step S250: Determine whether the angle rotation speed slope matches the preset slope.
[0078] In this embodiment, after the control module calculates the angle-speed slope of the blade based on the rotational speed, the preset swing angle range, and the swing angle range, it can determine whether the angle-speed slope matches the preset slope. The preset slope can be used to characterize the angle-speed curve slope when the blade can be corrected, which can improve the control accuracy of the purifier.
[0079] Specifically, after calculating the angular speed slope of the blade based on the rotational speed, the preset swing angle range, and the swing angle range, the control module can calculate the slope difference between the angular speed slope and the preset slope, and determine whether the angular speed slope matches the preset slope based on the preset slope range and the slope difference.
[0080] When the slope difference is within the preset slope range, it is determined that the angle speed slope matches the preset slope, indicating that the blade is oscillating normally; when the slope difference is not within the preset slope range, it is determined that the angle speed slope does not match the preset slope, indicating that the blade is oscillating abnormally.
[0081] In some implementations, the preset slope may include a first preset slope and a second preset slope, wherein the first preset slope may be less than the second preset slope. When the control module determines that the swing angle range includes a preset inflection point angle, it can calculate the first slope difference between the first angular rotational speed slope and the first preset slope, and calculate the second slope difference between the second angular rotational speed slope and the second preset slope. Based on the preset slope range, the first slope difference, and the second slope difference, it can determine whether the angular rotational speed slope matches the preset slope.
[0082] If the first slope difference is within the preset slope range and the second slope difference is within the preset slope range, then the angle rotation speed slope is determined to match the preset slope; if the first slope difference is not within the preset slope range, and / or the second slope difference is not within the preset slope range, then the angle rotation speed slope is determined to not match the preset slope.
[0083] In some implementations, the preset slope may also include a third preset slope. When the control module determines that the swing angle does not include the preset inflection point angle, it can calculate the third slope difference between the third angle rotational speed slope and the third preset slope, and determine whether the angle rotational speed slope matches the preset slope based on the preset slope range and the third slope difference.
[0084] If the third slope difference is within the preset slope range, then the angle speed slope is determined to match the preset slope; if the third slope difference is not within the preset slope range, then the angle speed slope is determined to not match the preset slope.
[0085] Step S260: When the determined angle speed slope matches the preset slope, the rotation angle of the stepper motor is compensated according to the compensation angle, so that the stepper motor drives the swing blade to swing normally.
[0086] In this embodiment, when the control module determines that the angle speed slope matches the preset slope, it can compensate the rotation angle of the stepper motor according to the compensation angle, so that the stepper motor drives the swing blade to swing normally. This realizes the compensation of the stepper motor of the purifier when the angle speed slope matches the preset slope, thereby improving the control accuracy of the purifier.
[0087] Specifically, when the control module determines that the angle-speed slope matches the preset slope, it can determine whether the compensation angle is included in the preset compensation angle range. If the compensation angle is not included in the preset compensation angle range, the stepper motor's rotation angle is compensated based on the compensation angle, ensuring the stepper motor drives the blades to oscillate normally. The preset compensation angle range characterizes the stepper motor's rotation error angle range. Compensating the stepper motor when the compensation angle is not included in the preset compensation angle range further improves the control accuracy of the purifier.
[0088] In some implementations, the rotation direction of the stepper motor may include a forward rotation direction (e.g., counterclockwise rotation direction) and a reverse rotation direction (e.g., clockwise rotation direction). When the control module determines that the compensation angle is not included in the preset compensation angle range, it can determine the magnitude of the maximum swing angle of the swing angle range and the maximum preset swing angle of the preset swing angle range. Based on the relationship between the maximum swing angle and the maximum preset swing angle and the compensation angle, the rotation angle of the stepper motor is compensated, further improving the control accuracy of the purifier.
[0089] When the maximum swing angle is determined to be greater than or equal to the maximum preset swing angle, the rotation angle of the stepper motor is compensated in the reverse direction according to the compensation angle; when the maximum swing angle is determined to be less than the maximum preset swing angle, the rotation angle of the stepper motor is compensated in the forward direction according to the compensation angle.
[0090] The solution provided in this embodiment obtains the rotational speed of the air purifier's fan motor and determines the swing angle range of the air purifier's blades based on the rotational speed. When the swing angle range indicates abnormal blade swing, the compensation angle of the air purifier's stepper motor is calculated based on the preset swing angle range and the swing angle range. The angle-speed slope of the air purifier is calculated based on the rotational speed, the preset swing angle range, and the swing angle range. It is then determined whether the angle-speed slope matches the preset slope. When the angle-speed slope matches the preset slope, the rotation angle of the stepper motor is compensated based on the compensation angle, so that the stepper motor drives the air purifier to swing normally. This achieves automatic adjustment of the swing angle range of the air purifier when abnormal blade swing is determined based on the rotational speed of the air purifier's fan motor. No additional feedback adjustment is required, and no manual adjustment of the air purifier by the user is needed, reducing the cost of the air purifier while improving its purification efficiency.
[0091] Furthermore, when the angle rotation speed slope is matched with the preset slope, the stepper motor of the purifier is compensated, which improves the control accuracy of the purifier.
[0092] In one application scenario, the preset inflection point angle is anglemid = 50°, the preset inflection point rotation speed is speedmid = 480 r / s, the preset slope range is ±0.2, and the preset compensation angle range is ±3°.
[0093] When the preset swing angle range of the blade is [30°, 90°], the first preset swing angle is angle1 = 30°, and the second preset swing angle is angle2 = 90°, then the preset swing angle interval of the blade is angle2 - angle1 = 60°. When the speed sensor collects the first speed as speed1 = 470 r / s and the second speed as speed2 = 537 r / s, the first swing angle corresponding to the second speed speed2 can be calculated according to Formula 1 as angleact1 = 50 - (speed2 - 475) / 1.6 = 11°. The sum of the preset swing angle interval and the first swing angle is calculated to be 71°, that is, the second swing angle is angleact2 = 71°. The swing angle range of the blade [11°, 71°] is not truly included in the preset swing angle range [30°, 90°], thus the blade swing is abnormal. Furthermore, the swing angle range of the blades includes the preset inflection point angle. According to Formula 3, the first angle speed slope k1 = (speed2 - speedmid) / (anglemid - angleact1) = 1.46. According to Formula 4, the second angle wind speed slope k2 = (speedmid - speed1) / (angle2 + angleact1 - angle1 - anglemid) = 0.32. Therefore, the angle speed slope matches the preset slope, and the compensation angle = angle1 - angleact1 = 19°. The compensation angle is not included in the preset compensation angle range, and the maximum preset swing angle (angle2) is greater than the maximum swing angle (angleact2). Therefore, the rotation angle of the stepper motor is positively compensated by 19°.
[0094] When the preset swing angle range of the blade is [15°, 45°], the first preset swing angle is angle1 = 15°, and the second preset swing angle is angle2 = 45°, then the preset swing angle interval of the blade is angle2 - angle1 = 30°. When the speed sensor collects the first speed as speed1 = 480 r / s and the second speed as speed2 = 530 r / s, the first swing angle corresponding to the second speed speed2 can be calculated according to Formula 1 as angleact1 = 50 - (speed2 - 475) / 1.6 = 16°. The sum of the preset swing angle interval and the first swing angle is calculated to be 46°, that is, the second swing angle is angleact2 = 46°. The swing angle range of the blade [16°, 46°] is not truly included in the preset swing angle range [15°, 45°], thus the blade swing is abnormal. Furthermore, the swing angle range of the blade does not include the preset inflection point angle. According to Formula 5, the slope of the third angle rotation speed is calculated as k3 = (speed2 - speed1) / (angle2 - angle1) = 1.66. Therefore, the slope of the angle rotation speed matches the preset slope. The compensation angle = angle1 - angleact1 = -1°. Since the compensation angle is included in the preset compensation angle range, no compensation is made for the rotation angle of the stepper motor.
[0095] When the preset swing angle range of the blade is [20°, 50°], the first preset swing angle is angle2 = 20°, and the second preset swing angle is angle1 = 50°, then the preset swing angle interval of the blade is angle2 - angle1 = 30°. When the speed sensor collects the first speed speed1 = 468 r / s and the second speed speed2 = 475 r / s, the first swing angle angleact1 corresponding to the second speed speed2 can be calculated according to Formula 1 as 50 - (speed2 - 475) / 1.6 = 50°. The sum of the preset swing angle interval and the first swing angle is calculated to be 80°, that is, the second swing angle is angleact2 = 80°. The swing angle range of the blade [50°, 80°] is not truly included in the preset swing angle range [20°, 50°], thus the blade swing is abnormal. Furthermore, the swing angle of the blade does not include the preset inflection point angle. According to Formula 5, the slope of the wind speed at the third angle is calculated as k3 = (speed2 - speed1) / (angle2 - angle1) = 0.23. Therefore, the slope of the angle rotation speed is matched with the preset slope. The compensation angle = angle1 - angleact1 = -30°. The compensation angle is not within the preset compensation angle range, and the maximum preset swing angle (angle2) is less than the maximum swing angle (angleact2). Therefore, the rotation angle of the stepper motor is compensated in the opposite direction by 30°.
[0096] Please see Figure 5 This illustrates a purifier blade control device 300 according to an embodiment of this application. The purifier blade control device 300 can be applied to, for example... Figure 1 The control module 120 of the air purifier 100 shown below will be used as an example to explain... Figure 5 The air purifier blade control device 300 shown will be described in detail. The air purifier blade control device 300 may include an acquisition module 310, an angle determination module 320 and an adjustment module 330.
[0097] The acquisition module 310 can be used to acquire the rotational speed of the fan motor of the purifier; the angle determination module 320 can be used to determine the swing angle range of the purifier blades based on the rotational speed; the adjustment module 330 can be used to adjust the swing angle range when the swing angle range is determined to be abnormal.
[0098] In some implementations, the adjustment module 330 may include a first calculation submodule and a control submodule.
[0099] The first calculation submodule can be used to calculate the compensation angle of the stepper motor of the purifier based on the preset swing angle range and the swing angle range when the swing blade swing is determined to be abnormal. The control submodule can be used to control the stepper motor to drive the swing blade to swing normally based on the compensation angle.
[0100] In some embodiments, the air purifier blade control device 300 may also include a calculation module and a matching determination module.
[0101] The calculation module can be used to control the stepper motor to drive the swing blade to swing normally before the submodule controls the stepper motor to swing according to the compensation angle. It calculates the angle speed slope of the swing blade according to the rotation speed, the preset swing angle range and the swing angle range. The angle speed slope is used to characterize the slope of the angle speed curve corresponding to the rotation speed and the swing angle range. The matching determination module can be used to determine whether the angle speed slope matches the preset slope.
[0102] In some implementations, the control submodule may include a compensation unit.
[0103] The compensation unit can be used to compensate the rotation angle of the stepper motor according to the compensation angle when the slope of the determined angle speed matches the preset slope, so that the stepper motor drives the swing blade to swing normally.
[0104] In some embodiments, the preset swing angle range includes a preset inflection point angle, which characterizes the angle at which the slope of the angular rotation speed curve changes. The purifier blade control device 300 may also include an inflection point determination module.
[0105] The inflection point determination module can be used to determine whether the swing angle range includes the preset inflection point angle before the calculation module calculates the angle and speed slope of the swing blade based on the rotational speed, the preset swing angle range, and the swing angle range.
[0106] In some implementations, the computing module may include a second computing submodule.
[0107] The second calculation submodule can be used to calculate the angle-speed slope of the blade based on the rotational speed, the preset inflection point angle, the preset swing angle range, and the swing angle range when the swing angle range is determined to include the preset inflection point angle.
[0108] In some implementations, the compensation unit may include a determining subunit and a compensation subunit.
[0109] The determination subunit can be used to determine whether the compensation angle is included in the preset compensation angle range when the determined angle speed slope matches the preset slope; the compensation subunit can be used to compensate the rotation angle of the stepper motor according to the compensation angle when the determined compensation angle is not included in the preset compensation angle range.
[0110] In some implementations, the compensation subunit may include a determining subunit, a first compensation subunit, and a second compensation subunit.
[0111] The determination sub-unit can be used to determine the magnitude of the maximum swing angle within the swing angle range and the maximum preset swing angle within the preset swing angle range when the determined compensation angle is not included in the preset compensation angle range; the first compensation sub-unit can be used to perform reverse compensation on the rotation angle of the stepper motor according to the compensation angle when the maximum swing angle is greater than or equal to the maximum preset swing angle; the second compensation sub-unit can be used to perform positive compensation on the rotation angle of the stepper motor according to the compensation angle when the maximum swing angle is less than the maximum preset swing angle.
[0112] In some implementations, the air purifier blade control device 300 may also include an anomaly determination module.
[0113] The anomaly determination module can be used to determine whether the pendulum is swinging abnormally before the adjustment module 330 adjusts the swing angle range, based on the preset swing angle range and the swing angle range.
[0114] In some implementations, the adjustment module 330 may also include an adjustment unit.
[0115] The adjustment unit can be used to determine abnormal swing of the blades and adjust the swing angle range when the swing angle range is not truly contained within the preset swing angle range.
[0116] The solution provided in this embodiment obtains the rotational speed of the air purifier's fan motor, determines the swing angle range of the air purifier's blades based on the rotational speed, and adjusts the swing angle range when abnormal swing is detected based on the swing angle range. This achieves automatic adjustment of the swing angle range of the air purifier when abnormal swing is detected based on the rotational speed of the air purifier's fan motor, without the need for additional feedback adjustment or manual adjustment by the user. This reduces the cost of the air purifier while improving its purification efficiency.
[0117] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.
[0118] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0119] Please see Figure 6 The diagram illustrates a functional block diagram of an air purifier 500 provided in one embodiment of the present application. The air purifier 500 may include one or more of the following components: a memory 510, a processor 520, and one or more applications, wherein the one or more applications may be stored in the memory 510 and configured to be executed by one or more processors 520, and the one or more applications are configured to perform the methods as described in the foregoing method embodiments.
[0120] Memory 510 may include random access memory (RAM) or read-only memory. Memory 510 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 510 may include a program storage area and a data storage area. The program storage area may store instructions for implementing the operating system, instructions for implementing at least one function (such as obtaining rotational speed, determining the swing angle range, determining swing abnormality, adjusting the swing angle range, calculating the compensation angle, controlling normal swing, calculating the angle-rotational speed slope, determining whether the angle-rotational speed slope matches a preset slope, determining whether the angle-rotational speed slope matches a preset slope, compensating for rotation angle, determining whether the swing angle range includes a preset inflection point angle, determining whether the swing angle range includes a preset inflection point angle, determining whether the compensation angle is included in a preset compensation angle range, determining whether the compensation angle is not included in a preset compensation angle range, determining the size of the maximum swing angle of the swing angle range and the maximum preset swing angle of the preset swing angle range, determining that the maximum swing angle is greater than or equal to the maximum preset swing angle, reverse compensation, determining that the maximum swing angle is less than the maximum preset swing angle, forward compensation, and determining whether the swing blade swings abnormally, etc.), and instructions for implementing the various method embodiments described below. The data storage area can also store data created by the purifier 500 during use (such as purifier, fan motor, speed, blades, swing angle range, abnormalities, preset swing angle range, stepper motor, compensation angle, angle-speed slope, angle-speed curve, preset slope, rotation angle, preset inflection point angle, preset compensation angle range, maximum swing angle, maximum preset swing angle, size, maximum swing angle greater than or equal to the maximum preset swing angle, and maximum swing angle less than the maximum preset swing angle), etc.
[0121] Processor 520 may include one or more processing cores. Processor 520 connects to various parts within the purifier 500 using various interfaces and lines, and performs various functions and processes data of the purifier 500 by running or executing instructions, programs, code sets, or instruction sets stored in memory 510, and by calling data stored in memory 510. Optionally, processor 520 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 520 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 520 and may be implemented separately through a communication chip.
[0122] Please refer to Figure 7 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 600 stores program code 610, which can be called by a processor to execute the methods described in the above method embodiments.
[0123] The computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 600 has storage space for program code 610 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 610 may be compressed, for example, in a suitable form.
[0124] The solution provided in this embodiment obtains the rotational speed of the air purifier's fan motor, determines the swing angle range of the air purifier's blades based on the rotational speed, and adjusts the swing angle range when abnormal swing is detected based on the swing angle range. This achieves automatic adjustment of the swing angle range of the air purifier when abnormal swing is detected based on the rotational speed of the air purifier's fan motor, without the need for additional feedback adjustment or manual adjustment by the user. This reduces the cost of the air purifier while improving its purification efficiency.
[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for controlling the oscillation of air purifier blades, characterized in that, include: The rotational speed of the air purifier's fan motor is obtained; the fan motor is used to drive the fan to draw ambient air from the air inlet into the air purifier, and the fan motor is also used to drive the fan to discharge the purified air to the air outlet. The swing angle range of the purifier's blades is determined based on the rotation speed. When the swing of the blade is determined to be abnormal based on the swing angle range, the swing angle range is adjusted.
2. The air purifier blade control method according to claim 1, characterized in that, When the swing of the blade is determined to be abnormal based on the swing angle range, adjusting the swing angle range includes: When the swing blade is determined to be abnormal based on the swing angle range, the compensation angle of the stepper motor of the purifier is calculated based on the preset swing angle range and the swing angle range. Based on the compensation angle, the stepper motor is controlled to drive the swing blade to swing normally.
3. The air purifier blade control method according to claim 2, characterized in that, Before controlling the stepper motor to drive the oscillating blade to swing normally according to the compensation angle, the method further includes: Based on the rotational speed, the preset swing angle range, and the swing angle range, the angular rotational speed slope of the blade is calculated. The angular rotational speed slope is used to characterize the slope of the angular rotational speed curve corresponding to the rotational speed and the swing angle range. Determine whether the slope of the angular rotational speed matches the preset slope; The stepper motor is controlled to drive the oscillating blade to swing normally according to the compensation angle, including: When the angle rotation slope is determined to match the preset slope, the rotation angle of the stepper motor is compensated according to the compensation angle, so that the stepper motor drives the blade to swing normally.
4. The air purifier blade control method according to claim 3, characterized in that, The preset swing angle range includes a preset inflection point angle, which is used to characterize the angle at which the slope of the angular rotational speed curve changes. Before calculating the angular rotational speed slope of the blade based on the rotational speed, the preset swing angle range, and the swing angle range, the method further includes: Determine whether the swing angle range includes the preset inflection point angle; The step of calculating the angular rotational speed slope of the blade based on the rotational speed, the preset swing angle range, and the swing angle range includes: When it is determined that the swing angle range includes the preset inflection point angle, the angular rotational speed slope of the swing blade is calculated based on the rotational speed, the preset inflection point angle, the preset swing angle range, and the swing angle range.
5. The air purifier blade control method according to claim 3, characterized in that, When it is determined that the angular rotational speed slope matches a preset slope, the stepper motor's rotation angle is compensated according to the compensation angle, including: When it is determined that the angle rotation slope matches the preset slope, it is determined whether the compensation angle is included in the preset compensation angle range; When it is determined that the compensation angle is not included in the preset compensation angle range, the rotation angle of the stepper motor is compensated according to the compensation angle.
6. The air purifier blade control method according to claim 5, characterized in that, When it is determined that the compensation angle is not included in the preset compensation angle range, the stepper motor rotation angle is compensated according to the compensation angle, including: When it is determined that the compensation angle is not included in the preset compensation angle range, the maximum swing angle of the swing angle range and the maximum preset swing angle of the preset swing angle range are determined. When it is determined that the maximum swing angle is greater than or equal to the maximum preset swing angle, the rotation angle of the stepper motor is compensated in the opposite direction according to the compensation angle. When the maximum swing angle is determined to be less than the maximum preset swing angle, the rotation angle of the stepper motor is positively compensated according to the compensation angle.
7. The air purifier blade control method according to any one of claims 1 to 6, characterized in that, Before adjusting the swing angle range when the swing blade is determined to be abnormal based on the swing angle range, the method further includes: Based on the preset swing angle range and the swing angle range, determine whether the swing blade is swinging abnormally; When the swing of the blade is determined to be abnormal based on the swing angle range, adjusting the swing angle range includes: When the swing angle range is not truly contained within the preset swing angle range, the swing blade is determined to be abnormal, and the swing angle range is adjusted.
8. A purifier blade control device, characterized in that, include: The acquisition module is used to acquire the rotational speed of the air purifier's fan motor; wherein, the fan motor is used to drive the fan to draw ambient air from the air inlet into the air purifier, and the fan motor is also used to drive the fan to discharge purified air to the air outlet. An angle determination module is used to determine the swing angle range of the purifier's blades based on the rotational speed; An adjustment module is used to adjust the swing angle range when the swing blade is determined to be abnormal based on the swing angle range.
9. A purifier, characterized in that, include: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by one or more processors, the one or more applications being configured to perform the air purifier louver control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code, which can be called by a processor to execute the air purifier louver control method as described in any one of claims 1 to 7.