A control method and device of a fan, the fan and a medium
Patent Information
- Application Number
- CN202510931993.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2045-07-07
AI Technical Summary
[0002]在现有风扇控制技术中,风扇通常采用固定模式进行送风,其风速、风向等参数较为单一且固定,无法模拟自然风的多变特性
[0037]本发明实施例包括以下优点:通过在除送风模块外的工作模块中随机选择目标工作模块,在送风模块和目标工作模块的工作参数对应的多个可选参数值中随机选择目标参数值,以模拟输出具有多变特性的自然风,使风扇的风速和风向不再单一固定,从而显著提升用户的舒适度和体验感,同时利用多个工作模块协同工作,增强了风扇的功能灵活性,能够满足不同环境和用户需求的多样化调节。
Smart Images

Figure CN120906830B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fan technology, and in particular to a fan control method, device, fan, and medium. Background Technology
[0002] In existing fan control technology, fans typically use a fixed mode for airflow, with relatively simple and fixed parameters such as wind speed and direction, failing to simulate the varied characteristics of natural wind. This single airflow mode can easily cause discomfort for users during prolonged use; for example, prolonged exposure to a fixed direction and speed of air may lead to dry skin and general discomfort. Furthermore, traditional fans have limited functionality and cannot meet the diverse air conditioning needs of users, such as personalized adjustments to parameters like wind speed and direction under different environmental conditions. Summary of the Invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a fan control method, apparatus, fan, and medium that overcomes or at least partially solves the above problems.
[0004] To address the aforementioned problems, this invention discloses a fan control method. The fan includes multiple working modules, including an air delivery module. The method includes:
[0005] Randomly select a target working module from the working modules excluding the air supply module;
[0006] Determine multiple selectable parameter values corresponding to the operating parameters of the air supply module and the target working module;
[0007] For the operating parameters of the air supply module and the target working module, a target parameter value is randomly selected from a plurality of corresponding optional parameter values;
[0008] The air supply module and the target working module are controlled to operate according to the target parameter values corresponding to the working parameters, so as to simulate the output of natural wind by a fan.
[0009] Optionally, the step of randomly selecting a target parameter value from a plurality of optional parameter values for the operating parameters of the air supply module and the target working module includes:
[0010] For the multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, respectively determine the corresponding weights;
[0011] For each of the aforementioned working parameters, the selection probability of the multiple optional parameter values is determined based on the weights of the corresponding multiple optional parameter values;
[0012] Based on the selection probability of the plurality of optional parameter values, a target parameter value is randomly selected from the plurality of optional parameter values.
[0013] Optionally, determining the selection probability of the plurality of optional parameter values for each of the operating parameters, based on the weights of the corresponding plurality of optional parameter values, includes:
[0014] Determine the sum of the weights of the multiple optional parameter values corresponding to the working parameters;
[0015] The ratio of the weight of the optional parameter value to the sum of the weights of the multiple optional parameter values is used as the selection probability of the optional parameter value.
[0016] Optionally, the weights of the multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module are determined respectively, including:
[0017] Obtain multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, their respective initial weights, and obtain the current environmental parameters;
[0018] The initial weights of the multiple optional parameter values for each of the aforementioned working parameters are adjusted based on the current environmental parameters to obtain the adjusted target weights.
[0019] Optionally, the environmental parameters include ambient temperature, and the initial weights for the multiple optional parameter values of each of the operating parameters are adjusted according to the current environmental parameters to obtain the adjusted target weights, including:
[0020] The ambient temperature is converted into a normalized coefficient within a preset temperature range;
[0021] Obtain the temperature sensitivity coefficient and the adjustment coefficients corresponding to multiple optional parameter values of the operating parameters;
[0022] For each optional parameter value of the operating parameters, the initial weight of the optional parameter value is adjusted according to the normalization coefficient, the temperature sensitivity coefficient, and the corresponding adjustment coefficient.
[0023] Optionally, the initial weights corresponding to the multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module are obtained, including:
[0024] Get the current working mode;
[0025] Obtain multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module under the current working mode, and their respective initial weights.
[0026] Optionally, determining the corresponding weights for the multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module further includes:
[0027] Detect user adjustment actions;
[0028] The initial weights of the multiple optional parameter values for each of the aforementioned operating parameters are adjusted according to the adjustment operation.
[0029] Optionally, the plurality of working modules may further include at least one of a humidification module, a head-shaking module, and an audio module.
[0030] Accordingly, embodiments of the present invention disclose a fan control device, comprising:
[0031] The working module selection module is used to randomly select a target working module from the working modules excluding the air supply module;
[0032] An optional parameter value determination module is used to determine multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module;
[0033] The target parameter value selection module is used to randomly select a target parameter value from a plurality of selectable parameter values for the working parameters of the air supply module and the target working module.
[0034] The operation module is used to control the air supply module and the target working module to operate according to the target parameter values corresponding to the working parameters, so as to simulate the output of natural wind by a fan.
[0035] Accordingly, embodiments of the present invention disclose a fan, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the above-described fan control method.
[0036] Accordingly, embodiments of the present invention disclose a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described fan control method.
[0037] The embodiments of the present invention have the following advantages: by randomly selecting a target working module from among the working modules other than the air supply module, and randomly selecting a target parameter value from among multiple selectable parameter values corresponding to the working parameters of the air supply module and the target working module, the natural wind with variable characteristics can be simulated and output, so that the fan's wind speed and wind direction are no longer single and fixed, thereby significantly improving the user's comfort and experience. At the same time, by utilizing multiple working modules to work together, the functional flexibility of the fan is enhanced, and it can meet the diverse adjustments required by different environments and user needs. Attached Figure Description
[0038] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying 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.
[0039] Figure 1 This is a flowchart of the steps of a fan control method provided in an embodiment of the present invention;
[0040] Figure 2 This is a flowchart of another fan control method provided in an embodiment of the present invention;
[0041] Figure 3 This is a schematic diagram of the workflow of a fan control method provided in an embodiment of the present invention;
[0042] Figure 4 This is a schematic diagram of a natural wind mode type of a fan provided in an embodiment of the present invention;
[0043] Figure 5 This is an example diagram of fan parameter settings provided in an embodiment of the present invention;
[0044] Figure 6 This is a structural block diagram of a fan control device provided in an embodiment of the present invention. Detailed Implementation
[0045] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0046] Traditional fan control technology offers limited airflow modes. Typically, fans only provide basic airflow, with wind speed and direction mostly fixed or switchable only between a few preset modes. Furthermore, traditional fan control lacks flexibility, preventing users from adjusting airflow parameters according to their needs and environmental conditions. For example, different seasons or indoor space layouts may require different combinations of wind speed and direction for optimal comfort, but traditional fans struggle to meet these personalized requirements.
[0047] One of the core concepts of this invention is that by randomly selecting a target working module from among the working modules other than the air supply module, and randomly selecting a target parameter value from among multiple selectable parameter values corresponding to the working parameters of the air supply module and the target working module, the output of natural wind with variable characteristics is simulated, so that the fan's wind speed and direction are no longer fixed, thereby significantly improving the user's comfort and experience. At the same time, by utilizing the collaborative work of multiple working modules, the functional flexibility of the fan is enhanced, which can meet the diverse adjustments required by different environments and user needs.
[0048] Reference Figure 1 The diagram illustrates a flowchart of a fan control method according to an embodiment of the present invention. The fan includes multiple working modules, including an air delivery module. The method may specifically include the following steps:
[0049] In this embodiment of the invention, the fan is not a simple single-function device, but rather composed of multiple different functional modules. These functional modules work together to achieve various functions of the fan. Among them, the air delivery module is an important component of all functional modules. The main function of the air delivery module is to generate and deliver air, which is one of the core functions of the fan. By designing the fan to include a structure with multiple functional modules, more flexible and complex control can be achieved, thereby improving the fan's performance and user experience.
[0050] Step 101: Randomly select a target working module from the working modules excluding the air supply module;
[0051] The air delivery module is the core component of the fan. Its main function is to generate and deliver air. After selecting the target air delivery module, a module can be randomly selected from the other working modules as the target working module. Once the target working module is randomly selected, it can work in conjunction with the air delivery module to create a sensory experience that is closer to real natural wind while maintaining the basic air delivery functionality.
[0052] In the fan of this invention, in addition to the main air supply module, there are several other working modules, each performing different functions, such as adjusting airflow direction, controlling airflow speed, and regulating temperature. During fan operation, to achieve more complex functions and a more natural breeze, a module can be randomly selected from all non-air supply modules as the co-control object for the current operating cycle. The selection mechanism excluding the air supply module avoids repetitive control of the core air supply function, focusing instead on coordination with other auxiliary modules, avoiding fixed pairing patterns, and ensuring that the auxiliary module paired with the air supply module may be different each time it starts. This randomness increases the diversity and unpredictability of fan operation, thus more closely resembling the characteristics of natural wind. The wind speed, direction, and other parameters of natural wind are constantly changing; randomly selecting the target working module can simulate these changes, making the fan's operation more natural and comfortable.
[0053] In one embodiment, the air supply module may further include multiple air supply functional units, which may be different fan units, wind speed control units, or wind power adjustment units, etc. Each air supply functional unit is responsible for a specific air supply task, and the present invention does not limit this. As an example, one or more units can be selected from multiple air supply functional units to participate in the current work through a random selection mechanism, ensuring that at least one air supply functional unit is always in a working state. Random selection can not only increase the diversity of fan operation and simulate the unpredictability of natural wind, but also help to balance the use of various modules and avoid wear or failure caused by overuse of a particular module.
[0054] Step 102: Determine multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module;
[0055] In this embodiment of the invention, operating parameters refer to the specific functional types that can be adjusted by each operating module of the fan during operation. In some embodiments, operating parameters may include operating speed, running time, airflow angle, operating mode, etc.
[0056] Optional parameter values refer to all possible and selectable parameter values for each operating parameter during actual operation. These optional parameter values determine the operating status and output effect of the module under the current operating parameters. Optional parameter values are preset, and users or control systems can select from them.
[0057] Step 103: For the operating parameters of the air supply module and the target working module, randomly select a target parameter value from the corresponding multiple optional parameter values;
[0058] In the method of this embodiment of the invention, for each working parameter, instead of manually fixing a certain parameter value, a target parameter value is randomly selected from the multiple optional parameter values listed above.
[0059] In one example, a random number generation algorithm can be used to determine which parameter value to select. Randomly selecting the target parameter value makes the fan's operation no longer a fixed pattern, but rather has a degree of randomness and variability. Each time the fan runs, the parameter values of the air supply module and the target working module may be different, just like natural wind, where wind speed and direction are constantly changing. This better simulates the effect of natural wind, providing users with a more natural and comfortable airflow experience.
[0060] Step 104: Control the air supply module and the target working module to operate according to the target parameter value corresponding to the working parameters, so as to simulate the output of natural wind by a fan.
[0061] The air supply module is the core component of the fan, responsible for generating and delivering airflow. The target operating module is a randomly selected operating module that can adjust airflow speed, angle, and other functions. The air supply module and the target operating module work together to achieve complex control effects.
[0062] The fan's air delivery module and target working module can work together based on randomly selected parameter values to produce an effect where wind speed and direction constantly change, very similar to the characteristics of natural wind. This is because the speed and direction of natural wind are also not fixed and change with time, environment, and other factors. By simulating random changes, the fan can provide users with a more comfortable experience closer to natural wind, rather than the single, fixed pattern of traditional fans.
[0063] This invention simulates natural wind with variable characteristics by randomly selecting a target working module from among the working modules other than the air supply module, and randomly selecting a target parameter value from among multiple selectable parameter values corresponding to the working parameters of the air supply module and the target working module. This makes the fan's wind speed and direction no longer fixed, thereby significantly improving the user's comfort and experience. At the same time, by utilizing multiple working modules to work together, the functional flexibility of the fan is enhanced, and it can meet the diverse adjustments required by different environments and user needs.
[0064] Reference Figure 2 The diagram illustrates a flowchart of another fan control method provided by an embodiment of the present invention. The method may specifically include the following steps:
[0065] Step 201: Randomly select a target working module from the working modules excluding the air supply module;
[0066] In one embodiment, different functional modules of the fan can be selected to work in conjunction with the core air supply module. When the fan is running, it first identifies all available working modules, then excludes the most basic air supply module from all modules, ensuring that an auxiliary functional module is selected. A random algorithm is used in the selection process, meaning that the system may select a different functional module as the cooperating object each time it runs. In some embodiments, the working modules other than the air supply module can be a humidification module, an oscillating motor, a speaker module, etc.
[0067] The random selection mechanism breaks the limitations of the traditional fixed working mode of fans, giving each functional module an equal opportunity to participate in collaborative work. Through this rotation mechanism, a richer combination of wind force variations can be achieved. Different functional modules will affect the air delivery effect in their own unique ways. For example, the oscillation module changes the wind direction, and the humidification module adjusts the air humidity, thus jointly simulating the irregular and variable characteristics of natural wind. This avoids the mechanical feel and predictability brought by artificially preset fixed modes, and realizes intelligent natural wind simulation.
[0068] Step 202: Determine multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module;
[0069] In one embodiment, the air supply module is the core component of the fan, and its operating parameters are typically wind speed or speed setting. Different wind speed settings directly affect the strength of the airflow from the fan. The target operating module is randomly selected from other operating modules besides the air supply module, and its operating parameters vary depending on the specific module's function.
[0070] The selectable parameter values corresponding to each operating parameter are set during fan design based on actual needs and functions, providing multiple possibilities for fan operation. By determining multiple selectable parameter values corresponding to the operating parameters, a foundation is laid for subsequent random selection and control of fan operation. This ensures that the fan can be flexibly adjusted and controlled according to pre-set parameter values during subsequent operation, thereby achieving the effect of simulating natural wind and providing users with a more comfortable and natural user experience.
[0071] Step 203: For the multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, determine the corresponding weights respectively;
[0072] In one embodiment, after determining the operating parameters of the air supply module and the target working module, as well as the corresponding multiple optional parameter values, weights can be assigned to these optional parameter values in order to make the operation of the fan more in line with the user's usage habits and environmental requirements.
[0073] Weights represent the importance or priority of each optional parameter value in practical applications. By assigning weights to each optional parameter value, the fan can be made to more readily select parameter values with higher weights during operation, thereby achieving more optimized performance. In some embodiments, the process of determining weights can also be based on various factors, such as user habits, environmental conditions, and fan operating efficiency.
[0074] In some embodiments, step 203 may include the following sub-steps:
[0075] Sub-step S11: Obtain multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, their respective initial weights, and obtain the current environmental parameters;
[0076] This step involves acquiring multiple optional parameter values and their initial weights corresponding to the operating parameters of the air supply module and the target working module. The purpose of this step is to determine the fundamental importance or priority of each parameter value in the control algorithm. Initial weights can be set based on fan design specifications, user habits, or default operating strategies. For example, for the air supply module's fan speed parameter, low, medium, and high speed settings can each be assigned different initial weights, reflecting the frequency or importance of different speed settings under normal circumstances. Similarly, for the target working module, such as the airflow direction adjustment module, different airflow angles also have corresponding initial weights, which can be set based on user preferences for airflow direction in different scenarios.
[0077] Current environmental parameters refer to the various conditions of the environment in which the fan operates. These parameters can include indoor temperature, humidity, air quality, and the activity of people. Environmental parameters are crucial for fan operation control, directly affecting user needs and fan performance. By acquiring these parameters, the current operating environment can be understood in real time, allowing for more reasonable adjustments to fan operation. This invention does not impose any limitations on this aspect.
[0078] In one example, sub-step S11 may include the following steps:
[0079] 1) Obtain the current working mode;
[0080] In some embodiments, the fan can have multiple operating modes, such as normal mode, sleep mode, nap mode, cooling mode, and beach mode. Each mode has specific operating strategies and parameter settings. Obtaining the current operating mode is to understand the fan's current operating state so that subsequent steps can adjust the parameters accordingly.
[0081] 2) Obtain multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module under the current working mode, and their respective initial weights.
[0082] For each operating parameter, not only should all possible optional parameter values be listed, but an initial weight should also be assigned to each optional parameter value to indicate its importance or priority in the current operating mode. In some embodiments, the initial weights can be used in subsequent control algorithms. For example, when randomly selecting a target parameter value, a weighted random selection algorithm can be used, so that parameter values with higher weights have a higher probability of being selected. This makes the fan operation not only random but also better meets the user's needs in different operating modes, providing a more comfortable and personalized user experience.
[0083] In another example, sub-step S11 may also include the following steps:
[0084] 1) Detect user adjustment actions;
[0085] Detecting user adjustments ensures that the fan's operating status reflects the user's intentions in real time. This allows the fan to not only operate according to preset modes and algorithms but also to flexibly adjust to the user's immediate needs, thus providing a more personalized and comfortable user experience.
[0086] 2) The initial weights of the multiple optional parameter values for each of the aforementioned working parameters are adjusted according to the adjustment operation.
[0087] In one embodiment, the fan can dynamically adjust the initial weights of the selectable parameter values for each operating parameter based on user adjustments. This adaptive control strategy allows the fan to operate more in accordance with the user's actual needs and usage habits.
[0088] Sub-step S12: The environmental parameters include ambient temperature. The initial weights of multiple optional parameter values for each of the working parameters are adjusted according to the current environmental parameters to obtain the adjusted target weights.
[0089] Initial weights are a basic importance index set for the selectable values of various operating parameters of a fan, without considering specific environmental factors. Initial weights reflect the relative importance of different parameter values under normal circumstances. However, in actual use, environmental conditions such as temperature, humidity, and human activity can affect the fan's optimal operating state. Therefore, to make the fan's operation more consistent with actual usage scenarios, the initial weights can be adjusted based on the current environmental parameters.
[0090] In one embodiment, environmental parameters may include ambient temperature, which is an important part of the environmental parameters and directly affects the user's demand for the fan.
[0091] In some embodiments, sub-step S12 may further include the following steps:
[0092] S121, convert the ambient temperature into a normalized coefficient within a preset temperature range;
[0093] Environmental parameters refer to the various conditions of the environment in which the fan operates, and these environmental parameters directly affect the fan's performance. To better integrate ambient temperature into the control algorithm, the actual ambient temperature can be converted to a preset temperature range. This preset temperature range is typically set based on the fan's design and usage scenario, and this invention does not impose any limitations on it.
[0094] The normalization factor is a standardized value, typically between 0 and 1. By converting ambient temperature to a normalization factor, different ranges of temperature values can be unified into a standardized range, facilitating subsequent calculations and control. The formula for calculating the normalization factor is as follows:
[0095]
[0096] Let the ambient temperature T∈[T min T max Then the normalized temperature coefficient τ is:
[0097]
[0098] Converting ambient temperature to a normalized coefficient allows temperature parameters to be processed in a standardized manner within the control algorithm. The normalized coefficient can be used to adjust fan operating parameters, such as wind speed and direction, to better adapt to current environmental conditions.
[0099] In one example, assuming the preset temperature range of the ambient temperature T is T∈[25, 30], when the ambient temperature T=27 degrees, the normalized temperature coefficient τ can be calculated as:
[0100] S122, obtain the temperature sensitivity coefficient and the adjustment coefficients corresponding to multiple optional parameter values of the operating parameters;
[0101] The temperature sensitivity coefficient is a factor used to measure the impact of changes in ambient temperature on the operating parameters of a fan. It reflects the fan's sensitivity to temperature variations and is typically preset during the fan design phase based on the application scenario and user requirements. In this embodiment of the invention, the temperature sensitivity coefficient β ranges from 1 to 5, with a default value of 2.
[0102] The adjustment coefficients corresponding to the multiple optional parameter values of the operating parameter are determined by first determining how many optional parameter values each operating parameter has, and then assigning a level to each optional parameter value. The level of the optional parameter value can be set based on factors such as the importance of the state, user preferences, or environmental adaptability. The adjustment coefficient corresponding to each optional parameter value is calculated by dividing the level of that optional parameter value by the total number of optional parameter values corresponding to each operating parameter, representing the relative position of the current optional parameter value among all optional parameter values.
[0103] S123, for each optional parameter value of the operating parameters, the initial weight of the optional parameter value is adjusted according to the normalization coefficient, the temperature sensitivity coefficient and the corresponding adjustment coefficient.
[0104] In this embodiment of the invention, the initial weights of the optional parameter values can be adjusted one by one using a weight correction model. For each target working module i, the adjusted dynamic weights of the optional parameter values m∈{1,2,…,M} corresponding to its specific working parameters are:
[0105]
[0106] Where m is the level of the current optional parameter value, and M is the total number of all optional parameter values corresponding to this working parameter;
[0107] The base weight (static parameter) of the optional parameter value m corresponding to the specific working parameter of the target working module i is the initial weight of the optional parameter value m of the specific working parameter of the target working module i when there are no environmental factors.
[0108] β is the temperature sensitivity coefficient;
[0109] e is the base of the natural logarithm;
[0110] The optional parameter value m for a specific working parameter of target working module i is the state level coefficient among all optional parameter values of that working parameter, i.e., the corresponding adjustment coefficient.
[0111] For example, the operating parameter wind speed of air supply module i has a total of 5 selectable parameter values, and the initial weights of the five values are w = [5, 4, 3, 2, 1]. The initial weight of value 2 when there are no environmental factors is... Given a value of 4, and a temperature sensitivity coefficient β = 2, the adjustment coefficient corresponding to setting 2 is... The normalized temperature coefficient τ is taken as 0.4 when the ambient temperature T = 27 degrees Celsius, as in the example above. Therefore, the dynamic weights of all selectable parameter values corresponding to the working parameter wind speed of air supply module i after adjustment at level 2 are:
[0112]
[0113] Step 204: For each of the working parameters, determine the selection probability of the multiple optional parameter values according to the weights of the corresponding multiple optional parameter values;
[0114] In this embodiment of the invention, the probability of selecting multiple optional parameter values for each operating parameter is determined based on the weight of each parameter value. The weight reflects the likelihood or importance of each optional parameter value being selected in actual operation.
[0115] In some embodiments, step 204 may include the following sub-steps:
[0116] Sub-step S21: Determine the sum of the weights of the multiple optional parameter values corresponding to the working parameters;
[0117] First, for each working parameter, the sum of the weights of all its optional parameter values can be calculated. The sum of the weights is the cumulative result of all weights, used to convert the weights into probabilities, ensuring that the sum of the probability values equals 1.
[0118] Sub-step S22: The ratio of the weight of the optional parameter value to the sum of the weights of the multiple optional parameter values is used as the selection probability of the optional parameter value.
[0119] In this embodiment of the invention, the selection probability of an optional parameter value can be obtained by dividing the weight of each optional parameter value corresponding to a specific working parameter of the target working module i by the sum of the weights of all optional parameter values corresponding to the specific working parameter of the target working module i. The selection probability represents the likelihood that the optional parameter value m is selected among all optional parameter values of the working parameter. It is expressed by the following formula:
[0120]
[0121] Where w i,m (τ) is the dynamic weight after adjusting the optional parameter values m∈[1,2,…,M} corresponding to the specific working parameters of the target working module i.
[0122] Step 205: Randomly select a target parameter value from the multiple optional parameter values based on the selection probability of the multiple optional parameter values.
[0123] In one embodiment, the final target parameter value can be randomly selected based on the selection probability of each optional parameter value. On the basis of the established candidate set of optional parameter values, a nondeterministic selection is performed through a preset probability distribution model, rather than using a fixed polling or sequential calling method.
[0124] As an example, a random number generation algorithm can be used to perform non-uniform random sampling by combining the probability weights of each optional parameter value. While maintaining natural randomness, the probability distribution can guide the system to be more inclined to select parameter values that have a high degree of matching with the current pattern.
[0125] When selecting parameter values, the cumulative probability distribution of all available parameter values can be calculated first. Then, a random number is generated, and the final selected target parameter value is determined based on the probability range to which the random number falls. This ensures that the parameter value selection has the necessary randomness to simulate the unpredictability of natural wind, while maintaining the overall characteristics of a specific working mode through probability weights.
[0126] In some embodiments, the random selection process can be performed independently in each control cycle, so that there is no fixed pattern or predictable regularity between consecutive selections, thereby realizing the random fluctuation characteristics unique to natural wind effects. In other embodiments, the range and distribution of random number generation can also be dynamically adjusted to prevent extreme cases of parameter value selection or parameter value combinations that the device cannot execute, ensuring randomness while taking into account the reliability and safety of fan operation.
[0127] Step 206: Control the air supply module and the target working module to operate according to the target parameter value corresponding to the working parameters, so as to simulate the output of natural wind by a fan.
[0128] In one embodiment, after the target parameter value is randomly selected, a precise drive command can be sent to the control unit of the air supply module and the target working module. The air supply module can adjust the motor speed and fan blade angle in real time according to the obtained target parameter value to generate a basic airflow that meets the random requirements. At the same time, the target working module performs corresponding auxiliary actions according to another set of random parameters. The air supply module and the target working module work together to form a composite wind field effect.
[0129] Natural wind typically exhibits constantly changing wind speed and direction. In this embodiment of the invention, the fan achieves this by randomly selecting target parameter values for its operating parameters. The fan can randomly select target parameter values based on the probability of selecting each parameter value, and then adjust the air delivery module and the target operating module to match the target parameter values. In this way, the fan's operating state continuously changes, thereby simulating the variable characteristics of natural wind and providing users with a more natural and comfortable wind experience. Furthermore, it can be dynamically adjusted based on real-time environmental feedback and user preferences to better simulate natural wind and meet users' personalized needs.
[0130] This invention simulates natural wind with variable characteristics by randomly selecting a target working module from among the working modules other than the air supply module, and randomly selecting a target parameter value from among multiple selectable parameter values corresponding to the working parameters of the air supply module and the target working module. This makes the fan's wind speed and direction no longer fixed, thereby significantly improving the user's comfort and experience. At the same time, by utilizing multiple working modules to work together, the functional flexibility of the fan is enhanced, and it can meet the diverse adjustments required by different environments and user needs.
[0131] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0132] As an example, this embodiment of the invention also provides specific implementation steps of a fan control method:
[0133] A fan's natural wind function can involve the coordinated control of N functional modules, and each functional module can have M selectable parameter values. The air supply module group and the auxiliary function module group represent two different sets of functional modules in the fan system, respectively. Their functions and roles differ: the air supply module group includes an air supply module, which can contain multiple air supply functional units. Each air supply functional unit may be responsible for different wind speeds, air volumes, or specific wind attributes. As the core working module of the fan system, the air supply module group is directly responsible for generating and delivering air, ensuring that at least one air supply functional unit is always in a working state, and that its working state and duration are random. In one example, the air supply module group may include a main motor 1 and a main motor 2. The air blown by the fan blades driven by the main motor 1 has characteristics such as concentrated and strong wind speed, small air delivery range, and strong wind feel; the air blown by the fan blades driven by the main motor 2 has characteristics such as lower wind speed, wider air delivery range, and gentler wind feel.
[0134] The auxiliary function module group includes all other working modules besides the air supply module. These auxiliary modules assist the air supply module in achieving more complex functions, providing more detailed environmental control and a customized user experience. Each working module is randomly selected for operation, and its working status and duration are also random. In one example, the auxiliary function module group may include a humidification module, an up-and-down oscillation motor, a left-and-right oscillation motor, and a speaker.
[0135] Dividing the fan's different functional modules into air supply module group and auxiliary function module group according to their functions and roles ensures that at least one air supply module is always active, guaranteeing the fan's basic air supply function, by randomly selecting one of all air supply modules to participate in the operation. Simultaneously, by randomly selecting one of the other modules as the target module, specific auxiliary functions are achieved. This approach maintains the air supply functionality while implementing a complex control strategy to simulate natural wind, creating a sensory experience that more closely resembles real natural wind.
[0136] For example, Figure 3 A schematic diagram illustrating the workflow of a fan control method provided in an embodiment of the present invention is shown below:
[0137] First, obtain instructions from the user interface to activate the natural wind mode and select the corresponding working mode. For example... Figure 4 The diagram shows a type of natural wind mode for a fan. In the method provided by the embodiments of the present invention, the natural wind mode can include a variety of different natural wind mode types, such as a midday rest mode, a cooling mode, a seaside mode, and a custom mode.
[0138] Different working modes correspond to different variable parameter settings, providing users with different wind sensations. The retrieval weight of functional modules in each functional module group is different, and the initial weights corresponding to the optional parameter values of each functional module's working parameters are also different.
[0139] The corresponding functional module group is retrieved based on the selected working mode. For the air supply functional module group, one air supply functional unit is randomly selected to participate in the work, ensuring that at least one air supply functional unit is always in working state. For the auxiliary functional module group, a target working module is randomly selected to cooperate and work in coordination with the selected target air supply functional unit.
[0140] Each selected functional module's operating parameters, such as the operating speed of the air supply unit, the angle of the airflow adjustment module, and the audio type of the white noise playback module, can include multiple optional parameter values. Then, for each operating parameter's corresponding multiple optional parameter values, an initial weight is assigned based on the fan's current operating mode. This weight reflects the priority of each parameter value when selected, assuming no environmental factors. Simultaneously, initial weights are assigned to the multiple optional parameter values corresponding to the operating duration of each workload's operating parameters. For example, Figure 5The diagram illustrates an example of parameter settings for a fan according to an embodiment of the present invention. Taking the main motor 1 of the functional module shown in the diagram as an example, "working speed" and "running time" are working parameters. In the "rest mode", the selectable parameter values for the working speed of the main motor 1 are [speed 1, speed 2, speed 3, speed 4, speed 5], and the initial weights of each selectable parameter value are [5, 4, 3, 2, 1] respectively.
[0141] As can be seen from the parameter settings above, the "Nap Mode" natural wind mainly provides a low-noise, uniform, and gentle wind feel, and the white noise types are mainly background noises with a sleep-inducing effect such as "raindrops, leaves, birdsong, and flowing water"; while the "Seaside Mode" natural wind mainly provides a strong and humid wind feel, and the white noise types are mainly background noises of the seaside such as "waves, ships, and seabirds", giving people an immersive feeling.
[0142] This invention provides a fan-simulated natural wind system. When controlling the operating status and corresponding running time of each functional module, a basic weighted selection model can be used. The higher the weight, the greater the probability of selection. The weighted random algorithm formula is as follows:
[0143]
[0144] Where w i Let i be the weight of the i-th gear. It is the sum of the weights. For example, the humidifier module has a total of 5 speed settings. Assuming the weight of each speed setting is w = [1, 2, 3, 2, 1], then the sum of the weights is 1 + 2 + 3 + 2 + 1 = 9. The probability of speed setting 1 is P(1) = 1 / 9, and the probability of speed setting 3 is P(3) = 3 / 9 = 1 / 3.
[0145] This invention provides a fan with a temperature detection function. When the ambient temperature is too high, the operating speed is adjusted for temperature compensation based on the parameters mentioned above. The current ambient temperature can be obtained through a temperature sensor to check if it exceeds 25°C. If the ambient temperature exceeds 25°C, the initial weights are adjusted for temperature to obtain adjusted weights to adapt to environmental changes. In one example: when the ambient temperature T < 25°C, there is no temperature compensation; when 25°C ≤ ambient temperature T ≤ 30°C, temperature compensation is performed according to the normalized temperature coefficient; when the ambient temperature T > 30°C, temperature compensation is performed according to the temperature coefficient at T = 30°C.
[0146] The adjusted weights are used to redetermine the selection probability of each optional parameter value. Based on the redetermined probability, the target parameter value is randomly selected, and finally the air supply module and other working modules are controlled to operate according to the selected target parameter value, thereby simulating the effect of natural wind.
[0147] Taking the main motor 1 in the midday rest mode as an example, the operating levels before temperature correction are [Level 1, Level 2, Level 3, Level 4, Level 5], with weights of [5, 4, 3, 2, 1], meaning the probability of each level being selected is [0.33, 0.27, 0.2, 0.13, 0.07]. When the ambient temperature T = 27℃, the weights of each level after temperature correction are [5.87, 5.51, 4.85, 3.80, 2.23], and the probability of each level being selected is [0.26, 0.24, 0.22, 0.18, 0.1]. From the above data, it can be seen that after temperature correction, the probability of selecting levels 1 and 2 decreases, while the probability of selecting levels 3, 4, and 5 increases, which aligns with the user experience requirement that higher temperatures necessitate higher operating levels. Regarding the selection of the working gear of the main motor 1, after calling the function and assigning values to each initial weight, a gear (e.g., gear 1) can be randomly selected for operation, and the current selected probability of each gear is recorded as [1, 0, 0, 0, 0]. After the selected working time is completed, a gear (e.g., gear 3) is randomly selected again for operation, and the current selected probability of each gear is recorded as [0.5, 0, 0.5, 0, 0]. After the selected working time is completed, a gear is randomly selected again, and this process is repeated. The difference between the recorded probability and the probability assigned by the function is compared in real time, and the probability of selecting each gear next time is continuously adjusted until the recorded probability approaches the probability assigned by the function.
[0148] In addition, users can set various variable parameters themselves and generate a custom natural wind with one click.
[0149] This design allows the fan system to flexibly adapt to different environmental conditions and user needs, providing a more natural, comfortable, and personalized wind experience. By randomly selecting a target working module from among the working modules other than the air supply module, and randomly selecting a target parameter value from among multiple selectable parameter values corresponding to the working parameters of the air supply module and the target working module, the system can simulate the output of natural wind with variable characteristics. This makes the fan's wind speed and direction no longer fixed, thus significantly improving user comfort and experience. At the same time, the collaborative work of multiple working modules enhances the fan's functional flexibility, enabling diverse adjustments to meet the needs of different environments and users.
[0150] Reference Figure 6 This diagram illustrates a structural block diagram of a fan control device according to an embodiment of the present invention. The fan includes multiple working modules, including an air supply module and at least one of a humidification module, an oscillation module, and an audio module. Specifically, it may include the following modules:
[0151] The working module selection module 301 is used to randomly select a target working module from the working modules excluding the air supply module;
[0152] The optional parameter value determination module 302 is used to determine multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module;
[0153] The target parameter value selection module 303 is used to randomly select a target parameter value from a plurality of selectable parameter values for the working parameters of the air supply module and the target working module.
[0154] The operation module 304 is used to control the air supply module and the target working module to operate according to the target parameter value corresponding to the working parameters, so as to simulate the output of natural wind by a fan.
[0155] In this embodiment of the invention, the target parameter value selection module 303 includes:
[0156] The weight determination submodule is used to determine the corresponding weights for multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, respectively.
[0157] The probability determination submodule is used to determine the selection probability of the multiple optional parameter values for each of the working parameters, based on the weights of the corresponding multiple optional parameter values.
[0158] The target parameter value selection submodule is used to randomly select a target parameter value from the multiple optional parameter values based on the selection probability of the multiple optional parameter values.
[0159] In this embodiment of the invention, the probability determination submodule includes:
[0160] A weight sum determination unit is used to determine the sum of the weights of multiple optional parameter values corresponding to the working parameter;
[0161] The probability calculation unit is used to take the ratio of the weight of the optional parameter value to the sum of the weights of the multiple optional parameter values as the selection probability of the optional parameter value.
[0162] In this embodiment of the invention, the weight determination submodule includes:
[0163] The initial weight acquisition unit is used to acquire multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, the corresponding initial weights, and to acquire the current environmental parameters.
[0164] The target weight determination unit is used to adjust the initial weights of multiple optional parameter values for each of the working parameters according to the current environmental parameters to obtain the adjusted target weights.
[0165] In this embodiment of the invention, the target weight determination unit includes:
[0166] A temperature normalization subunit is used to convert the ambient temperature into a normalization coefficient within a preset temperature range;
[0167] The coefficient determination subunit is used to obtain the adjustment coefficients corresponding to the temperature sensitivity coefficient and multiple optional parameter values of the operating parameter;
[0168] The weight adjustment subunit is used to adjust the initial weight of each optional parameter value of the operating parameter according to the normalization coefficient, the temperature sensitivity coefficient and the corresponding adjustment coefficient.
[0169] In this embodiment of the invention, the initial weight acquisition unit includes:
[0170] The working mode acquisition sub-unit is used to obtain the current working mode;
[0171] The first initial weight determination subunit is used to obtain multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module in the current working mode, and the initial weights corresponding to them respectively.
[0172] In this embodiment of the invention, the initial weight acquisition unit includes:
[0173] The adjustment operation detection subunit is used to detect the user's adjustment operations;
[0174] The second initial weight determination subunit is used to adjust the initial weights of multiple optional parameter values for each of the operating parameters according to the adjustment operation.
[0175] As the apparatus embodiment is basically similar to the method embodiment, it is described in a relatively simple manner. For relevant details, please refer to the description of the method embodiment.
[0176] This invention also provides a fan, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described fan control method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here.
[0177] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described fan control method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0178] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0179] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0180] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0181] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0182] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0183] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0184] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0185] The present invention has provided a detailed description of a fan control method, device, fan, and medium. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A fan control method, characterized in that, The fan includes multiple working modules, the multiple working modules including an air supply module, and the method includes: Randomly select a target working module from the working modules excluding the air supply module; Determine multiple selectable parameter values corresponding to the operating parameters of the air supply module and the target working module; For the operating parameters of the air supply module and the target working module, a target parameter value is randomly selected from a plurality of corresponding optional parameter values; The air supply module and the target working module are controlled to operate according to the target parameter values corresponding to the working parameters, so as to simulate the output of natural wind by a fan; The step of randomly selecting a target parameter value from a plurality of selectable parameter values for the operating parameters of the air supply module and the target working module includes: The system obtains multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module, their respective initial weights, and obtains the current environmental parameters, including the ambient temperature. The ambient temperature is converted into a normalized coefficient within a preset temperature range; Obtain the temperature sensitivity coefficient and the adjustment coefficients corresponding to multiple optional parameter values of the operating parameters; For each optional parameter value of the operating parameters, the initial weight of the optional parameter value is adjusted according to the normalization coefficient, the temperature sensitivity coefficient and the corresponding adjustment coefficient to obtain the adjusted target weight; For each of the aforementioned working parameters, the selection probability of the multiple optional parameter values is determined based on the weights of the corresponding multiple optional parameter values; Based on the selection probability of the plurality of optional parameter values, a target parameter value is randomly selected from the plurality of optional parameter values.
2. The fan control method according to claim 1, characterized in that, The step of determining the selection probability of the multiple optional parameter values for each of the aforementioned working parameters, based on the weights of the corresponding multiple optional parameter values, includes: Determine the sum of the weights of the multiple optional parameter values corresponding to the working parameters; The ratio of the weight of the optional parameter value to the sum of the weights of the multiple optional parameter values is used as the selection probability of the optional parameter value.
3. The fan control method according to claim 1, characterized in that, The initial weights corresponding to the multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module are obtained, including: Get the current working mode; Obtain multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module under the current working mode, and their respective initial weights.
4. The fan control method according to claim 1, characterized in that, The method of determining the corresponding weights for the multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module also includes: Detect user adjustment actions; The initial weights of the multiple optional parameter values for each of the aforementioned operating parameters are adjusted according to the adjustment operation.
5. The fan control method according to claim 1, characterized in that, The plurality of working modules also includes at least one of a humidification module, a head-shaking module, and an audio module.
6. A fan control device, characterized in that, The fan includes multiple working modules, the multiple working modules include an air delivery module, and the device includes: The working module selection module is used to randomly select a target working module from the working modules excluding the air supply module; An optional parameter value determination module is used to determine multiple optional parameter values corresponding to the working parameters of the air supply module and the target working module; The target parameter value selection module is used to randomly select a target parameter value from a plurality of selectable parameter values for the working parameters of the air supply module and the target working module. The operation module is used to control the air supply module and the target working module to operate according to the target parameter values corresponding to the working parameters, so as to simulate the output of natural wind by a fan; The target parameter value selection module includes: The weight determination submodule is used to obtain multiple optional parameter values corresponding to the operating parameters of the air supply module and the target working module, their respective initial weights, and to obtain the current environmental parameters, including the ambient temperature; convert the ambient temperature into a normalized coefficient within a preset temperature range; obtain the temperature sensitivity coefficient and adjustment coefficients corresponding to the multiple optional parameter values of the operating parameters; and adjust the initial weights of the optional parameter values according to the normalized coefficients, the temperature sensitivity coefficients, and the corresponding adjustment coefficients for each optional parameter value of the operating parameters to obtain the adjusted target weights. The probability determination submodule is used to determine the selection probability of the multiple optional parameter values for each of the working parameters, based on the weights of the corresponding multiple optional parameter values. The target parameter value selection submodule is used to randomly select a target parameter value from the multiple optional parameter values based on the selection probability of the multiple optional parameter values.
7. A fan, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the fan control method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the fan control method as described in any one of claims 1-5.
Citation Information
Patent Citations
Device and method for simulating natural wind based on multiple fan units
CN114109881A
Air conditioner indoor unit and air conditioner
CN115468220A
Air conditioner control method and device and air conditioner
CN117249553A