An intelligent control method for an energy-saving household electric fan
By employing a multi-mode adaptive switching mechanism and a weighted fusion algorithm, combined with ambient temperature and human body sensing signals, the operating mode of a household electric fan is intelligently adjusted. This solves the problem of the traditional single control mode of fans, achieving a balance between user comfort and energy saving, and improving the adaptability and control precision of the fan.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGGUAN KUNXIN TECHNOLOGY CO LTD
- Filing Date
- 2025-12-11
- Publication Date
- 2026-05-19
AI Technical Summary
Existing household electric fans have a single control mode, which cannot adapt to complex usage scenarios. They lack the ability to sense changes in ambient temperature and adjust for changes in human activity intensity, resulting in frequent start-stop or ineffective operation, making it difficult to balance user comfort and energy efficiency.
Employing a multi-mode adaptive switching mechanism, combining ambient temperature and human body sensing signals, the fan speed is adjusted in real time through intelligent switching between dynamic temperature control mode, energy-saving mode and intermittent operation mode. A dual correction mechanism based on activity intensity and duration is introduced, and a weighted fusion algorithm is used to calculate the comprehensive target speed, optimizing energy consumption under low power consumption design.
It achieves intelligent matching of fan operation strategy with user behavior and environmental conditions, improving user comfort and energy saving in different scenarios, and enhancing the fan's personalized adaptability and the system's flexibility and reliability.
Smart Images

