Method for controlling fan, fan adjusting system and electronic equipment
By adjusting the fan blade shape and inclination angle, using radar modules to monitor user distance, personalized adjustment of wind speed and air volume, solving the problem of poor adaptability of fan speed adjustment and improving user experience and energy efficiency.
Patent Information
- Application Number
- CN202411504231.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2024-12-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing fan speed adjustment method is poor in adaptability and is not flexible enough to meet the needs of users at different distances.
By obtaining the distance between the user and the fan, adjusting the shape of the fan blade and the inclination angle of the fan blade, using the radar module to monitor the user's position in real time, and dynamically adjusting the curve and inclination angle of the fan blade to achieve personalized adjustment of wind speed and air volume.
It improves the accuracy and adaptability of fan speed adjustment, provides a more comfortable and convenient user experience, meets users' needs at different distances, and reduces energy consumption.
Smart Images

Figure CN119177940A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automatic control technology, and in particular to a method for controlling a fan, a fan adjustment system, a computer-readable storage medium, and an electronic device. Background Art
[0002] With the improvement of living standards, the single operation mode of traditional fans can no longer meet people's needs. Therefore, it is necessary to design a fan control system that can automatically adjust the wind speed. The current solution for adjusting the fan wind speed is to adjust it based on the distance between the user and the fan, but the final fan wind speed is achieved by controlling physical buttons on the fan. For example, if there are only three gear settings on a fan, it can only provide three wind speeds, which has poor adaptability and is not flexible enough. Summary of the invention
[0003] The main purpose of the present application is to provide a method for controlling a fan, a fan adjustment system, a computer-readable storage medium and an electronic device, so as to at least solve the problem that the current fan speed adjustment method has poor adaptability and insufficient adjustment flexibility.
[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for controlling a fan is provided, including: obtaining the distance between a user and the fan; adjusting relevant parameters of the fan at least according to the distance between the user and the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0005] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include blade shape and / or blade inclination angle, including: when the distance between the user and the fan is within a first preset distance range, the blade shape is adjusted to an initial blade shape and / or the blade inclination angle is adjusted to an initial blade inclination angle; when the distance between the user and the fan is within a second preset distance range, the blade shape is adjusted to an initial blade shape and / or the blade inclination angle is adjusted to within a preset inclination angle range; when the distance between the user and the fan is within a third preset distance range, the blade shape is adjusted using a blade shape adjustment model, and / or the blade inclination angle is adjusted using a blade inclination angle adjustment model; wherein the maximum value of the first preset distance range is less than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is less than the minimum value of the third preset distance range.
[0006] Optionally, before using a fan blade shape adjustment model to adjust the fan blade shape, and / or before using a fan blade pitch angle adjustment model to adjust the fan blade pitch angle, the method for controlling a fan further includes: constructing the fan blade shape adjustment model, wherein the fan blade shape adjustment model is trained based on multiple groups of training data acquired within a historical time period, and any group of the training data includes a historical distance and a historical fan blade shape corresponding to the historical distance; constructing the fan blade pitch angle adjustment model, wherein the fan blade pitch angle adjustment model is trained based on multiple groups of training data acquired within a historical time period, and any group of the training data includes a historical distance and a historical fan blade pitch angle corresponding to the historical distance.
[0007] Optionally, the relevant parameters of the fan also include the gear of the fan, and the relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, including: adjusting at least one of the fan blade shape and the fan blade inclination angle and the gear of the fan at least according to the distance between the user and the fan.
[0008] Optionally, the relevant parameters of the fan also include the orientation of the fan head of the fan. Adjusting the relevant parameters of the fan at least according to the distance between the user and the fan also includes: obtaining the orientation information of the user; adjusting at least one of the fan blade shape and the fan blade inclination angle and the orientation of the fan head according to the user's orientation information and the distance between the user and the fan.
[0009] Optionally, adjusting relevant parameters of the fan at least according to the distance between the user and the fan includes: obtaining characteristic parameters of the user, the characteristic parameters of the user including at least one of the user's age, the user's gender, and the user's physical health condition; adjusting relevant parameters of the fan according to the characteristic parameters of the user and the distance between the user and the fan.
[0010] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, including: at least according to the distance between the user and the fan, a PID control algorithm is used to adjust the output of the fan blade drive motor to adjust the blade shape and / or the blade inclination angle of the fan.
[0011] According to another aspect of the present application, a device for controlling a fan is provided, including: an acquisition unit for acquiring the distance between a user and the fan; an adjustment unit for adjusting relevant parameters of the fan at least according to the distance between the user and the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0012] According to another aspect of the present application, a fan adjustment system is provided, comprising: a fan with adjustable blade shape and adjustable blade inclination; and a control unit that communicates with the fan and is used to execute any one of the above-mentioned methods for controlling the fan.
[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for controlling a fan.
[0014] According to another aspect of the present application, an electronic device is also provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the above-described methods for controlling a fan.
[0015] According to another aspect of the present application, an electric fan is provided, wherein the electric fan uses any one of the above-mentioned methods for controlling a fan.
[0016] According to another aspect of the present application, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned methods for controlling a fan when running.
[0017] According to another aspect of the present application, a computer program product is provided, comprising computer instructions, wherein when the computer instructions are executed by a processor, any one of the above-mentioned methods for controlling a fan is executed.
[0018] In the embodiment of the present application, the distance between the user and the fan is first obtained, and then the relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within the preset wind volume range, and the wind speed generated by the fan is within the preset wind speed range. The technical solution of the present application is applied to achieve a technical effect of strong adaptability to the wind generated by the fan by adjusting the shape of the fan blades and / or the inclination angle of the fan blades, thereby solving the technical problem that the current fan wind speed adjustment method has poor adaptability and is not flexible enough to adjust. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1is a hardware structure block diagram of a mobile terminal of a method for controlling a fan according to an embodiment of the present invention;
[0021] Figure 2 is a flow chart of a method for controlling a fan according to an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a hardware solution of a method for controlling a fan according to an embodiment of the present application;
[0023] Figure 4 is a schematic diagram of a device for controlling a fan according to an embodiment of the present application.
[0024] The above drawings include the following reference numerals:
[0025] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] A smart fan is an electric fan with advanced functions and automation capabilities. It can achieve the functions required by users through built-in sensors, network connections and software control. A home radar module is an electronic device that uses radar technology to detect and track the movement of objects or people in a home environment. Traditional smart fans can only adjust the fan speed manually, and the higher the speed, the greater the power. When combined with a radar module, the distance between the user and the fan can be calculated. Through some algorithm analysis, the curve and inclination angle of the fan blades can be dynamically adjusted to achieve a real-time solution for the optimal wind speed in the current state.
[0030] As introduced in the background technology, the fan speed adjustment method in the prior art has poor adaptability and is not flexible enough. To solve the above problems, the embodiments of the present application provide a method for controlling a fan, a fan adjustment system, a computer-readable storage medium and an electronic device.
[0031] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0032] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for controlling a fan according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0033] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for controlling a fan in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above network specific examples may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] In this embodiment, a method for controlling a fan running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0035] Figure 2 FIG. 1 is a flow chart of a method for controlling a fan according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0036] Step S201, obtaining the distance between the user and the fan.
[0037] Specifically, obtaining the distance between the user and the fan can monitor the user's position in real time, thereby automatically adjusting the fan's wind speed according to the user's distance. When the user is close to the fan, the wind speed can be increased to provide stronger wind force, and when the user is away from the fan, the wind speed can be reduced to save energy, which can improve user experience and energy-saving effects.
[0038] Step S202, adjust relevant parameters of the fan at least according to the distance between the user and the fan, the relevant parameters including the fan blade shape and / or the fan blade inclination angle, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0039] Specifically, adjusting the relevant parameters of the fan according to the distance between the user and the fan can help the fan achieve more precise wind speed control. By adjusting the fan blade shape and / or the fan blade inclination angle according to the distance between the user and the fan, it can ensure that the wind volume generated by the fan is within a preset range. When the wind speed is within the preset range, the user can feel the appropriate wind speed and wind volume at different distances, thereby improving the user experience. By monitoring the distance between the user and the fan in real time through the radar module, the relevant parameters of the fan can be intelligently adjusted, so that the fan can adjust the wind speed and wind volume according to the user's location and needs, providing a personalized fan experience, improving the fan's energy efficiency, reducing energy consumption, and also improving the user's comfort and convenience.
[0040] As can be seen from the above, in the embodiment of the present application, the distance between the user and the fan is first obtained, and then the relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within the preset wind volume range, and the wind speed generated by the fan is within the preset wind speed range. Applying the technical solution of the present application, by adjusting the shape of the fan blades and / or the inclination angle of the fan blades, a technical effect of strong adaptability to the wind generated by the fan is achieved.
[0041] The technical solution provided in the embodiment of the present application solves the technical problem that the current fan speed adjustment method has poor adaptability and insufficient adjustment flexibility.
[0042] Figure 3 is a schematic diagram of a hardware solution of a method for controlling a fan according to an embodiment of the present application, wherein the distance of the user to the fan is obtained by radar, and the curve and inclination angle of the fan blade are dynamically adjusted to achieve the optimal wind speed in the current state, such as Figure 3 As shown, the hardware solution includes a radar module, a main control chip and fan blades. The serial port on the radar module end is connected to the serial port of the fan main control chip. The radar module and the fan main control communicate through the serial port. The radar module power supply can share a group with the power supply of the fan main control chip.
[0043] The structural scheme of the fan in the embodiment of the present application is as follows: the internal space of the fan head is increased, and variable geometry fan blades are installed. This type of fan blade can adjust the shape or tilt angle of the fan blade when the fan is running. The angle of attack of the fan blade is the angle between the fan blade and the direction of the incoming air flow. By changing the angle of attack, the efficiency and flow rate of the fan in pushing the air can be adjusted. The curve (convexity) of the fan blade can be adjusted through the built-in mechanical structure, thereby changing the aerodynamic characteristics of the fan blade, wherein the curve of the fan blade is the shape of the fan blade.
[0044] The following solutions are available for adjusting the fan blade shape:
[0045] The fan blade is constructed into a structure composed of multiple parts. For example, each fan blade is composed of two parts, three parts, four parts, etc. The number of the components of the fan blade can be adjusted according to the size of the fan blade. For example, the number of parts constituting a single fan blade increases as the area of the single fan blade increases.
[0046] Then, a corresponding drive motor is separately set for each part of a single fan blade. For example, a fan blade including two parts corresponds to two drive motors, the first drive motor drives the part close to the center of the fan head, and the second motor drives the part away from the center of the fan head. Furthermore, all the fan blades in a fan can be set to a two-part structure, and then each part of the fan blade is driven separately according to the blowing requirements (wind speed, wind volume, wind direction, etc.) to meet the blowing requirements;
[0047] Specifically, the drive motor can drive the corresponding part to move upward, downward, change the tilt angle, etc.;
[0048] In addition, the first part of the plurality of fan blades can be driven by one drive motor, and the second part of the plurality of fan blades can be driven by one drive motor, so as to save costs and simplify control;
[0049] Of course, the above-mentioned structure in which all the blades in a fan can be set as a two-part structure is merely exemplary, and some of the blades in a fan can also be set as a two-part structure, and the remaining blades can be set as a three-part structure; all the blades can also be set as a three-part structure, and so on, that is, this setting can be adaptively adjusted according to the blowing needs.
[0050] During the specific implementation process, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades. This can be achieved by the following steps: when the distance between the user and the fan is within a first preset distance range, the shape of the fan blades is adjusted to the initial shape of the fan blades and / or the inclination angle of the fan blades is adjusted to the initial inclination angle of the fan blades; when the distance between the user and the fan is within a second preset distance range, the shape of the fan blades is adjusted to the initial shape of the fan blades and / or the inclination angle of the fan blades is adjusted to within a preset inclination angle range; when the distance between the user and the fan is within a third preset distance range, the shape of the fan blades is adjusted using a fan blade shape adjustment model, and / or the inclination angle of the fan blades is adjusted using a fan blade inclination adjustment model; wherein the maximum value of the first preset distance range is less than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is less than the minimum value of the third preset distance range.
[0051] In this solution, the fan blade shape and inclination angle are adjusted according to the distance between the user and the fan to achieve more effective wind speed regulation. When the user is close, the wind speed effect can be improved by adjusting the fan blade shape and inclination angle. When the user is far away, corresponding adjustments can be made to maintain appropriate wind speed and wind force, which can better meet the user's needs for wind speed and improve the user experience of the fan.
[0052] like Figure 3 As shown, the fan main control chip obtains the distance information from the human body transmitted by the radar module through the serial port. The device supports processing of three distance ranges, namely 0-1 meter (i.e., the first preset distance range), 1-2 meters (i.e., the second preset distance range), and 2-3 meters (i.e., the third preset distance range).
[0053] It should be noted that the specific values of the first preset distance range, the second preset distance range and the third preset distance range can be set by the user according to the actual usage of the user.
[0054] Specifically, when the distance is 0-1 meter, it means that the user is relatively close to the fan, and there is no need to adjust the shape and inclination angle of the fan blades; when the distance is 1-2 meters, there is no need to adjust the shape of the fan blades, and the inclination angle (angle of attack) of the fan blades can be changed to achieve a higher wind speed; when the distance is 2-3 meters, it means that the user is far away from the fan, and an algorithm of the angle of attack and the fan blade curve is used to adjust the angle of attack and the curve of the fan blades, so as to increase the fan speed and the transmission distance of the fan wind while keeping the motor power unchanged.
[0055] During the specific implementation process, before using the fan blade shape adjustment model to adjust the fan blade shape, and / or, before using the fan blade inclination angle adjustment model to adjust the fan blade inclination angle, the method also includes the following steps: constructing a fan blade shape adjustment model, wherein the fan blade shape adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade shapes corresponding to historical distances; constructing a fan blade inclination angle adjustment model, wherein the fan blade inclination angle adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade inclination angles corresponding to historical distances.
[0056] In this solution, building a fan blade shape adjustment model and a fan blade inclination angle adjustment model can help achieve more accurate wind speed adjustment. By training with historical distance and corresponding fan blade shape or inclination angle data, the most suitable fan blade shape or inclination angle can be predicted according to the current distance, thereby adjusting the wind speed to meet user needs, which can improve the efficiency and performance of the fan while also enhancing the user experience.
[0057] Specifically, in order to increase the fan wind speed and its transmission distance by adjusting the angle of attack and curve of the fan blades while keeping the motor power unchanged, the aerodynamic optimization algorithm in the aviation field can be used for reference, and appropriately simplified and adjusted in combination with practical applications. The above-mentioned fan blade shape adjustment model and the fan blade inclination angle adjustment model can adopt the Blade Element Momentum Theory (BEMT) and the Genetic Algorithm (GA) as follows: 1) Through BEMT, the angle of attack and curve of the fan blades can be optimized while keeping the motor power unchanged, thereby improving the fan wind speed and transmission distance. This is because the optimized fan blades can more effectively utilize aerodynamic force and improve air flow efficiency; 2) The genetic algorithm can efficiently search for the optimal solution in the multivariate space, thereby finding the best combination of the fan blade angle of attack and curve, improving the aerodynamic performance of the fan, and significantly improving the wind speed and transmission distance through the optimized fan blade design while keeping the motor power unchanged.
[0058] It should be noted that the above-mentioned blade element momentum theory (BEMT) is a theory used to analyze and optimize the aerodynamic performance of rotating blades (such as fans, propellers, wind turbines, etc.). It decomposes the rotating blades into multiple small blade elements, then calculates the local aerodynamic performance of each element, and accumulates the performance of the entire blade; the above-mentioned genetic algorithm (GA) is an optimization algorithm based on natural selection and genetic mechanism, which is suitable for complex multivariable optimization problems. It gradually optimizes the solution of the problem by simulating the biological evolution process.
[0059] In summary, the fan blade angle of attack and curve optimization algorithm based on BEMT and genetic algorithm is technically feasible, and the optimization effect can be ensured through simulation and experimental verification to achieve the goal of increasing wind speed and transmission distance.
[0060] In some embodiments, the relevant parameters of the fan also include the gear of the fan. The relevant parameters of the fan are adjusted at least according to the distance between the user and the fan. This can be achieved through the following steps: adjusting at least one of the fan blade shape and the fan blade inclination angle and the gear of the fan at least according to the distance between the user and the fan.
[0061] In this solution, the fan blade shape, fan blade inclination and fan gear can be adjusted according to the distance between the user and the fan to achieve more precise wind speed adjustment. The radar module detects the distance between the user and the fan, and can adjust the fan blade shape and inclination in real time, as well as select the appropriate fan gear to ensure that the user can obtain suitable wind speed and comfortable wind feeling at different distances, thereby improving the fan's efficiency and user experience.
[0062] Specifically, when the distance is 0-1 meter, the fan defaults to a low wind speed gear, and there is no need to adjust the shape and inclination angle of the fan blades; when the distance is 1-2 meters, the fan defaults to a low wind speed gear, and there is no need to adjust the shape of the fan blades and change the inclination angle (angle of attack) of the fan blades to achieve a higher wind speed; when the distance is 2-3 meters, it means that the user is far away from the fan, and the fan defaults to a low wind speed gear.
[0063] During the specific implementation process, the relevant parameters of the fan also include the direction of the fan head of the fan. The relevant parameters of the fan are adjusted at least according to the distance between the user and the fan. The method also includes the following steps: obtaining the user's orientation information; adjusting at least one of the fan blade shape and the fan blade inclination angle and the direction of the fan head according to the user's orientation information and the distance between the user and the fan.
[0064] In this solution, obtaining the user's position information can help the fan system determine the user's position and orientation, thereby adjusting the orientation of the fan head according to the user's position and orientation to ensure that the fan's wind blows directly toward the user. According to the distance between the user and the fan, the fan blade shape and blade inclination angle can be adjusted to change the fan's wind speed and direction, thereby providing a more comfortable fan experience. The function of intelligently adjusting the fan can be realized to improve user experience and comfort.
[0065] application Figure 3 The structure can monitor the user's position and distance in real time through the radar module according to the user's position information and distance, and adjust the shape of the fan blades to make the fan produce softer or more concentrated wind, adjust the inclination angle of the fan blades to make the fan produce wind in different directions and angles, and adjust the direction of the fan head to make the fan produce more precise wind direction, thereby achieving precise control of the fan wind force and providing a more personalized and comfortable fan experience.
[0066] In some embodiments, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, which can be specifically achieved through the following steps: obtaining characteristic parameters of the user, the characteristic parameters of the user including at least one of the user's age, the user's gender, and the user's physical health condition; adjusting relevant parameters of the fan according to the characteristic parameters of the user and the distance between the user and the fan.
[0067] Specifically, the relevant parameters of the above-mentioned fan may include but are not limited to: power, air volume, rotation speed, noise level, size and other parameters; the characteristic parameters of the above-mentioned user may also include: living habits, living environment and economic strength and other parameters.
[0068] In this solution, the user's characteristic parameters can be used to determine the user's comfort needs. For example, age, gender and physical health status can affect the user's perception of the fan wind speed. According to the user's characteristic parameters and the distance between the user and the fan, the fan's wind speed, wind direction and other parameters can be adjusted to provide the wind speed and wind direction that best suits the user, thereby improving the user's comfort experience. By analyzing the user's characteristic parameters and the distance from the fan, the system can automatically adjust the fan's wind speed and wind direction to meet the user's needs. For example, for older users or users with poor physical health, the fan's wind speed can be reduced to avoid causing discomfort to their bodies. For users with more delicate genders or who are more sensitive to temperature, the fan's wind direction can be adjusted to provide softer wind, thereby improving the user experience while also improving the fan's energy efficiency and lifespan.
[0069] Specifically, first, characteristic parameters such as the user's age, gender, and physical health status are collected through a radar module or other sensors, and the user is analyzed and identified based on the collected user characteristic parameters to determine the user's needs and preferences. Based on the user's characteristic parameters and the distance between the user and the fan, the fan's related parameters, such as wind speed and wind direction, are automatically adjusted to meet the user's needs. After that, the user's characteristic parameters and distance from the fan are continuously monitored, and the user's comfort and preferences are fed back in real time. The fan parameters are dynamically adjusted based on the feedback information to keep the fan in the best working state.
[0070] In some embodiments, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades. This can be specifically achieved through the following steps: at least according to the distance between the user and the fan, a PID control algorithm is used to adjust the output of the fan blade drive motor to adjust the shape of the fan blades and / or the inclination angle of the fan blades.
[0071] Specifically, the above PID control algorithm (Proportional-Integral-Derivative Control Algorithm) is a commonly used control algorithm, which is used to adjust the output value of the system so that the output of the system is close to the set value, and realizes control based on the adjustment of the three parts of proportion, integration and differentiation.
[0072] In this solution, the PID control algorithm can be used to adjust the fan blade shape and / or blade inclination angle according to the distance between the user and the fan, thereby achieving more precise wind speed control. By real-time monitoring of the distance between the user and the fan, the PID control algorithm can adjust the fan blade shape and inclination angle according to the set target value to achieve the wind speed adjustment effect expected by the user, which can improve the fan's adjustment accuracy and response speed, thereby enhancing user experience and comfort.
[0073] That is, by using the PID control algorithm to change the angle of attack, the output of the servo motor or stepper motor is dynamically adjusted according to the user distance information fed back by the radar module to achieve precise angle control.
[0074] In addition, it should be noted that since the radar has a positioning function and can detect whether there is a user in front of the fan, it can then determine whether someone needs to use the fan through the information about the presence of people transmitted by the radar module. When there is no one, the fan can be turned off, which can effectively reduce power consumption. The radar can also determine the user's location information. The fan can follow the user's direction based on the user's location information and no longer has a fixed shaking direction like the original, which effectively improves efficiency.
[0075] Through the technical solution provided in the above embodiments of the present application, the radar module and the fan are combined to dynamically adjust the curve and inclination angle of the fan blades to achieve the optimal wind speed in the current state. At the same time, the power consumption of the fan is reduced, the user experience is improved, and the life of the fan motor is increased.
[0076] That is, the above technical solution provided in the embodiment of the present application comprehensively considers various factors, obtains the distance of the user from the fan through radar, and dynamically adjusts the curve and inclination angle of the fan blades to achieve the optimal wind speed in the current state.
[0077] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the method for controlling a fan of the present application will be described in detail below in combination with specific embodiments.
[0078] The fan main control chip obtains the distance information from the human body transmitted by the radar module through the serial port. The device supports processing of three distance ranges, namely 0-1 meter, 1-2 meters, and 2-3 meters. When the distance is 0-1 meter, the fan defaults to low wind speed, and there is no need to adjust the shape and inclination angle of the fan blades. When the distance is 1-2 meters, the fan defaults to low wind speed, and there is no need to adjust the shape of the fan blades. Change the inclination angle (angle of attack) of the fan blades to achieve a higher wind speed. When the distance is 2-3 meters, the fan defaults to low wind speed, and uses blade element momentum theory and genetic algorithm to adjust the angle of attack and curve of the fan blades to increase the fan speed and transmission distance of the fan wind while keeping the motor power unchanged.
[0079] The embodiment of the present application also provides a device for controlling a fan. It should be noted that the device for controlling a fan in the embodiment of the present application can be used to execute the method for controlling a fan provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions thereof will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0080] The following is an introduction to the fan control device provided in the embodiments of the present application.
[0081] Figure 4 Schematic diagram of a fan control device according to an embodiment of the present application. Figure 4 As shown, the device includes: an acquisition unit 401 and an adjustment unit 402.
[0082] The acquisition unit 401 is used to acquire the distance between the user and the fan.
[0083] The adjustment unit 402 is used to adjust relevant parameters of the fan at least according to the distance between the user and the fan. The relevant parameters include the fan blade shape and / or the fan blade inclination angle, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0084] Through this embodiment, the distance between the user and the fan is first obtained, and then the relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within the preset wind volume range, and the wind speed generated by the fan is within the preset wind speed range. Applying the technical solution of the present application, by adjusting the shape of the fan blades and / or the inclination angle of the fan blades, a technical effect of strong adaptability to the wind generated by the fan is achieved, thereby solving the technical problem that the current fan wind speed adjustment method has poor adaptability and is not flexible enough to adjust.
[0085] During the specific implementation process, the adjustment unit includes a first adjustment module, a second adjustment module and a first adjustment module. The first adjustment module is used to adjust the fan blade shape to the initial fan blade shape and / or adjust the fan blade inclination angle to the initial fan blade inclination angle when the distance between the user and the fan is within a first preset distance range; the second adjustment module is used to adjust the fan blade shape to the initial fan blade shape and / or adjust the fan blade inclination angle to within a preset inclination angle range when the distance between the user and the fan is within a second preset distance range; the first adjustment module is used to adjust the fan blade shape using a fan blade shape adjustment model and / or adjust the fan blade inclination angle using a fan blade inclination angle adjustment model when the distance between the user and the fan is within a third preset distance range; wherein the maximum value of the first preset distance range is less than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is less than the minimum value of the third preset distance range.
[0086] In this solution, the fan blade shape and inclination angle are adjusted according to the distance between the user and the fan to achieve more effective wind speed regulation. When the user is close, the wind speed effect can be improved by adjusting the fan blade shape and inclination angle. When the user is far away, corresponding adjustments can be made to maintain appropriate wind speed and wind force, which can better meet the user's needs for wind speed and improve the user experience of the fan.
[0087] During the specific implementation process, the above-mentioned device also includes a first construction module and a second construction module. The first construction module is used to construct a blade shape adjustment model before using the blade shape adjustment model to adjust the blade shape, and / or before using the blade inclination angle adjustment model to adjust the blade inclination angle, wherein the blade shape adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical blade shapes corresponding to historical distances; the second construction module is used to construct a blade inclination angle adjustment model, wherein the blade inclination angle adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical blade inclination angles corresponding to historical distances.
[0088] In this solution, building a fan blade shape adjustment model and a fan blade inclination angle adjustment model can help achieve more accurate wind speed adjustment. By training with historical distance and corresponding fan blade shape or inclination angle data, the most suitable fan blade shape or inclination angle can be predicted according to the current distance, thereby adjusting the wind speed to meet user needs, which can improve the efficiency and performance of the fan while also enhancing the user experience.
[0089] In some embodiments, the adjustment unit includes a second adjustment module, which is used to adjust at least one of the fan blade shape and the fan blade inclination angle and the gear position of the fan at least according to the distance between the user and the fan.
[0090] In this solution, the fan blade shape, fan blade inclination and fan gear can be adjusted according to the distance between the user and the fan to achieve more precise wind speed adjustment. The radar module detects the distance between the user and the fan, and can adjust the fan blade shape and inclination in real time, as well as select the appropriate fan gear to ensure that the user can obtain suitable wind speed and comfortable wind feeling at different distances, thereby improving the fan's efficiency and user experience.
[0091] During the specific implementation process, the above-mentioned device also includes a first acquisition module and a third adjustment module. The first acquisition module is used to obtain the user's orientation information; the third adjustment module is used to adjust at least one of the fan blade shape and the fan blade inclination angle and the direction of the fan head according to the user's orientation information and the distance between the user and the fan.
[0092] In this solution, obtaining the user's position information can help the fan system determine the user's position and orientation, thereby adjusting the orientation of the fan head according to the user's position and orientation to ensure that the fan's wind blows directly toward the user. According to the distance between the user and the fan, the fan blade shape and blade inclination angle can be adjusted to change the fan's wind speed and direction, thereby providing a more comfortable fan experience. The function of intelligently adjusting the fan can be realized to improve user experience and comfort.
[0093] In some embodiments, the adjustment unit includes a second acquisition module and a fourth adjustment module. The second acquisition module is used to obtain characteristic parameters of the user, and the characteristic parameters of the user include at least one of the user's age, the user's gender, and the user's physical health condition; the fourth adjustment module is used to adjust relevant parameters of the fan according to the user's characteristic parameters and the distance between the user and the fan.
[0094] In this solution, the user's characteristic parameters can be used to determine the user's comfort needs. For example, age, gender and physical health status can affect the user's perception of the fan wind speed. According to the user's characteristic parameters and the distance between the user and the fan, the fan's wind speed, wind direction and other parameters can be adjusted to provide the wind speed and wind direction that best suits the user, thereby improving the user's comfort experience. By analyzing the user's characteristic parameters and the distance from the fan, the system can automatically adjust the fan's wind speed and wind direction to meet the user's needs. For example, for older users or users with poor physical health, the fan's wind speed can be reduced to avoid causing discomfort to their bodies. For users with more delicate genders or who are more sensitive to temperature, the fan's wind direction can be adjusted to provide softer wind, thereby improving the user experience while also improving the fan's energy efficiency and lifespan.
[0095] In some embodiments, the adjustment unit includes a fifth adjustment module, which is used to adjust the output of the fan blade drive motor using a PID control algorithm at least according to the distance between the user and the fan to adjust the fan blade shape and / or blade inclination angle of the fan.
[0096] In this solution, the PID control algorithm can be used to adjust the fan blade shape and / or blade inclination angle according to the distance between the user and the fan, thereby achieving more precise wind speed control. By real-time monitoring of the distance between the user and the fan, the PID control algorithm can adjust the fan blade shape and inclination angle according to the set target value to achieve the wind speed adjustment effect expected by the user, which can improve the fan's adjustment accuracy and response speed, thereby enhancing user experience and comfort.
[0097] The device for controlling a fan includes a processor and a memory. The acquisition unit and the adjustment unit are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.
[0098] The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and the technical problem that the current fan speed adjustment method has poor adaptability and inflexible adjustment can be solved by adjusting kernel parameters.
[0099] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0100] The present application also provides a fan adjustment system, comprising: a fan with adjustable blade shape and adjustable blade inclination; a control unit, communicating with the fan, for executing any one of the methods for controlling the fan.
[0101] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute a method for controlling a fan.
[0102] Specifically, the method for controlling the fan includes:
[0103] Step S201, obtaining the distance between the user and the fan.
[0104] Specifically, obtaining the distance between the user and the fan can monitor the user's position in real time, thereby automatically adjusting the fan's wind speed according to the user's distance. When the user is close to the fan, the wind speed can be increased to provide stronger wind force, and when the user is away from the fan, the wind speed can be reduced to save energy, which can improve user experience and energy-saving effects.
[0105] Step S202, adjust relevant parameters of the fan at least according to the distance between the user and the fan, the relevant parameters including the fan blade shape and / or the fan blade inclination angle, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0106] Specifically, adjusting the relevant parameters of the fan according to the distance between the user and the fan can help the fan achieve more precise wind speed control. By adjusting the fan blade shape and / or the fan blade inclination angle according to the distance between the user and the fan, it can ensure that the wind volume generated by the fan is within a preset range. When the wind speed is within the preset range, the user can feel the appropriate wind speed and wind volume at different distances, thereby improving the user experience. By monitoring the distance between the user and the fan in real time through the radar module, the relevant parameters of the fan can be intelligently adjusted, so that the fan can adjust the wind speed and wind volume according to the user's location and needs, providing a personalized fan experience, improving the fan's energy efficiency, reducing energy consumption, and also improving the user's comfort and convenience.
[0107] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the blade shape and / or the blade inclination angle, including: when the distance between the user and the fan is within a first preset distance range, adjusting the blade shape to an initial blade shape and / or adjusting the blade inclination angle to an initial blade inclination angle; when the distance between the user and the fan is within a second preset distance range, adjusting the blade shape to an initial blade shape and / or adjusting the blade inclination angle to within a preset inclination angle range; when the distance between the user and the fan is within a third preset distance range, adjusting the blade shape using a blade shape adjustment model, and / or adjusting the blade inclination angle using a blade inclination angle adjustment model; wherein, the maximum value of the first preset distance range is less than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is less than the minimum value of the third preset distance range.
[0108] Optionally, before using a fan blade shape adjustment model to adjust the fan blade shape, and / or before using a fan blade pitch angle adjustment model to adjust the fan blade pitch angle, the method for controlling a fan further includes: constructing a fan blade shape adjustment model, wherein the fan blade shape adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade shapes corresponding to the historical distances; constructing a fan blade pitch angle adjustment model, wherein the fan blade pitch angle adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade pitch angles corresponding to the historical distances.
[0109] Optionally, the fan-related parameters also include the fan gear. The fan-related parameters are adjusted at least according to the distance between the user and the fan, including: adjusting at least one of the fan blade shape and the fan blade inclination angle and the fan gear according to at least the distance between the user and the fan.
[0110] Optionally, the relevant parameters of the fan also include the orientation of the fan head of the fan. Adjusting the relevant parameters of the fan at least according to the distance between the user and the fan also includes: obtaining the user's orientation information; adjusting at least one of the fan blade shape and the fan blade inclination angle and the orientation of the fan head according to the user's orientation information and the distance between the user and the fan.
[0111] Optionally, adjusting relevant parameters of the fan at least according to the distance between the user and the fan includes: obtaining characteristic parameters of the user, the characteristic parameters of the user including at least one of the user's age, the user's gender, and the user's physical health condition; adjusting relevant parameters of the fan according to the characteristic parameters of the user and the distance between the user and the fan.
[0112] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, including: at least according to the distance between the user and the fan, a PID control algorithm is used to adjust the output of the fan blade drive motor to adjust the shape of the fan blades and / or the inclination angle of the fan blades.
[0113] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for controlling a fan is executed when the program is run.
[0114] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are implemented: obtaining the distance between a user and a fan; adjusting relevant parameters of the fan at least according to the distance between the user and the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0115] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0116] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the blade shape and / or the blade inclination angle, including: when the distance between the user and the fan is within a first preset distance range, adjusting the blade shape to an initial blade shape and / or adjusting the blade inclination angle to an initial blade inclination angle; when the distance between the user and the fan is within a second preset distance range, adjusting the blade shape to an initial blade shape and / or adjusting the blade inclination angle to within a preset inclination angle range; when the distance between the user and the fan is within a third preset distance range, adjusting the blade shape using a blade shape adjustment model, and / or adjusting the blade inclination angle using a blade inclination angle adjustment model; wherein, the maximum value of the first preset distance range is less than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is less than the minimum value of the third preset distance range.
[0117] Optionally, before using a fan blade shape adjustment model to adjust the fan blade shape, and / or before using a fan blade pitch angle adjustment model to adjust the fan blade pitch angle, the method for controlling a fan further includes: constructing a fan blade shape adjustment model, wherein the fan blade shape adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade shapes corresponding to the historical distances; constructing a fan blade pitch angle adjustment model, wherein the fan blade pitch angle adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade pitch angles corresponding to the historical distances.
[0118] Optionally, the fan-related parameters also include the fan gear. The fan-related parameters are adjusted at least according to the distance between the user and the fan, including: adjusting at least one of the fan blade shape and the fan blade inclination angle and the fan gear according to at least the distance between the user and the fan.
[0119] Optionally, the relevant parameters of the fan also include the orientation of the fan head of the fan. Adjusting the relevant parameters of the fan at least according to the distance between the user and the fan also includes: obtaining the user's orientation information; adjusting at least one of the fan blade shape and the fan blade inclination angle and the orientation of the fan head according to the user's orientation information and the distance between the user and the fan.
[0120] Optionally, adjusting relevant parameters of the fan at least according to the distance between the user and the fan includes: obtaining characteristic parameters of the user, the characteristic parameters of the user including at least one of the user's age, the user's gender, and the user's physical health condition; adjusting relevant parameters of the fan according to the characteristic parameters of the user and the distance between the user and the fan.
[0121] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, including: at least according to the distance between the user and the fan, a PID control algorithm is used to adjust the output of the fan blade drive motor to adjust the shape of the fan blades and / or the inclination angle of the fan blades.
[0122] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: obtaining the distance between the user and the fan; adjusting relevant parameters of the fan at least according to the distance between the user and the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
[0123] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the blade shape and / or the blade inclination angle, including: when the distance between the user and the fan is within a first preset distance range, adjusting the blade shape to an initial blade shape and / or adjusting the blade inclination angle to an initial blade inclination angle; when the distance between the user and the fan is within a second preset distance range, adjusting the blade shape to an initial blade shape and / or adjusting the blade inclination angle to within a preset inclination angle range; when the distance between the user and the fan is within a third preset distance range, adjusting the blade shape using a blade shape adjustment model, and / or adjusting the blade inclination angle using a blade inclination angle adjustment model; wherein, the maximum value of the first preset distance range is less than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is less than the minimum value of the third preset distance range.
[0124] Optionally, before using a fan blade shape adjustment model to adjust the fan blade shape, and / or before using a fan blade pitch angle adjustment model to adjust the fan blade pitch angle, the method for controlling a fan further includes: constructing a fan blade shape adjustment model, wherein the fan blade shape adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade shapes corresponding to the historical distances; constructing a fan blade pitch angle adjustment model, wherein the fan blade pitch angle adjustment model is trained based on multiple sets of training data acquired within a historical time period, and any set of training data includes historical distances and historical fan blade pitch angles corresponding to the historical distances.
[0125] Optionally, the fan-related parameters also include the fan gear. The fan-related parameters are adjusted at least according to the distance between the user and the fan, including: adjusting at least one of the fan blade shape and the fan blade inclination angle and the fan gear according to at least the distance between the user and the fan.
[0126] Optionally, the relevant parameters of the fan also include the orientation of the fan head of the fan. Adjusting the relevant parameters of the fan at least according to the distance between the user and the fan also includes: obtaining the user's orientation information; adjusting at least one of the fan blade shape and the fan blade inclination angle and the orientation of the fan head according to the user's orientation information and the distance between the user and the fan.
[0127] Optionally, adjusting relevant parameters of the fan at least according to the distance between the user and the fan includes: obtaining characteristic parameters of the user, the characteristic parameters of the user including at least one of the user's age, the user's gender, and the user's physical health condition; adjusting relevant parameters of the fan according to the characteristic parameters of the user and the distance between the user and the fan.
[0128] Optionally, relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, including: at least according to the distance between the user and the fan, a PID control algorithm is used to adjust the output of the fan blade drive motor to adjust the shape of the fan blades and / or the inclination angle of the fan blades.
[0129] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0131] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0134] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0135] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0136] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0137] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0138] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0139] In the method for controlling a fan of the present application, the distance between the user and the fan is first obtained, and then the relevant parameters of the fan are adjusted at least according to the distance between the user and the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range. The present application achieves a technical effect of strong adaptability to the wind generated by the fan by adjusting the shape of the fan blades and / or the inclination angle of the fan blades, thereby solving the technical problem that the current fan wind speed adjustment method has poor adaptability and insufficient flexibility, providing a more personalized and comfortable fan use experience, improving the convenience and comfort of fan use, and meeting the requirements of different user needs.
[0140] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling a fan, characterized in that: include: Get the distance between the user and the fan; At least according to the distance between the user and the fan, the relevant parameters of the fan are adjusted, and the relevant parameters include the shape of the fan blades and / or the inclination angle of the fan blades, so that the wind volume generated by the fan is within a preset wind volume range, and the wind speed generated by the fan is within a preset wind speed range.
2. The method according to claim 1, characterized in that At least according to the distance between the user and the fan, adjusting relevant parameters of the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, including: When the distance between the user and the fan is within a first preset distance range, adjusting the fan blade shape to an initial fan blade shape and / or adjusting the fan blade inclination angle to an initial fan blade inclination angle; When the distance between the user and the fan is within a second preset distance range, adjusting the fan blade shape to an initial fan blade shape and / or adjusting the fan blade inclination angle to within a preset inclination angle range; When the distance between the user and the fan is within a third preset distance range, the fan blade shape is adjusted using a fan blade shape adjustment model, and / or the fan blade inclination angle is adjusted using a fan blade inclination angle adjustment model; The maximum value of the first preset distance range is smaller than the minimum value of the second preset distance range, and the maximum value of the second preset distance range is smaller than the minimum value of the third preset distance range.
3. The method according to claim 2, characterized in that Before adjusting the blade shape by using the blade shape adjustment model, and / or adjusting the blade inclination angle by using the blade inclination angle adjustment model, the method further includes: Constructing the blade shape adjustment model, wherein the blade shape adjustment model is obtained by training based on multiple sets of training data acquired in a historical time period, and any set of the training data includes a historical distance and a historical blade shape corresponding to the historical distance; The fan blade pitch angle adjustment model is constructed, wherein the fan blade pitch angle adjustment model is trained based on multiple groups of training data acquired within a historical time period, and any group of the training data includes a historical distance and a historical fan blade pitch angle corresponding to the historical distance.
4. The method according to claim 1, characterized in that: The fan-related parameters also include the gear position of the fan, and adjusting the fan-related parameters at least according to the distance between the user and the fan includes: At least one of the fan blade shape and the fan blade inclination angle and the gear position of the fan are adjusted according to at least the distance between the user and the fan.
5. The method according to claim 1, characterized in that The fan-related parameters also include the orientation of the fan head of the fan, and adjusting the fan-related parameters at least according to the distance between the user and the fan also includes: Obtaining location information of the user; At least one of the fan blade shape and the fan blade inclination angle and the orientation of the fan head are adjusted according to the orientation information of the user and the distance between the user and the fan.
6. The method according to claim 1, characterized in that Adjusting relevant parameters of the fan at least according to the distance between the user and the fan, including: Acquire characteristic parameters of the user, where the characteristic parameters of the user include at least one of the user's age, the user's gender, and the user's physical health condition; Relevant parameters of the fan are adjusted according to the characteristic parameters of the user and the distance between the user and the fan.
7. The method according to claim 1, characterized in that At least according to the distance between the user and the fan, adjusting relevant parameters of the fan, the relevant parameters including the shape of the fan blades and / or the inclination angle of the fan blades, including: At least according to the distance between the user and the fan, a PID control algorithm is used to adjust the output of the fan blade drive motor to adjust the fan blade shape and / or the fan blade inclination angle of the fan.
8. A fan adjustment system, characterized in that: include: Fans with adjustable blade shape and adjustable blade inclination; A control unit, communicating with the fan, and configured to execute the method for controlling a fan as claimed in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for controlling a fan according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the method for controlling a fan as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Fan blade and fan
CN111350692A
Fan adjusting method, fan, fan adjusting system and storage medium
CN112922890A
Fan air supply control method and system, fan and computer readable storage medium
CN112925406A
Fan and electronic equipment
CN114607642A
Diameter-variable engine cooling fan and engine
CN116044809A
