Fan control method, fan and computer readable storage medium
By setting multiple sensor components on the fan shaking head mechanism, comparing the amplitude of the remote control signal to determine the target position, and controlling the rotation of the shaking head mechanism, the problems of inconvenience and error in the existing fan control methods are solved, and efficient and accurate fan air supply is achieved.
Patent Information
- Application Number
- CN202311356856.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-18
- Publication Date
- 2025-04-18
AI Technical Summary
The existing fan control method is inconvenient to use in special environments or special groups, and the time cost is high and the user experience is poor during manual or remote control positioning, and there are problems with positioning errors and waiting time.
A fan control method is designed, by setting multiple sensor components at different positions of the shaking head mechanism, obtaining remote control signals received by the shaking head components, comparing signal amplitude, determining the target position, and controlling the shaking head mechanism to rotate to the target position.
It realizes the rapid positioning of the signal output position through the remote control signal amplitude, improves the accuracy and user experience of fan air supply, and reduces time cost and positioning errors.
Smart Images

Figure CN119844416A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fan control, and in particular to a fan control method, a fan and a computer-readable storage medium. Background Art
[0002] During the use of the fan, if the user wants the fan to blow towards the person, there are several ways. The most direct method is to manually operate the shaking button. The second method is to use the remote control and select a fixed angle to press the stop shaking button during the natural shaking of the fan. The first method uses the limbs for mechanical operation, which is inconvenient for people in special environments or special groups. In addition, the time cost is high and the user experience is poor. The second method uses the stop shaking button of the remote control for positioning. The first disadvantage is that there is a waiting time during the shaking process. The user needs to wait for a shaking cycle at most to locate the correct position, which consumes a lot of time. Secondly, the shaking mechanism has inertia, and the human body's reaction will also be delayed, and there will be positioning errors in space. Summary of the invention
[0003] In order to solve the above problems, the present application proposes a fan control method, a fan and a computer-readable storage medium, aiming to solve the above problems.
[0004] In order to solve the above technical problems, a technical solution adopted by the present application is: to provide a method for controlling a fan, wherein the fan includes a shaking mechanism, and multiple sensor components are arranged at different positions of the shaking mechanism. The control method includes: obtaining remote control signals received by multiple sensor components; comparing the amplitudes of the multiple remote control signals, obtaining the position of the sensor component corresponding to the remote control signal with the largest amplitude among the multiple remote control signals, and taking it as the target position; and controlling the shaking mechanism to rotate toward the target position.
[0005] Among them, the step of obtaining remote control information of multiple sensor components includes: obtaining remote control signals received by multiple sensor components at preset time intervals; comparing the amplitudes of multiple remote control signals, obtaining the position of the sensor component corresponding to the remote control signal with the largest amplitude among the multiple remote control signals, and taking it as the target position, the step includes: determining whether the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the current moment and the previous moment is consistent; in response to inconsistency, taking the position of the sensor component corresponding to the maximum amplitude at the current moment as the target position.
[0006] Among them, the step of comparing the amplitudes of multiple remote control signals, obtaining the position of the sensor component corresponding to the largest amplitude among the multiple remote control signals, and taking it as the target position also includes: in response to the consistency of the sensor components, judging whether the maximum amplitude at the current moment is greater than the maximum amplitude at the previous moment; in response to the maximum amplitude at the current moment being greater than the maximum amplitude at the current moment, taking the position of the sensor component corresponding to the largest amplitude among the multiple remote control signals at the current moment as the target position.
[0007] Among them, the step of comparing the amplitudes of multiple remote control signals, obtaining the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals, and taking it as the target position also includes: in response to the maximum amplitude at the current moment being less than or equal to the maximum amplitude at the current moment, taking the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals at the previous moment as the target position.
[0008] Among them, the step of controlling the shaking mechanism to rotate toward the target position includes: obtaining the current center air outlet position of the shaking mechanism; obtaining rotation information based on the center air outlet position and the target position; and controlling the shaking mechanism to rotate based on the rotation information.
[0009] In which, a sensor component is set at the central air outlet position, and the control method also includes: judging whether the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position is greater than a threshold; in response to the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position being greater than the threshold, controlling the fan to supply air to the target position.
[0010] The control method further includes: calculating the angle difference between the central air outlet position and the target position; if the angle difference is less than or equal to a preset angle threshold, controlling the fan to supply air to the target position.
[0011] Among them, controlling the fan to supply air to the target position includes: controlling the fan to supply air to the target position at a fixed point; or controlling the fan to shake left and right at a preset angle with the target position as the center point to supply air.
[0012] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide a fan, which includes an air supply mechanism, an oscillating mechanism and a controller. The oscillating mechanism is connected to the air supply mechanism and is used to control the rotation of the fan; a plurality of sensor components are arranged at different positions of the oscillating mechanism; the plurality of sensor components are arranged based on the air supply range of the oscillating mechanism, and the sensor components are used to receive remote control signals; the controller is connected to the oscillating mechanism and the sensor components and is used to execute any one of the above fan control methods.
[0013] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium, which stores program instructions therein, and the program instructions are executed by a processor to implement any of the above fan control methods.
[0014] The beneficial effect of the present application is as follows: different from the prior art, the fan control method of the present application obtains remote control signals received by multiple sensor components arranged on the fan shaking mechanism; then compares the amplitudes of the multiple remote control signals, thereby obtaining the position of the sensor component corresponding to the remote control signal with the largest amplitude among the multiple remote control signals, and uses it as the target position, and finally controls the shaking mechanism to rotate toward the target position. In the above manner, the fan control method of the present application can quickly locate the position where the remote control signal is sent according to the amplitude of the remote control signal, thereby realizing intelligent air supply, thereby improving the air supply effect of the fan shaking air supply and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0016] Figure 1 It is a flow chart of the first embodiment of the fan control method of the present application;
[0017] Figure 2 This is a schematic diagram of the structure of an embodiment of the sensor assembly installation of the present application;
[0018] Figure 3 is a flow chart of a second embodiment of the fan control method of the present application;
[0019] Figure 4 is a flow chart of a third embodiment of the fan control method of the present application;
[0020] Figure 5 This is a schematic diagram of the control process of a specific implementation scheme of the fan control method of the present application;
[0021] Figure 6 yes Figure 1 A flowchart of a specific embodiment of step S103;
[0022] Figure 7 is a flow chart of a fourth embodiment of the fan control method of the present application;
[0023] Figure 8 is a flowchart of a fifth embodiment of the fan control method of the present application;
[0024] Fig. 9 It is a structural schematic diagram of the first embodiment of the fan of the present application;
[0025] Fig.10 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0026] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0027] During the use of the fan, if the user wants the fan to blow towards the person, there are several ways. The most direct method is to manually operate the shaking button. The second method is to use the remote control to select a fixed angle and press the stop shaking button during the natural shaking of the fan. The first method uses the limbs for mechanical operation, which is inconvenient for people in special environments or special groups. In addition, the time cost is high and the user experience is poor. The second method uses the stop shaking button of the remote control for positioning. The first disadvantage is that there is a waiting time during the shaking process. The user needs to wait for a shaking cycle at most to locate the correct position, which consumes a lot of time. Secondly, the motor shaking has inertia, and the human body's reaction will also be delayed, and there will be positioning errors in space.
[0028] In order to solve the above-mentioned problems of the fan, the present application first proposes a method for controlling the fan. In this embodiment, the fan includes an oscillating mechanism, and a plurality of sensor components are arranged at different positions of the oscillating mechanism. That is, the oscillating mechanism has a plurality of different positions for setting the sensor components, and a sensor component is arranged at each position. In this embodiment, the oscillating mechanism of the fan can be the upper air outlet of a bladeless fan, or the fan head of a floor fan, or the moving part of the oscillating drive mechanism, which is not limited here. Please refer to Figure 1 , Figure 1 FIG. 1 is a flow chart of the first embodiment of the fan control method of the present application. Figure 1 As shown, the fan control method of this embodiment specifically includes steps S101 to S103:
[0029] Step S101: Acquire remote control signals received by multiple sensor components.
[0030] The controller of the fan is connected to each sensor component to directly obtain the remote control signals received by the multiple sensor components. In this embodiment, the sensor component can be set as a photosensitive sensor and a filter amplifier circuit. After the photosensitive sensor receives the remote control signal sent by the remote controller, the filter amplifier circuit in the sensor component is used to filter and amplify the remote control signal to convert the discrete remote control signal into an analog signal. Finally, the controller obtains the remote control signal processed by each sensor component.
[0031] Step S102: comparing the amplitudes of the multiple remote control signals, obtaining the position of the sensor component corresponding to the remote control signal with the largest amplitude among the multiple remote control signals, and taking it as the target position.
[0032] In this embodiment, after the fan controller obtains the remote control signals received by all sensor components at the current moment, the controller can obtain the amplitude of each remote control signal, compare the amplitudes of multiple remote control signals, obtain the sensor component corresponding to the remote control signal with the largest amplitude among the remote control signals, and then obtain the position of the sensor component, and use the current position of the sensor component as the target position for the fan shaking mechanism to rotate.
[0033] See also Figure 2 , Figure 2 Schematic diagram of the structure of an embodiment of the sensor assembly installation of the present application. Figure 2 As shown, the fan also includes a sensor mounting part, and a plurality of sensor components are evenly arranged on the sensor mounting part. The sensor mounting part is installed on the shaking mechanism of the fan. During the swinging process of the fan, the sensor mounting part keeps running synchronously with the shaking mechanism, and the position of each sensor component remains unchanged relative to the positive blowing direction of the fan during the shaking process.
[0034] The sensor mounting part can be as follows Figure 2 A semicircular arc structure is shown. In other embodiments, the sensor mounting part can also be in other shapes. The shape of the sensor mounting part is changed based on the actual situation of the shaking mechanism and is not limited here.
[0035] The amplitude of the remote control signal detected by each sensor component is related to the angle between the remote control and the sensor component. The amplitude of the remote control signal obtained by the sensor component facing the remote control is the largest, and the amplitude of the remote control signal of other sensor components gradually decreases as the angle increases.
[0036] like Figure 2 As shown, taking the installation of 4 sensor components on the sensor mounting part as an example, if the positive transmission direction of the remote control signal is I, then the sensor component A has the largest amplitude of the remote control signal among the four sensor components, and the position of sensor component A at the current moment can be selected as the target position; if the positive transmission direction of the remote control signal is III, then the sensor component B has the largest amplitude of the remote control signal, and the position of sensor component B at the current moment can be selected as the target position; if the positive transmission direction of the remote control signal is II, the controller is required to determine the amplitude of the remote control signal received by sensor component A and sensor component B, and the position of the corresponding sensor component with the largest amplitude is selected as the target position. Among them, in this embodiment, set Figure 2 The more sensor components there are on the sensor mounting part shown, the more accurate the target position can be obtained, that is, the more sensor components are distributed, the higher the positioning accuracy can be.
[0037] Step S103: Control the shaking mechanism to rotate toward the target position.
[0038] After the controller obtains the target position of the shaking head mechanism, in order for the fan to achieve accurate and intelligent air supply, the fan's positive blowing direction needs to be towards the position of the remote control. At this time, the controller can obtain the current center air outlet position of the shaking head mechanism, that is, the fan's positive blowing direction. Based on the center air outlet position and the target position, the rotation direction and rotation angle can be calculated. Since the relative angle between the fan's positive blowing direction and the sensor component position is fixed, it is only necessary to calculate the number of motor steps corresponding to the rotation angle of the shaking head mechanism. At this time, the controller can control the shaking head mechanism to rotate to the target position.
[0039] Different from the prior art, the fan control method of the present application obtains remote control signals received by multiple sensor components arranged on the fan shaking mechanism; then compares the amplitudes of the multiple remote control signals to obtain the position of the sensor component corresponding to the remote control signal with the largest amplitude among the multiple remote control signals, and uses it as the target position, and finally controls the shaking mechanism to rotate toward the target position. In the above manner, the fan control method of the present application can quickly locate the position where the remote control signal is sent according to the amplitude of the remote control signal, realize intelligent air supply, thereby improving the air supply effect of the fan shaking air supply and the user experience.
[0040] Optionally, the present application further proposes a fan control method. Figure 3 , Figure 3 FIG. 2 is a flow chart of the second embodiment of the fan control method of the present application. Figure 3 As shown, the fan control method of this embodiment specifically includes steps S201 to S204:
[0041] Step S201: acquiring remote control signals received by a plurality of sensor components at preset time intervals.
[0042] Based on the above embodiment, when the fan controller controls the shaking mechanism to rotate toward the target position, the target position obtained by the above embodiment may have errors. Therefore, it is necessary to update the target position when the controller controls the shaking mechanism to rotate toward the target position to improve the fan's air supply accuracy.
[0043] The controller of the fan can obtain remote control signals received by multiple sensor components at preset time intervals, that is, when controlling the shaking mechanism to rotate toward the target position, the controller can also obtain remote control signals received by multiple sensor components at preset time intervals. By obtaining the remote control signals sent by the remote controller, the target position can be updated, thereby gradually reducing the positioning error and achieving accurate positioning and air supply. The preset time can be set based on actual conditions and can be 1s or other arrays, which are not limited here.
[0044] Step S202: Determine whether the sensor components corresponding to the maximum amplitudes of the multiple remote control signals received at the current moment and at the previous moment are consistent.
[0045] That is, when the controller controls the shaking mechanism to rotate toward the target position, it can determine whether the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the current moment is consistent with the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the previous moment.
[0046] Step S203: In response to the inconsistency, the position of the sensor component corresponding to the maximum amplitude at the current moment is taken as the target position.
[0047] If the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the current moment is inconsistent with the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the previous moment, the position of the sensor component corresponding to the maximum amplitude at the current moment is used as the target position.
[0048] Step S204: Control the shaking mechanism to rotate toward the target position.
[0049] Step S204 is consistent with step S103 and will not be described again here.
[0050] Optionally, based on Figure 3 For an example, see Figure 4 , Figure 4 FIG. 1 is a flow chart of the third embodiment of the fan control method of the present application. Figure 4 As shown, the fan control method of this embodiment specifically includes steps S301 to S307:
[0051] Step S301: acquiring remote control signals received by multiple sensor components at preset time intervals.
[0052] Step S301 is the same as step S201 and will not be described again.
[0053] Step S302: Determine whether the sensor components corresponding to the maximum amplitudes of the multiple remote control signals received at the current moment and the previous moment are consistent.
[0054] Step S302 is the same as step S202 and will not be described again.
[0055] In response to the inconsistency between the sensor components corresponding to the maximum amplitudes of the multiple remote control signals received at the current moment and the previous moment, go to step S303; in response to the consistency between the sensor components corresponding to the maximum amplitudes of the multiple remote control signals received at the current moment and the previous moment, go to step S304.
[0056] Step S303: taking the position of the sensor component corresponding to the maximum amplitude at the current moment as the target position.
[0057] Step S303 is the same as step S203 and will not be described again.
[0058] Step S304: Determine whether the maximum amplitude at the current moment is greater than the maximum amplitude at the previous moment.
[0059] If the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the current moment is consistent with the sensor component corresponding to the maximum amplitude among the multiple remote control signals received at the previous moment, it is necessary to determine whether the maximum amplitude at the current moment is greater than the maximum amplitude at the previous moment.
[0060] In response to the maximum amplitude at the current moment being greater than the maximum amplitude at the previous moment, go to step S305; in response to the maximum amplitude at the current moment being less than or equal to the maximum amplitude at the previous moment, go to step S306.
[0061] Step S305: taking the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals at the current moment as the target position.
[0062] If the maximum amplitude at the current moment is greater than the maximum amplitude at the previous moment, the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals at the current moment is updated as the target position.
[0063] Step S306: taking the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals at the previous moment as the target position.
[0064] If the maximum amplitude at the current moment is less than or equal to the maximum amplitude at the previous moment, there is no need to update the target position, and the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals at the previous moment is maintained as the target position.
[0065] Step S307: Control the shaking mechanism to rotate toward the target position.
[0066] Step S307 is consistent with step S103 and will not be described again here.
[0067] In one application scenario, see Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the control process of a specific implementation scheme of the fan control method of the present application. Figure 5As shown in (a), at this time, multiple sensor components receive the first group of remote control signals. After filtering and amplifying the multiple remote control signals of the first group, the amplitudes of the multiple remote control signals in the first group of remote control signals can be obtained. Taking 4 sensor components as an example, the sensor component that receives the remote control signal with the largest amplitude should be sensor component A. Assume that the maximum amplitude at this time is MaxA, then the position of sensor component A is used as the target position. Based on the central air outlet position of the fan and the target position, the rotation information of the shaking mechanism can be calculated, thereby controlling the central air outlet position of the fan to rotate toward the position of sensor component A.
[0068] like Figure 5 As shown in (b), during the rotation of the central air outlet position of the fan toward the target position corresponding to sensor component A, multiple sensor components receive the second group of remote control signals. After filtering and amplifying the multiple remote control signals of the second group, the amplitudes of the multiple remote control signals in the second group of remote control signals can be obtained. At this time, the sensor component that receives the remote control signal with the largest amplitude should be sensor component B. When it is confirmed that the sensor component corresponding to the largest amplitude at the current moment sends a change, the target position is updated to the current position of sensor component B, and the rotation information between the current central air outlet position of the fan and the target position is recalculated, thereby controlling the central air outlet position of the fan to rotate toward the target position where sensor component B is located.
[0069] like Figure 5 As shown in (c), during the rotation of the central air outlet position of the fan toward the target position corresponding to sensor component B, multiple sensor components receive the third group of remote control signals. After filtering and amplifying the multiple remote control signals of the third group, the amplitudes of the multiple remote control signals in the third group of remote control signals can be obtained. At this time, the sensor component receiving the remote control signal with the largest amplitude is still sensor component B. It is confirmed that the sensor component corresponding to the largest amplitude at the current moment has not changed compared with the previous moment. At this time, it is necessary to determine whether the amplitude MAXB1 of sensor component B at the current moment is greater than the amplitude MAXB of sensor component B at the previous moment. If MaxB1>MaxB, the target position is updated to the position of sensor component B at the current moment. If MaxB1<=MaxB, the target position is not updated, and the position of sensor component B at the previous moment is maintained as the target position.
[0070] Optionally, based on the above embodiment, please refer to Figure 6 , Figure 6 yes Figure 1 FIG. 1 is a flow chart of a specific embodiment of step S103. Figure 6 As shown, this embodiment can be Figure 6 The method shown implements step S103, and the specific implementation steps include steps S401 to S403:
[0071] Step S401: Obtain the current central air outlet position of the shaking mechanism.
[0072] When the fan controller determines the target position, it will obtain the central air outlet position of the fan's shaking mechanism at the current moment, that is, obtain the positive blowing direction of the fan at the current moment.
[0073] Step S402: Obtaining rotation information based on the central air outlet position and the target position.
[0074] In this embodiment, if Figure 2 As shown, since the relative angle between the central air outlet position of the fan and the target position corresponding to the sensor assembly is fixed, at this time it is only necessary to quickly calculate the rotation information such as the rotation angle and rotation direction of the shaking mechanism from the central air outlet position to the target position. Since the rotation mechanism is controlled by the corresponding stepper motor, in this implementation, the number of steps of the motor can also be calculated based on the rotation angle.
[0075] Step S403: Control the shaking mechanism to rotate based on the rotation information.
[0076] Based on the number of steps and the direction of rotation mentioned above, the shaking mechanism can be controlled to rotate so that the central blowing position of the fan can supply air directly to the sending position of the remote control signal.
[0077] Optionally, the present application further proposes a fan control method, see Figure 7 , Figure 7 FIG. 4 is a flow chart of the fourth embodiment of the fan control method of the present application. Figure 7 As shown, in this embodiment, a sensor component can be set at the central air outlet position, that is, a sensor component can be set as shown in FIG. Figure 2 At this time, in this embodiment, the fan control method further includes steps S501 to S502:
[0078] Step S501: Determine whether the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position is greater than a threshold.
[0079] When the central air outlet position of the fan remote head mechanism reaches the target position, if a sensor component is set as follows Figure 2 At the center position of the sensor mounting part shown, the amplitude of the remote control signal received by the sensor assembly should be the maximum value. However, in order to stop the fan's oscillating mechanism from rotating, stop at the target position and deliver air toward the position corresponding to the remote control signal, an amplitude threshold can be set for the remote control signal received by the sensor assembly at the center air outlet position to determine whether the amplitude of the remote control information corresponding to the sensor assembly at the center air outlet position is greater than the threshold.
[0080] Step S502: In response to the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position being greater than a threshold, the fan is controlled to supply air to the target position.
[0081] When the controller determines that the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position is greater than the threshold, the controller controls the shaking mechanism to stop rotating and controls the fan to supply air to the target position.
[0082] Optionally, the present application further proposes a fan control method, see Figure 8 , Figure 8 FIG. 5 is a flow chart of the fifth embodiment of the fan control method of the present application. Figure 8 As shown, in this embodiment, the fan control method further includes steps S601 to S602:
[0083] Step S601: Calculate the angle difference between the central air outlet position and the target position.
[0084] When the central air outlet position of the remote head mechanism of the fan is facing the target position, the angle difference between the central air outlet position of the remote head mechanism of the fan and the target position can be calculated.
[0085] Step S602: If the angle difference is less than or equal to the preset angle threshold, the fan is controlled to supply air to the target position.
[0086] The control can set a threshold to determine whether the angle difference is less than or equal to the preset angle threshold. If the angle difference is less than or equal to the preset angle threshold, the shaking mechanism is controlled to stop rotating and the fan is controlled to supply air to the target position.
[0087] Optionally, based on Figure 7 and Figure 8 This embodiment can be implemented by the following method: Figure 7 and Figure 8 In the embodiment of the present invention, the step of controlling the fan to supply air to the target position includes the following steps:
[0088] Control the fan to supply air to the target position at a fixed point; or control the fan to swing left and right at a preset angle with the target position as the center point to supply air.
[0089] Different from the prior art, the fan control method of the present application obtains remote control signals received by multiple sensor components arranged on the fan shaking mechanism; then compares the amplitudes of the multiple remote control signals to obtain the position of the sensor component corresponding to the remote control signal with the largest amplitude among the multiple remote control signals, and uses it as the target position, and finally controls the shaking mechanism to rotate toward the target position. In the above manner, the fan control method of the present application can quickly locate the position where the remote control signal is sent according to the amplitude of the remote control signal, realize intelligent air supply, thereby improving the air supply effect of the fan shaking air supply and the user experience.
[0090] Optionally, the present application further proposes a fan, see Fig. 9 , Fig. 9 Schematic diagram of the structure of the first embodiment of the fan of the present application. Fig. 9 As shown, the fan 100 of this embodiment includes an air supply mechanism 10, an oscillating mechanism 20 and a controller 30. The oscillating mechanism 20 is connected to the air supply mechanism 10 and is used to control the rotation of the fan; a plurality of sensor components 40 are arranged at different positions of the oscillating mechanism 20; that is, the oscillating mechanism 20 has a plurality of different positions for setting the sensor components 40, and a sensor component 40 is arranged at each position; the plurality of sensor components 40 are arranged based on the air supply range of the oscillating mechanism 20, and the sensor components 40 are used to receive remote control signals; the controller 30 is connected to the oscillating mechanism 20 and the sensor components 40, and is used to execute any one of the above fan control methods.
[0091] See also Fig. 9 ,like Fig. 9 As shown, the fan 100 of this embodiment is a bladeless fan structure. In this embodiment, the air supply mechanism 10 and the shaking mechanism 20 are integrally arranged. Fig. 9 The hollowed-out portion of the oscillating mechanism 20 is the air supply mechanism 10 of the fan 100. In this embodiment, the controller 30 can be disposed in the chassis fixing structure 60.
[0092] like Fig. 9 As shown, the fan 100 further includes a sensor mounting member 50, and a plurality of sensor assemblies 40 are evenly arranged on the sensor mounting member 50. The sensor mounting member 50 is mounted on the shaking mechanism 20 of the fan 100. During the swinging process of the fan 100, the sensor mounting member 50 keeps running synchronously with the shaking mechanism 20, and the relative position of each sensor assembly 40 and the positive blowing direction of the fan 100 remains unchanged during the shaking process. The sensor mounting member 50 can be as follows Figure 2 A semicircular arc structure is shown. In other embodiments, the sensor mounting member 50 can also be in other shapes. The shape of the sensor mounting member 50 is changed based on the actual situation of the shaking mechanism 20 and is not limited here.
[0093] In other embodiments, the sensor assembly 40 may also be installed on the sensor mounting member 50 in an equal-angle distribution design in combination with the air supply range of the shaking mechanism 20, which is not limited here.
[0094] In other embodiments, the fan 100 may also be an ordinary floor fan, which is not limited here. In addition, in the present application, the oscillating mechanism 20 of the fan 100 may be the upper air outlet of a bladeless fan, or may be on the fan head of a floor fan, or may be the moving part of the oscillating drive mechanism, which is not limited here.
[0095] Optionally, the present application further proposes a computer-readable storage medium. Fig.10 , Fig.10 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application.
[0096] The computer-readable storage medium 200 of the embodiment of the present application stores program instructions 210 therein, and the program instructions 210 are executed by a processor to implement the fan control method of any of the above embodiments.
[0097] Among them, the program instructions 210 can form a program file and be stored in the above-mentioned storage medium in the form of a software product, so that an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, tablets, etc.
[0098] The computer-readable storage medium 200 of this embodiment may be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, and the like.
[0099] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the steps in the above-mentioned method embodiments.
[0100] In addition, if the above functions are implemented in the form of software functions and sold or used as independent products, they can be stored in a storage medium readable by a mobile terminal, that is, the present application also provides a storage device storing program data, the program data can be executed to implement the method of the above embodiment, and the storage device can be, for example, a USB flash drive, an optical disk, a server, etc. In other words, the present application can be embodied in the form of a software product, which includes a number of instructions for enabling a smart terminal to execute all or part of the steps of the method described in each embodiment.
[0101] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0102] Any process or method description in a flowchart or otherwise described herein may be understood to represent a mechanism, segment or portion of a code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0103] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (which can be a personal computer, server, network device or other system that can fetch instructions from the instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0104] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for controlling a fan, characterized in that: The fan includes an oscillating mechanism, and a plurality of sensor components are arranged at different positions of the oscillating mechanism. The control method includes: Acquiring remote control signals received by the plurality of sensor components; Comparing the amplitudes of the plurality of remote control signals, obtaining the position of the sensor component corresponding to the remote control signal with the largest amplitude among the plurality of remote control signals, and taking it as the target position; The shaking mechanism is controlled to rotate toward the target position.
2. The control method according to claim 1, characterized in that: The step of obtaining remote control information of multiple sensor components includes: Acquire the remote control signals received by the plurality of sensor components at a preset time interval; The step of comparing the amplitudes of the plurality of remote control signals, obtaining the position of the sensor component corresponding to the remote control signal with the largest amplitude among the plurality of remote control signals, and taking it as the target position comprises: Determine whether the sensor components corresponding to the maximum amplitudes of the plurality of remote control signals received at the current moment and received at the previous moment are consistent; In response to the inconsistency, the position of the sensor component corresponding to the maximum amplitude at the current moment is taken as the target position.
3. The control method according to claim 2, characterized in that: The step of comparing the amplitudes of the plurality of remote control signals, obtaining the position of the sensor component corresponding to the maximum amplitude among the plurality of remote control signals, and taking it as the target position, further includes: In response to the sensor assembly being consistent, determining whether the maximum amplitude at a current moment is greater than the maximum amplitude at a previous moment; In response to the maximum amplitude at the current moment being greater than the maximum amplitude at the current moment, the position of the sensor component corresponding to the maximum amplitude among the multiple remote control signals at the current moment is taken as the target position.
4. The control method according to claim 3, characterized in that: The step of comparing the amplitudes of the plurality of remote control signals, obtaining the position of the sensor component corresponding to the maximum amplitude among the plurality of remote control signals, and taking it as the target position, further includes: In response to the maximum amplitude at the current moment being less than or equal to the maximum amplitude at the current moment, the position of the sensor component corresponding to the maximum amplitude among the plurality of remote control signals at the previous moment is taken as the target position.
5. The control method according to claim 1, characterized in that: The step of controlling the shaking mechanism to rotate toward the target position includes: Obtain the current central air outlet position of the shaking mechanism; Acquiring the rotation information based on the central air outlet position and the target position; The shaking mechanism is controlled to rotate based on the rotation information.
6. The control method according to claim 5, characterized in that: The sensor assembly is arranged at the central air outlet position, and the control method further comprises: Determine whether the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position is greater than a threshold; In response to the amplitude of the remote control information corresponding to the sensor component located at the central air outlet position being greater than the threshold, the fan is controlled to supply air to the target position.
7. The control method according to claim 5, characterized in that: The control method further comprises: Calculating the angle difference between the central air outlet position and the target position; If the angle difference is less than or equal to a preset angle threshold, the fan is controlled to supply air to the target position.
8. The control method according to claim 6 or 7, characterized in that: The controlling the fan to supply air to the target position includes: Controlling the fan to deliver air to the target location; or The fan is controlled to swing left and right at a preset angle to supply air with the target position as the center point.
9. A fan, characterized in that: include: Air supply mechanism, An oscillating mechanism connected to the air supply mechanism and used to control the rotation of the fan; wherein a plurality of sensor components are arranged at different positions of the oscillating mechanism; the plurality of sensor components are arranged based on the air supply range of the oscillating mechanism, and the sensor components are used to receive remote control signals; A controller, wherein the controller is connected to the shaking mechanism and the sensor assembly, and is used to execute the fan control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: Program instructions are stored therein, and the program instructions are executed by a processor to implement the fan control method described in any one of claims 1 to 8.
Citation Information
Cited By
Fan control method, fan, and computer-readable storage medium
EP4772759A1
Fan control method, fan, and computer-readable storage medium
WO2025081761A1