Figure CN121382673B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home control technology, and in particular to a smart control method for an energy-saving household electric fan. Background Technology
[0002] With the rapid development of smart home technology, traditional household electric fans have gradually evolved from single-speed control to intelligent and energy-saving directions. In the existing technology, most smart fan control solutions often have problems such as single control mode, inability to adapt to complex usage scenarios, and limited energy-saving effect, making it difficult to balance user experience and energy efficiency.
[0003] In existing energy-saving control strategies, most solutions focus on reducing operating power or shortening operating time, but lack a systematic perception and response mechanism for changes in ambient temperature, which can easily lead to frequent start-stop or ineffective operation. In addition, there are few existing technologies that use the intensity of human activity and the duration of continuous presence as control variables for dual correction mechanisms, which cannot achieve accurate matching between wind force and real-time user status, resulting in a clear contradiction between comfort and energy saving.
[0004] Traditional solutions are often relatively simple in signal processing and control decision-making, lacking a fully intelligent process from sensor data acquisition and signal processing to intelligent decision-making. This results in weak anti-interference capabilities and low control accuracy, making it difficult to meet users' dual needs for comfort and reliability. Summary of the Invention
[0005] The purpose of this invention is to provide an intelligent control method for an energy-saving household electric fan in order to solve the problems in the prior art.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: an intelligent control method for an energy-saving household electric fan, comprising the following steps:
[0007] S1, collect ambient temperature data, compare the ambient temperature data with multiple preset temperature ranges, and match the basic gear according to the comparison results;
[0008] S2 collects human body sensing signals and analyzes them to obtain the real-time activity intensity index and continuous presence time of the human body. Based on the analysis results, it switches the fan operation mode to dynamic temperature control mode or energy-saving mode.
[0009] S3, in dynamic temperature control mode, using the base gear as the initial value, further calculates and outputs a comprehensive target gear based on the real-time activity intensity index and the duration of continuous presence;
[0010] S4. In energy-saving mode, the system continues to run at the lowest basic speed and continuously monitors the rate of change of ambient temperature and the total time the system is in energy-saving mode. When the absolute value of the rate of change of ambient temperature is continuously lower than the preset threshold and greater than the second preset time, and the total time the system is in energy-saving mode is greater than the third preset time, the fan operation mode is switched to intermittent operation mode, that is, the system runs at the lowest speed for the fourth preset time and stops for the fifth preset time in a cycle.
[0011] S5, in intermittent operation mode, when the monitored rate of change of ambient temperature meets the conditions for switching back to energy-saving mode, it switches back to energy-saving mode. When a human body is detected returning, it immediately and unconditionally exits intermittent operation mode and switches to dynamic temperature control mode.
[0012] The beneficial effects of the technical solution provided by this invention include at least the following:
[0013] This invention achieves intelligent matching between fan operation strategy and user behavior and environmental conditions through a multi-mode adaptive switching mechanism. The system can automatically switch between dynamic temperature control mode, energy-saving mode and intermittent operation mode according to the intensity of human activity, duration of continuous presence and rate of change of ambient temperature. This not only improves the user's comfort experience in different scenarios, but also achieves significant energy-saving effect through a gradual degrading operation strategy, solving the problem of traditional fan control modes being single and unable to balance comfort and energy saving.
[0014] This invention introduces a dual correction mechanism for activity intensity and duration, and combines a weighted fusion algorithm to calculate the comprehensive target setting in real time. This allows for a more accurate response to the user's immediate state and long-term comfort needs, avoiding discomfort or frequent fluctuations in wind force caused by single signal control. This mechanism enhances the fan's personalized adaptability, making wind force adjustment more delicate and natural.
[0015] The low-power design and configurable parameterized control of this invention achieve deep optimization and high adaptability of system energy consumption. In energy-saving and intermittent modes, the system automatically reduces the sensor sampling frequency and adopts a timer triggering mechanism, which greatly reduces standby and running power consumption. At the same time, all thresholds, durations and mapping tables support user-defined configuration, enabling the fan to adapt to different climates, habits and usage scenarios, enhancing the product's flexibility and market competitiveness.
[0016] This invention constructs a complete control system through a full-link intelligent processing flow, from sensor data acquisition, filtering, feature extraction to multi-dimensional decision output. This not only ensures the real-time performance and reliability of the control, but also provides a structured foundation for subsequent functional expansion and algorithm optimization, demonstrating strong technical foresight and scalability. Attached Figure Description
[0017] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart of a method provided in an embodiment of the present invention. Detailed Implementation
[0019] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of an intelligent control method for an energy-saving household electric fan proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0021] The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.
[0022] The following description, in conjunction with the accompanying drawings, details the specific scheme of the intelligent control method for an energy-saving household electric fan provided by the present invention.
[0023] Please see Figure 1 The diagram illustrates a flowchart of an intelligent control method for an energy-saving household electric fan according to an embodiment of the present invention. The method includes the following steps:
[0024] S1, collect ambient temperature data, compare the ambient temperature data with multiple preset temperature ranges, and match the basic gear according to the comparison results;
[0025] S2 collects human body sensing signals and analyzes them to obtain the real-time activity intensity index and continuous presence time of the human body. Based on the analysis results, it switches the fan operation mode to dynamic temperature control mode or energy-saving mode.
[0026] S3, in dynamic temperature control mode, uses the base gear as the initial value, and further calculates and outputs a comprehensive target gear based on the real-time activity intensity index and the duration of continuous presence;
[0027] S4. In energy-saving mode, the system continues to run at the lowest basic speed and continuously monitors the rate of change of ambient temperature and the total time the system is in energy-saving mode. When the absolute value of the rate of change of ambient temperature is continuously lower than the preset threshold and greater than the second preset time, and the total time the system is in energy-saving mode is greater than the third preset time, the fan operation mode is switched to intermittent operation mode, that is, it runs at the lowest speed for the fourth preset time and stops for the fifth preset time in a cycle.
[0028] S5, in intermittent operation mode, when the monitored rate of change of ambient temperature meets the conditions for switching back to energy-saving mode, it switches back to energy-saving mode. When a human body is detected returning, it immediately and unconditionally exits intermittent operation mode and switches to dynamic temperature control mode.
[0029] In one embodiment of the present invention, the steps of collecting ambient temperature data, comparing the ambient temperature data with multiple preset temperature ranges, and matching a base setting based on the comparison results include:
[0030] Initialize the built-in ambient temperature sensor, establish a periodic data acquisition sequence, the ambient temperature sensor acquires data at the first time interval, and the acquired ambient temperature data is filtered.
[0031] The system calls a preset gear mapping table from the built-in storage module. The gear mapping table defines a one-to-one correspondence between multiple consecutive non-overlapping temperature ranges and multiple basic gears.
[0032] Read the processed ambient temperature data and compare it with the lower and upper threshold values of each temperature range in the gear mapping table to determine the temperature range to which the ambient temperature data belongs, and determine the base gear that uniquely corresponds to the temperature range. If the current ambient temperature data is lower than the lower limit of the lowest temperature range, the lowest base gear is matched; if it is higher than the upper limit of the highest range, the highest base gear is matched.
[0033] It should be noted that the built-in ambient temperature sensor is usually a digital or analog temperature sensor, integrated into the fan control board, to sense the air temperature of the environment in which the fan is located in real time and accurately, and transmit the analog or digital temperature signal to the fan main control unit. To ensure data reliability, the sensor is usually placed in the ventilation area of the fan casing or at an independent probe position to avoid interference from internal heat sources such as motor heating, so as to truly reflect the comfort requirements of the user's environment.
[0034] Periodic data acquisition timing refers to the system triggering the temperature sensor to sample the ambient temperature regularly at preset time intervals (such as once per second or once every 5 seconds). By establishing a stable timing mechanism, the system can continuously acquire temperature change trends, providing a continuous and orderly data stream for subsequent temperature range comparison and gear decision-making, while avoiding additional processor load or energy consumption caused by high-frequency sampling.
[0035] The preset gear mapping table is a configuration table stored in the system's non-volatile memory (such as EEPROM or Flash) to define the correspondence between ambient temperature and the fan's basic operating gear. This table is indexed by multiple consecutive and non-overlapping temperature ranges, with each range mapping to a specific basic gear. A specific example of a gear mapping table is given below, as shown in Table 1:
[0036] Table 1: A preset gear mapping table
[0037]
[0038] The gear mapping table can be customized according to user habits or regional climate to achieve temperature adaptive adjustment. The system quickly matches the current temperature range by looking up the table to determine the basic gear, thus improving the real-time performance and consistency of gear decision-making.
[0039] In one embodiment of the present invention, the steps of collecting human body sensing signals, analyzing them to obtain the real-time activity intensity index and duration of human presence, and switching the fan operating mode to dynamic temperature control mode or energy-saving mode based on the analysis results include:
[0040] Initialize the infrared pyroelectric human body sensor, establish a periodic data acquisition sequence, and the infrared pyroelectric human body sensor performs periodic signal scanning at a second time interval to obtain human body sensing signals.
[0041] By analyzing human body sensor signals, the real-time activity intensity index of the human body can be obtained;
[0042] The real-time activity intensity index is compared with a preset effective activity judgment threshold. If the index is higher than or equal to the threshold, it is judged as "effective activity state". If the index is lower than the threshold, it is judged as "ineffective activity state".
[0043] When the system is determined to be in "valid activity state", it resets and pauses the first timer and switches the fan operation mode to dynamic temperature control mode.
[0044] When the system determines that the activity is in an "ineffective state", it starts the first timer to accumulate the time and continuously monitors the accumulated time of the first timer. When the accumulated time exceeds the first preset time, the system determines that the human body is in a continuous ineffective state, triggers the mode downgrade command, and switches the fan operation mode to energy saving mode.
[0045] It should be noted that the infrared pyroelectric human body sensor is a passive sensing element based on the infrared thermal radiation of the human body. Its core component is a pyroelectric infrared probe. When a human body moves within its detection range, the infrared radiation emitted by the human body at a specific wavelength will cause a temperature change in the sensitive element of the probe, which is then converted into an electrical signal output. This sensor has the characteristics of being non-contact, low power consumption, simple structure, and low cost, and is widely used in applications such as human body detection. In this invention, the sensor is integrated into the fan housing or base to determine whether the user is present and to assess the intensity of their activity. It is the basis for realizing human body perception interaction and intelligent mode switching.
[0046] Periodic data acquisition timing refers to the time arrangement for the system to periodically scan and read the output signal of the infrared pyroelectric sensor. This timing is triggered by the task scheduler of the main control unit with a second time interval (e.g., 0.5 seconds or 1 second). In each acquisition cycle, the system wakes up and drives the sensor to complete a signal scan to obtain the raw human body sensing signal at the current moment. By establishing this fixed low duty cycle periodic acquisition timing, the power consumption of the sensor and processor can be effectively reduced while monitoring the human activity status in real time, thus achieving a balance between response performance and energy saving benefits.
[0047] The first timer is used to quantify the duration of a person's stillness or inactivity. When the accumulated duration exceeds the first preset duration (e.g., 10 minutes), the system will determine that the person is in an ineffective state, thereby triggering the intelligent switching of the fan's operating mode from dynamic temperature control mode to energy-saving mode.
[0048] Switching fan operating modes refers to the control process in which the system dynamically adjusts the fan operating strategy based on the analysis results of the human body's presence and activity intensity. This invention mainly defines two core operating modes: dynamic temperature control mode and energy-saving mode, realizing intelligent linkage and automatic adaptation between the fan operating strategy and the actual user needs of the human body.
[0049] In one embodiment of the present invention, the step of analyzing human body sensing signals to obtain a real-time activity intensity index of the human body includes:
[0050] The human body sensing signal is filtered, and the filtered human body sensing signal is envelope detected to extract the contour of its signal amplitude change.
[0051] The extracted signal amplitude change profile is segmented into time windows, and the root mean square value of the signal amplitude within each time window is calculated as the instantaneous activity intensity of that time window.
[0052] The real-time activity intensity index of the human body is obtained by weighted averaging of the instantaneous activity intensity of all time windows within the collection period.
[0053] It should be noted that, because the output signal of an infrared pyroelectric sensor is susceptible to environmental electromagnetic interference, background temperature fluctuations, and noise from the circuit itself, the original signal may contain high-frequency glitches or low-frequency drift. Digital filtering algorithms, such as low-pass filters (e.g., Butterworth or Kalman filters), are typically used to smooth the signal and remove high-frequency noise. Alternatively, band-pass filters can be combined to retain specific frequency bands (e.g., 0.1Hz-10Hz) that reflect human movement. The signal-to-noise ratio of the filtered signal is improved, thus more reliably reflecting the true state of human activity and significantly enhancing the accuracy and robustness of subsequent analysis.
[0054] Envelope detection is a signal processing technique used to extract the envelope of an amplitude-modulated signal, i.e., the contour of the signal amplitude change over time. In this invention, the amplitude change of the filtered human body induction signal directly corresponds to the intensity and frequency of human activity. Through envelope detection (commonly using Hilbert transform or full-wave rectification plus low-pass filtering), the high-frequency carrier component in the original signal can be removed, converting it into a smooth curve that reflects the overall trend of signal energy or amplitude, thus intuitively depicting the intensity change process of human activity and providing clear and stable time-domain characteristics for subsequent quantitative analysis of activity intensity.
[0055] Time window segmentation refers to dividing a continuous signal envelope into a series of short time periods of fixed or variable length on the time axis. The duration of each time window can be set according to actual application requirements and activity characteristics (such as 2 seconds or 5 seconds). By segmenting the continuous dynamic signal through time windows, independent feature extraction and statistical analysis can be performed on each local time period, capturing the instantaneous characteristics and local patterns of human activity more precisely, and providing a structured data foundation for calculating the instantaneous activity intensity within each time window.
[0056] Weighted averaging is a common statistical method used to integrate multiple data points to obtain a comprehensive representative value. In this invention, the instantaneous activity intensity calculated from all time windows within a collection period is weighted and averaged to obtain the real-time activity intensity index of the human body within that period. The weighting can be set based on various strategies, such as: giving higher weight to recent time windows to emphasize the latest trend of activity; or allocating weights according to the signal-to-noise ratio of each time window to improve the robustness of the results. Through weighted averaging, the system can comprehensively consider the changes in activity intensity throughout the entire collection period and output a more stable and representative index value that better reflects the overall activity level.
[0057] As one embodiment of the present invention, in the dynamic temperature control mode, the step of further calculating and outputting a comprehensive target setting based on the real-time activity intensity index and the duration of continuous presence, using the base setting as the initial value, includes:
[0058] Based on the preset activity intensity-gear correction mapping table, query the first gear correction value corresponding to the current real-time activity intensity index;
[0059] Based on the preset presence duration-gear correction mapping table, query the second gear correction value corresponding to the current continuous presence duration;
[0060] The first gear correction value and the second gear correction value are weighted and combined to obtain a comprehensive gear correction value;
[0061] The base gear and the combined gear correction value are superimposed to calculate the combined target gear, which is then output to control the fan operation.
[0062] It should be noted that a specific example of a preset activity intensity-gear correction mapping table is given, as shown in Table 2:
[0063] Table 2: Activity Intensity-Gear Correction Mapping Table
[0064]
[0065] A specific example of a preset presence duration-gear correction mapping table is given in Table 3:
[0066] Table 3: On-site Duration - Gear Correction Mapping Table
[0067]
[0068] The general formula for generating the combined gear correction value by combining the first gear correction value and the second gear correction value according to a preset weighting coefficient is as follows:
[0069] Combined gear adjustment value = ×Second gear correction value;
[0070] In the formula, and These are the weighting coefficients for activity intensity and duration of presence, respectively, and satisfy the following conditions: + =1;
[0071] The weighting coefficients can be set according to the focus of the control strategy. For example, if the emphasis is on rapid response to the user's immediate actions, the weight of the activity intensity can be increased (e.g., ...). =0.7); if more attention is paid to long-term user comfort and energy saving, the weight of on-site time can be increased (e.g., =0.6), this weighted mechanism avoids the frequent fluctuations or discomfort that may be caused by single-dimensional decision-making, making the final wind speed adjustment more holistic and adaptable.
[0072] The system converts the calculated final gear command into a specific hardware drive signal to achieve precise control of the fan motor speed. This process is usually completed through the pulse width modulation output port (PWM) or digital-to-analog converter module of the main control unit. The comprehensive target gear is transmitted to the motor drive circuit in digital form (such as PWM duty cycle percentage). For example, if there are 5 basic gears, the comprehensive gear correction value is superimposed to a new PWM duty cycle percentage as the comprehensive target gear, which is output to the corresponding PWM waveform to drive the motor, thereby obtaining the desired wind speed and providing users with a dynamically adapted air supply experience.
[0073] In one embodiment of the present invention, in energy-saving mode, the system continuously operates at the lowest basic speed and continuously monitors the rate of change of ambient temperature and the total duration of the system in energy-saving mode. When the absolute value of the rate of change of ambient temperature is continuously lower than a preset temperature change rate threshold but greater than a second preset duration, and the total duration of the system in energy-saving mode is greater than a third preset duration, the fan operation mode is switched to intermittent operation mode, i.e., the step of running at the lowest speed for a fourth preset duration and stopping the cycle operation for a fifth preset duration includes:
[0074] Since entering energy-saving mode, the system continuously collects and records ambient temperature data at the third time interval, forming a time-temperature data sequence;
[0075] Calculate the current rate of change of ambient temperature based on the ambient temperature data of the latest N consecutive time points in the time-temperature data series;
[0076] The system compares the absolute value of the calculated current ambient temperature change rate with the preset temperature change rate threshold. If the absolute value is higher than or equal to the preset temperature change rate threshold, the system resets and pauses the second timer. If the absolute value is lower than the preset temperature change rate threshold, the system starts the second timer to accumulate the time.
[0077] The system continuously monitors the accumulated duration of the second timer. When the accumulated duration exceeds the second preset duration and the total duration of the system in energy-saving mode exceeds the third preset duration, the system determines that the current ambient temperature has entered a stable state and switches the fan operation mode to intermittent operation mode. The intermittent operation mode controls the fan to work in a cycle of "running for the fourth preset duration and stopping for the fifth preset duration" at the lowest speed.
[0078] It should be noted that the third time interval is the periodic sampling period for the ambient temperature in the energy-saving mode. This interval is usually set to be longer than the sampling interval in the non-energy-saving mode (e.g., 30 seconds or 1 minute). The purpose is to ensure that the ambient temperature change trend can be effectively monitored while further reducing the sensor wake-up frequency and processor power consumption, which is in line with the low power consumption design principle of the energy-saving mode.
[0079] Time-temperature data sequence refers to a series of timestamped ambient temperature data points that are continuously collected and stored at the third time interval in the energy-saving mode. This sequence forms an ordered data set, which is used to track the temperature change trajectory over time. It is the data basis for calculating the rate of change of ambient temperature and judging temperature stability. It is usually stored in memory in the form of a queue or circular buffer.
[0080] The second timer is used to quantify the duration of temperature stabilization, that is, the duration of the cumulative rate of change of ambient temperature remaining below the threshold. This duration provides a key time measurement basis for determining whether the conditions for switching to intermittent operation mode are met.
[0081] The second preset duration refers to the shortest duration (e.g., 30 minutes) during which the rate of change in ambient temperature must remain below the threshold to determine that the temperature has entered a stable phase; the third preset duration refers to the lower limit of the total duration (e.g., 1 hour) during which the energy-saving mode is in operation to ensure that the energy-saving mode has been running long enough to avoid premature switching.
[0082] The fourth preset duration is the duration for each fan to run at the lowest speed in intermittent mode (e.g., 10 minutes); the fifth preset duration is the duration for each fan to stop in intermittent mode (e.g., 20 minutes). The two together constitute the work cycle to achieve deep energy saving.
[0083] As one embodiment of the present invention, the latest data in the time-temperature data sequence is used as the basis. The steps for calculating the rate of change of current ambient temperature from ambient temperature data at consecutive time points include:
[0084] Extract the latest data in chronological order from the time-temperature data series. Continuous ambient temperature data points ,in , For the temperature of this data point, This refers to the time when the data point was collected.
[0085] The rate of change of the current ambient temperature is calculated using a first-order difference or linear fitting algorithm, including:
[0086] If a first-order difference algorithm is used, the average temperature difference between adjacent time points can be calculated using the following formula. ,Pick As the rate of change of current ambient temperature:
[0087] ;
[0088] If a linear fitting algorithm is used, then for Data points Linear regression was performed using the least squares method to obtain the linear equation. =a×t+b, where b is the intercept value, a is the slope value, and a is taken as the rate of change of the current ambient temperature.
[0089] In one embodiment of the present invention, when the rate of change of ambient temperature is detected to meet the conditions for switching back to energy-saving mode in intermittent operation mode, the step of switching back to energy-saving mode includes:
[0090] In intermittent operation mode, the system continuously monitors the rate of change of ambient temperature. When the absolute value of the rate of change of ambient temperature is determined to be higher than the preset temperature change rate threshold, an event is triggered once.
[0091] Within the sixth preset time period after the first event is triggered, determine whether the cumulative number of times the event has been triggered has reached the preset number;
[0092] If the cumulative count reaches the preset number, the switching condition is met, and the fan operation mode is switched back to energy-saving mode. If the cumulative count does not reach the preset number, the switching is not performed, and the cumulative count is cleared.
[0093] It should be noted that the sixth preset duration is an observation time window used by the system in intermittent operation mode to determine whether the environment has undergone continuous changes. It defines the effective time range (e.g., 10 minutes) from the first time the rate of change of the ambient temperature exceeds the threshold, during which the system allows subsequent triggering events to continue to accumulate. This is intended to avoid accidental mode switching due to a single, short-term temperature disturbance.
[0094] The preset number of times refers to the minimum cumulative number of times the trigger event of the ambient temperature change rate exceeding the threshold needs to be reached within the sixth preset duration observation window. This number of times, together with the sixth preset duration, constitutes a dual judgment condition for the frequent occurrence of change signals within a specific time period, further improving the robustness and anti-interference capability of mode switching decisions. Multiple exceedances of the threshold in a short period of time indicate that the ambient temperature is undergoing a systematic and trend-like change. At this time, the system should exit the intermittent mode and revert to the energy-saving mode of continuous monitoring to cope with the new environmental conditions.
[0095] The "clear cumulative count" operation refers to the system resetting the cumulative counter of events to zero after the sixth preset observation window ends, or when the system decides not to switch modes due to unmet conditions. This is used to ensure the independence and accuracy of each mode switch judgment and to prevent the erroneous accumulation of historical unrelated events from interfering with the current or next judgment.
[0096] As one embodiment of the present invention, the step of immediately and unconditionally exiting the intermittent operation mode and switching to the dynamic temperature control mode when a human body is detected to return in the intermittent operation mode includes:
[0097] During any phase of the intermittent operation mode, the system continuously monitors human body sensing signals and calculates the real-time activity intensity index.
[0098] When the real-time activity intensity index exceeds the preset effective activity judgment threshold, the current intermittent operation mode is immediately interrupted and exited, and the system switches to dynamic temperature control mode.
[0099] It should be noted that any stage of the intermittent operation mode refers to any point in time during the entire cycle of the system's operation-stop periodic work, from the start of the fan running at the lowest speed (i.e., the fourth preset duration) to the end of the stop cycle (i.e., the fifth preset duration). This covers the entire process of fan operation within the intermittent operation mode, as well as the entire time during the "stop period" when the fan is silent but the system is still working in the background. During this period, regardless of whether the fan is in the air supply state or the stop state, the system's monitoring and analysis function for human body sensing signals must always remain active. This design ensures the highest priority of user perception and system response: once a valid human body activity signal is detected, the system can immediately interrupt any current cycle stage, immediately exit the intermittent mode and restore the dynamic temperature control mode that serves the user, thereby ensuring seamless user experience and real-time control.
[0100] The above-described 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, and should all be included within the protection scope of this application.
Claims
1. A smart control method for an energy-saving household electric fan, characterized in that, The method includes: S1, collect ambient temperature data, compare the ambient temperature data with multiple preset temperature ranges, and match the basic gear according to the comparison results; S2 collects human body sensing signals and analyzes them to obtain the real-time activity intensity index and continuous presence time of the human body. Based on the analysis results, it switches the fan operation mode to dynamic temperature control mode or energy-saving mode. S3, in dynamic temperature control mode, using the base gear as the initial value, further calculates and outputs a comprehensive target gear based on the real-time activity intensity index and the duration of continuous presence; S4. In energy-saving mode, the system continues to run at the lowest basic speed and continuously monitors the rate of change of ambient temperature and the total time the system is in energy-saving mode. When the absolute value of the rate of change of ambient temperature is continuously lower than the preset threshold and greater than the second preset time, and the total time the system is in energy-saving mode is greater than the third preset time, the fan operation mode is switched to intermittent operation mode, that is, the system runs at the lowest speed for the fourth preset time and stops for the fifth preset time in a cycle. S5, in intermittent operation mode, when the ambient temperature change rate is detected to meet the conditions for switching back to energy-saving mode, it switches back to energy-saving mode. When a human body is detected to return, it immediately and unconditionally exits intermittent operation mode and switches to dynamic temperature control mode. The steps involved in collecting human body sensor signals, analyzing the real-time activity intensity index and duration of human presence, and switching the fan operating mode to dynamic temperature control mode or energy-saving mode based on the analysis results include: The infrared pyroelectric human body sensor is initialized, and a periodic data acquisition sequence is established. The infrared pyroelectric human body sensor performs periodic signal scanning at a second time interval to obtain human body sensing signals. The human body sensing signal is analyzed to obtain the real-time activity intensity index of the human body; The real-time activity intensity index is compared with a preset effective activity determination threshold. If the index is higher than or equal to the threshold, it is determined to be an "effective activity state". If the index is lower than the threshold, it is determined to be an "ineffective activity state". When the system is determined to be in "valid activity state", it resets and pauses the first timer and switches the fan operation mode to dynamic temperature control mode. When the system determines that the activity is in an "ineffective state", it starts the first timer to accumulate the time and continuously monitors the accumulated time of the first timer. When the accumulated time exceeds the first preset time, the system determines that the human body is in a continuous ineffective state, triggers the mode downgrade command, and switches the fan operation mode to energy saving mode. In energy-saving mode, the system continuously operates at the lowest base setting and continuously monitors the rate of change of ambient temperature and the total duration of the system in energy-saving mode. When the absolute value of the rate of change of ambient temperature is continuously lower than a preset temperature change rate threshold but greater than a second preset duration, and the total duration of the system in energy-saving mode is greater than a third preset duration, the fan operation mode is switched to intermittent operation mode, i.e., the cycle of running at the lowest setting for a fourth preset duration and stopping for a fifth preset duration includes: Since entering the energy-saving mode, the system continuously collects and records ambient temperature data at a third time interval, forming a time-temperature data sequence; Calculate the current rate of change of ambient temperature based on the ambient temperature data of the latest N consecutive time points in the time-temperature data sequence; The system compares the absolute value of the calculated current ambient temperature change rate with a preset temperature change rate threshold. If the absolute value is higher than or equal to the preset temperature change rate threshold, the system resets and pauses the second timer. If the absolute value is lower than the preset temperature change rate threshold, the system starts the second timer to accumulate the time. The system continuously monitors the accumulated duration of the second timer. When the accumulated duration exceeds the second preset duration and the total duration of the system in energy-saving mode exceeds the third preset duration, the system determines that the current ambient temperature has entered a stable state and switches the fan operation mode to intermittent operation mode. The intermittent operation mode controls the fan to work in a cycle of "running for a fourth preset duration and stopping for a fifth preset duration" at the lowest speed.
2. The intelligent control method for an energy-saving household electric fan according to claim 1, characterized in that: The steps of collecting ambient temperature data, comparing the ambient temperature data with multiple preset temperature ranges, and matching a base setting based on the comparison results include: The built-in ambient temperature sensor is initialized, and a periodic data acquisition sequence is established. The ambient temperature sensor acquires data at a first time interval, and the acquired ambient temperature data is filtered. The system calls a preset gear mapping table from the built-in storage module. The gear mapping table defines a one-to-one correspondence between multiple consecutive non-overlapping temperature ranges and multiple basic gears. Read the processed ambient temperature data and compare it sequentially with the lower and upper threshold values of each temperature range in the gear mapping table to determine the temperature range to which the ambient temperature data belongs, and determine the base gear that uniquely corresponds to the temperature range. If the current ambient temperature data is lower than the lower limit of the lowest temperature range, the lowest base gear is matched; if it is higher than the upper limit of the highest range, the highest base gear is matched.
3. The intelligent control method for an energy-saving household electric fan according to claim 1, characterized in that: The step of analyzing the human body sensor signal to obtain the real-time activity intensity index of the human body includes: The human body sensing signal is filtered, and the filtered human body sensing signal is envelope detected to extract its signal amplitude change profile. The extracted signal amplitude change profile is segmented into time windows, and the root mean square value of the signal amplitude within each time window is calculated as the instantaneous activity intensity of that time window. The real-time activity intensity index of the human body is obtained by weighted averaging of the instantaneous activity intensity of all time windows within the collection period.
4. The intelligent control method for an energy-saving household electric fan according to claim 1, characterized in that: In dynamic temperature control mode, the steps of calculating and outputting a comprehensive target temperature level based on the base setting as the initial value, according to the real-time activity intensity index and the duration of continuous presence, include: According to the preset activity intensity-gear correction mapping table, query the first gear correction value corresponding to the current real-time activity intensity index; According to the preset presence duration-gear correction mapping table, query the second gear correction value corresponding to the current continuous presence duration; The first gear correction value and the second gear correction value are weighted and fused to obtain a comprehensive gear correction value; The base gear position and the comprehensive gear position correction value are superimposed to calculate the comprehensive target gear position, and the comprehensive target gear position is output to control the operation of the fan.
5. The intelligent control method for an energy-saving household electric fan according to claim 1, characterized in that: Among them, the latest in the time-temperature data sequence The steps for calculating the rate of change of current ambient temperature from ambient temperature data at consecutive time points include: Extract the latest data from the time-temperature data sequence, arranged in chronological order. Continuous ambient temperature data points ,in , For the temperature of this data point, This refers to the time when the data point was collected. The rate of change of the current ambient temperature is calculated using a first-order difference or linear fitting algorithm, including: If a first-order difference algorithm is used, the average temperature difference between adjacent time points can be calculated using the following formula. ,Pick As the rate of change of current ambient temperature: ; If a linear fitting algorithm is used, then for the above... Data points Linear regression was performed using the least squares method to obtain the linear equation. =a×t+b, where b is the intercept value, a is the slope value, and a is taken as the rate of change of the current ambient temperature.
6. The intelligent control method for an energy-saving household electric fan according to claim 1, characterized in that: In intermittent operation mode, when the monitored rate of change in ambient temperature meets the conditions for switching back to energy-saving mode, the steps for switching back to energy-saving mode include: In intermittent operation mode, the system continuously monitors the rate of change of ambient temperature. When it is determined that the absolute value of the rate of change of ambient temperature is higher than the preset temperature change rate threshold, an event is triggered once. Within a sixth preset time period after the first triggered event, determine whether the cumulative number of triggered events has reached a preset number; If the cumulative number of times reaches the preset number, the switching condition is determined to be met, and the fan operation mode is switched back to energy-saving mode. If the cumulative number of times does not reach the preset number, the switching is not performed, and the cumulative number of times is cleared.
7. The intelligent control method for an energy-saving household electric fan according to claim 1, characterized in that: In the intermittent operation mode, when a human body is detected to return, the steps to immediately and unconditionally exit the intermittent operation mode and switch to the dynamic temperature control mode include: During any phase of the intermittent operation mode, the system continuously monitors human body sensing signals and calculates the real-time activity intensity index. When the real-time activity intensity index exceeds the preset effective activity judgment threshold, the current intermittent operation mode is immediately interrupted and exited, and the system switches to dynamic temperature control mode.