Self-adaptive smooth speed regulation method for fan of complete machine equipment
By using the fan adaptive smooth speed regulation method in the entire machine equipment and dynamically switching the fan speed regulation mode, the reliability problems of the fan speed regulation function in the duty cycle mode failure and the IIC bus instability are solved, and the smoothness and safety of fan speed regulation are achieved.
Patent Information
- Application Number
- CN202411270615.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, it is difficult to ensure the fan speed regulation function to the maximum extent when the duty cycle mode fails, and when the IIC bus is unstable, the fan speed regulation fails, resulting in a fatal risk of the equipment.
Adaptive smooth speed regulation method of the fan of the entire machine device is adopted. The fan unit switches gears in the self-speed regulation mode to adjust the speed when the main control board has not started yet. When the main and backup signals sent by the main control board and determines whether the duty cycle information is timed out, it dynamically switches to the three-pin mode or duty cycle mode to ensure the reliability and smoothness of the fan speed regulation.
Through the adaptive smooth speed regulation method, ensure that the fan speed regulation function maintains the function to the maximum extent when the duty cycle mode fails, ensure the safety of fan speed regulation when the IIC bus is unstable, and optimize noise pollution.
Smart Images

Figure CN119801972A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of heat dissipation of communication equipment, and in particular to a method for adaptively and smoothly regulating the speed of a fan of a complete device. Background Art
[0002] Fan speed regulation is a basic function of the whole equipment. It controls the heat dissipation of the whole equipment through fan speed regulation to ensure that all temperature-sensitive boards or devices work within the normal temperature range to avoid damage to boards or devices caused by excessive temperature. However, if the fan gear is too high or there is a large span of jump, it will cause noise problems. Especially for outdoor network equipment near residential areas, it is easy to have poor ambient temperature and noise sensitivity. It is necessary to implement the fan speed regulation function reasonably and smoothly to ensure the normal operation of the equipment without causing unbearable noise pollution.
[0003] In the related technologies, the current mainstream fan speed regulation method is the duty cycle speed regulation method. Compared with the traditional three-pin gear speed regulation method, the duty cycle speed regulation has the advantage of accurate and smooth speed regulation. However, the basic nature of the fan speed regulation function determines its reliability, including reliability in various special abnormal scenarios, which is very critical. How to maximize the reliability of fan speed regulation is a direction that needs to be given priority and continuously optimized.
[0004] However, duty cycle speed regulation relies on the IIC bus of the main control panel and the fan unit to send the duty cycle calculated by the main control to the fan, and at the same time transmit information such as the mode / real-time duty cycle of the fan unit to the main control panel. Once the IIC bus is unstable, the fan speed regulation fails, which will pose a fatal risk to the equipment. How to ensure that the fan can maximize the fan speed regulation function when the IIC bus is abnormal and the duty cycle mode fails. At the same time, when the IIC bus returns to normal, it is a technical problem that needs to be focused on and solved to smoothly restore to the duty cycle mode.
[0005] A complete device involves multiple boards, each of which involves multiple temperature-sensitive devices. Each device has its own normal operating temperature range. The fan is unified with the complete device, and all temperature conditions need to be integrated to decide the fan speed. Too low a gear will cause the temperature to be too high and the device to fail, and too high a gear will cause excessive noise. Therefore, it is necessary to fully consider the functional requirements and fault tolerance requirements. How to design a complete speed control solution to ensure the timely accuracy of the fan automatic speed control and noise optimization is another technical problem that needs to be focused on and solved. Summary of the invention
[0006] The embodiment of the present application provides a method for adaptively and smoothly adjusting the fan speed of a complete device, so as to solve the problem of how to maximize the fan speed adjustment function when the duty cycle mode fails in the related art.
[0007] The present application provides a method for adaptively and smoothly adjusting the speed of a fan of a complete device, the method comprising:
[0008] When the whole equipment is powered on and the main control board has not yet started, the fan unit switches gears in the self-speed adjustment mode to adjust the speed according to the temperature range of the air inlet;
[0009] When the fan unit receives the master-slave signal sent by the main control board, and determines whether the fan unit has timed out in receiving the duty cycle information sent by the main control board;
[0010] If it is determined that the fan unit has timed out from receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in the three-pin mode;
[0011] If it is determined that the fan unit has not timed out from receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in the duty cycle mode.
[0012] In some embodiments: the method further comprises:
[0013] When the fan unit is running in three-pin mode and the signal between the fan unit and the main control board is interrupted;
[0014] The fan unit exits the three-pin mode and switches gears in the self-speed regulating mode to adjust the speed according to the temperature range of the air inlet;
[0015] If the fan unit receives the master-slave signal from the main control board again, the fan unit exits the self-speed regulation mode and regulates the speed in the three-pin mode.
[0016] In some embodiments: the method further comprises:
[0017] When the fan unit is operating in three-pin mode, and the fan unit receives the master / slave signal from the main control board;
[0018] The fan unit continuously checks whether it has received the duty cycle signal sent by the main control board in each training task;
[0019] If the fan unit receives a duty cycle signal from the main control board, the fan unit exits the three-pin mode and adjusts the speed in the duty cycle mode;
[0020] If the fan unit fails to receive the duty cycle signal from the main control board, the fan unit continues to adjust the speed in the three-pin mode.
[0021] In some embodiments: the method further comprises:
[0022] When the fan unit is operating in the duty cycle mode, determining whether the fan unit has timed out in receiving duty cycle information;
[0023] If the fan unit times out when receiving the duty cycle information, the fan unit exits the duty cycle mode and adjusts the speed in the three-pin mode;
[0024] If the fan unit receives the duty cycle information without timeout, the fan unit continues to adjust the speed in the duty cycle mode.
[0025] In some embodiments: the method further comprises:
[0026] When the main control board reads back the operating mode of the fan unit through the IIC bus as the duty cycle mode, the duty cycle mode is the master mode and the three-pin mode is the slave mode;
[0027] When the three-pin mode is in slave mode, the main control board obtains the corresponding relationship between the duty cycle of the current duty cycle mode and the gear position of the three-pin mode, and maps the gear position corresponding to the three-pin mode;
[0028] When the main control board reads back the operating mode of the fan unit through the IIC bus as the three-pin mode, the three-pin mode is the master mode and the duty cycle mode is the slave mode;
[0029] When the duty cycle mode is in slave mode, the main control board obtains the corresponding relationship between the gear position of the current three-pin mode and the duty cycle of the duty cycle mode, and maps the duty cycle value corresponding to the duty cycle mode.
[0030] In some embodiments: if the duty cycle mode is the main mode, the method further includes:
[0031] If the main control board determines that all disks of the whole equipment have not reported the temperature, the duty cycle remains unchanged;
[0032] If the main control board determines that some disks of the whole equipment have not reported the temperature, the duty cycle will be increased but not decreased;
[0033] If the main control board determines that all single disks of the entire device report temperatures normally, the duty cycle is adjusted according to the real-time temperature.
[0034] In some embodiments: if the main control board determines that some single disks of the whole device have not reported the temperature, the duty cycle is increased but not decreased, specifically including:
[0035] When the real-time temperature difference is less than or equal to zero, the duty cycle remains unchanged;
[0036] When the real-time temperature difference is greater than zero and higher than the high temperature threshold, the maximum duty cycle value corresponding to one gear is increased at one time;
[0037] When the real-time temperature difference is greater than 0 and lower than the high temperature threshold, the duty cycle increase value is calculated according to the duty cycle upshift formula.
[0038] In some embodiments: if the main control board determines that all single disks of the whole device report the temperature normally, the duty cycle is adjusted according to the real-time temperature, specifically including:
[0039] When the real-time temperature difference is greater than zero and higher than the high temperature threshold, the maximum duty cycle range corresponding to one gear is increased at one time;
[0040] When the real-time temperature difference is greater than zero and lower than the high temperature threshold, the duty cycle increase value is calculated according to the duty cycle upshift formula;
[0041] When the real-time temperature difference is not greater than zero, the duty cycle reduction value is calculated according to the duty cycle downshift formula, and the maximum one-time reduction value is the minimum duty cycle range corresponding to one gear.
[0042] In some embodiments: if the three-needle mode is the main mode, the method further includes:
[0043] If the main control board determines that all disks of the whole equipment have not reported the temperature, the gear position remains unchanged;
[0044] If the main control board determines that some disks of the whole equipment have not reported the temperature, it will only increase the gear but not decrease the gear;
[0045] If the main control board determines that all single disks of the entire device report temperatures normally, the gear size is adjusted according to the real-time temperature.
[0046] In some embodiments: the main control board determines that some single disks of the whole device have not reported the temperature, and if the real-time temperature difference is greater than zero, the gear is increased; if the real-time temperature difference is less than or equal to zero, the gear is kept unchanged;
[0047] The main control board determines that all single disks of the whole equipment report temperatures normally, and if the real-time temperature difference is greater than zero, the gear is raised;
[0048] If the real-time temperature difference is less than zero, and if the absolute value of the real-time temperature difference is greater than the interpolation value, downshift; if the absolute value of the real-time temperature difference is less than the interpolation value, keep the gear unchanged.
[0049] The beneficial effects of the technical solution provided by this application include:
[0050] An embodiment of the present application provides a method for adaptively smoothing speed regulation of a fan of a complete device. Since the method for adaptively smoothing speed regulation of a fan of a complete device of the present application is applied to a complete device, when the main control board of the complete device is powered on and has not yet been started, the fan unit switches gears in a self-speed regulation mode to regulate the speed according to the temperature range of the air inlet; when the fan unit receives a master-slave signal sent by the main control board, and determines whether the fan unit has timed out in receiving duty cycle information sent by the main control board; if it is determined that the fan unit has timed out in receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in a three-pin mode; if it is determined that the fan unit has not timed out in receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in a duty cycle mode.
[0051] Therefore, the fan adaptive smooth speed regulation method of the whole device of the present application is dominated by the duty cycle mode speed regulation logic to ensure that the speed regulation function and performance are optimized. The three-pin mode speed regulation is used as an auxiliary to ensure the safety of the fan unit speed regulation when the IIC bus is unstable. The self-speed regulation mode of the fan unit is used as a bottom line to ensure that the fan unit can switch gears in the self-speed regulation mode according to the ambient temperature for speed regulation when the communication between the fan unit and the main control board is abnormal. The self-speed regulation mode, duty cycle mode and three-pin mode can be adaptively converted to each other, and the smoothness of the fan unit speed regulation during the conversion process is ensured through the master-slave mode, fully ensuring the safety of the speed regulation function while optimizing noise pollution. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0053] Figure 1 This is a schematic diagram of the unified fan unit distribution of the whole device of the embodiment of the present application;
[0054] Figure 2 This is a flow chart of the fan adaptive smooth speed regulation method according to an embodiment of the present application;
[0055] Figure 3 This is a flow chart of the speed regulation training task in the three-needle mode of the embodiment of the present application;
[0056] Figure 4 This is a flow chart of the speed regulation training task in the duty cycle mode of an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0058] The embodiment of the present application provides a method for adaptively and smoothly adjusting the fan speed of a complete device, which can solve the problem of how to maximize the fan speed adjustment function when the duty cycle mode fails in the related art.
[0059] For the application background of the fan adaptive smooth speed regulation method of the whole machine equipment of the embodiment of the present application, see Figure 1 The board distribution diagram of the unified fan unit of the whole machine equipment is shown, and the fan units are concentrated in a specific area of the whole machine equipment, and the machine disk area is in another area. Figure 1 The left-right structure of the whole device shown is only an example. In actual situations, the whole device also has an upper-lower structure or an upper-middle-lower structure. The fan unit adjusts the speed according to the duty cycle or gear position to achieve the heat dissipation function of the whole device.
[0060] See also Figure 1 and Figure 2 As shown, an embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a complete device, the method comprising:
[0061] Step 101, when the whole device is powered on and the main control board is not started, the fan unit switches the gear in the self-speed adjustment mode to adjust the speed according to the temperature range of the air inlet. In this step, when the whole device is powered on, the main control board is not started, the fan unit cannot detect the main and standby signals sent by the main control board, and cannot determine the main control, so it maintains the self-speed adjustment mode unchanged, and sets the gear (0-7 gears) according to the temperature range of the air inlet of the fan unit to adjust the speed.
[0062] Step 102, when the fan unit receives the master-slave signal sent by the main control board, and determines whether the fan unit has timed out to receive the duty cycle information sent by the main control board. In this step, once the fan unit detects the master-slave signal sent by the main control board, it indicates that the main control board is ready, and the hardware connection between the main control board and the fan unit is normal. At this time, it is determined whether the fan unit has timed out to receive the duty cycle information sent by the main control board. If it has timed out, it is determined that the IIC bus communication protocol between the main control board and the fan unit is abnormal, and the duty cycle information cannot be sent down.
[0063] Step 103, if it is determined that the fan unit has timed out in receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in the three-pin mode. In this step, if the fan unit has not received the duty cycle information within the specified time after detecting the normal master-slave signal, it can be determined that the IIC bus between the main control board and the fan unit is abnormal. If the timeout occurs, the self-speed regulation mode is exited and switched to the three-pin speed regulation mode with more accurate speed regulation. The speed of the fan unit is set according to the gear corresponding to the high and low level information of the three-pin signal line for speed regulation.
[0064] Step 104: If it is determined that the fan unit has not timed out from receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in the duty cycle mode. In this step, if the fan unit receives the duty cycle information within the specified time after detecting the normal master-slave signal, the duty cycle information between the main control board and the fan unit is transmitted via the IIC bus. At this time, the fan unit switches to the duty cycle mode and sets the fan unit speed according to the real-time duty cycle for speed regulation.
[0065] In the fan adaptive smooth speed regulation method of the whole machine device of the embodiment of the present application, when the whole machine device is powered on and the main control board has not yet started, and before the main control board is initialized, the fan unit is started in the self-speed regulation mode to ensure that the fan runs in a relatively reasonable gear without generating excessive noise pollution. After the main control board is initialized, if the duty cycle signal is sent normally, the fan unit receives the duty cycle information sent by the main control board and switches to the duty cycle mode for speed regulation.
[0066] The duty cycle information is sent regularly in rotation. If there is no abnormality, the fan runs stably in the duty cycle mode. The duty cycle speed regulation can ensure smooth and accurate fan speed regulation. When the IIC communication channel between the main control board and the fan unit is abnormal, the duty cycle times out and is not sent, but the main and standby signals of the main control board are normal, and the fan unit enters the three-pin speed regulation mode. The gear calculation of the three-pin mode is the same as the duty cycle mode, integrating the temperature information of the whole machine. Except that the smoothness is not as good as the duty cycle mode, the overall speed regulation accuracy is higher.
[0067] The embodiment of the present application is dominated by the duty cycle mode speed regulation logic to ensure that the speed regulation function and performance are optimized. The three-pin mode speed regulation is used as an auxiliary to ensure the safety of the fan unit speed regulation when the IIC bus is unstable. The self-speed regulation mode of the fan unit is used as a bottom line to ensure that the fan unit can switch gears in the self-speed regulation mode according to the ambient temperature to adjust the speed when the communication between the fan unit and the main control board is abnormal. The three modes can be adaptively converted to each other, fully ensuring the safety of the speed regulation function while optimizing noise pollution.
[0068] In the adaptive mode, the fan unit software maps the corresponding gear according to the temperature of the air inlet. The gears of the fan unit in the adaptive mode are 0-7. This mode can realize fan speed regulation without relying on the communication of the main control board. It is suitable for temperature speed regulation when the hardware signal of the main control board or the standby main control board is abnormal (the main control board is not started or the main control board is in abnormal working state).
[0069] The three-pin mode is that the main control board integrates the temperature of the whole machine, calculates the reasonable three-pin gear (0-7), and transmits it to the fan unit through three hardware wires. The fan unit adjusts the speed according to the received gear information. The three hardware wires are also called three-pin signal wires. Each wire can be set to high level or low level. The three wires connected together correspond to three bits, corresponding to a total of eight gears from 0 to 7.
[0070] The premise for the normal operation of the three-pin mode is that the communication between the main control board and the fan unit is normal, and the fan unit can normally receive the main and standby signals (gear signals) of the main main control board or the standby main control board. That is, the signal line and the three-pin signal line of the main main control board or the standby main control board are working normally, and the signal line and the three-pin signal line of the main main control board or the standby main control board are hardware connections, which have relatively high reliability.
[0071] The duty cycle mode is that the main control board integrates the temperature of the whole machine, calculates the reasonable duty cycle (0-100), and transmits the duty cycle information to the fan unit through the IIC bus. The fan unit adjusts the speed according to the received duty cycle information. The duty cycle information is transmitted through the data line of the IIC bus, which is not limited by the number of hardware lines. It can transmit more different values and support different duty cycles of 0-100.
[0072] The premise for the normal operation of the duty cycle mode is that the communication between the main control board and the fan unit is normal, and the fan unit can normally receive the duty cycle information sent by the main control board or the backup main control board. The duty cycle signal is not as reliable and continuous as the three-pin signal line. Instead, it is periodically triggered and sent by the main control board training task. It needs to be sent continuously and normally to ensure the normal duty cycle information. Once the communication protocol of the IIC bus between the main control board and the fan unit is abnormal, the duty cycle is interrupted and the fan unit cannot continue to receive normal duty cycle signals. Therefore, the reliability of the duty cycle mode is not as good as the three-pin mode.
[0073] In some alternative embodiments, see Figure 2 As shown, the embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a whole device, and the method further includes the following steps:
[0074] When the fan unit is running in the three-pin mode and the signal between the fan unit and the main control board is interrupted; the fan unit exits the three-pin mode and switches the gear to adjust the speed in the self-speed regulation mode according to the temperature range of the air inlet; if the fan unit receives the master-slave signal sent by the main control board again and does not receive the duty cycle signal within the time limit, the fan unit exits the self-speed regulation mode and adjusts the speed in the three-pin mode.
[0075] In the embodiment of the present application, when the fan unit operates in the three-pin speed regulation mode, once an abnormality occurs in the signal line and the three-pin signal line of the main main control board or the backup main control board, it indicates that the fan unit communicates abnormally with the main main control board or the backup main control board, and the fan unit exits from the three-pin mode to the self-speed regulation mode, and sets the fan unit speed to the corresponding gear (0-7 gears) according to the temperature range of the air inlet of the fan unit for speed regulation.
[0076] The fan unit waits for the master-slave signal sent by the main control board until the signal line and the three-pin signal line of the main main control board or the backup main control board return to normal, and the master-slave signal between the main main control board or the backup main control board and the fan unit returns to normal, and the fan unit returns to the three-pin speed regulation mode again, and sets the fan unit speed for speed regulation according to the gear corresponding to the high and low level information of the three-pin signal line.
[0077] In some alternative embodiments, see Figure 2 As shown, the embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a whole device, and the method further includes the following steps:
[0078] When the fan unit is running in the three-pin mode, and the fan unit receives the master-slave signal sent by the main control board; the fan unit continuously detects whether it has received the duty cycle signal sent by the main control board in each training task; if the fan unit receives the duty cycle signal sent by the main control board, the fan unit exits the three-pin mode and adjusts the speed in the duty cycle mode; if the fan unit fails to receive the duty cycle signal sent by the main control board, the fan unit continues to adjust the speed in the three-pin mode.
[0079] In the embodiment of the present application, when the fan unit operates in the three-pin speed regulation mode, and the master-slave signal between the main control board or the standby control board and the fan unit is normal, the fan unit will continuously detect whether the duty cycle signal sent by the main control board or the standby control board is received normally in each rotation task. If the fan unit receives the duty cycle signal, it indicates that the IIC bus between the previously abnormal main control board or the standby control board and the fan unit has returned to normal, and then it switches to the duty cycle mode, and sets the fan speed according to the real-time duty cycle for speed regulation.
[0080] If the fan unit still does not receive the duty cycle signal, it indicates that the IIC bus between the previously abnormal main control board or the standby main control board and the fan unit is still in an abnormal state, and the fan unit continues to operate in the three-pin mode. The fan unit speed is set according to the gear corresponding to the high and low level information of the three-pin signal line to adjust the speed.
[0081] In some alternative embodiments, see Figure 2 As shown, the embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a whole device, and the method further includes:
[0082] When the fan unit is running in the duty cycle mode, it is determined whether the fan unit has timed out in receiving the duty cycle information; if the fan unit has timed out in receiving the duty cycle information, the fan unit exits the duty cycle mode and adjusts the speed in the three-pin mode; if the fan unit has not timed out in receiving the duty cycle information, the fan unit continues to adjust the speed in the duty cycle mode.
[0083] In the embodiment of the present application, when the fan unit operates in the duty cycle mode, it will continue to regularly receive the duty cycle information sent by the main control board to ensure that the IIC bus between the main main control board or the backup main control board and the fan unit is normal, thereby continuing to operate in the duty cycle speed regulation mode, which is also the normal state for stable operation of the equipment in most cases.
[0084] If an abnormality occurs in the IIC bus between the active main control board or the standby main control board and the fan unit, the duty cycle information of the active main control board or the standby main control board cannot be sent to the fan unit on time, and the fan unit times out when receiving the duty cycle information, it will switch to the three-pin mode and set the fan unit speed for speed regulation according to the gear corresponding to the high and low level information of the three-pin signal line.
[0085] In some alternative embodiments, see Figure 3 and Figure 4 As shown, the embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a whole device, and the method further includes:
[0086] When the main control board reads back the operating mode of the fan unit through the IIC bus as duty cycle mode, the duty cycle mode is the master mode and the three-pin mode is the slave mode; when the three-pin mode is the slave mode, the main control board obtains the corresponding relationship between the duty cycle of the current duty cycle mode and the gear position of the three-pin mode, and maps the gear position corresponding to the three-pin mode. For example, if the duty cycle of the current duty cycle mode is 75, the gear position of the three-pin mode corresponds to gear 1.
[0087] When the main control board reads back the operating mode of the fan unit through the IIC bus as the three-pin mode, the three-pin mode is the master mode and the duty cycle mode is the slave mode; when the duty cycle mode is the slave mode, the main control board obtains the corresponding relationship between the gear position of the current three-pin mode and the duty cycle of the duty cycle mode, and maps the duty cycle value corresponding to the duty cycle mode. For example, if the gear position of the current three-pin mode is gear 1, the duty cycle of the duty cycle mode corresponds to 75.
[0088] In order to ensure that the three-pin mode and the duty cycle mode controlled by the main control board can switch smoothly, the embodiment of the present application uses a master-slave speed regulation method for these two modes to ensure that one mode is dominant at the same time, and the slave mode synchronizes the operation results of the master mode to ensure that the two modes are in similar or even the same gear position at the moment of mode switching, thereby avoiding high temperature or noise problems caused by jumpy gear shifting during mode switching.
[0089] Fan speed regulation is divided into two types: duty cycle and gear according to different speed regulation steps. The duty cycle ranges from stop (0) to full speed (100), and the adjustable duty cycle is 0-100. The gear ranges from stop (7 gears) to full speed (0 gear), and the adjustable gear is 0-7. The mapping relationship between duty cycle and gear is shown in Table 1.
[0090] Table 1
[0091] Duty Cycle Gear Gear Description Gear Map Duty Cycle 100-81 0 full speed 100 80-61 1 high speed 75 60-51 2 Medium to high speed 55 50-41 3 Medium 45 40-31 4 Medium and low speed 35 30-21 5 Low speed 25 20-10 6 Ultra-low speed 15 9-0 7 Stall (minimum speed) 0
[0092] In Table 1:
[0093] The full speed gear is 0, corresponding to the duty cycle range of 81-100. The duty cycle mapping gears in this range are all 0, and the typical value of the duty cycle mapping for gear 0 is 100;
[0094] The full-speed gear is 1st gear, corresponding to the duty cycle range of 61-80. The duty cycle mapping gears in this range are all 1st gear, and the typical value of the duty cycle mapping for gear 1 is 75;
[0095] The full speed gear is 2nd gear, corresponding to the duty cycle range of 51-60. The duty cycle mapping gears in this range are all 2nd gear, and the typical value of the duty cycle mapping for gear 2 is 55;
[0096] The full speed gear is 3, corresponding to the duty cycle range of 41-50. The duty cycle mapping gears in this range are all 3, and the typical value of the duty cycle mapping for gear 3 is 45;
[0097] The full speed gear is 4, corresponding to the duty cycle range of 31-40. The duty cycle mapping gears in this range are all 4 gears, and the typical value of the duty cycle mapping for gear 4 is 35;
[0098] The full speed gear is 5, corresponding to the duty cycle range of 21-30. The duty cycle mapping gears in this range are all 5, and the typical value of the duty cycle mapping for gear 5 is 25;
[0099] There are 6 full-speed gears, corresponding to a duty cycle range of 11-20. The duty cycle mapping gears in this range are all 6 gears, and the typical value of the duty cycle mapping for gear 6 is 15;
[0100] There are 7 full-speed gears, corresponding to a duty cycle range of 0-9. The duty cycle mapping gears within this range are all 7 gears, and the typical value selected for the duty cycle mapping of gear 7 is 0.
[0101] In some alternative embodiments, see Figure 4 As shown, the embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a whole device. If the duty cycle mode is the main mode, the method further includes:
[0102] If the main control board determines that all single disks of the entire device have not reported temperatures, the duty cycle remains unchanged; if the main control board determines that some single disks of the entire device have not reported temperatures, the duty cycle is increased but not decreased; if the main control board determines that all single disks of the entire device have reported temperatures normally, the duty cycle is adjusted according to the real-time temperature.
[0103] Specifically, if the main control board determines that some single disks of the entire equipment have not reported the temperature, the duty cycle will only be increased but not decreased, including: when the real-time temperature difference is less than or equal to zero, the duty cycle remains unchanged; when the real-time temperature difference is greater than zero and higher than the high temperature threshold, the maximum duty cycle value range corresponding to one gear is increased at one time (the maximum duty cycle value is increased by 20); when the real-time temperature difference is greater than 0 and lower than the high temperature threshold, the duty cycle increase value is calculated according to the duty cycle up-shift formula (the maximum duty cycle increase value does not exceed 20).
[0104] If the main control board determines that all single disks of the whole equipment report the temperature normally, the duty cycle size is adjusted according to the real-time temperature, including: when the real-time temperature difference is greater than zero and higher than the high temperature threshold, the maximum duty cycle range corresponding to one gear is increased at one time (the maximum duty cycle value is increased by 20); when the real-time temperature difference is greater than zero and lower than the high temperature threshold, the duty cycle increase value is calculated according to the duty cycle upshift formula; when the real-time temperature difference is not greater than zero, the duty cycle downshift value is calculated according to the duty cycle downshift formula (the maximum duty cycle increase value does not exceed 20), and the maximum one-time downshift value is the minimum duty cycle range corresponding to one gear (the maximum duty cycle downshift value does not exceed 10).
[0105] In some alternative embodiments, see Figure 3 As shown, the embodiment of the present application provides a method for adaptively and smoothly adjusting the speed of a fan of a complete device. If the three-pin mode is the main mode, the method further includes:
[0106] If the main control board determines that all single disks of the entire device have not reported temperatures, the gear position remains unchanged; if the main control board determines that some single disks of the entire device have not reported temperatures, only the gear position is increased without being decreased; if the main control board determines that all single disks of the entire device have reported temperatures normally, the gear position size is adjusted according to the real-time temperature.
[0107] Specifically, when the main control board determines that some single disks of the whole equipment have not reported the temperature, if the real-time temperature difference is greater than zero, the gear is raised; if the real-time temperature difference is less than or equal to zero, the gear is kept unchanged. When the main control board determines that all single disks of the whole equipment report the temperature normally, if the real-time temperature difference is greater than zero, the gear is raised; if the real-time temperature difference is less than zero, and if the absolute value of the real-time temperature difference is greater than the interpolation value, the gear is lowered; if the absolute value of the real-time temperature difference is less than the interpolation value, the gear is kept unchanged.
[0108] The whole device of the embodiment of the present application involves multiple boards. The type, number, and temperature characteristics of the temperature-sensitive devices involved on each board are different. It is necessary to customize a set of temperature data (real-time temperature, speed regulation threshold, high temperature threshold, and back-interpolation value) according to each temperature-sensitive device, where the real-time temperature is the real-time temperature of the device detected by the sensor. The speed regulation threshold is the temperature speed regulation threshold set according to the thermal design. If it is higher than this threshold, it means that the fan speed needs to be increased. The high temperature threshold is the high temperature alarm threshold set according to the thermal design. Exceeding this threshold indicates that the device is seriously overheated, and the automatic speed regulation mode needs to be increased to achieve a rapid increase in the speed of the fan unit, or manual intervention is required to manually adjust the speed to prevent hardware damage caused by high temperature.
[0109] The back-interpolation value is also a value set according to the thermal design. It is used in the scenario of three-pin speed regulation downshift. When the real-time temperature of the device drops below the speed regulation threshold after the fan automatic speed regulation, the fan unit cannot be downshifted immediately. Otherwise, the temperature may exceed the speed regulation threshold again. Only when the temperature is lower than the speed regulation threshold to a certain extent, that is, greater than the back-interpolation value, can the downshift be performed.
[0110] Based on the above temperature data, the real-time temperature difference = real-time temperature - speed control threshold. When the real-time temperature difference is greater than 0, it means that the real-time temperature exceeds the speed control threshold and needs to be upgraded or the duty cycle increased. When the real-time temperature difference is less than 0 and the absolute value is greater than the interpolation value, it means that downshifting is required. For the temperature-sensitive devices of each board, a group of data with the largest real-time temperature difference is collected from each board and reported to the main main control board for comprehensive temperature control data. The main main control board then selects a group of data from the devices with the largest real-time temperature difference from the data set reported by each board for temperature control. In the above process, data is continuously updated in real time during the rotation task.
[0111] The main control board selects a group of temperature data of the device with the largest real-time temperature difference, and performs three-pin mode speed control and duty cycle mode speed control in rotation. Considering that the three-pin mode speed control step is large, it takes a certain amount of time to judge the stability effect after upshifting or downshifting. The three-pin mode speed control rotation cycle is relatively long, while the duty cycle mode speed control step is small and the rotation cycle is relatively short.
[0112] In order to ensure that the fan speed is smooth and stable when switching modes, the fan unit determines whether it is in master mode or slave mode according to the operating mode of the fan unit read back by the rotation task. The slave mode synchronously maps the operating results of the master mode. When the slave mode is switched back to the master mode, the startup data (gear or duty cycle) is basically consistent with the original master mode.
[0113] In the description of the present application, it should be noted that the terms "upper", "lower", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0114] It should be noted that, in this application, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0115] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A fan adaptive smooth speed regulation method for a complete device, characterized in that: The method comprises: When the whole equipment is powered on and the main control board has not yet started, the fan unit switches gears in the self-speed adjustment mode to adjust the speed according to the temperature range of the air inlet; When the fan unit receives the master-slave signal sent by the main control board, and determines whether the fan unit has timed out in receiving the duty cycle information sent by the main control board; If it is determined that the fan unit has timed out from receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in the three-pin mode; If it is determined that the fan unit has not timed out from receiving the duty cycle information, the fan unit exits the self-speed regulation mode and regulates the speed in the duty cycle mode.
2. A fan adaptive smooth speed regulation method for a complete device as claimed in claim 1, characterized in that: The method further comprises: When the fan unit is running in three-pin mode and the signal between the fan unit and the main control board is interrupted; The fan unit exits the three-pin mode and switches gears in the self-speed regulating mode to adjust the speed according to the temperature range of the air inlet; If the fan unit receives the master-slave signal from the main control board again, the fan unit exits the self-speed regulation mode and regulates the speed in the three-pin mode.
3. A fan adaptive smooth speed regulation method for a complete device as claimed in claim 1, characterized in that: The method further comprises: When the fan unit is operating in three-pin mode, and the fan unit receives the master / slave signal from the main control board; The fan unit continuously checks whether it has received the duty cycle signal sent by the main control board in each training task; If the fan unit receives a duty cycle signal from the main control board, the fan unit exits the three-pin mode and adjusts the speed in the duty cycle mode; If the fan unit fails to receive the duty cycle signal from the main control board, the fan unit continues to adjust the speed in the three-pin mode.
4. A fan adaptive smooth speed regulation method for a complete device as claimed in claim 1, characterized in that: The method further comprises: When the fan unit is operating in the duty cycle mode, determining whether the fan unit has timed out in receiving duty cycle information; If the fan unit times out when receiving the duty cycle information, the fan unit exits the duty cycle mode and adjusts the speed in the three-pin mode; If the fan unit receives the duty cycle information without timeout, the fan unit continues to adjust the speed in the duty cycle mode.
5. The method for adaptively and smoothly adjusting the fan speed of a complete device according to claim 1, characterized in that: The method further comprises: When the main control board reads back the operating mode of the fan unit through the IIC bus as the duty cycle mode, the duty cycle mode is the master mode and the three-pin mode is the slave mode; When the three-pin mode is in slave mode, the main control board obtains the corresponding relationship between the duty cycle of the current duty cycle mode and the gear position of the three-pin mode, and maps the gear position corresponding to the three-pin mode; When the main control board reads back the operating mode of the fan unit through the IIC bus as the three-pin mode, the three-pin mode is the master mode and the duty cycle mode is the slave mode; When the duty cycle mode is in slave mode, the main control board obtains the corresponding relationship between the gear position of the current three-pin mode and the duty cycle of the duty cycle mode, and maps the duty cycle value corresponding to the duty cycle mode.
6. A method for adaptively and smoothly adjusting the fan speed of a complete device as claimed in claim 5, characterized in that: If the duty cycle mode is the main mode, the method further includes: If the main control board determines that all disks of the whole equipment have not reported the temperature, the duty cycle remains unchanged; If the main control board determines that some disks of the whole equipment have not reported the temperature, the duty cycle will be increased but not decreased; If the main control board determines that all single disks of the entire device report temperatures normally, the duty cycle is adjusted according to the real-time temperature.
7. A method for adaptively and smoothly adjusting the fan speed of a complete device as claimed in claim 6, characterized in that: If the main control board determines that some disks of the entire device have not reported their temperatures, the duty cycle will be increased but not decreased. Specifically, the following steps are performed: When the real-time temperature difference is less than or equal to zero, the duty cycle remains unchanged; When the real-time temperature difference is greater than zero and higher than the high temperature threshold, the maximum duty cycle value corresponding to one gear is increased at one time; When the real-time temperature difference is greater than 0 and lower than the high temperature threshold, the duty cycle increase value is calculated according to the duty cycle upshift formula.
8. A method for adaptively and smoothly adjusting the fan speed of a complete device as claimed in claim 6, characterized in that: If the main control board determines that all single disks in the entire device report temperatures normally, it adjusts the duty cycle according to the real-time temperature, including: When the real-time temperature difference is greater than zero and higher than the high temperature threshold, the maximum duty cycle range corresponding to one gear is increased at one time; When the real-time temperature difference is greater than zero and lower than the high temperature threshold, the duty cycle increase value is calculated according to the duty cycle upshift formula; When the real-time temperature difference is not greater than zero, the duty cycle reduction value is calculated according to the duty cycle downshift formula, and the maximum one-time reduction value is the minimum duty cycle range corresponding to one gear.
9. A method for adaptively and smoothly adjusting the fan speed of a complete device as claimed in claim 5, characterized in that: If the three-needle mode is the main mode, the method further includes: If the main control board determines that all disks of the whole equipment have not reported the temperature, the gear position remains unchanged; If the main control board determines that some disks of the whole equipment have not reported the temperature, it will only increase the gear but not decrease the gear; If the main control board determines that all single disks of the entire device report temperatures normally, the gear size is adjusted according to the real-time temperature.
10. A fan adaptive smooth speed regulation method for a complete device as claimed in claim 9, characterized in that: The main control board determines that some single disks of the whole equipment have not reported the temperature, and if the real-time temperature difference is greater than zero, the gear is increased; if the real-time temperature difference is less than or equal to zero, the gear is kept unchanged; The main control board determines that all single disks of the whole equipment report temperatures normally, and if the real-time temperature difference is greater than zero, the gear is raised; If the real-time temperature difference is less than zero, and if the absolute value of the real-time temperature difference is greater than the interpolation value, downshift; if the absolute value of the real-time temperature difference is less than the interpolation value, keep the gear unchanged.
Citation Information
Cited By
Fan rotating speed control method and electronic equipment based on fan heat dissipation
CN120819534A