Electric fan control method and device, electric fan and storage medium

CN119594044AActive Publication Date: 2025-03-11GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411672436.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-11
Estimated Expiration
2044-11-21

AI Technical Summary

Technical Problem

The existing electric fans have inconvenience in adjusting the wind speed, and cannot adapt to changes in the user's somatosensory temperature in real time, resulting in poor user experience.

Method used

By collecting the user's somatosensory temperature, ambient temperature and ambient humidity, the target wind speed is output using a pre-constructed wind speed prediction model (based on linear regression model), and the wind speed of the electric fan is adjusted in real time.

Benefits of technology

It realizes intelligent control of electric fans, reduces the frequency of manual adjustment by users, can provide a comfortable experience under different somatosensory temperatures, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119594044A_ABST
    Figure CN119594044A_ABST
Patent Text Reader

Abstract

The invention discloses an electric fan control method and device, an electric fan and a storage medium. The method comprises the steps that the sensible temperature of a user at the current wind speed is collected, and the current environment temperature and environment humidity are collected; inputting the user sensible temperature, the environment temperature and the environment humidity into a pre-constructed wind speed prediction model, and outputting a target wind speed by the wind speed prediction model; the wind speed prediction model is obtained by training and learning a linear regression model through historical user sensible temperature and corresponding historical environment temperature and historical environment humidity; and regulating and controlling the current wind speed based on the target wind speed. Based on the constructed wind speed prediction model, the wind speed of the electric fan is adjusted in real time by collecting the user sensible temperature, the environment temperature and the environment humidity in the operation process of the electric fan, so that intelligent control over the electric fan is achieved, the frequency of manual adjustment of the user is reduced, and the user experience is improved. And the user can obtain comfortable experience at different sensible temperatures, so that the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric fans, and in particular to an electric fan control method, a device, an electric fan and a storage medium. Background Art

[0002] Currently, most electric fans on the market will run at a fixed wind speed after determining the gear and mode. This fixed wind speed working mode has obvious defects, namely: when the wind speed is too high, the user will feel cold, and then need to manually adjust the gear to increase the temperature. However, the user's manual adjustment method is not only inconvenient, but also unable to adapt to changes in the user's perceived temperature in real time. In particular, when the user's movement state changes, the perceived temperature will also change accordingly. Therefore, even through manual adjustment, the adjusted fixed wind speed cannot meet the user's comfort needs, resulting in a poor user experience. Summary of the invention

[0003] The embodiments of the present invention provide an electric fan control method, an electric fan, and a storage medium, aiming to realize intelligent control of the electric fan and improve the user experience.

[0004] In a first aspect, an embodiment of the present invention provides an electric fan control method, comprising:

[0005] When the electric fan is running, the user's perceived temperature at the current wind speed is collected, as well as the current ambient temperature and humidity;

[0006] The user's perceived temperature, ambient temperature and ambient humidity are input into a pre-built wind speed prediction model, and the wind speed prediction model outputs a target wind speed; wherein the wind speed prediction model is obtained by training and learning a linear regression model through historical user's perceived temperature and corresponding historical ambient temperature and historical ambient humidity;

[0007] Based on the target wind speed, the current wind speed is regulated.

[0008] In a second aspect, an embodiment of the present invention provides an electric fan control device, comprising:

[0009] The collection unit is used to collect the user's body temperature at the current wind speed, as well as the current ambient temperature and humidity during the operation of the electric fan;

[0010] A prediction unit, used to input the user's body temperature, ambient temperature and ambient humidity into a pre-built wind speed prediction model, and the wind speed prediction model outputs a target wind speed; wherein the wind speed prediction model is obtained by training and learning a linear regression model through historical user's body temperature and corresponding historical ambient temperature and historical ambient humidity;

[0011] A control unit is used to control the current wind speed based on the target wind speed.

[0012] In a third aspect, an embodiment of the present invention provides an electric fan, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the electric fan control method as described in the first aspect when executing the computer program.

[0013] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the electric fan control method as described in the first aspect is implemented.

