CN113404719B - Control method and device of wind sweeping equipment, electric fan and readable storage medium - Google Patents

Control method and device of wind sweeping equipment, electric fan and readable storage medium Download PDF

Info

Publication number
CN113404719B
CN113404719B CN202110721138.0A CN202110721138A CN113404719B CN 113404719 B CN113404719 B CN 113404719B CN 202110721138 A CN202110721138 A CN 202110721138A CN 113404719 B CN113404719 B CN 113404719B
Authority
CN
China
Prior art keywords
wind sweeping
target
main body
boundary
target main
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
Application number
CN202110721138.0A
Other languages
Chinese (zh)
Other versions
CN113404719A (en
Inventor
李培彬
李瑜婵
梁亚良
黄洁仪
郭汉松
李晓博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110721138.0A priority Critical patent/CN113404719B/en
Publication of CN113404719A publication Critical patent/CN113404719A/en
Application granted granted Critical
Publication of CN113404719B publication Critical patent/CN113404719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • F04D25/10Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air
    • F04D25/105Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air by changing rotor axis direction, e.g. oscillating fans
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/12Improving ICE efficiencies

Abstract

The invention relates to the technical field of wind sweeping control, and discloses a control method and device of wind sweeping equipment, an electric fan and a readable storage medium. Wherein, the method comprises the following steps: acquiring the distribution state of a target main body, and determining the wind sweeping boundary of wind sweeping equipment based on the distribution state of the target main body; judging whether the distribution state of the target main body in the windsweeping boundary changes or not; when the distribution state of the target main body changes, controlling the wind sweeping equipment to detect the target main body and determining the current distribution state of the target main body; and determining a target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target main body. By implementing the method and the device, the target wind sweeping boundary of the wind sweeping equipment can be automatically determined again when the distribution state of the target main body is changed, so that complicated manual operation is avoided, the control of the wind sweeping equipment is more intelligent, and the user experience is improved.

Description

Control method and device of wind sweeping equipment, electric fan and readable storage medium
Technical Field
The invention relates to the technical field of wind sweeping control, in particular to a control method and device of wind sweeping equipment, an electric fan and a readable storage medium.
Background
With the development of artificial intelligence technology, the oscillating control of the electric fan is increasingly intelligent. The intelligent electric fan on the existing market is usually provided with an intelligent shaking mode, namely an AI shaking mode. In a multi-person wind sweeping scene, the intelligent electric fan can determine a wind sweeping range based on the position of a human body, but if the position of the human body or the number of the human body changes in the midway, namely the distribution state of the human body changes, the electric fan still performs head-shaking control based on the current wind sweeping range, and at the moment, a function key such as intelligent person searching needs to be manually operated to enable the electric fan to determine the wind sweeping range again, so that the problems that the operation is not intelligent and the user experience is influenced exist.
Disclosure of Invention
In view of this, embodiments of the present invention provide a control method and apparatus for a wind sweeping device, an electric fan, and a readable storage medium, so as to solve the problems that when a distribution state of a human body changes, the electric fan still performs head-shaking control based on a current wind sweeping range, and at this time, a function key such as "intelligent person finding" needs to be manually operated, so that the electric fan re-determines the wind sweeping range, the operation is not intelligent, and user experience is affected.
According to a first aspect of the present invention, an embodiment of the present invention provides a control method for a wind sweeping device, including: acquiring the distribution state of a target main body, and determining the wind sweeping boundary of wind sweeping equipment based on the distribution state of the target main body; judging whether the distribution state of the target main body in the wind sweeping boundary changes or not; when the distribution state of the target main body changes, controlling the wind sweeping equipment to detect the target main body and determining the current distribution state of the target main body; determining a target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target subject.
According to the control method of the wind sweeping device provided by the embodiment of the invention, the wind sweeping boundary of the wind sweeping device is determined based on the distribution state of the target main body by acquiring the distribution state of the target main body, and when the distribution state of the target main body in the wind sweeping boundary is detected, the wind sweeping boundary of the wind sweeping device, namely the target wind sweeping boundary, is determined again based on the current distribution state of the target main body. According to the method, the distribution state of the target main body is detected in real time, so that the target wind sweeping boundary of the wind sweeping device can be automatically re-determined when the distribution state of the target main body changes in the wind sweeping boundary, the target wind sweeping boundary of the wind sweeping device can be guaranteed to cover all the target main bodies to the maximum extent, manual operation is not needed in the process, complex manual operation is avoided, the control of the wind sweeping device is more intelligent, and user experience is improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the controlling the wind sweeping device to perform target subject detection and determining a current distribution state of the target subject includes: improving the wind sweeping speed of the wind sweeping equipment; and controlling the wind sweeping equipment to detect the target main body based on the improved wind sweeping speed, and determining the current distribution state of the target main body.
According to the control method of the wind sweeping equipment provided by the embodiment of the invention, when the change of the distribution state of the target main body is detected, the wind sweeping equipment is controlled to improve the wind sweeping speed, and the wind sweeping equipment is controlled to detect the target main body in the wind sweeping boundary at the improved wind sweeping speed, so that the current distribution state corresponding to the target main body is determined, and the wind sweeping boundary of the wind sweeping equipment is re-determined based on the current distribution state. The method detects the target subject by adjusting the wind sweeping speed of the wind sweeping equipment, determines the distribution state of the target subject, realizes the rapid detection of the target subject, and improves the detection efficiency of the target subject. Meanwhile, the current state of the wind sweeping equipment can be intuitively determined based on the wind sweeping speed of the wind sweeping equipment, so that a user can distinguish the wind sweeping state of the wind sweeping equipment from the target subject detection state.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the controlling the wind sweeping device to detect the target subject and determine a current distribution state of the target subject includes: controlling the wind sweeping equipment to rotate in a reciprocating mode in the wind sweeping boundary, and judging whether the target main body is identified in the wind sweeping boundary; when the target subject is identified within the windsweeping boundary, determining a current distribution state of the target subject based on the identified current location of the target subject.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the controlling the wind sweeping device to detect the target subject and determine a current distribution state of the target subject further includes: and when the target main body is not identified in the wind sweeping boundary, judging that the target main body leaves the wind sweeping boundary, and controlling the wind sweeping equipment to preferentially turn to the wind sweeping limit boundary closest to the current wind sweeping position to detect the target main body.
According to the control method of the wind sweeping equipment provided by the embodiment of the invention, when the target main body is identified in the reciprocating rotation process of the wind sweeping equipment in the wind sweeping boundary, the current distribution state of the target main body is determined based on the identified current position of the target main body, when the target main body is not identified in the reciprocating rotation process of the wind sweeping equipment in the wind sweeping boundary, the target main body can be determined to leave the wind sweeping boundary of the wind sweeping equipment, and at the moment, the wind sweeping equipment can be controlled to preferentially turn to the wind sweeping limit boundary nearest to the current wind sweeping position so as to detect the target main body. Therefore, the detection efficiency of the target main body is improved while the current distribution state is accurately identified, and the current distribution state of the target main body is rapidly determined.
With reference to the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the determining whether the target subject is identified within the wind sweeping boundary includes: judging whether the target main body is identified or not in the process that the wind sweeping equipment rotates to a wind sweeping boundary in the current rotation direction; when the target body is not identified, replacing the rotation direction of the wind sweeping device, and controlling the wind sweeping device to rotate to another wind sweeping boundary in the replaced rotation direction; and judging whether the target main body is identified or not in the process of rotating the wind sweeping equipment to another wind sweeping boundary.
According to the control method of the wind sweeping equipment provided by the embodiment of the invention, whether the target main body exists in the current wind sweeping boundary is identified by reciprocating rotation of the wind sweeping equipment in the wind sweeping boundary, and the distribution state of the target main body can be detected in real time, so that the wind sweeping boundary of the wind sweeping equipment can be adjusted according to the distribution state of the target main body.
With reference to the first aspect, in a fifth implementation manner of the first aspect, the determining a target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target subject includes: determining a wind sweeping angle of the wind sweeping device based on the current distribution state of the target subject; determining a target wind sweeping boundary of the wind sweeping device based on the wind sweeping angle.
According to the control method of the wind sweeping device, the wind sweeping angle of the wind sweeping device is determined according to the current distribution state of the target main body, the target wind sweeping boundary of the wind sweeping device is determined based on the wind sweeping angle, the problem that the target main body leaves the wind sweeping boundary and cannot be blown to the wind sweeping device is solved, and the target wind sweeping boundary of the wind sweeping device can be covered to the maximum extent.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the determining a wind sweeping angle of the wind sweeping device based on the current distribution state of the target subject includes: determining the position of the target subject based on the current distribution state of the target subject; judging whether the position of the target main body exceeds the wind sweeping boundary of the wind sweeping equipment or not; when the target body is located beyond the wind sweeping boundary but not beyond the wind sweeping limit boundary of the wind sweeping device, enlarging the wind sweeping angle of the wind sweeping device based on the position of the target body.
With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the determining a wind sweeping angle of the wind sweeping device based on the current distribution state of the target subject further includes: determining a sweep angle of the sweep apparatus based on the location of the target subject when the location of the target subject does not exceed the sweep boundary.
According to the control method of the wind sweeping device, whether the position of the target main body exceeds the wind sweeping boundary of the wind sweeping device or not is judged by determining the position of the target main body, and when the position of the target main body exceeds the wind sweeping boundary but does not exceed the wind sweeping limit boundary, the wind sweeping angle of the wind sweeping device can be expanded based on the position of the target main body; when the position of the target main body does not exceed the wind sweeping boundary, the wind sweeping angle of the wind sweeping device can be determined again based on the position of the target main body in the wind sweeping boundary, so that the wind sweeping device can determine the target wind sweeping boundary according to the wind sweeping angle, the wind sweeping boundary of the wind sweeping device can be guaranteed to change along with the change of the distribution state of the target main body, intelligent wind sweeping is achieved, and user experience is improved.
With reference to any one of the fifth to seventh embodiments of the first aspect, in an eighth embodiment of the first aspect, the determining a target wind sweeping boundary of the wind sweeping device based on the wind sweeping angle includes: acquiring a rotation compensation angle of the wind sweeping equipment; and determining a target wind sweeping boundary of the wind sweeping device based on the rotation compensation angle and the wind sweeping angle.
According to the control method of the wind sweeping equipment provided by the embodiment of the invention, the target wind sweeping boundary of the wind sweeping equipment is determined by acquiring the rotation compensation angle of the wind sweeping equipment and based on the rotation compensation angle and the wind sweeping angle, so that the accurate determination of the target wind sweeping boundary is ensured, and the target main body can be covered by the target wind sweeping boundary to the maximum extent.
With reference to the sixth implementation manner of the first aspect, in a ninth implementation manner of the first aspect, the obtaining a distribution state of the target subject includes: acquiring a working mode of the wind sweeping equipment; judging whether the working mode is an intelligent shaking mode or not; when the working mode is an intelligent shaking mode, detecting whether a target main body exists in a wind sweeping limit area of the wind sweeping equipment; and when the target main body exists in the wind sweeping limit area of the wind sweeping equipment, acquiring the distribution state of the target main body.
With reference to the ninth implementation manner of the first aspect, in a tenth implementation manner of the first aspect, the obtaining a distribution state of the target subject further includes: and when the target main body does not exist in the wind sweeping limit area of the wind sweeping equipment, switching the running mode of the wind sweeping equipment.
According to the control method of the wind sweeping equipment provided by the embodiment of the invention, when the wind sweeping equipment is in the intelligent head shaking mode, whether the target main body exists in the wind sweeping limit area of the wind sweeping equipment is detected, the distribution state of the target main body is obtained when the target main body exists in the wind sweeping limit area of the wind sweeping equipment is detected, and when the target main body does not exist in the wind sweeping limit area of the wind sweeping equipment, the operation mode of the wind sweeping equipment is switched. The method determines the operation mode of the wind sweeping equipment based on whether a target main body exists in the wind sweeping limit area of the wind sweeping equipment, so that the self-adaptive operation of the wind sweeping equipment is realized, and redundant electric energy consumption is avoided.
With reference to the tenth embodiment of the first aspect, in an eleventh embodiment of the first aspect, the control method of the wind sweeping device further includes: judging whether the target main body exists in the wind sweeping limit area or not within a preset duration of continuous work of the wind sweeping equipment in a switched operation mode; and when the target main body is detected to exist in the wind sweeping limit area within the preset duration, executing the step of acquiring the distribution state of the target main body.
With reference to the eleventh implementation manner of the first aspect, in the twelfth implementation manner of the first aspect, the control method of the wind sweeping device further includes: and when the target main body is not detected to exist in the wind sweeping limit area within the preset duration, controlling the wind sweeping equipment to enter a standby state.
According to the control method of the wind sweeping equipment provided by the embodiment of the invention, in the process that the wind sweeping equipment continuously works for the preset duration in the switched operation mode, whether a target main body exists in the wind sweeping limit area of the wind sweeping equipment is continuously detected, and when the target main body exists in the wind sweeping limit area of the wind sweeping equipment, the distribution state of the target main body of the wind sweeping equipment is obtained so as to determine the target wind sweeping boundary; and when the target main body is not detected, controlling the wind sweeping device to enter a standby state. According to the method, the target main body is continuously detected within the preset time length to determine the operation mode of the wind sweeping device, so that the self-adaptive operation of the wind sweeping device is realized, the consumption of redundant electric energy is avoided, and the user experience is improved.
According to a second aspect of the present invention, an embodiment of the present invention provides a control device for a wind sweeping device, including: the acquisition module is used for acquiring the distribution state of a target main body and determining the wind sweeping boundary of the wind sweeping equipment based on the distribution state of the target main body; the judging module is used for judging whether the distribution state of the target main body in the wind sweeping boundary changes or not; the control module is used for controlling the wind sweeping equipment to search for the target main body and determining the current distribution state of the target main body when the distribution state of the target main body changes; a determination module for determining a target wind sweeping boundary of the wind sweeping device based on a current distribution state of the target subject.
According to the control device of the wind sweeping equipment provided by the embodiment of the invention, the distribution state of the target main body is detected, so that the target wind sweeping boundary of the wind sweeping equipment can be automatically determined again when the distribution state of the target main body in the wind sweeping boundary changes, the target wind sweeping boundary of the wind sweeping equipment can be ensured to cover all the target main bodies to the maximum extent, no manual operation is needed in the process, the complicated manual operation is avoided, the control of the wind sweeping equipment is more intelligent, and the user experience is improved.
According to a third aspect, embodiments of the present invention provide a wind sweeping device comprising: the control method of the wind sweeping device comprises a memory and a processor, wherein the memory and the processor are connected with each other in a communication mode, computer instructions are stored in the memory, and the processor executes the computer instructions so as to execute the control method of the wind sweeping device of the first aspect or any embodiment of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the method for controlling a wind sweeping device according to the first aspect or any of the embodiments of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flow chart of a control method of a wind sweeping device according to an embodiment of the invention;
FIG. 2 is another flow chart of a control method of a wind sweeping device according to an embodiment of the present invention;
fig. 3 is another flowchart of a control method of a wind sweeping device according to an embodiment of the present invention;
FIG. 4 is a schematic view of a range of wind swept by a wind sweeping device according to an embodiment of the invention;
FIG. 5 is a schematic diagram of a change in position of a target subject according to an embodiment of the invention;
FIG. 6 is a schematic view of the wind sweeping angle variation of the wind sweeping device according to the embodiment of the invention;
fig. 7 is a block diagram of a control apparatus of a wind sweeping device according to an embodiment of the present invention;
fig. 8 is a schematic hardware structure diagram of an electric fan according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
In a multi-user wind sweeping scene, the intelligent electric fan can determine a wind sweeping range based on the position of a human body, but if the position or the number of the human body changes in the midway, namely the distribution state of the human body changes, the electric fan still performs head shaking control based on the current wind sweeping range, and at the moment, a function key such as intelligent person searching needs to be manually operated to enable the electric fan to determine the wind sweeping range again, so that the problems that the operation is not intelligent and the user experience is influenced exist.
Based on the technical scheme, the target main body in the electric fan sweeping range is automatically detected, so that the sweeping boundary of the electric fan is automatically determined again according to the distribution state of the target main body, and then the sweeping area is determined according to the sweeping boundary, and the sweeping area of the electric fan can be ensured to cover all the target main bodies.
According to an embodiment of the invention, there is provided an embodiment of a method of controlling a wind sweeping device, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In this embodiment, a control method of a wind sweeping device is provided, which can be used for an electrical appliance with a wind sweeping function, such as a floor fan, a desk fan, an electric fan, and the like, fig. 1 is a flowchart of the control method of the wind sweeping device according to an embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps:
and S11, acquiring the distribution state of the target subject, and determining the wind sweeping boundary of the wind sweeping device based on the distribution state of the target subject.
The number of target subjects may be one, two, or more. The distribution state of the target subject is the distribution condition of the target subject in the corresponding wind sweeping range of the wind sweeping device, and specifically, the distribution state of the target subject may include the gathering state of the target subject and the number of people change state of the target subject. The aggregation state of the target body is the aggregation degree of the target body, and can be characterized by the position of each target body. If the positions of the target bodies are dense, representing that the target bodies are in an aggregation state; and if the positions of the target bodies are more dispersed, representing that the target bodies are in a dispersed state. The number of people change state of the target subject is the number of people of the target subject within the wind sweeping range, and comprises the increase of the number of the target subject and the decrease of the number of the target subject.
The distribution state of the target subject can be acquired through the detection of the camera arranged on the wind sweeping equipment, the visual field of the camera can be changed along with the rotation of the wind sweeping equipment, and therefore the position and the number of people of the target subject can be detected in real time to determine the distribution state of the target subject.
The wind sweeping boundary of the wind sweeping device is the current wind sweeping range corresponding to the wind sweeping device, namely two wind sweeping boundaries corresponding to the wind sweeping device can be determined according to the position of the target main body, and the two wind sweeping boundaries form the wind sweeping range of the wind sweeping device. As shown in fig. 4, the x-line is a left wind sweeping boundary, the y-line is a right wind sweeping boundary, and a range of an included angle formed by the x-line and the y-line is a current wind sweeping range of the wind sweeping device. It should be noted that, if there is only one target body currently, the wind sweeping device may directionally blow wind and change the blowing direction by tracking the movement of the target body.
And S12, judging whether the distribution state of the target main body in the wind sweeping boundary changes or not.
The change of the distribution state of the target main body comprises the change of the number of people of the target main body in the windsweeping boundary and the change of the position of the target main body. The wind sweeping device can determine whether the distribution state of the target main body in the wind sweeping boundary changes or not based on the target main body detected in real time by the wind sweeping device. And when the distribution state of the target main body in the wind sweeping boundary changes, executing the step S13, otherwise, keeping the wind sweeping boundary of the wind sweeping equipment unchanged, continuing to sweep the wind left and right by using the current wind sweeping boundary, and not searching and detecting the target main body.
And S13, when the distribution state of the target main body changes, controlling the wind sweeping equipment to detect the target main body and determining the current distribution state of the target main body.
When the wind sweeping device detects that the distribution state of the target main body changes, the wind sweeping boundary of the wind sweeping device is possibly required to be determined again, and at the moment, the wind sweeping device can detect the target main body in the current wind sweeping range or the wind sweeping limit area of the wind sweeping device so as to determine the distribution state of the target main body again.
Specifically, the wind sweeping device may determine whether the number of target subjects in the current wind sweeping boundary changes, and the wind sweeping device may detect the target subjects located in the current wind sweeping boundary through the camera to determine whether the number of the target subjects in the wind sweeping device decreases, and may determine that the target subjects away from the wind sweeping boundary exist if the number of the target subjects decreases, and at this time, the wind sweeping device may perform detection of the target subjects in a wind sweeping limit area thereof to determine a current distribution state of the target subjects.
Specifically, when the number of target subjects in the wind sweeping boundary is not changed, the wind sweeping device may further detect whether the position of the target subject is changed, and the wind sweeping device may detect the target subjects located in the current wind sweeping boundary through the camera to determine the current positions of the target subjects, so as to determine the aggregation degree of the target subjects. If the target bodies are located at positions which are changed from being densely distributed or being densely distributed, the wind sweeping device can determine the distribution state of the target bodies based on the densely distributed or the dispersedly distributed target bodies.
Taking fig. 4 as an example, an included angle between the line a and the line b is a camera view, and the camera view can be changed along with the rotation of the wind sweeping device, so as to detect the distribution state of the target subject in the wind sweeping boundary in real time.
And S14, determining the target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target main body.
The target wind sweeping boundary is an actual wind sweeping range determined by the wind sweeping equipment according to the current distribution state of the target main body. Specifically, the wind sweeping equipment can determine the minimum wind sweeping angle covering all the target main bodies according to the current distribution state of the target main bodies, the minimum wind sweeping angles respectively correspond to the left wind sweeping boundary and the right wind sweeping boundary, and the wind sweeping equipment updates the wind sweeping boundaries of the wind sweeping equipment according to the current left wind sweeping boundary and the current right wind sweeping boundary so as to determine the target wind sweeping boundaries of the wind sweeping equipment, so that the wind sweeping equipment can sweep wind according to the updated target wind sweeping boundaries.
According to the control method of the wind sweeping equipment, the distribution state of the target main body is detected in real time, so that the target wind sweeping boundary of the wind sweeping equipment can be automatically determined again when the distribution state of the target main body changes in the wind sweeping boundary, the target wind sweeping boundary of the wind sweeping equipment can be maximally covered with all the target main bodies, manual operation is not needed in the process, complex manual operation is avoided, the control of the wind sweeping equipment is more intelligent, and user experience is improved.
In this embodiment, a control method of a wind sweeping device is provided, which can be used for an electrical appliance with a wind sweeping function, such as a floor fan, a desk fan, an electric fan, etc., and fig. 2 is a flowchart of the control method of the wind sweeping device according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
and S21, acquiring the distribution state of the target subject, and determining the wind sweeping boundary of the wind sweeping device based on the distribution state of the target subject. For a detailed description, reference is made to the related description of step S11 corresponding to the above embodiment, and details are not repeated herein.
And S22, judging whether the distribution state of the target main body in the wind sweeping boundary changes or not. For a detailed description, reference is made to the related description of step S12 corresponding to the above embodiment, and details are not repeated herein.
And S23, when the distribution state of the target main body changes, controlling the wind sweeping equipment to detect the target main body and determining the current distribution state of the target main body.
Specifically, the step S23 may include the following steps:
and S231, improving the wind sweeping speed of the wind sweeping equipment.
The wind sweeping speed of the wind sweeping device is determined by the speed of the stepping motor arranged in the wind sweeping device. When the target main body is detected to leave the wind sweeping boundary of the wind sweeping device, the wind sweeping device can control the speed of the stepping motor to be increased, so that the wind sweeping speed of the wind sweeping device is increased, the rapid rotation of the wind sweeping device drives the camera to rotate, and the detection efficiency of the target main body is improved. Specifically, if the current speed of the stepping motor is V1, when the wind sweeping device detects that the target subject leaves the wind sweeping boundary, the speed of the stepping motor may be controlled to be increased to V2 in the detection process of the target subject, wherein the increased speed of the stepping motor may be set according to the time for acquiring the image of the target subject by the camera, so as to ensure that the wind sweeping device can rapidly complete the detection of the target subject.
And S232, controlling the wind sweeping equipment to detect the target subject based on the improved wind sweeping speed, and determining the current distribution state of the target subject.
If the wind sweeping equipment detects that the number of the target main bodies in the current wind sweeping boundary is not changed, the wind sweeping equipment sweeps wind at the improved wind sweeping speed and detects the distribution positions of the target main bodies in the current wind sweeping boundary so as to determine whether the gathering state of the target main bodies is changed. Specifically, if the position of the target subject located at the windsweeping boundary changes, the distribution state of the target subject needs to be obtained again to determine the aggregation state of the target subject, and the windsweeping angle of the windsweeping device is updated according to the aggregation state. For example, if the target subject located at the wind sweeping boundary moves within the wind sweeping boundary, the current wind sweeping boundary may reduce the wind sweeping angle based on the aggregation state of the target subject.
If the wind sweeping equipment detects that the number of the target main bodies in the current wind sweeping boundary changes, the wind sweeping equipment sweeps wind at the improved wind sweeping speed and swings heads in the wind sweeping limit area at the same time so as to detect the distribution positions of the target main bodies in the wind sweeping limit area and to re-determine the distribution positions of the target main bodies, namely the current distribution state of the target main bodies. The wind sweeping limit area is the maximum wind sweeping range of the wind sweeping equipment. The sweeping limit area of the sweeping device can be determined by the oscillation parameters of the sweeping device, wherein the oscillation parameters of the sweeping device are arranged in a processor of the sweeping device. Different panning parameters and different wind sweeping limit areas are shown in fig. 4, namely a left limit position and a right limit position, and the left limit position and the right limit position form the wind sweeping limit area of the wind sweeping device. Taking fig. 5 as an example, the number of target subjects currently located in the windward movement limit area is 3, the position a is a position before the target subject is changed, the position a' is a position after the target subject is changed, and based on the position change of the target subject, the distribution state corresponding to the target subject can be newly specified.
According to the change of the distribution state of the target main body, the wind sweeping equipment can re-determine two wind sweeping boundaries covering all the target main bodies, namely the target wind sweeping boundaries, so that the wind sweeping equipment can sweep wind based on the target wind sweeping boundaries.
Optionally, the step S232 may include the following steps:
(1) and controlling the wind sweeping equipment to rotate in a reciprocating manner in the wind sweeping boundary, and judging whether a target main body is identified in the wind sweeping boundary.
The wind sweeping equipment can detect the distribution state of the target main body in the wind sweeping boundary in real time, and when the distribution position of the target main body in the wind sweeping boundary is detected to be changed, the wind sweeping equipment is controlled to swing left and right in the current wind sweeping boundary, namely the wind sweeping equipment reciprocates to determine whether the target main body is identified in the wind sweeping boundary. And (3) when the target subject is identified, executing the step (2), otherwise, executing the step (3).
As an optional embodiment of the present application, step (1) may include:
11) and judging whether the target main body is identified or not in the process that the wind sweeping equipment rotates to a wind sweeping boundary in the current rotating direction.
The sweeping device may be rotated back and forth within the sweeping boundary to identify the presence of the target subject. When the target main body is not identified in the process that the wind sweeping device rotates to a wind sweeping boundary in the current rotating direction, step 12) is executed, otherwise, the target main body is still in the wind sweeping boundary of the wind sweeping device, and at this time, the target wind sweeping boundary of the wind sweeping device can be further determined based on the current distribution state of the target main body in the wind sweeping boundary.
12) And changing the rotation direction of the wind sweeping equipment, and controlling the wind sweeping equipment to rotate to the other wind sweeping boundary in the changed rotation direction.
When the wind sweeping equipment rotates to the wind sweeping boundary corresponding to the current rotating direction, the target main body is still not identified, the rotating direction of the wind sweeping equipment can be changed, namely the wind sweeping equipment rotates in the direction opposite to the current rotating direction until the wind sweeping equipment rotates to the other wind sweeping boundary.
13) And judging whether the target main body is identified in the process that the wind sweeping equipment rotates to the other wind sweeping boundary or not.
The wind sweeping device continues to perform detection of the target subject during the turning to another wind sweeping boundary in order to determine whether the target subject is present. When the target main body is not identified in the process that the wind sweeping equipment rotates to the other wind sweeping boundary, the target main body is shown to leave the wind sweeping boundary of the wind sweeping equipment, otherwise, the target main body is still in the wind sweeping boundary of the electric fan, and at the moment, the target wind sweeping boundary of the wind sweeping equipment can be further determined based on the current distribution state of the target main body in the wind sweeping boundary.
It should be noted that: when the wind sweeping equipment rotates to the wind sweeping boundary, rotation angle compensation can be carried out, and whether the target main body is identified after rotation angle compensation is judged. The rotation angle compensation is that the wind sweeping equipment rotates one more compensation angle when rotating to the wind sweeping boundary. When the wind sweeping equipment performs target main body detection, the wind sweeping equipment can rotate one more compensation angle when shaking the head to the wind sweeping boundary so as to make up for the defect of small imaging angle of the camera, realize the maximum detection of the target main body and avoid the detection omission of the target main body. The angle between line c and line x and the angle between line d and line y as shown in fig. 4 are both rotational compensation angles. The compensation angle can be 10 °, and other angles can be determined by those skilled in the art according to actual needs.
(2) Based on the identified current location of the target subject, a current distribution state of the target subject is determined.
When the wind sweeping equipment identifies the target main body with the changed distribution state in the wind sweeping boundary, the position of the current target main body in the wind sweeping boundary can be obtained, and the current distribution state of the target main body in the wind sweeping boundary is determined based on the positions of all the target main bodies in the current wind sweeping boundary.
(3) And when the target main body is not identified in the wind sweeping boundary, judging that the target main body leaves the wind sweeping boundary, and controlling the wind sweeping equipment to preferentially turn to the wind sweeping limit boundary closest to the current wind sweeping position to detect the target main body.
The wind sweeping limit boundary is a wind sweeping boundary corresponding to a wind sweeping limit area of the wind sweeping equipment. When the target subject with the changed distribution state is not identified in the wind sweeping boundary of the wind sweeping equipment, the target subject can be judged to leave the wind sweeping boundary, and at the moment, the wind sweeping equipment can be controlled to detect the target subject in the wind sweeping limit area. When the wind sweeping equipment starts to detect the target main body in the wind sweeping limit area, the wind sweeping equipment can preferentially turn to the wind sweeping limit boundary closest to the current wind sweeping position so as to improve the detection efficiency of the target main body.
And S24, determining the target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target main body.
Specifically, the step S24 may include:
and S241, determining the wind sweeping angle of the wind sweeping device based on the current distribution state of the target main body.
The wind sweeping equipment can determine the current distribution state of the target main bodies according to the positions of the target main bodies and the number of the target main bodies, and can determine the position of the first target main body and the position of the last target main body based on the current distribution state of the target main bodies, and the position of the first target main body, the position of the last target main body and the wind sweeping arc line of the wind sweeping equipment can form a fan shape. The sweeping angle of the sweeping device is an included angle formed by the position of the first target main body and the position of the last target main body, namely the included angle formed by the position of the first target main body, an electric fan sweeping arc line and the position of the last target main body.
Specifically, the step S241 may include:
(1) and determining the position of the target subject based on the current distribution state of the target subject.
The current position of each target subject can be determined based on the current distribution state of the target subject. Taking fig. 5 as an example, the current positions of the 3 target subjects can be determined based on the current distribution state of the target subjects, for example, the position a is the position before the target subject is changed, and the position a' is the position after the target subject is changed.
(2) And judging whether the position of the target main body exceeds the wind sweeping boundary of the wind sweeping device.
The wind sweeping equipment swings back and forth in the wind sweeping boundary, and meanwhile the target main body is detected in real time through the camera arranged on the wind sweeping equipment, so that whether the current position of the target main body is located in the wind sweeping boundary or not can be determined, namely whether the position of the target main body exceeds the wind sweeping boundary or not can be determined. When the target body is located at a position not exceeding the wind sweeping boundary of the wind sweeping device, executing the step (4); and (4) when the position of the target main body exceeds the wind sweeping boundary of the wind sweeping device, further judging whether the position of the target main body exceeds the wind sweeping limit area of the wind sweeping device, when the position of the target main body does not exceed the wind sweeping limit area of the wind sweeping device, executing the step (3), otherwise, re-determining the distribution state of the target main body by the wind sweeping device according to the target main body currently positioned in the wind sweeping limit area, and determining the target wind sweeping boundary according to the re-determined distribution state of the target main body.
(3) And expanding the wind sweeping angle of the wind sweeping device based on the position of the target main body.
When the position of the target main body exceeds the wind sweeping boundary but does not exceed the wind sweeping limit boundary of the wind sweeping device, the wind sweeping range of the wind sweeping device can cover all the target main bodies, at the moment, the wind sweeping device can acquire the position of the target main body exceeding the wind sweeping boundary, and expand the wind sweeping angle of the wind sweeping device based on the current position of the target main body, namely, the wind sweeping angle of the wind sweeping device is expanded to the position of the target main body exceeding the wind sweeping boundary. As shown in fig. 5, the position a is a position before the target subject is changed, and the sweep range between the left sweep boundary x line and the right sweep boundary y line is a sweep area before the target subject is changed; and when the target main body is changed to the position A ', the right wind sweeping boundary Y line is changed to the position A', and the changed right wind sweeping boundary Y line is obtained. The wind sweeping angle of the electric fan can be obtained based on the left wind sweeping boundary x line and the changed right wind sweeping boundary Y line, as shown in fig. 6.
(4) Determining a wind sweeping angle of the wind sweeping device based on the position of the target subject.
When the position of the target main body does not exceed the wind sweeping boundary, the target main body is still located in the wind sweeping boundary of the wind sweeping device, and at the moment, the wind sweeping device can re-determine the wind sweeping angle of the target main body based on the current position of the target main body, namely the included angle formed by the position of the first target main body and the position of the last target main body.
When there are 3 or more target subjects, if the position of the first target subject and the position of the last target subject do not change, and only if other target subjects change between the position of the first target subject and the position of the last target subject, the wind sweeping angle is not changed, and the wind sweeping device continues to sweep at the current wind sweeping angle.
And S242, determining a target wind sweeping boundary of the wind sweeping device based on the wind sweeping angle.
The wind sweeping equipment can determine a target wind sweeping boundary corresponding to the wind sweeping equipment according to the determined wind sweeping angle, and then the wind sweeping equipment can sweep wind according to the updated target wind sweeping boundary.
Specifically, the step S242 may include:
(1) and acquiring a rotation compensation angle of the wind sweeping equipment.
The rotation compensation angle is the angle of multiple rotations of the wind sweeping equipment when the wind sweeping equipment rotates to the wind sweeping boundary. The wind sweeping equipment can rotate one more compensation angle when shaking the head to the wind sweeping boundary, and on the basis of making up the defect that the imaging angle of the camera is small and the detection omission of the target main body is avoided, the wind sweeping range can be maximally covered on all the target main bodies.
(2) And determining a target wind sweeping boundary of the wind sweeping equipment based on the rotation compensation angle and the wind sweeping angle.
And adding the rotation compensation angle on the basis of the wind sweeping angle as a final wind sweeping angle of the wind sweeping device, and calculating a target wind sweeping boundary of the wind sweeping device on the basis of the final wind sweeping angle, so that the maximization of the wind sweeping range of the wind sweeping device is realized.
According to the control method of the wind sweeping equipment provided by the embodiment, the target main body is detected by adjusting the wind sweeping speed of the wind sweeping equipment, the distribution state of the target main body is determined, the target main body is rapidly detected, and the detection efficiency of the target main body is improved. Meanwhile, the current state of the wind sweeping equipment can be intuitively determined based on the wind sweeping speed of the wind sweeping equipment, so that a user can distinguish the wind sweeping state of the wind sweeping equipment from the target subject detection state. When the target main body is determined to leave the wind sweeping boundary of the wind sweeping device, the wind sweeping device is controlled to preferentially turn to the wind sweeping limit boundary closest to the current wind sweeping position so as to detect the target main body, the detection efficiency of the target main body is improved, and the current distribution state of the target main body is rapidly determined.
According to the control method of the wind sweeping equipment provided by the embodiment, the wind sweeping equipment rotates in a reciprocating mode in the wind sweeping boundary to identify whether the target main body exists in the current wind sweeping boundary, and the distribution state of the target main body can be detected in real time, so that the wind sweeping boundary of the wind sweeping equipment can be adjusted according to the distribution state of the target main body. The method comprises the steps of determining the wind sweeping angle of wind sweeping equipment according to the current distribution state of a target main body, determining the target wind sweeping boundary of the wind sweeping equipment based on the wind sweeping angle, avoiding the problem that the target main body leaves the wind sweeping boundary and cannot be blown to by the wind sweeping equipment, and ensuring that the target wind sweeping boundary of the wind sweeping equipment can be maximally covered with the target main body. The wind sweeping angle of the wind sweeping device is enlarged based on the position of the target main body, so that the wind sweeping device can determine a target wind sweeping boundary according to the wind sweeping angle, the wind sweeping boundary of the wind sweeping device is guaranteed to change along with the change of the distribution state of the target main body, intelligent wind sweeping is achieved, and user experience is improved.
In this embodiment, a control method of a wind sweeping device is provided, which can be used for an electrical appliance with a wind sweeping function, such as a floor fan, a desk fan, an electric fan, etc., fig. 3 is a flowchart of the control method of the wind sweeping device according to the embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
and S31, acquiring the distribution state of the target main body, and determining the wind sweeping boundary of the wind sweeping device based on the distribution state of the target main body.
Specifically, the step S31 may include the following steps:
s311, obtaining the working mode of the wind sweeping equipment.
The working mode of the wind sweeping device is used for representing the current running state of the wind sweeping device. The wind sweeping equipment can monitor the operation data in the operation state of the wind sweeping equipment in real time so as to determine the working mode of the wind sweeping equipment. Specifically, the working modes of the wind sweeping device may include a standby mode, an intelligent panning mode, a normal wind sweeping mode, and the like, and the type of the working modes is not limited herein, and may be determined by a person skilled in the art according to actual situations.
And S312, judging whether the working mode is the intelligent shaking mode.
And determining whether the current working mode is in the intelligent shaking head mode or not based on the running parameters of the current working mode. And when the working mode is the intelligent shaking head mode, executing the step S313, otherwise, continuing to operate in other working modes.
And S313, detecting whether the target main body exists in the wind sweeping limit area of the wind sweeping device.
If the air sweeping device works in the intelligent shaking mode, the air sweeping device can continuously judge whether the air sweeping device completes shaking initialization or not, the air sweeping device can be controlled to detect whether a target main body exists in a limit air sweeping area of the air sweeping device at the maximum air sweeping speed in the process of initializing the air sweeping device, and the starting initialization time is shortened while the detection efficiency of the target main body is improved. When the target subject is detected to be present in the windward limit area, step S314 is executed, otherwise step S316 is executed.
And S314, acquiring the distribution state of the target body.
When the wind sweeping equipment detects that the target main bodies exist in the wind sweeping limit area, the number of the detected target main bodies and the positions of the target main bodies can be obtained to determine the distribution state of the target main bodies, and the wind sweeping boundary of the wind sweeping equipment is determined according to the distribution positions of the target main bodies.
And S315, determining the wind sweeping boundary of the wind sweeping device based on the distribution state of the target main body. For a detailed description, reference is made to the related description of the above embodiments, which are not repeated herein.
And S316, switching the running mode of the wind sweeping equipment.
When the wind sweeping device detects that no target body exists in the wind sweeping limit area, the wind sweeping device can be switched to work in other modes, such as an air circulation mode, and the target body is continuously detected in the operation process of the air circulation mode.
And S317, judging whether a target main body exists in the wind sweeping limit area or not within the preset duration of the continuous work of the wind sweeping equipment in the switched operation mode.
The preset duration is the duration of continuous operation of the wind sweeping equipment in the switched operation mode. The preset time period may be determined according to an empirical value, such as 15 minutes, 20 minutes, 25 minutes, 30 minutes, etc., and is not particularly limited herein. The preset duration can be determined by a timing device arranged in the wind sweeping equipment, can also be obtained by calculating a switching timestamp of the operation mode, and can also be determined by other modes, wherein the acquisition mode of the preset duration is not specifically limited.
After the operation mode of the wind sweeping equipment is switched, the target main body is continuously detected within the preset duration after the operation mode is switched, so that whether the target main body exists in the wind sweeping limit area of the wind sweeping equipment or not is determined. And executing step S318 when the target subject is detected to be present in the wind sweeping limit area of the wind sweeping device within the preset time length, otherwise executing step S319.
S318, a step of acquiring a distribution state of the target subject is performed.
When it is detected that the target subject exists in the wind sweeping limit area of the wind sweeping device within the preset time period, the step of obtaining the distribution state of the target subject is returned to be executed, and for the detailed description, reference is made to the related description of the above embodiments, and details are not described here.
And S319, controlling the wind sweeping equipment to enter a standby state.
When the target main body is not detected in the wind sweeping limit area of the wind sweeping device within the preset time, the target main body is not detected in the wind sweeping limit area of the wind sweeping device, and at the moment, the wind sweeping device does not need to execute a wind sweeping function and can be controlled to enter a standby state so as to avoid electric energy consumption.
And S32, judging whether the distribution state of the target main body in the wind sweeping boundary changes or not. For a detailed description, refer to the related description of step S12 corresponding to the above embodiment, and the detailed description is omitted here.
And S33, when the distribution state of the target main body changes, controlling the wind sweeping equipment to detect the target main body and determining the current distribution state of the target main body. For a detailed description, refer to the related description of step S13 corresponding to the above embodiment, and the detailed description is omitted here.
And S34, determining the target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target main body. For a detailed description, reference is made to the related description of step S14 corresponding to the above embodiment, and details are not repeated herein.
According to the control method of the wind sweeping device, the target main body is continuously detected within the preset time length to determine the operation mode of the wind sweeping device, so that the self-adaptive operation of the wind sweeping device is realized, and the user experience is improved while the excessive power consumption is avoided.
In this embodiment, a control device of a wind sweeping device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of which is already given is omitted. The term "module" as used below may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, implementations in hardware or a combination of software and hardware are also possible and contemplated.
The present embodiment provides a control device for a wind sweeping device, as shown in fig. 7, including:
the obtaining module 41 is configured to obtain a distribution state of the target subject, and determine a wind sweeping boundary of the wind sweeping device based on the distribution state of the target subject. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the judging module 42 is used for judging whether the distribution state of the target main body in the windsweeping boundary changes or not. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the control module 43 is configured to control the wind sweeping device to perform target subject detection and determine a current distribution state of the target subject when the distribution state of the target subject changes. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the determining module is used for determining a target wind sweeping boundary of the wind sweeping equipment based on the current distribution state of the target main body. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
The control means of the electric fan in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory executing one or more software or fixed programs, and/or other devices that can provide the above-described functionality.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
The embodiment of the invention also provides an electric fan which is provided with the control device of the wind sweeping equipment shown in the figure 7.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electric fan according to an alternative embodiment of the present invention, and as shown in fig. 8, the electric fan may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, memory 504, and at least one communication bus 502. Wherein a communication bus 502 is used to enable the connection communication between these components. The communication interface 503 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 503 may also include a standard wired interface and a standard wireless interface. The Memory 504 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 504 may optionally be at least one storage device located remotely from the processor 501. Wherein the processor 501 may be in connection with the apparatus described in fig. 7, an application program is stored in the memory 504, and the processor 501 calls the program code stored in the memory 504 for performing any of the above-mentioned method steps.
The communication bus 502 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The memory 504 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 504 may also comprise a combination of the above types of memory.
The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. PLDs can be complex programmable logic devices (CPLD's), field-programmable gate arrays (FPGA's), general array logic (GAL's), or any combination thereof.
Optionally, the memory 504 is also used to store program instructions. The processor 501 may call program instructions to implement the control method of the wind sweeping device as shown in the embodiments of fig. 1 to 6 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the control method of the wind sweeping equipment in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (13)

1. A method of controlling a wind sweeping device, comprising:
acquiring the distribution state of a target main body, and determining the wind sweeping boundary of wind sweeping equipment based on the distribution state of the target main body;
judging whether the distribution state of the target main body in the wind sweeping boundary changes or not;
when the distribution state of the target main body changes, controlling the wind sweeping equipment to detect the target main body and determining the current distribution state of the target main body, wherein the method comprises the following steps: improving the wind sweeping speed of the wind sweeping equipment; controlling the wind sweeping equipment to rotate back and forth in the wind sweeping boundary based on the improved wind sweeping speed, and judging whether the target main body is identified in the wind sweeping boundary; when the target subject is identified within the windsweeping boundary, determining a current distribution state of the target subject based on the identified current position of the target subject; when the target main body is not identified in the wind sweeping boundary, judging that the target main body leaves the wind sweeping boundary, and controlling the wind sweeping equipment to preferentially turn to a wind sweeping limit boundary closest to the current wind sweeping position to detect the target main body;
determining a target wind sweeping boundary of the wind sweeping device based on the current distribution state of the target subject.
2. The method of claim 1, wherein the determining whether the target subject is identified within the windsweeping boundary comprises:
judging whether the target main body is identified or not in the process that the wind sweeping equipment rotates to a wind sweeping boundary in the current rotation direction;
when the target main body is not identified, the rotating direction of the wind sweeping device is changed, and the wind sweeping device is controlled to rotate to the other wind sweeping boundary in the changed rotating direction;
and judging whether the target main body is identified or not in the process of rotating the wind sweeping equipment to another wind sweeping boundary.
3. The method of claim 1, wherein determining a target windsweeping boundary of the windsweeping device based on a current distribution state of the target subject comprises:
determining a wind sweeping angle of the wind sweeping device based on the current distribution state of the target main body;
determining a target wind sweeping boundary of the wind sweeping device based on the wind sweeping angle.
4. The method of claim 3, wherein determining a wind sweeping angle of the wind sweeping device based on the current distribution state of the target subject comprises:
determining the position of the target subject based on the current distribution state of the target subject;
judging whether the position of the target main body exceeds the wind sweeping boundary of the wind sweeping equipment or not;
when the target body is located beyond the wind sweeping boundary but not beyond the wind sweeping limit boundary of the wind sweeping device, enlarging the wind sweeping angle of the wind sweeping device based on the position of the target body.
5. The method of claim 4, wherein determining the wind sweeping angle of the wind sweeping device based on the current distribution state of the target subject further comprises:
when the target body is located at a position that does not exceed the wind sweeping boundary, determining a wind sweeping angle of the wind sweeping device based on the target body location.
6. The method according to any one of claims 3-5, wherein determining a target windsweeping boundary of the windsweeping device based on the windsweeping angle comprises:
acquiring a rotation compensation angle of the wind sweeping equipment;
and determining a target wind sweeping boundary of the wind sweeping device based on the rotation compensation angle and the wind sweeping angle.
7. The method of claim 1, wherein the obtaining the distribution state of the target subject comprises:
acquiring a working mode of the wind sweeping equipment;
judging whether the working mode is an intelligent shaking mode or not;
when the working mode is an intelligent shaking mode, detecting whether a target main body exists in a wind sweeping limit area of the wind sweeping equipment;
and when the target main body exists in the wind sweeping limit area of the wind sweeping equipment, acquiring the distribution state of the target main body.
8. The method of claim 7, wherein the obtaining the distribution state of the target subject further comprises:
and when the target main body does not exist in the wind sweeping limit area of the wind sweeping equipment, switching the running mode of the wind sweeping equipment.
9. The method of claim 8, further comprising:
judging whether the target main body exists in the wind sweeping limit area or not within a preset duration of continuous working of the wind sweeping equipment in the switched running mode;
and when the target main body is detected to exist in the wind sweeping limit area within the preset time, executing the step of acquiring the distribution state of the target main body.
10. The method of claim 9, further comprising:
and when the target main body is not detected to exist in the wind sweeping limit area within the preset duration, controlling the wind sweeping equipment to enter a standby state.
11. A control device for a wind sweeping apparatus, comprising:
the acquisition module is used for acquiring the distribution state of a target main body and determining the wind sweeping boundary of the wind sweeping equipment based on the distribution state of the target main body;
the judging module is used for judging whether the distribution state of the target main body in the wind sweeping boundary changes or not;
the control module is configured to control the wind sweeping device to search for a target subject and determine a current distribution state of the target subject when the distribution state of the target subject changes, and includes: improving the wind sweeping speed of the wind sweeping equipment; controlling the wind sweeping equipment to rotate back and forth in the wind sweeping boundary based on the improved wind sweeping speed, and judging whether the target main body is identified in the wind sweeping boundary; when the target subject is identified within the windsweeping boundary, determining a current distribution state of the target subject based on the identified current position of the target subject; when the target main body is not identified in the wind sweeping boundary, judging that the target main body leaves the wind sweeping boundary, and controlling the wind sweeping equipment to preferentially turn to a wind sweeping limit boundary closest to the current wind sweeping position to detect the target main body;
a determination module for determining a target wind sweeping boundary of the wind sweeping device based on a current distribution state of the target subject.
12. An electric fan, comprising:
a memory and a processor, the memory and the processor are connected with each other in communication, the memory stores computer instructions, and the processor executes the computer instructions to execute the control method of the wind sweeping device according to any one of claims 1-10.
13. A computer-readable storage medium, characterized in that it stores computer instructions for causing a computer to execute the method of controlling a wind sweeping device according to any one of claims 1-10.
CN202110721138.0A 2021-06-28 2021-06-28 Control method and device of wind sweeping equipment, electric fan and readable storage medium Active CN113404719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721138.0A CN113404719B (en) 2021-06-28 2021-06-28 Control method and device of wind sweeping equipment, electric fan and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721138.0A CN113404719B (en) 2021-06-28 2021-06-28 Control method and device of wind sweeping equipment, electric fan and readable storage medium

Publications (2)

Publication Number Publication Date
CN113404719A CN113404719A (en) 2021-09-17
CN113404719B true CN113404719B (en) 2022-09-13

Family

ID=77679790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721138.0A Active CN113404719B (en) 2021-06-28 2021-06-28 Control method and device of wind sweeping equipment, electric fan and readable storage medium

Country Status (1)

Country Link
CN (1) CN113404719B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4346280B2 (en) * 2002-04-08 2009-10-21 古河電気工業株式会社 Rotation angle sensor
CN101751041B (en) * 2008-12-03 2012-09-26 深圳市联创实业有限公司 Method and device for automatically regulating swaying angle of household appliance
CN104331107B (en) * 2013-07-22 2016-12-28 广东美的环境电器制造有限公司 Household electrical appliance and control method of shaking the head
CN205478483U (en) * 2016-03-09 2016-08-17 浙江大学 360 control circuit of auto -tracing electric fan
CN106286364A (en) * 2016-09-30 2017-01-04 广东美的环境电器制造有限公司 Fan and control method of shaking the head thereof
CN106837844A (en) * 2017-04-23 2017-06-13 陈昭良 A kind of fan
CN107605782B (en) * 2017-08-31 2019-10-29 广东美的环境电器制造有限公司 Fan and its shake the head control method and oscillation controller
CN111664103A (en) * 2020-07-28 2020-09-15 杭州晶一智能科技有限公司 Intelligent electric fan and control method for supplying air according to human body position
CN112524069B (en) * 2020-12-28 2022-03-01 珠海格力电器股份有限公司 Fan and fan head-shaking control method

Also Published As

Publication number Publication date
CN113404719A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
US10075651B2 (en) Methods and apparatus for capturing images using multiple camera modules in an efficient manner
CN104184985B (en) The method and device of image acquisition
CN110225229B (en) Photographing method and device, mobile terminal and storage medium
CN106792774B (en) A kind of antenna positioning method, device and a kind of radio reception device
JP6936866B2 (en) Methods and devices for recognizing descriptive attributes of appearance features
CN109889727A (en) Unmanned photographic subjects switching method and system, unmanned cameras and storage medium
CN105007418A (en) Photographing method and mobile terminal
WO2020063077A1 (en) Eyeball tracking information processing method and apparatus applied to terminal
CN109858472B (en) Embedded real-time humanoid detection method and device
CN111288008B (en) Fan control method and device and fan
CN112154651A (en) Holder control method, holder and computer readable storage medium
CN110778521A (en) Electric fan oscillating control method and device, storage medium and electric fan
CN112855594A (en) Air supply control method, fan and computer readable storage medium
CN113584843B (en) Circulating fan control method, circulating fan and storage medium
CN108548267B (en) Air conditioner control method and user terminal
CN113404719B (en) Control method and device of wind sweeping equipment, electric fan and readable storage medium
CN111963473B (en) Fan control method and device and fan
CN109343786A (en) Control method, device, intelligent elevated table and the storage medium of intelligent elevated table
CN115002342A (en) Target object tracking method and device, camera and storage medium
WO2022166113A1 (en) Multi-view camera calibration device and method, and storage medium
CN107632608A (en) The method, apparatus and electronic equipment of the controlled electronic equipment movement of control
CN111240217B (en) State detection method and device, electronic equipment and storage medium
CN112696372A (en) Fan adjusting method, fan and storage medium
CN112240309A (en) Electric fan control method and device
CN105700402A (en) Personnel detection-based embedded control system, device and method

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