Fan control method and system based on sensor data analysis and storage medium
By using sensor data analysis and closed-loop control methods, the fan speed is dynamically adjusted, solving the problems of insufficient heat dissipation and energy waste in existing fan control systems when the equipment heat load changes, and achieving adaptive adjustment and system stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI LEIPOLD ELECTRIC
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-17
AI Technical Summary
Existing fan control systems cannot achieve adaptive adjustment, resulting in insufficient heat dissipation or energy waste when the equipment's heat load changes, and also causing serious noise pollution.
A closed-loop control method based on sensor data analysis is adopted. The fan speed is dynamically adjusted by the feedback signal of the speed sensor. Combined with PWM signal calculation and diversified input module design, a complete closed-loop control loop for the fan is constructed to achieve dynamic adaptation between the fan speed and the heat load of the equipment.
It achieves dynamic adaptive adjustment of fan speed and equipment heat load, avoids heat accumulation and energy waste, reduces noise pollution, and promptly detects operational abnormalities to ensure system stability.
Smart Images

Figure CN121875992A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of wind turbine control, and in particular to a wind turbine control method, system and storage medium based on sensor data analysis. Background Technology
[0002] During the operation of various equipment such as electronic devices, industrial machinery, and power installations, the energy loss and conversion of core components inevitably generate a large amount of heat. If this heat cannot be dissipated in time, the internal temperature of the equipment will continue to rise, leading to performance degradation of core components, decreased operational stability, and in severe cases, component burnout and equipment shutdown. Therefore, fans, as highly efficient heat dissipation components, are widely used in the heat dissipation systems of various equipment.
[0003] Currently, most heat dissipation technologies for existing equipment employ open-loop control for fan control. Their control logic is typically based on preset fixed parameters or simple threshold triggering mechanisms. Specifically, after startup, the fan usually operates at a constant speed, or it starts and stops at set intervals according to the equipment's startup signal and preset time cycles. Only in a few scenarios is a coarse temperature signal collected by a single temperature sensor triggered to switch the fan between two fixed high and low speeds.
[0004] Existing open-loop control fans cannot form a closed-loop control circuit, resulting in the fans lacking adaptive adjustment capabilities. When the heat load of the equipment increases sharply, the fixed-speed fan cannot quickly increase its heat dissipation capacity, which may lead to heat accumulation; while when the heat load is low, the fan still maintains high-speed operation, which not only wastes energy but also increases the mechanical wear and noise pollution of the fan itself. Summary of the Invention
[0005] To achieve closed-loop control of the wind turbine and realize adaptive control of the wind turbine, this application provides a wind turbine control method, system and storage medium based on sensor data analysis.
[0006] In a first aspect, this application provides a wind turbine control method based on sensor data analysis, employing the following technical solution: A wind turbine control method based on sensor data analysis, comprising a control module and a power supply module, wherein the control module is connected to an input module, a wind turbine module with a built-in speed sensor, a drive module, a display module, and a sound module, and the program method executed in the controller includes the following steps: The fan control data is obtained based on the input module, and the speed data extracted from the fan control data is displayed through the display module. The PWM signal is calculated based on the rotational speed data and the preset fan attribute data. The fan drive module is controlled according to the PWM signal, and the fan drive module changes the fan speed in response to the PWM signal. Based on the speed sensor, the speed feedback signal is acquired in real time and converted into speed feedback data; The speed feedback data is matched with the speed data; if the match fails, the fan speed warning is displayed through the display module; otherwise, the fan speed warning is stopped from being displayed, and the speed feedback data is displayed through the display module. Based on the wind turbine speed warning, the absolute value of the difference between the speed feedback data and the speed data is calculated as the absolute value of the speed difference. If the absolute value of the speed difference is smaller than the preset first reference value, the flashing frequency of the fan speed warning is adjusted according to the negative correlation of the absolute value of the speed difference; otherwise, a fan alarm is issued, the alarm signal is displayed through the display module, and an alarm sound is emitted through the sound module, with the frequency of the alarm sound adjusted according to the positive correlation of the absolute value of the speed difference.
[0007] By adopting the above technical solution, the input module acquires speed data and generates a PWM signal based on preset fan attribute data. The drive module responds to the PWM signal to dynamically adjust the fan speed. The speed sensor collects speed feedback signals in real time and converts them into speed feedback data, ensuring precise matching between the speed feedback data and the actual speed data, and dynamically adapting to different heat load changes in the equipment. When the heat load of the equipment increases sharply, the fan's heat dissipation capacity is quickly improved to avoid heat accumulation; when the heat load is low, the fan speed is kept adapted to the load, reducing energy waste, fan mechanical wear, and noise pollution. By calculating the absolute value of the difference between the speed feedback data and the actual speed data and comparing it with a first reference value, if the absolute value of the difference is less than the first reference value, the display module adjusts the fan speed warning flashing frequency according to the negative correlation of the absolute value of the difference; if it is greater than the first reference value, an alarm signal is triggered, the display module displays the alarm information synchronously, and the sound module adjusts the alarm sound frequency according to the positive correlation of the absolute value of the difference. This process continuously maintains a dynamic match between the fan speed and the equipment's heat load, which helps to promptly detect fan malfunctions, construct a complete closed-loop control circuit, and ultimately achieve fan adaptive adjustment, fully meeting the heat dissipation requirements of the equipment under different operating conditions, and realizing closed-loop control and adaptive operation of the fan.
[0008] Optionally, the step of acquiring fan control data based on a preset input module further includes the following sub-steps: The input module is a typing device for generating digital data; Alternatively, the input module includes a preset temperature sensor that generates temperature data in real time. The latest multiple temperature data are filtered using a window sliding algorithm to obtain temporary temperature data. The ratio of the temporary temperature data to the preset temperature reference data is calculated as the temperature ratio. Based on the temperature ratio, fan control data is matched from a preset fan control database.
[0009] By adopting the above technical solutions and through different implementation forms of the input module, the input device can directly obtain fan control data. The temperature sensor, combined with the window sliding algorithm, generates temporary temperature data. The fan control data matched by the temperature ratio is more in line with the actual heat generation state of the equipment, making the speed adjustment more dynamic and adaptable, further refining the accuracy of the data source of the closed-loop control, and facilitating the fan's adaptive adjustment to better meet the heat dissipation needs of the equipment.
[0010] Optionally, the step of calculating the PWM signal based on the rotational speed data and preset fan attribute data further includes the following sub-steps: Read the wind turbine attribute data from the wind turbine control database. The wind turbine attribute data includes the maximum speed and the PWM signal corresponding to the maximum speed. The ratio of the calculated rotational speed data to the maximum rotational speed is the rotational speed ratio. The product of the preset gain, the rotational speed ratio, and the PWM signal corresponding to the maximum rotational speed is used to obtain the PWM signal corresponding to the rotational speed data. If the speed feedback data matches the speed data, the ratio of the speed feedback data to the speed data is calculated as the feedback ratio, and the preset gain is adjusted according to the inverse correlation of the feedback ratio.
[0011] By adopting the above technical solutions and optimizing the PWM signal calculation logic, the generated PWM signal is made to better match the inherent characteristics of the fan, strengthen the dynamic matching between speed data and fan operating status, improve the responsiveness of speed adjustment, solidify the execution accuracy of closed-loop control, and facilitate the fan's adaptive adjustment to better meet the heat dissipation needs of the equipment under different operating conditions.
[0012] Optionally, the step of matching the speed feedback data with the speed data also includes the following sub-steps: Within a preset time period, the fluctuation range of the speed data is calculated as the input range, and the fluctuation range of the speed feedback data is calculated as the feedback range. The maximum range and the overlap range are obtained based on the input range and the feedback range, and the overlap percentage is calculated based on the overlap range and the maximum range. If the overlap percentage is greater than the preset reference percentage, the match is successful; otherwise, the match is unsuccessful.
[0013] By adopting the above technical solutions, the fluctuation characteristics of speed data and speed feedback data are fully captured, improving the objectivity and fit of matching judgment, enhancing the accuracy of feedback verification in closed-loop control, and making the dynamic adaptation of fan speed adjustment more in line with the actual operating state.
[0014] Optionally, the step of matching the speed feedback data with the speed data also includes the following sub-steps: Adjust the time period based on the positive correlation of the feedback ratio.
[0015] By adopting the above technical solution and dynamically adjusting the time period of speed matching, the verification of speed data and feedback data can better match the actual speed fluctuation pattern, improve the dynamic adaptability of feedback matching in closed-loop control, facilitate timely capture of speed change details, and enhance the flexibility of fan adaptive adjustment.
[0016] Optionally, the step of matching the speed feedback data with the speed data also includes the following sub-steps: Adjust the reference percentage based on the positive correlation of the absolute value of the differential.
[0017] By adopting the above technical solutions, the speed matching judgment is made more in line with the actual operating fluctuations, the response flexibility of closed-loop control is improved, it is conducive to maintaining the precise matching between fan speed and heat dissipation requirements, optimizing the dynamic stability of speed regulation, and further enhancing the effectiveness of adaptive control.
[0018] Optionally, the step of converting the speed feedback signal into speed feedback data further includes the following steps: The speed feedback signal is converted into speed feedback data through a signal conversion module; The signal conversion module includes a conversion reference pin, a pull-up resistor, a controlled pin, an input resistor, and an input pin, which are connected in sequence. The conversion reference pin is used to provide a conversion reference level, and the controlled pin is used to receive the clamped speed feedback signal. When the received speed feedback signal is 0, the input pin is 0; otherwise, the voltage on the input pin is not 0. The voltage on the input pin is lower than the conversion reference level.
[0019] By adopting the above technical solution and through the resistor configuration and level control of the signal conversion module, precise conversion of the speed feedback signal is achieved, ensuring the accuracy and stability of the speed feedback data. This module, through the rational design of the pull-up resistor and input resistor, effectively processes the speed feedback signal under different conditions, avoiding the impact of voltage fluctuations on data accuracy and improving the dynamic response speed of speed matching in closed-loop control.
[0020] Optionally, the step of converting the speed feedback signal into speed feedback data further includes the following steps: The controlled pin is connected to an isolation diode. The positive terminal of the isolation diode is connected to the controlled pin, and the negative terminal of the isolation diode is used to receive the speed feedback signal.
[0021] By adopting the above technical solution, and by connecting an isolation diode to the controlled pin, the speed feedback signal is effectively isolated, the influence of external interference on the signal conversion process is avoided, and the stability and reliability of the signal conversion are improved.
[0022] Secondly, this application provides a wind turbine control system based on sensor data analysis, which adopts the following technical solution: A wind turbine control system based on sensor data analysis includes a processor that executes the steps of the wind turbine control method based on sensor data analysis as described in any one of the preceding claims.
[0023] Thirdly, this application provides a storage medium, which adopts the following technical solution: A storage medium storing a program that, when executed by a processor, implements the steps of the wind turbine control method based on sensor data analysis described above.
[0024] In summary, this application includes at least one of the following beneficial technical effects: By constructing a closed-loop control loop that includes feedback from a speed sensor, this application achieves dynamic adaptive adjustment of fan speed and equipment heat load, quickly responding to load changes to avoid heat accumulation or energy waste. At the same time, through diversified design of input modules, anti-interference optimization of signal conversion modules, and accurate calculation of PWM signals, the accuracy of speed data and feedback is improved. By using fluctuation range analysis, dynamic time period, and reference percentage adjustment, the objectivity and flexibility of speed matching verification are enhanced. Furthermore, by adjusting the warning flashing frequency and alarm sound frequency based on the absolute value of the differential speed, operational anomalies are captured in a timely manner, ensuring the stability of system operation. Attached Figure Description
[0025] Figure 1 This is the circuit diagram of the control module.
[0026] Figure 2 This is the circuit diagram of the power supply module.
[0027] Figure 3 This is the circuit diagram of the input module.
[0028] Figure 4 This is the circuit diagram of the driver module.
[0029] Figure 5 This is the circuit diagram of the display module.
[0030] Figure 6 This is the circuit diagram of the sound module.
[0031] Figure 7 This is a flowchart illustrating the steps of a wind turbine control method based on sensor data analysis. Detailed Implementation
[0032] The embodiments of this application are described in detail below, and examples of the embodiments are shown in the accompanying drawings.
[0033] In the description of this specification, the references to "certain embodiments," "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples" refer to specific features, structures, materials, or characteristics described in connection with the described embodiment or example, which are included in at least one embodiment or example of this application. 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.
[0034] This application discloses a fan control method based on sensor data analysis, which is based on a control module and a power supply module. The control module is connected to an input module, a fan module with a built-in speed sensor, a drive module, a display module, and a sound module.
[0035] Reference Figure 1 The control module is the main control microcontroller circuit. The microcontroller circuit is equipped with a programming interface CN2, or Program interface. The pins of this interface connect to the microcontroller's HDA, VDD5, HCK, and GND pins respectively, for programming the microcontroller. The microcontroller's pins are precisely connected to external components: pins P26 to P02 are connected sequentially to the signal terminals of LED_SEG5 to LED_SEG0, providing segment selection signals to the display module; pin P05 is connected to the POUT signal terminal, and pin P06 is connected to the BUZZER signal terminal, transmitting control signals to the driver module and sound module respectively. In the speed feedback signal processing section, the microcontroller's P13 pin is first connected in series with resistor R3, then through diode D4, and finally connected to FGIN, the input terminal of the fan speed feedback signal, to realize the acquisition of the fan speed feedback signal. In the control button circuit, the microcontroller's P14 pin is connected in series with resistor R4, and then connected to control button K1. Next to the button, a Key_Speed button and a capacitor are connected in parallel, both connected to the common ground GND, for the input of manual control commands. In addition, resistors R1 and R2 are also configured in the circuit, one end of which is connected to COM0. At the same time, the microcontroller's VCC / DA, VSS and other power supply pins are also connected to the corresponding power networks. The common ground of the entire circuit is GND.
[0036] Reference Figure 2The power module is a regulated power supply circuit. The input voltage is 10V. The input voltage first passes through diode D1 for reverse connection protection or rectification, then is connected in parallel with diode D2, and subsequently connected to the voltage regulator chip U1. U1 is a 5V voltage regulator chip; pin 3 is the voltage input terminal, pin 2 is directly connected to GND, and pin 1 is the regulated voltage output terminal, with an output voltage of VDD5 (5V). To achieve filtering and voltage regulation, the circuit also includes two capacitors (C1 and C2) and a 10V / 100UF electrolytic capacitor E1. These capacitors are connected in parallel between the power supply line and GND to ensure the stability of the output voltage.
[0037] Reference Figure 3 The input / output interface circuit of the input module is labeled CN1. This interface has four pins: pin 1 is connected to a 10V power supply to provide power support for subsequent circuits; pin 2 is connected to PWMOUT, the PWM signal output terminal, used to transmit the PWM control signal of the fan; pin 3 is connected to FGIN, the fan speed feedback input terminal, used to receive the fan speed feedback signal; and pin 4 is connected to GND to ground the interface. This interface mainly undertakes the function of converting power, control signals and feedback signals.
[0038] The fan module includes the fan body and a built-in speed sensor. Its connection to the system is achieved through the input / output interface CN1: the fan's power supply is connected to pin 1 of CN1 (10V power supply); the speed control signal is connected to pin 2 of CN1 (PWMOUT), receiving the PWM signal output from the drive module; the signal output of the built-in speed sensor is connected to pin 3 of CN1 (FGIN), the speed feedback signal output; and the fan's grounding is connected to pin 4 of CN1 (GND), completing the wiring connection for power supply, control, and feedback.
[0039] Reference Figure 4 The drive module is a PWM signal drive circuit. Its core function is to convert the control signal into a PWM signal that can drive the fan. The input signal of the circuit is POUT. This signal is first connected in series with resistor R10 and then connected to the base of transistor Q3. The emitter of Q3 is directly connected to GND. The collector of Q3 is connected in series with resistor R8 and then connected to the base of transistor Q2. The collector of Q2 is connected to a 10V power supply, and a potentiometer R7 is connected in parallel next to the collector. The emitter of Q2 is connected in series with 100R resistor R9, and the output terminal is PWMOUT, which is the PWM signal output terminal. At the same time, diode D3 and resistor R11 are connected in parallel to this output terminal, both of which are connected to GND. In addition, capacitor C3 is also configured in the circuit to filter the PWM signal.
[0040] Reference Figure 5The display module includes one or more LED digital display circuits, using LED8012A model digital tubes, labeled LED1. The pins of each segment of the digital tube, including segments a, b, c, d, e, f, g and the decimal point dp, are respectively connected to the LED_SEG0 to LED_SEG7 pins of the main control microcontroller. The COM0 pin of the digital tube is connected to the COM0 line of the system as the common terminal of the digital tube. Through the cooperation of the segment selection signal output by the main control microcontroller and the signal of the common terminal, the speed data and speed warning information are displayed. At the same time, the blinking function of the digital tube can be realized by controlling the on and off frequency of the signal.
[0041] Reference Figure 6 The sound module, specifically the buzzer driver circuit, is used to output alarm sounds. The buzzer, labeled U3 and BUZZER, has a 10R resistor R5 connected in series at one end and is connected to the VDD5 power supply. The other end of the buzzer is connected to the collector of transistor Q1. The base of Q1 is connected in series with a resistor R6 and connected to the BUZZER pin of the main control microcontroller. The emitter of Q1 is directly connected to GND. The BUZZER signal output by the main control microcontroller controls the on / off state of transistor Q1, thereby realizing the sound output and frequency adjustment of the buzzer.
[0042] Reference Figure 7 The program methods executed in the controller include the following steps: The control module powers on and completes initialization, including configuration of I / O ports, timers, and storage units. It acquires fan control data through the input module, extracts speed data from it, and displays it in real time through the display module. This step includes two optional implementation methods, as detailed below: In a first optional implementation, the input module is a keypad, touch panel, or other input device capable of generating digital data. Operators can directly input target speed data via the input device according to equipment operating conditions, such as high-load operation or standby mode. An exemplary input range is 500 r / min to 3000 r / min. After receiving the digital signal, the control module performs level conversion and format parsing to generate standard fan control data and extracts the core speed data. The control module then sends this speed data to the display module, which presents it intuitively in the format "Target Speed: XXX r / min," with a data refresh rate of 1 time per second, facilitating real-time monitoring by the operator.
[0043] In a second optional implementation, the input module includes a preset temperature sensor, such as an NTC thermistor or a DS18B20 digital temperature sensor. This temperature sensor is placed in close contact with the core heat-generating components of the device, such as power devices or the CPU, and collects the device's operating temperature data in real time at a frequency of 1 time per second. To eliminate random interference in the temperature data, such as instantaneous fluctuations caused by electromagnetic radiation, the control module uses a window sliding algorithm to filter the temperature data: the preset sliding window size is 8 data points, that is, the 8 most recently collected temperature data are continuously cached, and the arithmetic mean of these 8 data is calculated to obtain smoothed temporary temperature data. Subsequently, the control module calls preset temperature reference data, which is the safe temperature threshold of the core components under the rated operating conditions of the device, exemplarily set to 80℃, and calculates the ratio of the temporary temperature data to the temperature reference data to obtain the temperature ratio. For example, when the temporary temperature data is 88℃, the temperature ratio = 88 / 80 = 1.1. The control module has a built-in preset fan control database, which stores the experimentally verified mapping relationship between temperature ratios and fan control data. For example, a temperature ratio of 0.8 corresponds to a speed of 1000 r / min, 0.9 corresponds to 1500 r / min, 1.0 corresponds to 2000 r / min, 1.1 corresponds to 2500 r / min, and 1.2 corresponds to 3000 r / min. The control module matches the corresponding fan control data based on the calculated temperature ratio and extracts the speed data, which is then displayed through the display module.
[0044] After acquiring the speed data, the control module calculates the corresponding PWM signal based on the preset fan attribute data, and then uses the drive module to achieve precise adjustment of the fan speed. The specific implementation process is as follows: The control module reads preset fan attribute data from the fan control database. This data consists of inherent parameters calibrated at the fan's factory, including at least the fan's maximum speed (3000 r / min for example) and the PWM signal duty cycle corresponding to the maximum speed (90% for example). It calculates the ratio of the speed data to the maximum speed, obtaining the speed ratio. For example, when the speed data is 2250 r / min, the speed ratio = 2250 / 3000 = 0.75. The control module then calls the preset gain, initially set to 1.0, to calibrate the PWM signal accuracy. Using the formula: PWM signal = preset gain × speed ratio × PWM signal corresponding to the maximum speed, it calculates the PWM signal matching the current speed data. Following the example above, the PWM signal = 1.0 × 0.75 × 90% = 67.5%. The control module outputs this PWM signal to the drive module. The drive module adjusts the output voltage duty cycle to change the fan motor input power, driving the fan to operate at the target speed.
[0045] In one optional implementation, if the subsequent speed feedback data matches the speed data, the preset gain needs to be adjusted inversely based on the feedback ratio. The feedback ratio is the ratio of the speed feedback data to the speed data, Kf = Nf / N, where Nf is the speed feedback data and N is the speed data. The inverse correlation adjustment logic is: the larger the feedback ratio, the smaller the preset gain; the smaller the feedback ratio, the larger the preset gain. Furthermore, the preset gain must be limited to a reasonable range of 0.8 to 1.2 to avoid system oscillation. A simple adjustment formula is used: G' = G0 × (2 - Kf), where G' is the adjusted preset gain and G0 is the current preset gain. Example: If the current preset gain G0=1.0, the speed feedback data Nf=2300r / min, and the speed data N=2250r / min, then the feedback ratio Kf≈1.022. Substituting into the formula, we get G'=1.0×(2-1.022)=0.978, which is within the gain adjustment range. If Nf=2100r / min, Kf≈0.933, then G'=1.0×(2-0.933)=1.067, which is also within a reasonable range. This adjustment makes the PWM signal calculation more closely match the actual operating characteristics of the fan.
[0046] During wind turbine operation, the built-in speed sensor (such as a Hall sensor) collects the wind turbine's rotational speed feedback signal in real time. This signal is a pulse analog signal, and the control module needs to convert it into digital speed feedback data. The specific implementation is as follows: In one optional implementation, the speed feedback signal is converted by a signal conversion module. The circuit structure of this module includes a conversion reference pin, a pull-up resistor, a controlled pin, an input resistor, and an input pin, all connected in sequence. The conversion reference pin is connected to the reference voltage output of the control module, providing a 3.3V conversion reference level. One end of the pull-up resistor is connected to the conversion reference pin, and the other end is connected to the controlled pin, ensuring the controlled pin is at a stable high level when there is no signal input. The input resistor is connected in series between the controlled pin and the input pin to limit the input current and protect the control module port. The input pin is connected to the signal input terminal of the control module, transmitting the converted voltage signal. The signal conversion logic is as follows: when the speed feedback signal is 0V (low level), the input pin voltage is 0V; when the speed feedback signal is high, after voltage division by the pull-up resistor and the input resistor, the input pin voltage is approximately 2.2V, lower than the 3.3V conversion reference level, ensuring signal safety. The control module counts the number of pulses on the input pin within 1 second. Combining this with the characteristic that the speed sensor outputs 2 pulses per revolution, the actual speed is calculated using the formula: Speed feedback data = (number of pulses / 2) × 60. For example, if 50 pulses are collected within 1 second, the speed feedback data = (50 / 2) × 60 = 1500 r / min.
[0047] Furthermore, in another optional embodiment, an isolation diode is also soldered onto the controlled pin. The positive terminal of the isolation diode is connected to the controlled pin, and the negative terminal is used to receive the speed feedback signal. This isolation diode can effectively block reverse current and electromagnetic interference from external circuits, preventing interference signals from entering the signal conversion module and ensuring the stability of signal conversion and the accuracy of speed feedback data.
[0048] After the control module obtains the speed feedback data, it needs to match and verify it with the initial speed data to determine whether the fan speed has reached the preset requirements. This step includes several optional adjustment logics, and the specific implementation is as follows: In one optional implementation, the specific process of matching and verification is as follows: A preset time period is established, initially set to 2 seconds. Within this time period, the control module continuously collects 10 sets of rotational speed data and 10 sets of rotational speed feedback data. The difference between the maximum and minimum values of the rotational speed data is calculated to obtain the input range. For example, if the rotational speed data fluctuates between 2230 and 2270 r / min, the input range is 40 r / min. Similarly, the difference between the maximum and minimum values of the rotational speed feedback data is calculated to obtain the feedback range. For example, if the rotational speed feedback data fluctuates between 2220 and 2260 r / min, the feedback range is 40 r / min. The numerical interval corresponding to the input range ([2230, 2270]) and the numerical interval corresponding to the feedback range ([2220, 2260]) are determined. The intersection of these two intervals is [2230, 2260], and the length of the intersection is the overlap range (30 r / min). The maximum range is the larger value between the input range and the feedback range, which is 40 r / min in this case. The overlap percentage is calculated using the formula: Overlap Percentage = (Overlap Range / Maximum Range) × 100% (30 / 40 × 100% = 75%). If the overlap percentage is greater than the preset reference percentage (initial value is set to 70%), the match is considered successful; otherwise, the match is considered unsuccessful.
[0049] In another optional implementation, the time period needs to be positively adjusted according to the feedback ratio during the matching process; the larger the feedback ratio, the shorter the time period; the smaller the feedback ratio, the longer the time period, with the time period adjustment range limited to 1-3 seconds. A simple range matching method is adopted: when the feedback ratio Kf∈[0.9,1.0), the time period is set to 3 seconds; when Kf∈[1.0,1.1), the time period is set to 2 seconds; when Kf∈[1.1,1.2], the time period is set to 1 second. Example: if the feedback ratio Kf=1.05, which is in the range [1.0,1.1), the time period is adjusted to 2 seconds; if Kf=0.95, which is in the range [0.9,1.0), the time period is adjusted to 3 seconds, making the matching verification more closely match the speed fluctuation pattern.
[0050] Meanwhile, in one optional implementation, the reference percentage needs to be positively adjusted based on the absolute value of the differential speed |Nf-N|; the larger the absolute value of the differential speed, the smaller the reference percentage; the smaller the absolute value of the differential speed, the larger the reference percentage. The adjustment range of the reference percentage is limited to 75%~95%. The adjustment formula is: P'=P0-(|Nf-N| / Nmax)×20%, where P' is the adjusted reference percentage, P0 is the current reference percentage (initial 70%), and Nmax is the maximum speed of the fan (3000r / min). Example: If the absolute value of the differential speed is 300 r / min, then P' = 70% - (300 / 3000) × 20% = 68%. Since the lower limit of 75% needs to be met, 75% is ultimately chosen. If the absolute value of the differential speed is 150 r / min, then P' = 70% - (150 / 3000) × 20% = 69% (75%). If the absolute value of the differential speed is 50 r / min, then P' = 70% - (50 / 3000) × 20% ≈ 69.67% (75%). If the absolute value of the differential speed is 0 r / min, then P' = 70% - 0 = 70% (75%). This adjustment avoids misjudgments caused by small speed fluctuations and improves the rationality of matching verification.
[0051] When the matching verification fails, the display module activates a fan speed warning, such as a flashing yellow indicator light and the screen displaying "Speed Deviation." If the matching passes, the warning stops, and the speed feedback data is displayed. Based on the fan speed warning, the control module calculates the absolute value of the speed difference |Nf-N|, and adjusts the warning flashing frequency or performs an alarm function according to its relationship with a preset first reference value, as follows: The preset first reference value is 10% of the maximum fan speed, i.e., 3000 r / min × 10% = 300 r / min. The flashing frequency adjustment range for the fan speed warning is 0.5 Hz to 5 Hz, using a negative correlation adjustment logic; the smaller the absolute value of the speed difference, the higher the flashing frequency; the larger the absolute value of the speed difference, the lower the flashing frequency. A simple adjustment formula is used: F = 5 Hz - (|Nf - N| / 300 r / min) × 4.5 Hz. Example: If the absolute value of the speed difference = 50 r / min, substituting into the formula, we get F = 5 - (50 / 300) × 4.5 ≈ 4.25 Hz; if the absolute value of the speed difference = 200 r / min, F = 5 - (200 / 300) × 4.5 ≈ 2 Hz; if the absolute value of the speed difference = 290 r / min, F = 5 - (290 / 300) × 4.5 ≈ 0.65 Hz, all within the adjustment range. Operators can visually judge the magnitude of the speed deviation through the flashing frequency.
[0052] If the absolute value of the speed difference is greater than or equal to the first reference value (300 r / min), a fan alarm is triggered: the display module switches to the alarm interface, displaying a red background, an alarm icon, and the text "Fan Abnormality," while simultaneously displaying the absolute value of the speed difference; the sound module (buzzer) emits a continuous alarm sound, with the alarm sound frequency adjustable from 500 Hz to 2000 Hz, using positive correlation adjustment logic; the larger the absolute value of the speed difference, the higher the sound frequency. The adjustment formula is: f = 500 Hz + (|Nf - N| - 300 r / min) / (3000 r / min - 300 r / min) × 1500 Hz. Example: If the absolute value of the differential speed is 300 r / min, f = 500 + 0 = 500 Hz; if the absolute value of the differential speed is 1650 r / min, f = 500 + (1650 - 300) / 2700 × 1500 = 1250 Hz; if the absolute value of the differential speed is 3000 r / min, f = 500 + (3000 - 300) / 2700 × 1500 = 2000 Hz. By changing the frequency gradient of the sound, the severity of the fault can be quickly indicated.
[0053] This application, through the aforementioned specific implementation methods, constructs a complete closed-loop control loop for the fan: flexible configuration and data preprocessing of the input module ensure precise matching between speed data and equipment heating status; optimized PWM signal calculation and dynamic gain adjustment improve speed regulation accuracy; anti-interference design of the signal conversion module ensures the reliability of speed feedback data; speed matching verification and dynamic parameter adjustment enhance the adaptability of closed-loop control; and gradient adjustment of the early warning alarm achieves accurate fault indication. The entire process achieves dynamic adaptation between fan speed and equipment heating load, avoiding heat accumulation during sudden increases in heating, reducing energy waste and noise pollution during low loads, and promptly detecting fan operation anomalies. This comprehensively meets the heat dissipation needs of the equipment under different operating conditions, achieving the technical goal of adaptive and intelligent fan operation.
[0054] This application also discloses a wind turbine control system based on sensor data analysis, including a processor that executes the steps of the wind turbine control method based on sensor data analysis as described in any of the above embodiments.
[0055] This application also discloses a storage medium storing a program that, when executed by a processor, implements the steps of the wind turbine control method based on sensor data analysis described above.
[0056] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A wind turbine control method based on sensor data analysis, characterized in that, Based on the control module and power supply module, the control module is connected to an input module, a fan module with a built-in speed sensor, a drive module, a display module, and a sound module. The program method executed in the controller includes the following steps: The fan control data is obtained based on the input module, and the speed data extracted from the fan control data is displayed through the display module. The PWM signal is calculated based on the rotational speed data and the preset fan attribute data. The fan drive module is controlled according to the PWM signal, and the fan drive module changes the fan speed in response to the PWM signal. Based on the speed sensor, the speed feedback signal is acquired in real time and converted into speed feedback data; Match the speed feedback data with the speed data; If the matching fails, a fan speed warning will be displayed via the display module; Otherwise, stop displaying the fan speed warning and instead display the speed feedback data through the display module; Based on the wind turbine speed warning, the absolute value of the difference between the speed feedback data and the speed data is calculated as the absolute value of the speed difference. If the absolute value of the speed difference is smaller than the preset first reference value, the flashing frequency of the fan speed warning is adjusted according to the negative correlation of the absolute value of the speed difference; otherwise, a fan alarm is issued, the alarm signal is displayed through the display module, and an alarm sound is emitted through the sound module, with the frequency of the alarm sound adjusted according to the positive correlation of the absolute value of the speed difference.
2. The wind turbine control method based on sensor data analysis according to claim 1, characterized in that, The step of acquiring wind turbine control data based on a preset input module also includes the following sub-steps: The input module is a typing device for generating digital data; Alternatively, the input module includes a preset temperature sensor that generates temperature data in real time. The latest multiple temperature data are filtered using a window sliding algorithm to obtain temporary temperature data. The ratio of the temporary temperature data to the preset temperature reference data is calculated as the temperature ratio. Based on the temperature ratio, fan control data is matched from a preset fan control database.
3. The wind turbine control method based on sensor data analysis according to claim 1, characterized in that, The step of calculating the PWM signal based on the rotational speed data and preset fan attribute data also includes the following sub-steps: Read the wind turbine attribute data from the wind turbine control database. The wind turbine attribute data includes the maximum speed and the PWM signal corresponding to the maximum speed. The ratio of the calculated rotational speed data to the maximum rotational speed is the rotational speed ratio. The product of the preset gain, the rotational speed ratio, and the PWM signal corresponding to the maximum rotational speed is used to obtain the PWM signal corresponding to the rotational speed data. If the speed feedback data matches the speed data, the ratio of the speed feedback data to the speed data is calculated as the feedback ratio, and the preset gain is adjusted according to the inverse correlation of the feedback ratio.
4. The wind turbine control method based on sensor data analysis according to claim 1, characterized in that, The process of matching the speed feedback data with the speed data also includes the following sub-steps: Within a preset time period, the fluctuation range of the speed data is calculated as the input range, and the fluctuation range of the speed feedback data is calculated as the feedback range. The maximum range and the overlap range are obtained based on the input range and the feedback range, and the overlap percentage is calculated based on the overlap range and the maximum range. If the overlap percentage is greater than the preset reference percentage, the match is successful; otherwise, the match is unsuccessful.
5. The wind turbine control method based on sensor data analysis according to claim 4, characterized in that, The process of matching the speed feedback data with the speed data also includes the following sub-steps: Adjust the time period based on the positive correlation of the feedback ratio.
6. The wind turbine control method based on sensor data analysis according to claim 4, characterized in that, The process of matching the speed feedback data with the speed data also includes the following sub-steps: Adjust the reference percentage based on the positive correlation of the absolute value of the differential.
7. The wind turbine control method based on sensor data analysis according to claim 1, characterized in that, The process of converting the speed feedback signal into rotational speed feedback data also includes the following steps: The speed feedback signal is converted into speed feedback data through a signal conversion module; The signal conversion module includes a conversion reference pin, a pull-up resistor, a controlled pin, an input resistor, and an input pin, which are connected in sequence. The conversion reference pin is used to provide a conversion reference level, and the controlled pin is used to receive the clamped speed feedback signal. When the received speed feedback signal is 0, the input pin is 0; otherwise, the voltage on the input pin is not 0. The voltage on the input pin is lower than the conversion reference level.
8. The wind turbine control method based on sensor data analysis according to claim 7, characterized in that, The process of converting the speed feedback signal into rotational speed feedback data also includes the following steps: The controlled pin is connected to an isolation diode. The positive terminal of the isolation diode is connected to the controlled pin, and the negative terminal of the isolation diode is used to receive the speed feedback signal.
9. A fan control system based on sensor data analysis, characterized in that, Includes a processor, wherein the steps of the wind turbine control method based on sensor data analysis as described in any one of claims 1-8 are executed.
10. A storage medium, characterized in that, The storage medium stores a program that, when executed by a processor, implements the steps of the wind turbine control method based on sensor data analysis as described in any one of claims 1-8.