[0014] The embodiment of the present invention provides an electric fan control method, device, electric fan and storage medium, the method comprising: during the operation of the electric fan, collecting the user's perceived temperature at the current wind speed, and collecting the current ambient temperature and ambient humidity; inputting the user's perceived temperature, ambient temperature and ambient humidity into a pre-constructed wind speed prediction model, and the wind speed prediction model outputs a target wind speed; wherein the wind speed prediction model is obtained by training and learning a linear regression model through historical user's perceived temperature and corresponding historical ambient temperature and historical ambient humidity; and regulating the current wind speed based on the target wind speed. Based on the constructed wind speed prediction model, the embodiment of the present invention adjusts the wind speed of the electric fan in real time by collecting the user's perceived temperature, ambient temperature and ambient humidity during the operation of the electric fan, so that the intelligent control of the electric fan can be realized, the frequency of manual adjustment by the user can be reduced, and the user can have a comfortable experience at different perceived temperatures, thereby improving the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0016] Figure 1 A schematic flow chart of an electric fan control method provided by an embodiment of the present invention;

[0017] Figure 2 Another schematic diagram of a flow chart of an electric fan control method provided by an embodiment of the present invention;

[0018] Figure 3 A schematic diagram of a first sub-process of an electric fan control method provided by an embodiment of the present invention;

[0019] Figure 4A schematic diagram of a second sub-process of an electric fan control method provided by an embodiment of the present invention;

[0020] Figure 5 A schematic diagram of a wind speed adjustment process of an electric fan control method provided by an embodiment of the present invention;

[0021] Figure 6 A schematic diagram of another wind speed adjustment process of an electric fan control method provided by an embodiment of the present invention;

[0022] Figure 7 A schematic diagram of a model training process of an electric fan control method provided by an embodiment of the present invention;

[0023] Figure 8 A schematic block diagram of an electric fan control device provided by an embodiment of the present invention;

[0024] Fig. 9 Another schematic block diagram of an electric fan control device provided by an embodiment of the present invention;

[0025] Fig.10 A first sub-schematic block diagram of an electric fan control device provided by an embodiment of the present invention;

[0026] Fig.11 This is a second sub-schematic block diagram of an electric fan control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0030] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] See below Figure 1 , an embodiment of the present invention provides an electric fan control method, which specifically includes: steps S101-S103.

[0032] Step S101: during the operation of the electric fan, the user's perceived temperature at the current wind speed is collected, as well as the current ambient temperature and ambient humidity;

[0033] Step S102: inputting the user's perceived temperature, ambient temperature and ambient humidity into a pre-built wind speed prediction model, and outputting a target wind speed by the wind speed prediction model; wherein the wind speed prediction model is obtained by training a linear regression model through historical user's perceived temperature and corresponding historical ambient temperature and historical ambient humidity;

[0034] Step S103: adjusting the current wind speed based on the target wind speed.

[0035] In this embodiment, combined with Figure 5 and Figure 6 , when the electric fan is running, the current user's perceived temperature and the temperature and humidity of the environment are collected, and the current wind speed is predicted using a pre-built wind speed prediction model, that is, the collected user's perceived temperature and the ambient temperature and humidity are input into the wind speed prediction model, and then the wind speed prediction model outputs the corresponding target wind speed. After obtaining the target wind speed, the current wind speed is adjusted according to the relationship between the target wind speed and the current wind speed. Specifically, the target wind speed can be compared with the current wind speed. If the current wind speed is lower than the target wind speed, it means that the current wind speed is small, so the wind speed of the electric fan can be increased according to the target wind speed. If the current wind speed is greater than the target wind speed, it means that the current wind speed is large, so the wind speed of the electric fan can be reduced according to the target wind speed. Of course, if the current wind speed is consistent with the target wind speed, the current wind speed does not need to be adjusted.

[0036] This embodiment is based on the constructed wind speed prediction model, and adjusts the wind speed of the electric fan in real time by collecting the user's body temperature, ambient temperature and ambient humidity during the operation of the electric fan, so that the intelligent control of the electric fan can be realized, the frequency of manual adjustment by the user can be reduced, and the user can have a comfortable experience at different body temperatures, thereby improving the user's experience. For example, when the user's motion state and the environment in which he is located change, the electric fan can automatically adjust the wind speed according to the user's motion state and the ambient temperature and humidity to meet diverse needs.

