CN113584840B - Fan control method, fan and computer readable storage medium - Google Patents
Fan control method, fan and computer readable storage medium Download PDFInfo
- Publication number
- CN113584840B CN113584840B CN202010366679.1A CN202010366679A CN113584840B CN 113584840 B CN113584840 B CN 113584840B CN 202010366679 A CN202010366679 A CN 202010366679A CN 113584840 B CN113584840 B CN 113584840B
- Authority
- CN
- China
- Prior art keywords
- fan
- clothes
- air supply
- user
- supply range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000007664 blowing Methods 0.000 claims abstract description 43
- 238000004590 computer program Methods 0.000 claims description 16
- 238000001035 drying Methods 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 230000005484 gravity Effects 0.000 description 4
- 238000009736 wetting Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 238000007605 air drying Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F58/00—Domestic laundry dryers
- D06F58/32—Control of operations performed in domestic laundry dryers
- D06F58/34—Control of operations performed in domestic laundry dryers characterised by the purpose or target of the control
- D06F58/36—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry
- D06F58/38—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry of drying, e.g. to achieve the target humidity
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F34/00—Details of control systems for washing machines, washer-dryers or laundry dryers
- D06F34/04—Signal transfer or data transmission arrangements
- D06F34/05—Signal transfer or data transmission arrangements for wireless communication between components, e.g. for remote monitoring or control
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2103/00—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
- D06F2103/02—Characteristics of laundry or load
- D06F2103/04—Quantity, e.g. weight or variation of weight
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2103/00—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
- D06F2103/02—Characteristics of laundry or load
- D06F2103/08—Humidity
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2105/00—Systems or parameters controlled or affected by the control systems of washing machines, washer-dryers or laundry dryers
- D06F2105/30—Blowers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Textile Engineering (AREA)
- Drying Of Solid Materials (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The embodiment of the application discloses a fan control method, a fan and a computer readable storage medium, wherein the embodiment of the application can control the fan to blow air to a clothes drying area according to a preset initial air blowing range; detecting whether a user exists in the initial air supply range at intervals of preset time; when detecting that a user exists in the initial air supply range, determining the position of the user; updating the initial air supply range according to the position of the user to obtain a target air supply range, wherein the position of the user is not located in the target air supply range; and controlling the fan to run according to the target air supply range so as to avoid the air supply of the user. According to the scheme, in the process of blowing the clothes by the fan, the user can be avoided from blowing, and the flexibility and reliability of fan control are improved.
Description
Technical Field
The present application relates to the field of electronic devices, and in particular, to a fan control method, a fan, and a computer readable storage medium.
Background
With the improvement of living standard of people, fans are becoming more popular, and can be applied to more occasions. For example, a fan may be used to blow air over an object to cool the object, or a fan may be used to blow air over a wet object to dry the object, or a fan may be used to blow air in a room to circulate indoor air. By taking a fan to blow clothes as an example, people can blow the clothes to dry by the fan, but the fan can only blow air according to a fixed mode in the running process, so that the clothes cannot be blown to dry as soon as possible, and the user can blow the clothes, and does not want to blow the clothes, especially when the user is uncomfortable or the weather is colder, and therefore the requirements of people cannot be met.
Disclosure of Invention
Embodiments of the present application provide a fan control method, a fan, and a computer-readable storage medium, which can improve flexibility and reliability of fan control.
In a first aspect, an embodiment of the present application provides a fan control method, including:
controlling a fan to blow air to the clothes airing area according to a preset air blowing range;
detecting whether a user exists in the air supply range at intervals of preset time;
when detecting that a user exists in the air supply range, determining the position of the user;
updating the air supply range according to the position of the user to obtain a target air supply range, wherein the position of the user is not located in the target air supply range;
and controlling the fan to run according to the target air supply range so as to avoid the air supply of the user.
In a second aspect, an embodiment of the present application further provides a fan, including a memory and a processor, where the memory stores a computer program, and the processor executes any one of the fan control methods provided in the embodiments of the present application when calling the computer program in the memory.
In a third aspect, embodiments of the present application further provide a computer readable storage medium storing a computer program, where the computer program is loaded by a processor to perform any one of the fan control methods provided in the embodiments of the present application.
The embodiment of the application can control the fan to blow the clothes airing area according to the preset blowing range, detect whether the user exists in the blowing range every preset time, and determine the position of the user when the user exists in the blowing range; then the air supply range can be updated according to the position of the user to obtain a target air supply range, the position of the user is not located in the target air supply range, and the fan is controlled to operate according to the target air supply range so as to avoid air supply of the user. According to the scheme, in the process of blowing the clothes by the fan, the user can be avoided from blowing, and the flexibility and reliability of fan control are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a fan control method according to an embodiment of the present application;
FIG. 2 is a schematic illustration of an image of a garment provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of initial air supply range determination provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of user detection provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of user location determination provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of natural wind detection provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of a fan according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Embodiments of the application provide a fan control method, a fan and a computer-readable storage medium. The fan control method can be applied to a mobile terminal, and the mobile terminal can comprise a mobile terminal such as a smart phone, a tablet personal computer, a palm computer or a notebook computer and is used for controlling a fan. For example, the mobile terminal can control the fan to blow air to the clothes airing area according to a preset air blowing range, detect whether a user exists in the air blowing range every preset time, and determine the position of the user when the user exists in the air blowing range; then the air supply range can be updated according to the position of the user to obtain a target air supply range, the position of the user is not located in the target air supply range, and the fan is controlled to operate according to the target air supply range so as to avoid air supply of the user.
The fan control method may be applied to a fan, and a fan control method will be described in detail below as an example of the fan control method.
Referring to fig. 1, fig. 1 is a flow chart of a fan control method according to an embodiment of the application. The fan control method may include steps S101 to S105, etc., and specifically may be as follows:
s101, controlling a fan to blow air to a clothes drying area according to a preset initial air blowing range.
The fan may be flexibly set according to actual needs, for example, the fan may be a circulation fan or the like. The fan can be controlled to blow the clothes drying area according to the initial blowing range, and the initial blowing range can be flexibly set according to actual needs.
In some embodiments, controlling the fan to supply air to the laundry area according to the preset initial air supply range may include: acquiring a wet area of clothes in a clothes airing area, determining an initial air supply range of a fan according to the wet area, and controlling the fan to supply air to the clothes airing area according to the initial air supply range.
In order to improve the reliability of the initial air supply range determination, the wet area of the clothes can be accurately blown based on the initial air supply range, the wet area of the clothes can be obtained, and the initial air supply range of the fan is determined according to the wet area. The clothes can comprise clothes, socks, towels or other objects needing to be dried.
In some embodiments, acquiring a wet area of laundry within the laundry area may include: acquiring an image containing clothes in a clothes airing area and acquiring a corresponding reference image when the clothes are dried; comparing the pixel value of the image with that of the reference image to obtain pixel difference; the wet area of the laundry is determined according to the pixel difference.
In order to improve the accuracy of the identification of the wet area of the laundry, the wet area of the laundry may be determined based on the pixel differences of the laundry in the image. For example, the image of the clothes in the clothes airing area may be acquired by an image acquisition device such as a camera or a camera preset in the clothes airing area, the clothes may include one or more pieces, the setting position, type or shooting angle of the image acquisition device may be flexibly set according to actual needs, and the specific content is not limited herein, for example, the image including the clothes may be as shown in fig. 2.
And acquiring a pre-stored reference image corresponding to the clothes during drying, and comparing the acquired image of the clothes with the reference image in pixel value, namely comparing the pixel value of the area where the clothes are in the image of the clothes with the pixel value of the area where the clothes are in the reference image to obtain pixel difference. Since the pixel value of the laundry in the wet state is different from the pixel value of the laundry in the dry state, the wet area of the laundry may be determined according to the pixel difference of the laundry between the image of the laundry and the reference image.
In some embodiments, acquiring a wet area of laundry within the laundry area may include: and acquiring an image containing clothes in the clothes airing area, and identifying the image through a preset identification model to obtain a wet area.
In order to improve accuracy of identifying the wet area of the clothes, the wet area of the clothes in the image can be identified through an identification model, for example, after a current image containing the clothes is acquired, the wet area of the clothes in the image can be identified through a preset identification model, and the wet area is obtained. The type of the identification model can be flexibly set according to actual needs, the identification model can be an object detection model SSD or a YOLOv3, and the identification model can also be a convolutional neural network CNN or R-CNN. The recognition model can be trained through a plurality of sample images containing clothes with different humidity types, so that a trained recognition model is obtained, and the preset recognition model is the trained recognition model.
In some embodiments, acquiring an image containing the laundry may include: after the clothes are aired for a preset time, detecting whether the clothes are dried or not; if the clothes are not dried, an image containing the clothes is acquired through the camera.
In order to realize that after the clothes are dried for a preset time, under the condition that the clothes are not dried yet, the fan is started to assist the clothes to be dried as soon as possible, so that convenience and flexibility of fan control are improved, specifically, when the clothes start to be dried, the timer is started to start timing, after the timer counts the preset time, the fact that the clothes are dried for the preset time is indicated, and whether the clothes are dried or not can be detected. The preset time can be flexibly set according to actual needs, for example, the preset time can be set by a user or is a default time.
In some embodiments, detecting whether the laundry is dry may include: acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried; if the current weight is greater than the reference weight, determining that the clothes are not dried; if the current weight is less than or equal to the reference weight, it is determined that the laundry is dried.
In order to improve the accuracy of the laundry drying detection, whether the laundry has been dried may be determined by the weight of the laundry. Specifically, when the laundry is in a dry state, the weight of the laundry may be detected by an electronic scale, a gravity sensor, or the like in advance, to obtain a reference weight, and the reference weight may be stored. And collecting the current weight of the currently-aired clothes through a gravity sensor preset on the clothes airing rod or the clothes hanger, comparing the current weight with a pre-stored reference weight, and judging whether the current weight of the clothes is larger than the reference weight. If the current weight is greater than the reference weight, determining that the clothes are not dried; if the current weight is less than or equal to the reference weight, it is determined that the laundry is dried.
When the clothes are included, the current weight of each clothes can be compared with the corresponding reference weight, or the current weight of each clothes is summed to obtain the total weight, the reference weight of each clothes is summed to obtain the total reference weight, then the total weight is compared with the total reference weight, and if the total weight is larger than the total reference weight, the clothes are determined to be not dried; if the total weight is less than or equal to the total reference weight, determining that the laundry is dried.
In some embodiments, detecting whether the laundry is dry may include: collecting current images containing all surfaces of clothes, and obtaining corresponding reference images when the clothes are dried; if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried; if the pixels of the current image and the reference image match, it is determined that the laundry is dried.
In order to improve the convenience of the laundry drying detection, whether the laundry is dried or not may be determined through the pixel comparison of the images. Specifically, when the laundry is in a dry state, images including the respective surfaces of the laundry may be acquired in advance from different photographing angles by an image acquisition apparatus such as a camera or a camera, to obtain a reference image, and the reference image may be stored. Then, images including the surfaces of the clothes can be acquired from different shooting angles through one or more image acquisition devices preset in the clothes airing area to obtain a plurality of current images, and the current images of the corresponding shooting angles are compared with the reference images, for example, the current images of the front face of the clothes A are compared with the reference images of the front face of the clothes A. Judging whether the pixels of the current image and the reference image are matched, wherein the color of the clothes in a wet state is different from the color of the clothes in a dry state, so that if the pixels of the current image and the reference image are not matched, the clothes are determined to be not dried, and if the pixels of the current image and the reference image are matched, the clothes are determined to be dried. The pixel matching can be that the pixel value of the clothes in the current image and the pixel value of the clothes in the reference image are smaller than a preset threshold value, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, acquiring an image containing the laundry may include: when the clothes are detected to exist in the clothes airing area, an image containing the clothes is acquired through the camera.
In order to realize that when clothes begin to be dried, the fan is started to assist the clothes to be dried as soon as possible, so that the reliability of fan control is improved. Specifically, an image in a clothes airing area can be acquired through image acquisition equipment such as a camera preset in the clothes airing area, an initial image is obtained, whether clothes exist in the clothes airing area or not is detected based on the initial image, when the clothes exist in the clothes airing area are detected, an image containing the clothes is acquired through the camera, and when the clothes do not exist in the clothes airing area, the image containing the clothes cannot be acquired.
In some embodiments, determining the initial air supply range of the fan from the wet area may include: and obtaining circumscribed polygons of discrete areas distributed in the wet area, and determining air supply edges of the fan in a plurality of different directions according to the circumscribed polygons to obtain an initial air supply range.
In order to improve the accuracy of determining the air supply range, the fan can blow to all the wet areas of the clothes, as shown in fig. 3, firstly, an circumscribed polygon can be determined according to the discrete areas distributed in the wet areas, the discrete areas can comprise one or more of the right-most edge wet points, left-most edge wet points, uppermost edge wet points and lowermost edge wet points in the discrete areas, the circumscribed polygon of the discrete areas can be determined according to the points of the edges, the number of edges of the circumscribed polygon can be flexibly set according to actual needs, for example, the circumscribed polygon can be a sector or a quadrilateral, at this time, the air supply edges of the fan in different directions such as up, down, left and right directions can be determined according to the circumscribed polygon, an initial air supply range can be obtained, and at this time, the fan can be controlled to supply air to the air-drying area according to the initial air supply range.
In some embodiments, controlling the fan to supply air to the laundry area according to the preset initial air supply range may include: and receiving an initial air supply range of the fan input by a user based on the operation interface, and controlling the fan to supply air to the clothes drying area according to the initial air supply range.
In order to improve the flexibility of determining the air supply track, the fan can supply air according to the requirements of a user, and the initial air supply range of the fan input by the user based on the operation interface can be received. The style of the operation interface can be flexibly set according to actual needs, for example, the operation interface can comprise a plurality of wet areas and/or an air supply range generated based on the wet areas, etc. For example, in order to enable the fan to blow to the wet area of the clothes according to the requirement of the user, after the wet area of the clothes is obtained, an operation interface can be generated based on the wet area, the operation interface is sent to a mobile terminal such as a mobile phone used by the user for displaying, or the operation interface is displayed in a display screen preset by the fan, so that the user can view and operate the operation interface.
Then, the air supply range input by the user at the operation interface may be received, for example, a sliding operation performed by the user in the displayed operation interface may be received, so that the air supply range is formed based on a sliding track generated by the sliding operation, and an initial air supply range is obtained. Or the method can receive clicking operations of a plurality of different positions executed by a user in a displayed operation interface, so as to determine a polygon containing a wet area according to each clicking position based on the clicking positions generated by the clicking operations, the number of sides of the polygon can be flexibly set according to actual needs, for example, the polygon can be a sector or a quadrangle, and at the moment, the air supply edges of the fan in a plurality of different directions such as up, down, left, right and the like can be determined according to the polygon, so that an initial air supply range is obtained. Alternatively, a plurality of candidate air-blowing ranges may be displayed in the operation interface for selection by the user, and a selection instruction from the user may be received, and one of the plurality of candidate air-blowing ranges may be selected as the initial air-blowing range based on the selection instruction, and at this time, the fan may be controlled to blow air to the laundry area in accordance with the initial air-blowing range.
S102, detecting whether a user exists in the initial air supply range every preset time.
When the fan is about to start running or in the process of running, whether a user exists in the initial air supply range can be detected in real time or at intervals of preset time, for example, an image containing a corresponding area of the initial air supply range can be collected through a preset camera, the image is detected, and if the user is detected, the user exists in the initial air supply range is determined, as shown in fig. 4; if no user is detected, determining that no user exists in the initial air supply range. Alternatively, whether a user or the like exists in the initial air supply range may be detected by a preset infrared sensor.
And S103, when the existence of the user in the initial air supply range is detected, determining the position of the user.
When no user exists in the initial air supply range, maintaining the current running state of the fan; when the presence of a user within the initial air-blowing range is detected, the location of the user is determined so as to update the initial air-blowing range based on the location of the user.
In some implementations, determining the location of the user can include: and detecting the outline of the user, and setting the area where the outline is located as the position of the user. In order to improve the accuracy of the user position determination, an image containing the user can be acquired through a camera, the outline of the user is detected based on the image, and the area where the outline of the user is located is set as the position of the user.
In some implementations, determining the location of the user can include: detecting the height and the width of a user, determining a polygon according to the height and the width, and setting the area where the polygon is located as the position of the user. In order to improve the flexibility and convenience of user position determination, for example, as shown in fig. 5, an image including a user may be acquired by a camera, the height and width of the user may be detected based on the image, etc., a polygon may be determined according to the height and width of the user, and then an area where the polygon is located may be set as the position of the user.
S104, updating the initial air supply range according to the position of the user to obtain a target air supply range, wherein the position of the user is not located in the target air supply range.
In some embodiments, updating the initial air supply range based on the location of the user, the obtaining the target air supply range may include: and determining the swing angle of the fan by avoiding the position of the user, and determining the target air supply range according to the swing angle.
In order to prevent the fan from blowing to the user in the running process, the user can be excluded from the air supply range of the fan, the swing angle of the fan can be determined by avoiding the position of the user, and the target air supply range is determined according to the swing angle. For example, when the position of the user is the area a, it may be determined that the determination target air blowing range is the area B, and the area B does not include the area a.
In some embodiments, updating the initial air supply range based on the location of the user, the obtaining the target air supply range may include: the area where the fan stops blowing in the initial blowing range is determined based on the position of the user, and the target blowing range is determined based on the area where blowing is stopped.
In order to prevent the fan from blowing to the user during operation, the air supply may be stopped when the fan swings to the position of the user, and the air supply may be restarted after the fan swings to the position of the user, that is, the area of the fan in which the air supply is stopped in the initial air supply range may be determined based on the position of the user, and the target air supply range may be determined according to the area of the air supply stopped.
S105, controlling the fan to operate according to the target air supply range so as to avoid user air supply.
After determining the target air supply range of the fan, the swing angle of the fan can be determined based on the target air supply range, and the fan is controlled to supply air according to the swing angle, so that the fan can supply air into the target air supply range. The fan can comprise one or more fans, and in the running process of the fan, the time length required by drying clothes can be obtained in real time, and is dynamically output in a voice broadcasting or display screen display mode or sent to a mobile phone or an intelligent sound box and other terminals, so that the terminal dynamically outputs the time length in a voice broadcasting or display screen display mode and the like, and a user can conveniently check the time length.
In some embodiments, controlling fan operation according to the target supply air range may include: acquiring the moisture level of the clothes; determining the air quantity and/or the air temperature of the fan according to the humidity level; and controlling the operation of the fan according to the target air supply range, the air quantity and/or the temperature of the air.
In order to enable the fan to flexibly and adaptively operate according to proper operation parameters according to the actual conditions of clothes wetting, the drying efficiency of the clothes is improved, the wetting grade of the clothes can be obtained, for example, the pixel value of the clothes can be detected based on the image of the clothes because the pixel values of the clothes under different wetting grades are different, and the wetting grade of the clothes can be determined according to the pixel value. For another example, since the weights of the laundry at different humidity levels are different, the weight of the laundry may be detected, and the humidity level of the laundry may be determined according to the weight of the laundry. Then, a mapping relationship between different humidity levels and the air volume of the fan or the temperature of the wind, etc. may be obtained, and the air volume of the fan and/or the temperature of the wind corresponding to the humidity levels may be determined according to the mapping relationship, for example, the more the clothes are wet, the larger the air volume of the fan is, the higher the temperature of the air supplied by the fan (the temperature may also be determined in combination with the type of clothes), etc., at this time, the operation of the fan may be controlled according to the air supply range, the air volume and/or the temperature of the wind.
It should be noted that, the type of the clothes may be obtained, the air volume and/or the air temperature of the fan may be determined according to the humidity level, the type of the clothes, etc., and the operation of the fan may be controlled according to the air supply range, the air volume and/or the air temperature.
In some embodiments, after controlling the operation of the fan according to the target air supply range, the fan control method may further include: detecting whether the clothes are dried, and turning off the fan when the clothes are dried.
In order to improve the intelligence and convenience of the fan control, whether the clothes are dried may be detected in real time or at preset time intervals during the operation of the fan, for example, whether the clothes are dried may be determined through the pixel comparison of the image of the clothes, or whether the clothes are dried may be determined through the weight of the clothes, etc. When the clothes are not dried, maintaining the on state of the fan; when the laundry has been dried, the fan is turned off.
In some embodiments, detecting whether the laundry has been dried may include: and acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried, and if the current weight is smaller than or equal to the reference weight, determining that the clothes are dried.
In order to improve the accuracy of the laundry drying detection, whether the laundry has been dried may be determined by the weight of the laundry. Specifically, when the laundry is in a dry state, the weight of the laundry may be detected by an electronic scale, a gravity sensor, or the like in advance, to obtain a reference weight, and the reference weight may be stored. And collecting the current weight of the currently-aired clothes through a gravity sensor preset on the clothes airing rod or the clothes hanger, comparing the current weight with a pre-stored reference weight, and judging whether the current weight of the clothes is larger than the reference weight. If the current weight is greater than the reference weight, determining that the clothes are not dried; if the target current weight is less than or equal to the reference weight, it is determined that the laundry has been dried.
In some embodiments, detecting whether the laundry has been dried may include: and acquiring a current image containing each surface of the clothes and a corresponding reference image when the clothes are dried, and if the current image is matched with the pixels of the reference image, determining that the clothes are dried.
In order to improve the convenience of the laundry drying detection, whether the laundry is dried or not may be determined through the pixel comparison of the images. Specifically, when the laundry is in a dry state, images including the respective surfaces of the laundry may be acquired in advance from different photographing angles by an image acquisition apparatus such as a camera or a camera, to obtain a reference image, and the reference image may be stored. Then, images including the surfaces of the clothes can be acquired from different shooting angles through one or more image acquisition devices preset in the clothes airing area to obtain a plurality of current images, and the current images of the corresponding shooting angles are compared with the reference images, for example, the current images of the front face of the clothes A are compared with the reference images of the front face of the clothes A. Judging whether the collected pixels of the current image of the clothes are matched with the pixels of the reference image, wherein the color of the clothes in a wet state is different from the color of the clothes in a dry state, so that if the pixels of the current image and the pixels of the reference image are not matched, the clothes are determined to be not dried, and if the pixels of the current image and the pixels of the reference image are matched, the clothes are determined to be dried. The pixel matching can be that the pixel value of the clothes in the current image and the pixel value of the clothes in the reference image are smaller than a preset threshold value, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, after controlling the operation of the fan according to the target air supply range, the fan control method may further include: detecting whether the fan supplies air against natural wind, and turning off the fan when the fan supplies air against natural wind.
In order to avoid energy waste caused by failure in supplying air to clothes when the fan supplies air against natural wind, whether the fan supplies air against natural wind can be detected in real time or at preset intervals during the operation of the fan, for example, whether the blades of the fan are subjected to natural wind resistance or the wind direction of natural wind can be detected. When the fan does not send wind against natural wind, the opening state of the fan is maintained; when the fan blows against natural wind, the fan is turned off.
In some embodiments, after controlling the operation of the fan according to the target air supply range, the fan control method may further include: detecting the air quantity of natural wind, and turning off the fan when the air quantity of the natural wind is larger than a preset threshold value.
For example, as shown in fig. 6, in order to avoid that the fan cannot supply air to the clothes when there is a large natural wind, energy is wasted, so that the air volume of the natural wind in the environment where the clothes are located can be detected in real time or at preset time intervals during the operation of the fan, for example, the air volume of the natural wind can be detected by an anemometer or the like. When the air quantity of natural wind is smaller than a preset threshold value, maintaining the starting state of the fan; when the air quantity of natural wind is larger than a preset threshold value, the fact that the fan has a small effect of accelerating clothes drying when supplying air to clothes is indicated, and the fan is turned off, and the preset threshold value can be flexibly set according to actual needs.
The embodiment of the application can control the fan to blow the clothes airing area according to the preset blowing range, detect whether the user exists in the blowing range every preset time, and determine the position of the user when the user exists in the blowing range; then the air supply range can be updated according to the position of the user to obtain a target air supply range, the position of the user is not located in the target air supply range, and the fan is controlled to operate according to the target air supply range so as to avoid air supply of the user. According to the scheme, in the process of blowing the clothes by the fan, the user can be avoided from blowing, and the flexibility and reliability of fan control are improved.
Referring to fig. 7, fig. 7 is a schematic block diagram of a fan according to an embodiment of the application.
As shown in fig. 7, the fan 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a non-volatile computer readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause the processor to perform any of a number of fan control methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the entire fan.
The memory 303 provides an environment for the execution of a computer program in a non-volatile computer-readable storage medium that, when executed by the processor 302, causes the processor 302 to perform any of a number of fan control methods.
The communication interface 304 is used for communication. It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the fan 300 to which the present inventive arrangements are applied, and that a particular fan 300 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that the bus 301 may be, for example, an I2C (Inter-integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk or a removable hard disk, etc., the processor 302 may be a central processing unit (Central Processing Unit, CPU), the processor 302 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in some embodiments the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
controlling a fan to blow air to a clothes airing area according to a preset initial air blowing range, and detecting whether a user exists in the initial air blowing range at intervals of preset time; when the user exists in the initial air supply range, determining the position of the user, updating the initial air supply range according to the position of the user to obtain a target air supply range, and controlling the fan to operate according to the target air supply range so as to avoid the air supply of the user, wherein the position of the user is not in the target air supply range.
In some implementations, in determining the location of the user, the processor 302 also performs: detecting the outline of a user, and setting the area where the outline is located as the position of the user; or detecting the height and the width of the user, determining the polygon according to the height and the width, and setting the area where the polygon is located as the position of the user.
In some embodiments, when the initial air supply range is updated based on the user's location, resulting in a target air supply range, the processor 302 also performs: determining the swing angle of the fan by avoiding the position of the user, and determining a target air supply range according to the swing angle; alternatively, the area in which the fan stops blowing within the initial blowing range is determined based on the position of the user, and the target blowing range is determined based on the area in which blowing is stopped.
In some embodiments, the processor 302 further performs, when controlling the fan to blow the laundry area according to the preset initial blowing range: acquiring a wet area of clothes in a clothes airing area, determining an initial air supply range of a fan according to the wet area, and controlling the fan to supply air to the clothes airing area according to the initial air supply range; or, receiving an initial air supply range of the fan input by a user based on the operation interface, and controlling the fan to supply air to the clothes drying area according to the initial air supply range.
In some embodiments, upon acquiring the wet area of laundry within the laundry area, the processor 302 further performs: acquiring an image containing clothes in a clothes airing area and acquiring a corresponding reference image when the clothes are dried; comparing the pixel value of the image with that of the reference image to obtain pixel difference; determining a wet area of the laundry according to the pixel difference; or acquiring an image containing clothes in the clothes airing area, and identifying the image through a preset identification model to obtain a wet area.
In some embodiments, in controlling fan operation according to the target supply air range, the processor 302 also performs: acquiring the moisture level of the clothes; determining the air quantity and/or the air temperature of the fan according to the humidity level; and controlling the operation of the fan according to the target air supply range, the air quantity and/or the temperature of the air.
In some embodiments, after controlling fan operation according to the target supply air range, the processor 302 also performs: detecting whether the clothes are dried, and turning off the fan when the clothes are dried; or detecting whether the fan supplies air against natural wind, and closing the fan when the fan supplies air against natural wind; or detecting the air quantity of the natural wind, and turning off the fan when the air quantity of the natural wind is larger than a preset threshold value.
In some embodiments, in detecting whether the laundry has been dried, the processor 302 further performs: acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried, and determining that the clothes are dried if the current weight is smaller than or equal to the reference weight; or collecting a current image containing each surface of the clothes and a corresponding reference image when the clothes are dried, and if the current image is matched with the pixels of the reference image, determining that the clothes are dried.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of an embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description of the fan control method, which is not repeated herein.
The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program comprises program instructions, and a processor executes the program instructions to realize any one of the fan control methods provided by the embodiment of the application. For example, the computer program is loaded by a processor, the following steps may be performed:
controlling a fan to blow air to a clothes airing area according to a preset initial air blowing range, and detecting whether a user exists in the initial air blowing range at intervals of preset time; when the user exists in the initial air supply range, determining the position of the user, updating the initial air supply range according to the position of the user to obtain a target air supply range, and controlling the fan to operate according to the target air supply range so as to avoid the air supply of the user, wherein the position of the user is not in the target air supply range.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The computer readable storage medium may be an internal storage unit of the fan of the foregoing embodiment, for example, a hard disk or a memory of the fan. The computer readable storage medium may also be an external storage device of the fan, such as a plug-in hard disk equipped on the fan, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like.
Because the computer program stored in the computer readable storage medium can execute any one of the fan control methods provided by the embodiments of the present application, the beneficial effects that any one of the fan control methods provided by the embodiments of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted herein.
It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (9)
1. A fan control method, comprising:
acquiring a wet area of clothes in a clothes airing area, and generating an operation interface based on the wet area;
receiving an operation instruction of a user on the operation interface to generate an initial air supply range;
controlling a fan to blow air to the clothes airing area according to the initial air blowing range;
detecting whether a user exists in the initial air supply range at intervals of preset time;
when detecting that a user exists in the initial air supply range, determining the position of the user;
updating the initial air supply range according to the position of the user to obtain a target air supply range, wherein the position of the user is not located in the target air supply range;
controlling the fan to run according to the target air supply range so as to avoid the user air supply;
the controlling the fan to run according to the target air supply range includes:
the air supply is started when the fan swings to the target air supply range, and stopped when the fan swings to the outside of the target air supply range.
2. The fan control method of claim 1, wherein the determining the location of the user comprises:
detecting the outline of the user, and setting the area where the outline is located as the position of the user; or,
and detecting the height and the width of the user, determining a polygon according to the height and the width, and setting the area where the polygon is located as the position of the user.
3. The method of claim 1, wherein updating the initial air supply range based on the location of the user to obtain a target air supply range comprises:
determining a swing angle of the fan by avoiding the position of the user, and determining a target air supply range according to the swing angle; or,
and determining an area of stopping air supply of the fan in the initial air supply range based on the position of the user, and determining a target air supply range according to the area of stopping air supply.
4. The method of claim 1, wherein the acquiring a wet area of laundry in the laundry area comprises:
acquiring an image containing clothes in a clothes airing area and acquiring a corresponding reference image when the clothes are dried;
comparing the pixel value of the image with that of the reference image to obtain a pixel difference;
determining a wet area of the laundry according to the pixel difference; or,
and acquiring an image containing clothes in the clothes airing area, and identifying the image through a preset identification model to obtain a wet area.
5. The fan control method of claim 1, wherein the controlling the fan operation according to the target air supply range comprises:
acquiring the moisture level of the clothes;
determining the air quantity and/or the air temperature of the fan according to the humidity level;
and controlling the operation of the fan according to the target air supply range, the air quantity and/or the temperature of the air.
6. The fan control method according to any one of claims 1 to 5, characterized in that, after the fan operation is controlled in accordance with the target air supply range, the fan control method further comprises:
detecting whether the clothes are dried, and turning off the fan when the clothes are dried; or,
detecting whether the fan supplies air against natural wind, and closing the fan when the fan supplies air against natural wind; or detecting the air quantity of natural wind, and turning off the fan when the air quantity of the natural wind is larger than a preset threshold value.
7. The method of claim 6, wherein the detecting whether the laundry has been dried comprises:
acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried, and if the current weight is smaller than or equal to the reference weight, determining that the clothes are dried; or,
collecting a current image containing each surface of the clothes and a corresponding reference image when the clothes are dried, and if the current image is matched with the pixels of the reference image, determining that the clothes are dried.
8. A fan comprising a processor and a memory, the memory having stored therein a computer program, the processor executing the fan control method according to any one of claims 1 to 7 when calling the computer program in the memory.
9. A computer readable storage medium for storing a computer program, the computer program being loaded by a processor to perform the fan control method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010366679.1A CN113584840B (en) | 2020-04-30 | 2020-04-30 | Fan control method, fan and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010366679.1A CN113584840B (en) | 2020-04-30 | 2020-04-30 | Fan control method, fan and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113584840A CN113584840A (en) | 2021-11-02 |
CN113584840B true CN113584840B (en) | 2023-11-28 |
Family
ID=78237646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010366679.1A Active CN113584840B (en) | 2020-04-30 | 2020-04-30 | Fan control method, fan and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113584840B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1089024A (en) * | 1992-12-28 | 1994-07-06 | 新典自动化股份有限公司 | The air-supply arrangement that adapts to control according to position of human body |
JP2002277162A (en) * | 2001-03-22 | 2002-09-25 | Osaka Gas Co Ltd | Bathroom dryer |
CN104390319A (en) * | 2014-10-27 | 2015-03-04 | 广州松下空调器有限公司 | Air conditioning system, air conditioner and air refreshing machine |
CN105373001A (en) * | 2015-10-29 | 2016-03-02 | 小米科技有限责任公司 | Control method and device for electronic equipment |
CN106871383A (en) * | 2017-04-07 | 2017-06-20 | 美的集团武汉制冷设备有限公司 | The control method and control device of air-conditioner, detachable air conditioner |
CN107421067A (en) * | 2017-07-26 | 2017-12-01 | 广东美的制冷设备有限公司 | Air-conditioning method, apparatus and computer-readable recording medium and air-conditioning |
CN107642834A (en) * | 2017-09-12 | 2018-01-30 | 美的集团武汉制冷设备有限公司 | Air-conditioner outdoor unit automatic drying apparatus and its control method, device and storage medium |
CN108050674A (en) * | 2017-10-30 | 2018-05-18 | 珠海格力电器股份有限公司 | Control method and device of air conditioning equipment and terminal |
CN108914511A (en) * | 2018-05-21 | 2018-11-30 | 珠海格力电器股份有限公司 | dehumidifying device |
-
2020
- 2020-04-30 CN CN202010366679.1A patent/CN113584840B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1089024A (en) * | 1992-12-28 | 1994-07-06 | 新典自动化股份有限公司 | The air-supply arrangement that adapts to control according to position of human body |
JP2002277162A (en) * | 2001-03-22 | 2002-09-25 | Osaka Gas Co Ltd | Bathroom dryer |
CN104390319A (en) * | 2014-10-27 | 2015-03-04 | 广州松下空调器有限公司 | Air conditioning system, air conditioner and air refreshing machine |
CN105373001A (en) * | 2015-10-29 | 2016-03-02 | 小米科技有限责任公司 | Control method and device for electronic equipment |
CN106871383A (en) * | 2017-04-07 | 2017-06-20 | 美的集团武汉制冷设备有限公司 | The control method and control device of air-conditioner, detachable air conditioner |
CN107421067A (en) * | 2017-07-26 | 2017-12-01 | 广东美的制冷设备有限公司 | Air-conditioning method, apparatus and computer-readable recording medium and air-conditioning |
CN107642834A (en) * | 2017-09-12 | 2018-01-30 | 美的集团武汉制冷设备有限公司 | Air-conditioner outdoor unit automatic drying apparatus and its control method, device and storage medium |
CN108050674A (en) * | 2017-10-30 | 2018-05-18 | 珠海格力电器股份有限公司 | Control method and device of air conditioning equipment and terminal |
CN108914511A (en) * | 2018-05-21 | 2018-11-30 | 珠海格力电器股份有限公司 | dehumidifying device |
Also Published As
Publication number | Publication date |
---|---|
CN113584840A (en) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106164980B (en) | Information processing apparatus and information processing method | |
CN113584843B (en) | Circulating fan control method, circulating fan and storage medium | |
CN108985263B (en) | Data acquisition method and device, electronic equipment and computer readable medium | |
CN111240217B (en) | State detection method and device, electronic equipment and storage medium | |
CN113584836B (en) | Fan blowing method, fan and computer readable storage medium | |
CN113584840B (en) | Fan control method, fan and computer readable storage medium | |
CN113584846A (en) | Fan control method, fan and computer readable storage medium | |
CN113584851B (en) | Fan operation method, fan and computer readable storage medium | |
CN113584835B (en) | Fan control method, fan and computer readable storage medium | |
CN113584839B (en) | Fan control method, mobile terminal and computer readable storage medium | |
CN113668201B (en) | Circulating fan control method, circulating fan control system and storage medium | |
CN113584842B (en) | Fan control method, control terminal and computer readable storage medium | |
CN111225040A (en) | Clothes airing monitoring method and device, storage medium and electronic equipment | |
CN113584845A (en) | Blowing control method, system, circulating fan and computer readable storage medium | |
CN114549968B (en) | Target detection method and device and electronic equipment | |
WO2023065675A1 (en) | Method and apparatus for controlling intelligent air conditioner, and intelligent air conditioner | |
CN113652845B (en) | Air supply control method, air supply device, system and storage medium | |
CN112227040B (en) | Method, device, storage medium and dehumidifier for drying clothes | |
CN113584837B (en) | Control method of circulation fan, circulation fan and computer readable storage medium | |
CN112983872B (en) | Fan control method, fan and computer readable storage medium | |
CN113584832B (en) | Clothes airing reminding method, system, circulating fan and computer readable storage medium | |
CN113668210B (en) | Control method for air blowing device, air blowing device and storage medium | |
CN113668200B (en) | Blowing control method, system, central control equipment and storage medium | |
CN113448355A (en) | Clothes hanger control method and system, clothes hanger and computer readable storage medium | |
CN113584844A (en) | Control method of circulation fan, circulation fan and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |