Fan rotation angle control method, fan and storage medium
By introducing personnel position scanning devices and controllers into the cold fan, adjusting the shaking head angle according to the actual position of the personnel, the problem of low utilization during the swing of the cold fan is solved, and more efficient fan operation and a more comfortable user experience are achieved.
Patent Information
- Application Number
- CN202411609178.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the swing process, the cold fan will only swing according to the shaking angle set by the software, resulting in the user being blown by the wind for a period of little time and a low utilization rate.
By introducing a personnel position scanning device and a controller in the fan, a request is sent to the personnel position scanning device to perform scanning within the preset angle range. If a person is detected, the target angle information is generated and sent to the controller to control the shaking head in the fan The motor shakes the fan head to the target angle to send air.
The shaking head angle is adjusted according to the actual position of the personnel, which improves the efficient operation of the fan, increases the user's comfort and convenient experience, and improves the fan utilization and energy-saving effect.
Smart Images

Figure CN119393372A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of fan rotation, and in particular to a fan rotation angle control method, a fan and a storage medium. Background Art
[0002] A cold fan is a fan that combines the functions of air supply, cooling, air purification and humidification. It uses water as the medium and can deliver cold air in a short time. Compared with an electric fan, a cold fan has the function of humidifying the air. Compared with an air conditioner, it is more portable and has lower power consumption.
[0003] Currently, most cooling fans use brushless motors to drive the fan heads to swing. During the swinging process, the fan heads will only swing at a fixed angle set by the software. If the users are scattered or there are few users, the proportion of time that users are blown by the wind in a cycle is very small, and the utilization rate is low. Summary of the invention
[0004] In view of this, the present invention provides a fan rotation angle control method, a fan and a storage medium to solve the problem that the fan will only swing at a fixed angle set by the software during the swinging process, resulting in a very small proportion of the time when the user is blown by the wind in a cycle and a low utilization rate.
[0005] In the first aspect, the present invention provides a fan rotation angle control method, which is applied to a controller in a fan, and the method includes: sending a personnel position scanning request to a personnel position scanning device of the fan, so that the personnel position scanning device scans within a preset angle range; receiving target angle information sent by the personnel position scanning device, and controlling an oscillating motor in the fan to oscillate the fan to a target angle to supply air, wherein the target angle information is generated by the personnel position scanning device and sent to the controller after the presence of a person is detected at the target angle.
[0006] The present invention provides a fan rotation angle control method, a controller in the fan sends a personnel position scanning request to a personnel position scanning device of the fan, the personnel position scanning device performs a scan within a preset angle range based on the personnel position scanning request sent by the controller, and if a person is detected at a target angle, generates target angle information and sends it to the controller, the controller receives the target angle information sent by the personnel position scanning device, controls the shaking motor in the fan to shake the fan to the target angle to supply air, and through the coordinated work of the personnel position scanning device and the controller, the shaking angle can be adjusted according to the actual position of the person, thereby ensuring the efficient operation of the fan and providing the user with a more comfortable and convenient use experience.
[0007] In an optional embodiment, the target angle includes at least one angle, and the target angle information sent by the receiving personnel position scanning device is controlled to control the shaking motor in the fan to shake the fan to the target angle to supply air, including: judging whether the target angle in the target angle information is one or more; if the target angle in the target angle information is one, then controlling the shaking motor to shake the fan to the target angle to supply air.
[0008] If the controller of the present invention determines that the target angle is one, it can directly control the shaking motor to make the fan shake to the target angle to supply air, so that the fan shakes to the position where the personnel are located, thereby increasing the proportion of time that the personnel are blown by the wind and the utilization rate of the fan.
[0009] In an optional embodiment, the method also includes: if there are multiple target angles in the target angle information, selecting the maximum angle value and the minimum angle value among the multiple target angles to determine the target angle range; controlling the shaking motor to make the fan shake left and right based on the target angle range.
[0010] The controller of the present invention controls the shaking motor based on the target angle range, so that the fan shakes left and right within the target angle range, thereby ensuring that the wind can accurately cover the area where people are located.
[0011] In an optional embodiment, before sending a personnel location scanning request to the personnel location scanning device, the method also includes: in response to a fan power-on instruction, executing the step of sending a personnel location scanning request to the personnel location scanning device, and / or determining whether the time since the last time a personnel location scanning request was sent to the personnel location scanning device is greater than a preset time threshold; if the time since the last time a personnel location scanning request was sent to the personnel location scanning device is greater than the preset time threshold, executing the step of sending a personnel location scanning request to the personnel location scanning device.
[0012] When the controller of the present invention determines that the time length since the last time a personnel location scanning request was sent to the personnel location scanning device is greater than a preset time length threshold, it sends a personnel location scanning request to the personnel location scanning device again to prevent the personnel's position from changing or leaving during operation, thereby achieving real-time adjustment based on the dynamic changes of the personnel and realizing intelligent control of the cooling fan.
[0013] In an optional embodiment, after sending a personnel location scanning request to a personnel location scanning device, the method further includes: if the target angle information sent by the personnel location scanning device is not received within a preset time period, or the target angle information sent by the personnel location scanning device includes information indicating that no person is detected, controlling the shaking motor to turn off the shaking function, or turning off the fan.
[0014] If the controller of the present invention determines that there is no one in the area where the fan is located, it can control the fan to stop shaking its head or even turn off the fan, thereby improving the energy-saving effect of the fan and avoiding unnecessary waste of energy. It not only improves the intelligence level of the equipment, but also significantly enhances the user experience, making the cooling fan not only more functional, but also reaching new heights in energy saving and environmental protection.
[0015] In the second aspect, the present invention provides a fan rotation angle control method, which is applied to a personnel position scanning device in the fan, and the method includes: responding to a personnel position scanning request sent by a controller of the fan, performing a scan within a preset angle range; if a person is detected at a target angle, generating target angle information and sending it to the controller, so that the controller controls the shaking motor in the fan to shake the fan to the target angle to supply air.
[0016] In the third aspect, the present invention provides a fan, which includes a controller, a personnel position scanning device and a shaking motor, wherein the controller in the fan sends a personnel position scanning request to the personnel position scanning device of the fan; the personnel position scanning device responds to the personnel position scanning request sent by the controller of the fan and performs a scan within a preset angle range; if the personnel position scanning device detects the presence of a person at a target angle, it generates target angle information and sends it to the controller; the controller receives the target angle information sent by the personnel position scanning device, and controls the shaking motor in the fan to shake the fan to the target angle to supply air.
[0017] The fan provided by the present invention has a controller in the fan that sends a personnel position scanning request to a personnel position scanning device of the fan. The personnel position scanning device performs a scan within a preset angle range based on the personnel position scanning request sent by the controller, and if a person is detected at a target angle, generates target angle information and sends it to the controller. The controller receives the target angle information sent by the personnel position scanning device, controls the shaking motor in the fan to shake the fan to the target angle to supply air. Through the coordinated work of the personnel position scanning device and the controller, the shaking angle can be adjusted according to the actual position of the person, thereby ensuring the efficient operation of the fan and providing the user with a more comfortable and convenient use experience.
[0018] In an optional implementation, the personnel position scanning device is a photoelectric proximity sensor.
[0019] In an optional implementation, the fan is a cooling fan.
[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the fan rotation angle control method of the first aspect or any corresponding embodiment thereof, or to execute the fan rotation angle control method of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 is a structural block diagram of a vehicle according to an embodiment of the present invention;
[0023] Figure 2 is an example diagram of a scanning trajectory within a preset angle range of a personnel position scanning device according to an embodiment of the present invention;
[0024] Figure 3 is a diagram showing an example of the composition of a cooling fan according to an embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of interaction between ports in a fan according to an embodiment of the present invention;
[0026] Figure 5 is a flowchart of a fan rotation angle control method according to an embodiment of the present invention;
[0027] Figure 6 is a structural block diagram of a fan rotation angle control device according to an embodiment of the present invention;
[0028] Figure 7 is a structural block diagram of another fan rotation angle control device according to an embodiment of the present invention;
[0029] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0031] According to an embodiment of the present invention, a fan rotation angle control embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0032] An embodiment of the present invention provides a fan, such as Figure 1 As shown, the fan includes a personnel position scanning device 1, a controller 2 and an oscillating motor 3 in the fan, wherein the controller 2 in the fan sends a personnel position scanning request to the personnel position scanning device 1 of the fan; the personnel position scanning device 1 responds to the personnel position scanning request sent by the controller 2 of the fan and performs scanning within a preset angle range; if the personnel position scanning device 1 detects the presence of a person at a target angle, it generates target angle information and sends it to the controller 2; the controller 2 receives the target angle information sent by the personnel position scanning device 1, and controls the oscillating motor 3 in the fan to oscillate the fan to the target angle to supply air.
[0033] The controller 2 of the embodiment of the present invention is connected to the personnel position scanning device 1, wherein the personnel position scanning device 1 is not limited and can be an infrared sensor or other sensors. Specifically, taking the photoelectric proximity sensor as an example, the photoelectric proximity sensor can determine the proximity state of the object by measuring the intensity of the reflected light or detecting whether the light beam is blocked, and is used to detect the position of the object, etc. Its structure is relatively simple and the cost is low. Compared with the infrared sensor, its accuracy is higher when high-precision measurement or long-distance measurement is required. This is just an example; the fan is turned on, the whole machine starts working, and the left and right shaking function is turned on. The controller 2 in the fan can send a personnel position scanning request to the personnel position scanning device 1. The personnel position scanning device 1 responds to the personnel position scanning request sent by the controller 2 and can scan within a preset angle range. The preset angle range is not limited, as long as it is not greater than the shaking angle range of the electric fan, such as Figure 2 As shown, the fan moves in a clockwise direction with a range of 360°. The corresponding photoelectric sensor can also scan the position of personnel in a range of 360°, which is just an example.
[0034] When the personnel position scanning device 1 detects the presence of a person at the target angle, it can generate target angle information and send it to the controller 2. There is no limitation on the method of generating the target angle information after the presence of a person is detected at the target angle. The personnel position scanning device 1 can record the current angle after detecting the presence of a person at the current angle, and then generate target angle information for all scanned angles and send it to the controller 2 after completing the scanning within the preset angle range. Alternatively, the personnel position scanning device 1 can directly generate target angle information and send it to the controller 2 after detecting the presence of a person at the current angle during the scanning process. After receiving the target angle information, the controller 2 can directly control the shaking motor 3 to shake the fan to the target angle. After receiving the next target angle information, the controller controls the fan to shake left and right to cover all the received target angle information. Alternatively, after receiving the target angle information, the target angle air supply may not be performed first. After determining that the personnel position scanning device 1 has completed the scanning within the preset angle range, the controller 2 counts all angle information sent by the personnel position scanning device 1, and then controls the shaking motor 3 to shake left and right to cover all angles. This is just an example.
[0035] Among them, the method for the controller 2 to determine whether the personnel position scanning device 1 has completed the scan within the preset angle range is not limited. The time required for the personnel position scanning device 1 to complete the preset angle range may be pre-recorded. After sending a personnel position scanning request to the personnel position scanning device 1, the timing is started until the recorded time reaches the time required for the personnel position scanning device 1 to complete the preset angle range, and it is determined that the personnel position scanning device 1 has completed the scan within the preset angle range. It is also possible to determine whether the target angle in the target angle information sent by the personnel position scanning device 1 is the last angle in the fixed scanning path of the personnel position scanning device 1. If it is the last angle, it can be determined that the personnel position scanning device 1 has completed the scan within the preset angle range. This is just an example.
[0036] After the controller 2 receives the target angle information sent by the personnel position scanning device 1, it can control the shaking motor 3 in the fan to shake the fan to the target angle to supply air. The personnel position scanning device 1, that is, the photoelectric proximity sensor, can output a high level or low level signal to the controller 2 after detecting the presence of a person at the target angle. After receiving the signal, the controller 2 can convert the signal fed back by the photoelectric proximity sensor into a specific output angle through the built-in algorithm processing. Based on the specific output angle, the controller 2 controls the shaking motor 3 to shake the fan to a specific angle to supply air.
[0037] The fan provided by the present invention has a controller in the fan that sends a personnel position scanning request to a personnel position scanning device of the fan. The personnel position scanning device performs a scan within a preset angle range based on the personnel position scanning request sent by the controller, and if a person is detected at a target angle, generates target angle information and sends it to the controller. The controller receives the target angle information sent by the personnel position scanning device, controls the shaking motor in the fan to shake the fan to the target angle to supply air. Through the coordinated work of the personnel position scanning device and the controller, the shaking angle can be adjusted according to the actual position of the person, thereby ensuring the efficient operation of the fan and providing the user with a more comfortable and convenient use experience.
[0038] Specifically, the fan is a cooling fan, such as Figure 3 As shown, the base of the cooling fan includes a water tank for humidification and a submersible pump for supplying water to the wet curtain. The fuselage support rod contains a water pipe. The photoelectric proximity sensor is installed on the head support structure rod. It can scan personnel according to the shaking range of the fan. The head part of the cooling fan can not only shake 360° left and right, but also shake 90° up and down. This is just an example.
[0039] Specifically, the target angle includes at least one angle. After the controller 2 receives the target angle information sent by the personnel position scanning device 1, it determines whether the target angle in the target angle information is one or more; if the target angle in the target angle information is one, the shaking motor 3 is controlled to shake the fan to the target angle to supply air.
[0040] After receiving the target angle information sent by the personnel position scanning device 1, the controller 2 of the embodiment of the present invention can determine whether the target angle in the target angle information is one or more. If the target angle in the target angle information is one, the shaking motor 3 can be controlled to shake the fan to the target angle, and can stop at the target angle to supply air.
[0041] If the controller of the present invention determines that the target angle is one, it can directly control the shaking motor to make the fan shake to the target angle to supply air, so that the fan shakes to the position where the personnel are located, thereby increasing the proportion of time that the personnel are blown by the wind and the utilization rate of the fan.
[0042] In an optional implementation, if there are multiple target angles in the target angle information, the controller 2 selects the maximum angle value and the minimum angle value among the multiple target angles to determine the target angle range; and controls the shaking motor 3 to make the fan shake left and right based on the target angle range.
[0043] If the controller 2 of the embodiment of the present invention determines that there are multiple target angles in the target angle information, the maximum angle value and the minimum angle value among the multiple target angles can be selected to determine the target angle range. For example, if the target angles include 10°, 20°, -50°, and -10°, the maximum angle value of 20° and the minimum angle value of -50° can be selected to determine the target angle range as [-50°, 20°]. The controller 2 then controls the shaking motor 3 based on the target angle range to make the fan shake left and right within the target angle range, thereby ensuring that the wind can accurately cover the area where people are located. This is just an example.
[0044] In an optional embodiment, before sending a personnel location scanning request to the personnel location scanning device 1, the controller 2 responds to the fan power-on command, executes the step of sending a personnel location scanning request to the personnel location scanning device 1, and / or determines whether the time since the last time the personnel location scanning request was sent to the personnel location scanning device 1 is greater than a preset time threshold. If the time since the last time the personnel location scanning request was sent to the personnel location scanning device 1 is greater than the preset time threshold, the step of sending a personnel location scanning request to the personnel location scanning device 1 is executed.
[0045] The embodiment of the present invention does not limit the timing when the controller 2 sends a personnel position scanning request to the personnel position scanning device 1. After responding to the fan power-on instruction, the controller 2 can send a personnel position scanning request to the personnel position scanning device 1, perform the first personnel position scan after this power-on, and control the fan to shake its head to the target angle for air supply. In order to provide a more comfortable and humane experience, a timing detection mechanism can also be designed. The controller 2 can determine whether the time since the last time the personnel position scanning request was sent to the personnel position scanning device 1 is greater than the preset time threshold. If the time since the last time the personnel position scanning request was sent to the personnel position scanning device 1 is greater than the preset time threshold, the personnel position scanning request can be sent to the personnel position scanning device 1 again. For example, after the fan supplies air at the last target angle for 5 minutes, the controller 2 will control the personnel position scanning device 1 to perform scanning detection within the preset angle range again. After the personnel position scanning device 1 scans the personnel at the target angle this time, the target angle information can be sent to the controller 2. The controller 2 can again control the shaking motor 3 to shake the fan to the target angle for air supply based on the target angle determined by the re-scanning. This is just an example.
[0046] When the controller of the present invention determines that the time length since the last time a personnel location scanning request was sent to the personnel location scanning device is greater than a preset time length threshold, it sends a personnel location scanning request to the personnel location scanning device again to prevent the personnel's position from changing or leaving during operation, thereby achieving real-time adjustment based on the dynamic changes of the personnel and realizing intelligent control of the cooling fan.
[0047] In an optional embodiment, after the controller 2 sends a personnel location scanning request to the personnel location scanning device 1, if the target angle information sent by the personnel location scanning device 1 is not received within a preset time period, or if the target angle information sent by the personnel location scanning device 1 includes information indicating that no person is detected, the controller 2 controls the shaking motor 3 to turn off the shaking function, or turns off the fan.
[0048] After the personnel position scanning device 1 of the embodiment of the present invention completes the personnel position scanning within the preset angle range, if no personnel is detected, there is no need to send the target angle information to the controller 2. Correspondingly, if the controller 2 does not receive the target angle information sent by the personnel position scanning device 1 within the preset time period, it can be determined that there is no one in the area, and the shaking head motor 3 can be controlled to turn off the shaking head function, or turn off the fan, wherein the preset time period can be set according to the duration of the personnel position scanning device 1 to complete the personnel position scanning within the preset angle range; if the personnel position scanning device 1 completes the personnel position scanning within the preset angle range and no personnel is detected, it can also send information to the controller 2 to prompt that no personnel is detected. After the controller 2 determines that there is no one in the area, it can control the shaking head motor 3 to turn off the shaking head function, or even turn off the fan.
[0049] After the controller of the embodiment of the present invention turns off the fan, it needs to be manually restarted. After the restart, the whole machine starts to work, and the controller sends a personnel position scanning request to the personnel position scanning device.
[0050] The embodiment of the present invention also provides a method for controlling the rotation angle of a fan, which is applied to Figure 1 The personnel position scanning device 1, the controller 2 and the shaking motor 3 shown in the figure, wherein Figure 4 As shown, the personnel position scanning device 1 is used to execute step S101 to step S102, and the controller 2 is used to execute step S201 to step S202.
[0051] Step S201: sending a personnel location scanning request to a personnel location scanning device of a fan.
[0052] Step S101 , in response to a personnel position scanning request sent by a controller of a fan, scanning is performed within a preset angle range.
[0053] Step S102: If the presence of a person is detected at the target angle, target angle information is generated and sent to the controller.
[0054] Step S202, receiving the target angle information sent by the personnel position scanning device, and controlling the shaking motor in the fan to shake the fan to the target angle to supply air.
[0055] In the embodiment of the present invention, the fan is turned on, the whole machine starts working, and the left and right shaking function is turned on. The controller in the fan can send a personnel position scanning request to the personnel position scanning device. The personnel position scanning device responds to the personnel position scanning request sent by the controller and can perform a scan within a preset angle range. When the personnel position scanning device detects the presence of a person at the target angle, it can generate target angle information and send it to the controller. After receiving the target angle information sent by the personnel position scanning device, the controller can control the shaking motor in the fan to shake the fan to the target angle to supply air.
[0056] The present invention provides a fan rotation angle control method, a controller in the fan sends a personnel position scanning request to a personnel position scanning device of the fan, the personnel position scanning device performs a scan within a preset angle range based on the personnel position scanning request sent by the controller, and if a person is detected at a target angle, generates target angle information and sends it to the controller, the controller receives the target angle information sent by the personnel position scanning device, controls the shaking motor in the fan to shake the fan to the target angle to supply air, and through the coordinated work of the personnel position scanning device and the controller, the shaking angle can be adjusted according to the actual position of the person, thereby ensuring the efficient operation of the fan and providing the user with a more comfortable and convenient use experience.
[0057] In a specific embodiment, Figure 5 As shown, the fan starts to work, and after the shaking function is turned on, the controller sends a personnel position scanning request to the photoelectric proximity sensor. The photoelectric proximity sensor scans a circle according to the preset angle range to see if a person is detected. If no person is detected, the controller can turn off the fan. If a person is detected, the target angle information including the signal output angle is sent to the controller. The controller shakes left and right according to the target angle information fed back by the photoelectric proximity sensor, and the controller can determine whether the time since the last time the personnel position scanning request was sent to the personnel position scanning device is greater than the preset time threshold. If the time since the last time the personnel position scanning request was sent to the personnel position scanning device is greater than the preset time threshold, the photoelectric proximity sensor can be repeated to send the personnel position scanning request. Please refer to the above embodiment for detailed description, which will not be repeated here.
[0058] In this embodiment, a fan rotation angle control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0059] This embodiment provides a fan rotation angle control device, which is applied to a controller in a fan, such as Figure 6As shown, it includes: a personnel scanning request module 601, which is used to send a personnel position scanning request to the personnel position scanning device of the fan, so that the personnel position scanning device performs a scan within a preset angle range; a fan shaking control module 602, which is used to receive the target angle information sent by the personnel position scanning device, and control the shaking motor in the fan to shake the fan to the target angle to supply air, and the target angle information is generated by the personnel position scanning device after detecting the presence of a person at the target angle and sent to the controller.
[0060] In some optional embodiments, the target angle includes at least one angle, and the fan shaking control module 602 includes: an angle quantity judgment unit, used to judge whether the target angle in the target angle information is one or more; a target angle shaking unit, used to control the shaking motor to make the fan shake to the target angle to supply air if the target angle in the target angle information is one.
[0061] In some optional embodiments, the fan shaking control module 602 includes: an angle range determination unit, which is used to select the maximum angle value and the minimum angle value among the multiple target angles to determine the target angle range if there are multiple target angles in the target angle information; an angle range shaking unit, which is used to control the shaking motor to make the fan shake left and right based on the target angle range.
[0062] In some optional embodiments, before sending a personnel location scanning request to the personnel location scanning device, the fan rotation angle control device also includes: a fan power-on module, which is used to respond to the fan power-on instruction and execute the step of sending a personnel location scanning request to the personnel location scanning device, and / or a duration recording module, which is used to determine whether the time since the last time a personnel location scanning request was sent to the personnel location scanning device is greater than a preset duration threshold. If the time since the last time a personnel location scanning request was sent to the personnel location scanning device is greater than the preset duration threshold, the step of sending a personnel location scanning request to the personnel location scanning device is executed.
[0063] In some optional embodiments, after sending a personnel position scanning request to the personnel position scanning device, the fan rotation angle control device also includes: a fan shutoff module, which is used to shut down the fan if the target angle information sent by the personnel position scanning device is not received within a preset time period, or when the target angle information sent by the personnel position scanning device includes information indicating that no person is detected.
[0064] This embodiment provides a fan rotation angle control device, which is applied to a personnel position scanning device in a fan, such as Figure 7As shown, it includes: a personnel scanning module 701, which is used to respond to a personnel position scanning request sent by the controller of the fan and perform a scan within a preset angle range; a target angle module 702, which is used to generate target angle information and send it to the controller if the presence of a person is detected at the target angle, so that the controller controls the shaking motor in the fan to shake the fan to the target angle to supply air.
[0065] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0066] The fan rotation angle control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0067] The embodiment of the present invention also provides a computer device having the above Figure 6 The fan rotation angle control device shown, or Figure 7 The fan rotation angle control device is provided.
[0068] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0069] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0070] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0071] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0072] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0073] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0074] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0075] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0076] 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 present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A fan rotation angle control method, characterized in that: A controller applied to a fan, the method comprising: Sending a personnel position scanning request to a personnel position scanning device of the fan so that the personnel position scanning device performs scanning within a preset angle range; Receive the target angle information sent by the personnel position scanning device, control the shaking motor in the fan to shake the fan to the target angle to supply air, and the target angle information is generated by the personnel position scanning device and sent to the controller after detecting the presence of a person at the target angle.
2. The method according to claim 1, characterized in that The target angle includes at least one angle, and the receiving target angle information sent by the personnel position scanning device controls the shaking motor in the fan to shake the fan to the target angle to supply air, including: Determining whether the target angle in the target angle information is one or more; If the target angle in the target angle information is one, the oscillating motor is controlled to oscillate the fan to the target angle to supply air.
3. The method according to claim 2, characterized in that The method further comprises: If there are multiple target angles in the target angle information, select the maximum angle value and the minimum angle value among the multiple target angles to determine the target angle range; The oscillating motor is controlled to cause the fan to oscillate left and right based on the target angle range.
4. The method according to claim 1, characterized in that: Before sending the personnel position scanning request to the personnel position scanning device, the method further includes: In response to the fan power-on instruction, executing the step of sending a personnel position scanning request to the personnel position scanning device, and / or, Determine whether the time since the last time a personnel location scan request was sent to the personnel location scan device is greater than a preset time threshold. If the time since the last time a personnel location scan request was sent to the personnel location scan device is greater than the preset time threshold, execute the step of sending a personnel location scan request to the personnel location scan device.
5. The method according to claim 1, characterized in that: After sending the personnel position scanning request to the personnel position scanning device, the method further includes: If the target angle information sent by the personnel position scanning device is not received within a preset time period, or if the target angle information sent by the personnel position scanning device includes information indicating that no personnel is detected, the shaking motor is controlled to turn off the shaking function, or the fan is turned off.
6. A fan rotation angle control method, characterized in that: A personnel position scanning device applied to a fan, the method comprising: In response to a personnel position scanning request sent by a controller of the fan, scanning is performed within a preset angle range; If the presence of a person is detected at the target angle, target angle information is generated and sent to the controller, so that the controller controls the shaking motor in the fan to shake the fan to the target angle to supply air.
7. A fan, characterized in that: The fan includes a controller, a personnel position scanning device and a shaking motor, wherein: The controller in the fan sends a personnel position scanning request to the personnel position scanning device of the fan; The personnel position scanning device performs scanning within a preset angle range in response to a personnel position scanning request sent by the controller of the fan; If the personnel position scanning device detects the presence of a person at the target angle, it generates target angle information and sends it to the controller; The controller receives the target angle information sent by the personnel position scanning device, and controls the shaking motor in the fan to shake the fan to the target angle to supply air.
8. The fan according to claim 7, characterized in that: The personnel position scanning device is a photoelectric proximity sensor.
9. The fan according to claim 7 or 8, characterized in that: The fan is a cooling fan.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the fan rotation angle control method according to any one of claims 1 to 5, or to execute the fan rotation angle control method according to claim 6.
Citation Information
Patent Citations
Air conditioner blowing control method and device
CN105465966A
Fan and swinging control method thereof
CN106286364A
Control method of fan and human body induction fan
CN106870427A
Electric fan shaking control method and device, storage medium and electric fan
CN110778521A
Fan control method and device, storage medium, electronic equipment and fan
CN114060300A