[0037] In actual application scenarios, an intelligent wind speed adjustment mode can be set for the electric fan. When the intelligent wind speed adjustment mode is turned on, the wind speed of the electric fan is intelligently controlled based on the wind speed prediction model. If the intelligent wind speed adjustment mode is not turned on or is turned off, there is no need to intelligently control the wind speed of the electric fan through the wind speed prediction model.

[0038] In one embodiment, if Figure 2 As shown, the step S101 includes steps S201-S203.

[0039] Step S201, determining whether a wind speed adjustment instruction sent by a user is received;

[0040] Step S202: if it is determined that a wind speed adjustment instruction sent by the user is received, the current wind speed is adjusted according to the wind speed adjustment instruction;

[0041] Step S203: If it is determined that no wind speed adjustment instruction sent by the user is received, then enter the collection step.

[0042] In this embodiment, during the operation of the electric fan, in addition to predicting the wind speed according to the user's body temperature, ambient temperature and ambient humidity, thereby adjusting and controlling the current wind speed, the current wind speed can also be adjusted and controlled according to the wind speed adjustment instruction sent by the user. It can be understood that the electric fan control method provided in this embodiment is to improve the user experience, so when a wind speed adjustment instruction sent by the user is received, the electric fan wind speed is adjusted and controlled according to the wind speed adjustment instruction first, and if the wind speed adjustment instruction is not received, the collection step, i.e., step S101, is entered to collect the input parameters required by the wind speed prediction model, and the wind speed prediction is continued through the wind speed prediction model, thereby adjusting and controlling the current wind speed.

[0043] Furthermore, after step S202, the following steps are included:

[0044] Obtaining an adjusted wind speed corresponding to the wind speed adjustment instruction;

[0045] The model parameters of the wind speed prediction model are feedback-adjusted according to the adjusted wind speed.

[0046] In this embodiment, after the wind speed is regulated according to the wind speed adjustment instruction of the user, the wind speed prediction model can be further optimized according to the wind speed adjustment instruction of the user, so that the target wind speed subsequently predicted and output by the wind speed prediction model is more in line with the user's usage needs. That is, according to the wind speed adjustment instruction sent by the user, the wind speed that the user needs to adjust is obtained, and the user's body temperature, ambient temperature and ambient humidity at this time are obtained, so that the wind speed prediction model is reversely adjusted in combination with the adjusted wind speed, the user's body temperature, the ambient temperature and the ambient humidity, so as to optimize the model parameters of the wind speed prediction model.

[0047] For example, user A thinks that the wind speed of 1.5m / s is the most suitable wind speed when the ambient temperature is 30℃, the humidity is 50%, and the perceived temperature is 37℃, while user B thinks that the wind speed of 2m / s is the most suitable wind speed when the ambient temperature is 30℃, the humidity is 50%, and the perceived temperature is 37℃. If both user A and user B manually adjust the wind speed during the use of the electric fan, the wind speed adjustment instructions sent by user A and user B, as well as the corresponding user perceived temperature, ambient temperature, and current wind speed of the electric fan are recorded accordingly, and the above data are used to optimize the parameters of the wind speed prediction model, so that in the next corresponding situation, the wind speed predicted by the optimized model is adjusted, which can further improve the user comfort.

[0048] Combination Figure 5 When the electric fan is in working state and the intelligent wind speed adjustment mode is turned on, it is first determined whether the user manually adjusts the wind speed, that is, whether the wind speed adjustment command sent by the user is received. If the user manually adjusts the wind speed, the electric fan is controlled to run according to the wind speed manually adjusted by the user, and the wind speed prediction model is learned according to the wind speed manually adjusted by the user; if the user does not manually adjust the wind speed, the user's body temperature, ambient temperature and ambient humidity are collected to predict the output target wind speed through the wind speed prediction model, and then the current wind speed is adjusted according to the target wind speed. Then the electric fan is controlled to run according to the adjusted wind speed, and the running wind speed continues to be adjusted according to the user's instructions or collected data until the preset time is reached or the user turns off the current mode.

[0049] In one embodiment, during the operation of the electric fan, collecting the user's perceived temperature at the current wind speed, and collecting the current ambient temperature and ambient humidity, includes:

[0050] Using an acoustic wave sensor to capture the user's body surface vibration data;

[0051] The user's perceived temperature is obtained according to the body surface vibration data.

