Fan control method, fan control device, electronic device, and storage medium
By determining the target event based on the target device status information in low-power mode and using the target state machine to adaptively control the wind turbine, the problem of slow wind turbine response speed is solved, and efficient energy consumption management and fast response are achieved under different states.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIAOMI TECH (WUHAN) CO LTD
- Filing Date
- 2026-05-07
- Publication Date
- 2026-06-26
AI Technical Summary
In existing technologies, the fan response speed is slow after the device enters low power mode, which cannot effectively adapt to the control requirements under different conditions.
Based on the state information of the target device in the target power consumption mode, the target event is determined, and the wind turbine is adaptively controlled through the target state machine, including reconstructing the initial state machine, dynamically adjusting the duty cycle, and adjusting the wind turbine drive strategy according to the battery health.
It improves the response speed of the wind turbine in low-power mode, reduces power consumption and control latency during startup, extends the battery life of the equipment, and optimizes energy efficiency and reliability under different load scenarios.
Smart Images

Figure CN122280888A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of wind turbine control technology, and in particular to a wind turbine control method, a wind turbine control device, electronic equipment, and a storage medium. Background Technology
[0002] A fan is a fluid machine used to transport, ventilate, or dissipate gas, and is widely used in smart homes, industrial automation, medical equipment, and communication infrastructure. In related technologies, once the device enters a low-power mode, a fixed fan control strategy is typically employed, resulting in a slow fan response time. Summary of the Invention
[0003] The first aspect of this disclosure provides a wind turbine control method, including:
[0004] Based on the state information of the target device in the target power consumption mode, it is determined that the target device has experienced a target event; Based on the target event, determine the target state machine associated with the target event; The fan in the target device is controlled according to the target state machine.
[0005] A second aspect of this disclosure provides a fan control device, comprising: The first determining module is used to determine that a target event has occurred on the target device based on the state information of the target device in the target power consumption mode; The second determining module is used to determine the target state machine associated with the target event based on the target event; The control module is used to control the fan in the target device according to the target state machine.
[0006] A third aspect of this disclosure provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the steps of the method described above.
[0007] A fourth aspect of this disclosure provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the above-described method.
[0008] The wind turbine control method, wind turbine control device, electronic device, and storage medium disclosed in this disclosure determine the occurrence of a target event in the target device based on the state information of the target device in a target power consumption mode, determine a target state machine associated with the target event based on the target event, and then control the wind turbine in the target device according to the target state machine. This disclosure achieves adaptive control of the wind turbine by using a target state machine matched to the target event, thereby improving the wind turbine response speed in the target power consumption mode.
[0009] Additional aspects and advantages of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description
[0010] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, in which: Figure 1 This is a flowchart of a fan control method provided in one embodiment of the present disclosure; Figure 2 A flowchart of a fan control method provided in another embodiment of this disclosure; Figure 3 A flowchart illustrating a fan control method provided in yet another embodiment of this disclosure; Figure 4 This is a block diagram of a fan control device provided in one embodiment of the present disclosure; Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present disclosure. Detailed Implementation
[0011] Embodiments of this disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.
[0012] The target control method, target control device, electronic device, and storage medium of the present disclosure are described below with reference to the accompanying drawings.
[0013] Figure 1 This is a schematic flowchart of a fan control method provided in one embodiment of the present disclosure.
[0014] It should be noted that the target control method of this disclosure can be applied to a target control device, which can be configured in an electronic device so that the electronic device can perform target control functions.
[0015] like Figure 1As shown, the wind turbine control method of this disclosure includes the following steps: S101, based on the state information of the target device in the target power consumption mode, determine that the target device has experienced a target event.
[0016] In some embodiments of this disclosure, the target device may be, but is not limited to, any of the following types: Smart home devices, such as refrigeration equipment with doors, like refrigerators; Equipment that requires active cooling, such as data center equipment (e.g., servers, network switches, storage arrays).
[0017] When the target device is operating in a target power consumption mode (such as standby mode, sleep mode, or low-power mode), the system continuously monitors the device's status information, including temperature changes, vibration signals, door opening / closing signals, and battery level. If the detected status information meets preset trigger conditions, a target event is determined to have occurred on the target device.
[0018] The following is an example of a target event: Refrigerator door opening event: A door opening event is generated when a refrigerator door open signal is detected, indicating that the door is open. Server CPU temperature rise anomaly event: A temperature rise anomaly event is generated when the server CPU temperature exceeds a set temperature threshold, or when the temperature rise rate within a set time exceeds a set temperature rise rate threshold. Low battery event: A low battery event is generated when the battery level is lower than a set threshold (e.g., 18%-22%).
[0019] S102, Based on the target event, determine the target state machine associated with the target event.
[0020] In some embodiments of this disclosure, if the target event is a low-battery event where the remaining battery power of the target device is less than a set battery power threshold, the initial state machine of the wind turbine is reconstructed to obtain the target state machine. The reconstruction process is as follows: dynamic state compression technology is used to disable the pulse width modulation start state (START PWM state) in the initial state machine, and a direct state transition is configured between the power-on state (POWER_ON state) and the running state (RUNNING state), thereby skipping the soft-start process and simplifying the state machine.
[0021] For example, the initial state machine includes at least the POWER_ON state, START PWM state, and RUNNING state. When the remaining battery power is detected to be below a set power threshold, the POWER_ON and START PWM states in the wind turbine's initial state machine are merged into a simplified state; that is, the process transitions directly from the POWER_ON state to the RUNNING state, without entering the START PWM state again. This reconfiguration method can effectively reduce power consumption and control latency during the wind turbine startup phase.
[0022] The POWER_ON state refers to the initial operating state of the fan control system, where the power supply is connected but the motor has not yet started. In this state, the fan control system completes hardware initialization, parameter loading, and self-testing, preparing for subsequent startup or operation.
[0023] START PWM state: This refers to the soft-start phase before operation of the wind turbine control system, which transitions from the POWER_ON state. In this state, the main control unit in the wind turbine control system outputs a PWM signal with a gradually increasing duty cycle. This signal controls the power switching devices through the drive circuit, causing the wind turbine motor to accelerate slowly in a controlled manner. This process aims to suppress starting current surges, reduce mechanical stress, and prevent bus voltage drops.
[0024] RUNNING state: refers to the normal operating stage where the fan motor has reached the target speed and is working stably.
[0025] S103, based on the target state machine, controls the fan in the target equipment.
[0026] In some embodiments of this disclosure, during the fan startup process, a target state machine obtained by reconstructing the initial state machine is used to control the fan in the target device. That is, the fan is controlled to transition directly from the POWER_ON state to the RUNNING state, skipping the START PWM state.
[0027] Therefore, the control method disclosed herein eliminates the PWM duty cycle ramp-up process during the soft-start phase, reducing power consumption and control latency during startup and improving the fan response speed. This control method is particularly suitable for low-power scenarios. For target devices powered by batteries or equipped with batteries, this control method helps reduce startup power consumption, extend battery life, and avoid energy waste caused by redundant startup processes under power-limited conditions.
[0028] In some other embodiments of this disclosure, the target device is a refrigeration device with a door, such as a refrigerator.
[0029] If the target event is a door opening event, since opening the door will cause cold air to leak out and the cooling demand will be relatively reduced, at this time, reducing the fan speed can reduce the additional cooling loss caused by forced air supply and prevent cold air from blowing directly on the user. If the target event is a vibration event where the vibration intensity of the target equipment exceeds the set vibration threshold, the fan will be stopped. This vibration event may be caused by abnormal operation of the target equipment or external interference. Shutting down the fan prevents damage from continuous vibration and ensures system safety. The fan can be restarted as needed after the vibration subsides or the fault is resolved.
[0030] In some other embodiments of this disclosure, the target device is a target device that requires active cooling, such as a server.
[0031] If the target event is an abnormal temperature rise event of the target equipment, in order to dissipate the heat generated by the target equipment in a timely manner and prevent damage due to overheating, it is necessary to quickly increase the speed of the fan in the target equipment to enhance its heat dissipation capacity and ensure that the target equipment operates within a safe temperature range. Abnormal temperature rise events include: the temperature of the target equipment exceeding a set temperature threshold, or the temperature rise rate of the target equipment exceeding a set temperature rise rate threshold.
[0032] In some embodiments of this disclosure, such as Figure 2 As shown, the wind turbine control method also includes steps S201-S203, which are used to drive and control the wind turbine according to the actual duty cycle of the pulse width modulation signal (i.e., PWM signal) received by the wind turbine.
[0033] S201, during the operation of the fan, determine the actual duty cycle of the PWM signal received by the fan.
[0034] For example, the actual duty cycle can be determined in any of the following ways: Register read method: The main control unit in the target device can directly read the currently configured duty cycle value from the PWM output register as the actual duty cycle; Sampling measurement method: The external PWM signal is sampled and measured by a timer or input capture module, and the ratio of the high-level duration to the period is calculated as the actual duty cycle.
[0035] S202, determine the target duty cycle interval where the actual duty cycle is located from multiple set duty cycle intervals.
[0036] In some embodiments of this disclosure, multiple predefined duty cycle intervals can be pre-divided.
[0037] For example, the multiple set duty cycle intervals include a first set duty cycle interval (0% ≤ duty cycle ≤ 30%) and a second set duty cycle interval (30% < duty cycle ≤ 100%).
[0038] The first set duty cycle interval corresponds to the pulse group drive mode.
[0039] In pulse group drive mode, the original PWM signal is converted into a set of short-duration, high-frequency pulse group signals. Intermittent signals are then generated based on these pulse group signals to control the power switching devices (such as MOSFETs) in the wind turbine's drive circuit to operate intermittently. For example, a pulse group generator can enable only one or more high-frequency pulse subgroups in each control cycle, causing the MOSFET to conduct only during the effective pulse group period and remain off for the rest of the time. This drive method significantly reduces the total number of switching operations of the power switching devices, effectively suppressing switching and conduction losses when the wind turbine is under low load conditions, achieving deep energy savings. The energy-saving principle is shown in Table 1.
[0040] The second setting of the duty cycle range corresponds to the continuous PWM drive mode.
[0041] In continuous PWM drive mode, the PWM signal output by the main control unit is directly transmitted to the drive circuit as the drive signal to control the MOSFET to work continuously. Since the PWM signal remains continuous and the duty cycle can be flexibly adjusted, the fan speed can be precisely adjusted to meet the requirements of dynamic response and control accuracy of the fan in medium and high load scenarios. The energy-saving principle is shown in Table 1.
[0042] Table 1
[0043] S203, drive control of the fan's drive circuit according to the target duty cycle range.
[0044] In some embodiments of this disclosure, if the driving mode determined based on the target duty cycle range is a pulse group driving mode, the PWM signal is converted into a corresponding pulse group signal and output to the fan's drive circuit. The fan's drive circuit controls the power switching device to conduct only during the effective pulse group period in each control cycle, and remains off for the rest of the time, thereby driving the fan motor in an intermittent operating mode. This method is suitable for low duty cycle conditions and effectively reduces switching losses and static power consumption.
[0045] If the driving mode determined based on the target duty cycle range is a continuous PWM driving mode, the main control unit will directly use the PWM signal as the driving signal to control the power switching devices in the driving circuit to work continuously, so that the fan motor can obtain continuous voltage / current excitation, achieve smooth and high-precision speed regulation, and is suitable for medium and high loads or scenarios with high dynamic response requirements.
[0046] Therefore, this disclosure dynamically switches between pulse group drive and continuous PWM drive modes according to the duty cycle range, reducing the number of invalid switching of power switching devices and lowering static power consumption under low duty cycle conditions, and ensuring speed control accuracy and dynamic response performance under medium and high duty cycle conditions, thereby achieving synergistic optimization of energy efficiency and reliability across the entire load range.
[0047] In some embodiments of this disclosure, such as Figure 3 As shown, the wind turbine control method further includes steps S301 and S302, which are used to implement adaptive wind turbine drive control based on battery health status.
[0048] S301, during the fan control process in the target equipment, the health of the battery is determined based on the state parameters of the battery in the target equipment; wherein, the state parameters include at least one of the following: charging and discharging current, cumulative number of charging and discharging cycles, open circuit voltage, and operating temperature.
[0049] In some embodiments of this disclosure, the target device collects these state parameters in real time and combines them with a preset health model (such as a capacity decay model or internal resistance estimation model) to calculate the current health of the battery online in real time. This health indicator can effectively characterize the degree of battery aging or its remaining power supply capacity.
[0050] It should be noted that the preset health model (such as the capacity decay model or internal resistance estimation model) is a well-known technology in this field, and its specific implementation will not be described in detail here.
[0051] S302 adjusts the fan's operating parameters based on the battery's health.
[0052] In some embodiments of this disclosure, the operating parameters of the fan include the maximum duty cycle of the PWM signal.
[0053] The target device has a pre-set health threshold (e.g., 80%), and a differentiated control strategy is executed based on the comparison between the battery health and the set health threshold, as shown in Table 2 below: If the battery health level is greater than the set health threshold, it indicates that the battery is in good condition and can provide sufficient power support for the wind turbine. At this time, the wind turbine is controlled to operate at the first maximum duty cycle (e.g., 100%) to ensure that the wind turbine can work at full power. At the same time, the operating parameters of the wind turbine are sampled at the first sampling time interval (e.g., 10ms). This can ensure real-time and accurate monitoring of the wind turbine's operating status, ensure control precision and rapid response capability, and enable the wind turbine to adjust its working status in a timely manner according to the equipment's operating conditions.
[0054] If the battery's health status is less than or equal to the set health threshold, it indicates that the battery has aged to a certain extent and has limited remaining power supply capacity. In this case, the maximum drive capacity of the fan needs to be limited, and the fan should be controlled with a second maximum duty cycle (e.g., 80%). By reducing the maximum duty cycle, the overall power consumption of the fan can be effectively reduced, extending the battery's runtime. Simultaneously, the sampling interval for the fan's operating parameters should be adjusted to a second sampling interval (e.g., 50ms). While meeting the basic functional requirements of the fan, this reduces the number of samplings, thereby reducing energy consumption. Specifically, the first maximum duty cycle is greater than the second maximum duty cycle, and the first sampling time interval is less than the second sampling time interval. Through this differentiated control strategy, when the battery is in good condition, priority is given to ensuring the performance of the wind turbine, guaranteeing efficient operation of the target equipment; when the battery is aging, priority is given to ensuring the energy efficiency and stability of the equipment, extending the service life of the target equipment.
[0055] Table 2
[0056] Therefore, through the above mechanism, the target device can adaptively adjust the drive intensity and sampling interval of the fan according to the battery health, achieving a dynamic balance between performance and battery life throughout the entire life cycle of the target device, thereby improving the overall user experience and reliability of the target device.
[0057] In summary, the wind turbine control method proposed in this disclosure determines a target event occurring in the target device based on the state information of the target device under the target power consumption mode, determines a target state machine associated with the target event based on the target event, and then controls the wind turbine in the target device according to the target state machine. This disclosure achieves adaptive control of the wind turbine by using a target state machine matched to the target event, thereby improving the response speed under the target power consumption mode.
[0058] Figure 4 This is a block diagram of a fan control device provided in one embodiment of the present disclosure.
[0059] like Figure 4As shown, the fan control device 400 of this embodiment includes: a first determining module 410, a second determining module 420 and a control module 430.
[0060] The first determining module 410 is used to determine that a target event has occurred in the target device based on the state information of the target device in the target power consumption mode. The second determining module 420 is used to determine the target state machine associated with the target event based on the target event; The control module 430 is used to control the fan in the target device according to the target state machine.
[0061] In some embodiments of this disclosure, the second determining module 420 includes: The determination unit is used to reconstruct the initial state machine of the wind turbine in response to a low power event in which the remaining power of the target device is less than a set power threshold, so as to obtain the target state machine. The reconfiguration includes disabling the pulse width modulation startup state and configuring direct state transition between the power-on state and the running state.
[0062] In some embodiments of this disclosure, the control module 430 includes: The control unit (i.e. the first control unit) is used to control the fan to transition directly from the power-on state to the running state during the fan startup process, skipping the pulse width modulation startup state.
[0063] In some embodiments of this disclosure, the above-described apparatus further includes: The third determining module is used to determine the actual duty cycle of the pulse width modulation signal received by the wind turbine during wind turbine operation; The fourth determination module is used to determine the target duty cycle interval in which the actual duty cycle is located from multiple set duty cycle intervals; The control module 430 is also used to drive the fan's drive circuit according to the target duty cycle range.
[0064] In some embodiments of this disclosure, the control module 430 further includes: The second control unit is used to convert the pulse width modulation signal into a pulse group signal in response to the target duty cycle interval being the first set duty cycle interval, so as to control the power switching device in the drive circuit to work intermittently. The third control unit is used to control the power switching device in the drive circuit to work continuously in response to the target duty cycle interval being the second set duty cycle interval. The first set duty cycle interval is smaller than the second set duty cycle interval.
[0065] In some embodiments of this disclosure, the target device is battery powered, and the aforementioned apparatus further includes: The fifth determination module is used to determine the health of the battery based on the battery's state parameters; wherein the state parameters include at least one of the following: charge / discharge current, cumulative charge / discharge cycle count, open-circuit voltage, and operating temperature. The control module 430 is also used to adjust the operating parameters of the fan based on the battery health.
[0066] In some embodiments of this disclosure, the control module 430 further includes: The fourth control unit is used to control the operation of the fan with a first duty cycle in response to the battery health being greater than a set health threshold, and to sample the operating parameters of the fan at a first sampling time interval. The fifth control unit is used to control the operation of the fan with a second duty cycle in response to the battery health being less than or equal to a set health threshold, and to sample the operating parameters of the fan at a second sampling time interval. Among them, the first duty cycle is greater than the second duty cycle, and the first sampling time interval is less than the second sampling time interval.
[0067] In other embodiments of this disclosure, the target device is a refrigeration device with a door, and the control module 430 further includes: The sixth control unit is used to reduce the fan speed in response to the target event, which is a door opening event; The seventh control unit is used to control the fan to stop operating in response to a vibration event in which the vibration intensity of the target equipment exceeds a set vibration threshold.
[0068] In some further embodiments of this disclosure, the target device is a device requiring active heat dissipation, and the control module 430 further includes: The eighth control unit is used to increase the fan speed in response to the target event being an abnormal temperature rise event; Among them, abnormal temperature rise events include: the temperature of the target device is greater than the set temperature threshold, or the temperature rise rate of the target device is greater than the set temperature rise rate threshold.
[0069] It should be noted that for details not disclosed in the wind turbine control device of this disclosure, please refer to the details disclosed in the wind turbine control method of this disclosure, which will not be repeated here.
[0070] The wind turbine control device proposed in this disclosure uses a first determining module to determine a target event occurring on the target device based on the state information of the target device under a target power consumption mode. A second determining module then determines a target state machine associated with the target event. Finally, a control module controls the wind turbine in the target device based on the target state machine. This disclosure achieves adaptive control of the wind turbine by using a target state machine matched to the target event, thereby improving response speed under the target power consumption mode.
[0071] To implement the above embodiments, this disclosure also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the steps of the wind turbine control method as described in any of the foregoing embodiments.
[0072] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. For example, the electronic device 500 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0073] Reference Figure 5 The electronic device 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.
[0074] Processing component 502 typically controls the overall operation of electronic device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
[0075] Memory 504 is configured to store various types of data to support the operation of electronic device 500. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0076] Power component 506 provides power to the various components of electronic device 500. Power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 500.
[0077] Multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. Each front-facing and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0078] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when electronic device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.
[0079] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0080] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of electronic device 500. For example, sensor assembly 514 may detect the on / off state of electronic device 500, the relative positioning of components such as the display and keypad of electronic device 500, changes in position of electronic device 500 or a component of electronic device 500, the presence or absence of user contact with electronic device 500, orientation or acceleration / deceleration of electronic device 500, and temperature changes of electronic device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. In some embodiments, sensor assembly 514 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0081] Communication component 516 is configured to facilitate wired or wireless communication between electronic device 500 and other devices. Electronic device 500 can access wireless networks according to communication standards, such as WiFi (Wireless Fidelity). In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a Near Field Communication (NFC) module to facilitate short-range communication.
[0082] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0083] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by a processor 520 of an electronic device 500 to perform the above-described fan control method.
[0084] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the wind turbine control method as described in any of the foregoing method embodiments.
[0085] To implement the above embodiments, this disclosure also proposes a computer program product having a computer program stored thereon, which, when executed by a processor, implements the steps of the wind turbine control method as described in any of the foregoing method embodiments.
[0086] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0087] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0088] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.
[0089] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).
[0090] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0091] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0092] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0093] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A fan control method, characterized in that, include: Based on the state information of the target device in the target power consumption mode, it is determined that the target device has experienced a target event; Based on the target event, determine the target state machine associated with the target event; The fan in the target device is controlled according to the target state machine.
2. The method according to claim 1, characterized in that, Determining the target state machine associated with the target event based on the target event includes: In response to the target event being a low power event where the remaining power of the target device is less than a set power threshold, the initial state machine of the wind turbine is reconstructed to obtain the target state machine; The reconfiguration includes disabling the pulse width modulation startup state and configuring a direct state transition between the power-on state and the running state.
3. The method according to claim 2, characterized in that, The step of controlling the fan in the target device according to the target state machine includes: During the start-up process of the fan, the fan is controlled to transition directly from the power-on state to the running state, skipping the pulse width modulation start-up state.
4. The method according to claim 1, characterized in that, The method further includes: During the operation of the fan, the actual duty cycle of the pulse width modulation signal received by the fan is determined; From multiple set duty cycle intervals, determine the target duty cycle interval in which the actual duty cycle is located; The drive circuit of the fan is driven and controlled according to the target duty cycle range.
5. The method according to claim 4, characterized in that, The step of driving the fan's drive circuit according to the target duty cycle range includes at least one of the following: In response to the target duty cycle interval being a first set duty cycle interval, the pulse width modulation signal is converted into a pulse group signal to control the power switching device in the drive circuit to operate intermittently; In response to the target duty cycle interval being the second set duty cycle interval, the pulse width modulation signal is used as a drive signal to control the power switching device in the drive circuit to operate continuously. Wherein, the first set duty cycle interval is smaller than the second set duty cycle interval.
6. The method according to claim 1, characterized in that, The target device is powered by a battery, and the method further includes: The health status of the battery is determined based on its state parameters; wherein the state parameters include at least one of charge / discharge current, cumulative charge / discharge cycle count, open-circuit voltage, and operating temperature. The operating parameters of the fan are adjusted according to the health status of the battery.
7. The method according to claim 6, characterized in that, The step of adjusting the operating parameters of the fan based on the battery's health includes: In response to the battery's health level being greater than a set health level threshold, the fan is controlled to operate with a first duty cycle, and the fan's operating parameters are sampled at a first sampling time interval. In response to the battery's health being less than or equal to the set health threshold, the fan is controlled to operate with a second duty cycle, and the fan's operating parameters are sampled at a second sampling time interval; Wherein, the first duty cycle is greater than the second duty cycle, and the first sampling time interval is less than the second sampling time interval.
8. The method according to claim 1, characterized in that, The target device is a refrigeration device with a door, and the method further includes: In response to the target event being a door opening event, the fan speed is reduced; In response to a vibration event in which the vibration intensity of the target device exceeds a set vibration threshold, the fan is controlled to stop operating.
9. The method according to claim 1, characterized in that, The target device is a device that requires active heat dissipation, and the method further includes: In response to the target event being an abnormal temperature rise event, the fan speed is increased; The abnormal temperature rise event includes: the temperature of the target device is greater than a set temperature threshold, or the temperature rise rate of the target device is greater than a set temperature rise rate threshold.
10. A fan control device, characterized in that, include: The first determining module is used to determine that a target event has occurred on the target device based on the state information of the target device in the target power consumption mode; The second determining module is used to determine the target state machine associated with the target event based on the target event; The control module is used to control the fan in the target device according to the target state machine.
11. The apparatus according to claim 10, characterized in that, The second determining module includes: A determining unit is configured to reconstruct the initial state machine of the wind turbine in response to a low power event in which the remaining power of the target device is less than a set power threshold, so as to obtain the target state machine. The reconfiguration includes disabling the pulse width modulation startup state and configuring a direct state transition between the power-on state and the running state.
12. The apparatus according to claim 11, characterized in that, The control module includes: The control unit is used to control the fan to transition directly from the power-on state to the running state during the fan startup process, skipping the pulse width modulation startup state.
13. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the steps of the method as described in any one of claims 1-9.
14. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method described in any one of claims 1-9.