[0052] In this embodiment, an acoustic wave sensor can be added to the existing structure of the electric fan to monitor the human body temperature AT°C in real time. At the same time, a temperature and humidity sensor can be installed on the electric fan to collect ambient temperature and humidity.

[0053] When the user's perceived temperature AT℃ is collected through an acoustic wave sensor, the acoustic wave sensor can be used to capture tiny vibrations on the surface of the human skin to infer the perceived temperature. In actual application scenarios, the acoustic wave sensor is integrated into a wearable device (such as a bracelet, watch, wristband, etc.) to monitor the vibration of the user's skin at close range. The acoustic wave sensor collects vibration data on the skin surface in real time (the data includes information such as the frequency, amplitude, and phase of the vibration), and converts it into an electrical signal. The collected vibration data is processed, and the changes in skin temperature can be inferred by analyzing the characteristics of the vibration signal (such as frequency, amplitude, etc.).

[0054] In some other embodiments, the user's body temperature can be collected in other ways, such as directly attaching a skin temperature sensor to the user's skin to directly measure the skin temperature, and further integrating it into a smart bracelet, patch or other wearable device to achieve user body temperature detection. For another example, the user's body temperature can be collected through a thermal resistor, that is, the temperature is measured by the change of resistance. The thermal resistor can be placed near the user's clothing or integrated into a wearable device to measure the user's body temperature.

[0055] In one embodiment, the step of inputting the user's perceived temperature, the ambient temperature and the ambient humidity into a pre-built wind speed prediction model, and outputting a target wind speed by the wind speed prediction model, includes:

[0056] The target wind speed is predicted and output according to the following formula:

[0057] S=β0+β1*T+β2*H+β3*U

[0058] Among them, S represents the target wind speed, T represents the ambient temperature, H represents the ambient humidity, U represents the user's perceived temperature, β0 represents the intercept term, β1 represents the coefficient of the ambient temperature, β2 represents the coefficient of the ambient humidity, and β3 represents the coefficient of the user's perceived temperature.

[0059] This embodiment uses the above-mentioned wind speed prediction model to predict the wind speed based on the collected user's perceived temperature, ambient temperature and ambient humidity, so as to output the target wind speed that is most suitable for the user at this time.

[0060] In a specific embodiment, Figure 3 As shown, the linear regression model is trained and learned through historical user body temperature and corresponding historical ambient temperature and historical ambient humidity, including: steps S301-S306.

[0061] Step S301, obtaining historical user-felt temperature, historical ambient temperature, and historical ambient humidity, and performing data preprocessing on the historical user-felt temperature, historical ambient temperature, and historical ambient humidity;

[0062] Step S302: construct a training matrix based on the historical user perceived temperature, historical ambient temperature and historical ambient humidity after data preprocessing:

[0063] X=[1,T i , H i , U i ];

[0064] Among them, 1 represents the intercept term, T i represents the i-th historical user's body temperature, H i represents the i-th historical ambient temperature, U i represents the i-th historical ambient humidity;

[0065] Step S303: input the training matrix into a linear regression model, and the linear regression model outputs the predicted value of the training matrix:

[0066] S^=Xβ

[0067] Wherein, S^ represents the predicted value, β represents the training parameter of the linear regression model, β={β0; β1; β2; β3};

[0068] Step S304, calculating the sum of square errors between the predicted value and the true values ​​corresponding to the historical user perceived temperature, the historical ambient temperature and the historical ambient humidity;

[0069] Step S305: using the least square method to minimize the sum of square errors, and obtaining training parameters corresponding to the minimization process;

[0070] Step S306: using the training parameters corresponding to the minimization process as model parameters of the linear regression model, and constructing the wind speed prediction model based on the model parameters.

[0071] In this embodiment, combined with Figure 7 , by collecting historical data as training data, the linear regression model is trained and learned, and then the wind speed prediction model is constructed. Specifically, the mathematical expression of the linear regression model can be expressed as:

[0072] S=β0+β1*T+β2*H+β3*U

[0073] Among them, β0 is the intercept term, β1 is the coefficient of ambient temperature, β2 is the coefficient of ambient humidity, and β3 is the coefficient of user perceived temperature.

[0074] In order to determine the parameters β0, β1, β2, and β3 of the model, a large amount of training data needs to be collected. The training data contains multiple historical data values, including historical records of ambient temperature, humidity, user-perceived temperature, and corresponding wind speed settings. Assuming there are n collected data values, each value can be expressed as:

[0075] (T i , H i , U i , S i ), where i = 1, 2, ..., n

[0076] Therefore, the training matrix X (a column of 1 containing the intercept term) and the parameter vector β can be designed as follows:

[0077] X={1,T1,H1,U1;

[0078] 1, T2, H2, U2; ......

[0080] 1. T i , H i , U i ; ......

[0082] 1. T n , H n , U n}

[0083] β={β0;β1;β2;β3}

[0084] Combine the above training matrix X and parameter vector β to express the predicted value S^:

[0085] S^=Xβ

[0086] Furthermore, the square error and E of the predicted value and the true value are calculated:

[0087]

[0088] In this way, the square error and E can be combined to solve the optimal solution of parameter β. In other words, in order to find the parameter β that minimizes E, it is necessary to solve the equation:

[0089]

[0090] By taking the derivative and setting it to zero, we get:

[0091] X T (S-Xβ)=0

[0092] Simplified to:

[0093] X T Xβ=X T S

[0094] The final solution is:

[0095] β=(X T X) -1 X T S

[0096] After obtaining the correlation coefficients β0, β1, β2, and β3, the wind speed prediction model can be constructed.

[0097] In actual applications, the wind speed can be predicted through the trained model by measuring the real-time ambient temperature and humidity and the user's body temperature. If the user manually adjusts the wind speed during the process, the model will be adjusted and memorized based on the manually adjusted wind speed, so that the user can have a better experience during use.

[0098] For example, in actual applications, the measured ambient temperature, ambient humidity, and user perceived temperature are 27, 55, and 28 respectively. The model can predict that the wind speed should be 2m / s. If the user manually adjusts the wind speed to 1.5m / s during the process, the training model will overwrite the predicted wind speed at this time with 1.5m / s, thereby continuously improving the user experience.

[0099] In one embodiment, if Figure 4 As shown, the step S103 includes: steps S401-S403.

[0100] Step S401, determining whether there is a wind speed adjustment instruction sent by the user;

[0101] Step S402: if it is determined that there is a wind speed adjustment instruction sent by the user, obtaining an adjustment wind speed corresponding to the wind speed adjustment instruction, and adjusting the current wind speed to the adjustment wind speed;

[0102] Step S403: If it is determined that there is no wind speed adjustment instruction sent by the user, the target wind speed output by the wind speed prediction model is obtained, and the current wind speed is adjusted to the target wind speed.

[0103] In this embodiment, when adjusting the current wind speed of the electric fan, if there is a wind speed adjustment instruction, the current wind speed is adjusted according to the wind speed adjustment instruction, that is, the current wind speed is adjusted to the adjustment wind speed; if there is no wind speed adjustment instruction, the current wind speed is adjusted according to the target wind speed, that is, the current wind speed is adjusted to the target wind speed. When adjusting, the wind speed value of the current wind speed can be directly adjusted to the wind speed value of the adjustment wind speed or the target wind speed, or the wind speed difference between the current wind speed and the adjustment wind speed or the target wind speed can be obtained, and then the wind speed value of the current wind speed is adjusted according to the wind speed difference.

[0104] Figure 8 A schematic block diagram of an electric fan control device 800 provided in an embodiment of the present invention, the device 800 includes:

[0105] The collecting unit 801 is used to collect the user's body temperature at the current wind speed, and the current ambient temperature and humidity during the operation of the electric fan;

[0106] The prediction unit 802 is used to input the user's body temperature, the ambient temperature and the ambient humidity into a pre-built wind speed prediction model, and the wind speed prediction model outputs a target wind speed; wherein the wind speed prediction model is obtained by training and learning a linear regression model through historical user's body temperature and corresponding historical ambient temperature and historical ambient humidity;

[0107] The control unit 803 is used to control the current wind speed based on the target wind speed.

[0108] In one embodiment, if Fig. 9 As shown, the electric fan control device 800 further includes:

[0109] The first judgment unit 901 is used to judge whether a wind speed adjustment instruction sent by a user is received;

[0110] The first determination unit 902 is configured to, if it is determined that a wind speed adjustment instruction sent by a user is received, adjust the current wind speed according to the wind speed adjustment instruction;

[0111] The second determining unit 903 is configured to, if it is determined that the wind speed adjustment instruction sent by the user is not received, then the collecting unit 801.

[0112] In one embodiment, the electric fan control device 800 further includes:

[0113] A wind speed acquisition unit, used to acquire the adjusted wind speed corresponding to the wind speed adjustment instruction;

[0114] A feedback adjustment unit is used to perform feedback adjustment on the model parameters of the wind speed prediction model according to the adjusted wind speed.

[0115] In one embodiment, the acquisition unit 801 includes:

[0116] A data capture unit, used for capturing body surface vibration data of the user using an acoustic wave sensor;

[0117] A temperature acquisition unit is used to acquire the user's body temperature according to the body surface vibration data.

[0118] In one embodiment, the prediction unit 802 includes:

[0119] The wind speed prediction unit is used to predict and output the target wind speed according to the following formula:

[0120] S=β0+β1*T+β2*H+β3*U

[0121] Among them, S represents the target wind speed, T represents the ambient temperature, H represents the ambient humidity, U represents the user's perceived temperature, β0 represents the intercept term, β1 represents the coefficient of the ambient temperature, β2 represents the coefficient of the ambient humidity, and β3 represents the coefficient of the user's perceived temperature.

[0122] In one embodiment, if Fig.10 As shown, the prediction unit 802 includes:

[0123] The history acquisition unit 1001 is used to acquire the historical user-felt temperature, the historical ambient temperature and the historical ambient humidity, and perform data preprocessing on the historical user-felt temperature, the historical ambient temperature and the historical ambient humidity;

[0124] The matrix construction unit 1002 is used to construct a training matrix according to the historical user body temperature, historical ambient temperature and historical ambient humidity after data preprocessing:

[0125] X=[1,T i , H i , U i ];

[0126] Among them, 1 represents the intercept term, T i represents the i-th historical user's body temperature, H i represents the i-th historical ambient temperature, U i represents the i-th historical ambient humidity;

[0127] The model prediction unit 1003 is used to input the training matrix into a linear regression model, and the linear regression model outputs the predicted value of the training matrix:

[0128] S^=Xβ

[0129] Wherein, S^ represents the predicted value, β represents the training parameter of the linear regression model, β={β0; β1; β2; β3};

[0130] An error calculation unit 1004 is used to calculate the sum of square errors between the predicted value and the true values ​​corresponding to the historical user perceived temperature, the historical ambient temperature and the historical ambient humidity;

[0131] The minimization processing unit 1005 is used to minimize the sum of square errors using the least square method and obtain training parameters corresponding to the minimization process;

[0132] The model building unit 1006 is used to use the training parameters corresponding to the minimization process as the model parameters of the linear regression model, and to build the wind speed prediction model based on the model parameters.

[0133] In one embodiment, if Fig.11 As shown, the control unit 803 includes:

[0134] The second judging unit 1101 is used to judge whether there is a wind speed adjustment instruction sent by the user;

[0135] The first regulating unit 1102 is configured to obtain an adjusted wind speed corresponding to the wind speed regulating instruction if it is determined that there is a wind speed regulating instruction sent by the user, and regulate the current wind speed to the adjusted wind speed;

[0136] The second control unit 1103 is used to obtain the target wind speed output by the wind speed prediction model and control the current wind speed to the target wind speed if it is determined that there is no wind speed adjustment instruction sent by the user.

[0137] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0138] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0139] The embodiment of the present invention also provides an electric fan, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the electric fan may also include various network interfaces, power supplies and other components.

[0140] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.

[0141] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for controlling an electric fan, characterized in that: include: When the electric fan is running, the user's perceived temperature at the current wind speed is collected, as well as the current ambient temperature and humidity; The user's perceived temperature, ambient temperature and ambient humidity are input into a pre-built wind speed prediction model, and the wind speed prediction model outputs a target wind speed; wherein the wind speed prediction model is obtained by training and learning a linear regression model through historical user's perceived temperature and corresponding historical ambient temperature and historical ambient humidity; Based on the target wind speed, the current wind speed is regulated.

2. The electric fan control method according to claim 1, characterized in that: Before collecting the user's perceived temperature at the current wind speed, and collecting the current ambient temperature and humidity, the following steps are performed: Determine whether a wind speed adjustment instruction sent by a user is received; If it is determined that a wind speed adjustment instruction sent by the user is received, the current wind speed is adjusted according to the wind speed adjustment instruction; If it is determined that no wind speed adjustment instruction sent by the user is received, the collection step is entered.

3. The electric fan control method according to claim 2, characterized in that: If it is determined that a wind speed adjustment instruction sent by the user is received, after the step of adjusting the current wind speed according to the wind speed adjustment instruction, the method further comprises: Obtaining an adjusted wind speed corresponding to the wind speed adjustment instruction; The model parameters of the wind speed prediction model are feedback-adjusted according to the adjusted wind speed.

4. The electric fan control method according to claim 1, characterized in that: During the operation of the electric fan, the user's perceived temperature at the current wind speed is collected, as well as the current ambient temperature and ambient humidity, including: Using an acoustic wave sensor to capture the user's body surface vibration data; The user's perceived temperature is obtained according to the body surface vibration data.

5. The electric fan control method according to claim 1, characterized in that: The step of inputting the user's perceived temperature, the ambient temperature and the ambient humidity into a pre-built wind speed prediction model, and outputting a target wind speed by the wind speed prediction model, comprises: The target wind speed is predicted and output according to the following formula: S=β0+β1*T+β2*H+β3*U Among them, S represents the target wind speed, T represents the ambient temperature, H represents the ambient humidity, U represents the user's perceived temperature, β0 represents the intercept term, β1 represents the coefficient of the ambient temperature, β2 represents the coefficient of the ambient humidity, and β3 represents the coefficient of the user's perceived temperature.

6. The electric fan control method according to claim 5, characterized in that: The linear regression model is trained and learned by using the historical user's body temperature and the corresponding historical ambient temperature and historical ambient humidity, including: Acquire historical user perceived temperature, historical ambient temperature, and historical ambient humidity, and perform data preprocessing on the historical user perceived temperature, historical ambient temperature, and historical ambient humidity; A training matrix is ​​constructed based on the historical user perceived temperature, historical ambient temperature, and historical ambient humidity after data preprocessing: X=[1,T i ,H i ,U i ]; Among them, 1 represents the intercept term, T i represents the i-th historical user's body temperature, H i represents the i-th historical ambient temperature, U i represents the i-th historical ambient humidity; The training matrix is ​​input into a linear regression model, and the linear regression model outputs the predicted value of the training matrix: S^=Xβ Wherein, S^ represents the predicted value, β represents the training parameter of the linear regression model, β={β0; β1; β2; β3}; Calculating the sum of square errors between the predicted value and the true values ​​corresponding to the historical user perceived temperature, the historical ambient temperature, and the historical ambient humidity; Minimizing the sum of square errors using the least squares method, and obtaining training parameters corresponding to the minimization process; The training parameters corresponding to the minimization process are used as model parameters of the linear regression model, and the wind speed prediction model is constructed based on the model parameters.

7. The electric fan control method according to claim 2, characterized in that: The regulating the current wind speed based on the target wind speed includes: Determine whether there is a wind speed adjustment instruction sent by the user; If it is determined that there is a wind speed adjustment instruction sent by the user, obtaining an adjustment wind speed corresponding to the wind speed adjustment instruction, and adjusting the current wind speed to the adjustment wind speed; If it is determined that there is no wind speed adjustment instruction sent by the user, the target wind speed output by the wind speed prediction model is obtained, and the current wind speed is adjusted to the target wind speed.

8. An electric fan control device, characterized in that: include: The collection unit is used to collect the user's body temperature at the current wind speed, as well as the current ambient temperature and humidity during the operation of the electric fan; A prediction unit, used to input the user's body temperature, ambient temperature and ambient humidity into a pre-built wind speed prediction model, and the wind speed prediction model outputs a target wind speed; wherein the wind speed prediction model is obtained by training and learning a linear regression model through historical user's body temperature and corresponding historical ambient temperature and historical ambient humidity; A control unit is used to control the current wind speed based on the target wind speed.

9. An electric fan, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the electric fan control method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the electric fan control method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Control system and method for intelligent energy-saving fan

    CN104728148A

  • Fan speed control method and device

    CN109707654A

  • Electric fan control device and electric fan

    CN110925234A

  • Fan operation control method and device, readable storage medium and fan

    CN116085282A