Fan control method, device, system and electronic device of communication equipment
By calculating and compensating for the speed difference between fans on different sides of the communication equipment, the problems of uneven heat dissipation and noise caused by independent control were solved, achieving better heat dissipation and noise control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TP-LINK INT SHENZHEN CO LTD
- Filing Date
- 2025-06-30
- Publication Date
- 2026-08-04
AI Technical Summary
In communication equipment, fans on different sides have inconsistent speeds due to independent control, causing uneven heat dissipation and noise problems.
By acquiring the control speeds of the first and second side fans of the communication device, calculating the speed difference, and determining the compensation control speed based on the speed difference, the fan rotation is adjusted to achieve speed balance.
The heat dissipation of communication equipment has been optimized, noise caused by speed differences has been reduced, and the user experience has been improved.
Smart Images

Figure CN120487654B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a fan control method, apparatus, system, and electronic device for a communication device. Background Technology
[0002] In communication equipment such as campus network switches, there are typically two sides: the power supply side and the system side. Each side has several fans, and the proper functioning of these fans significantly impacts the overall heat dissipation of the system. Therefore, to determine if the fans are operating normally, it's necessary to collect relevant fan parameters, including operating voltage, current, and speed. However, in related technologies, the speed control of the fans on both sides is independent. This can lead to significant differences in fan speed between the power supply and system sides in some situations. The noise from the higher-speed fan is primarily generated, negatively impacting the user experience. Furthermore, the airflow paths on the power supply and system sides are not always completely independent. In conclusion, in communication equipment systems, the independent control of fans on different sides (such as the power supply and system sides) can result in inconsistent fan speeds, easily causing uneven heat dissipation and noise problems.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a fan control method, apparatus, system, and electronic device for communication equipment, which at least solves the technical problem that in communication equipment-based systems, the fans on different sides (such as the power supply side and the system side) have inconsistent speeds due to independent control, which can easily lead to uneven heat dissipation and noise problems.
[0005] According to one aspect of the embodiments of this application, a fan control method for a communication device is provided, comprising: obtaining a first control speed of a first-side fan and a second control speed of a second-side fan of the communication device, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, the system side being the part of the communication device internally responsible for data processing and network communication functions, and the first control speed is greater than the second control speed; determining the speed difference between the first control speed and the second control speed; determining a compensation control speed of the second-side fan based on the speed difference; controlling the rotation of the first-side fan based on the first control speed, and controlling the rotation of the second-side fan based on the compensation control speed.
[0006] Optionally, the first side is the power supply side of the communication device, and the second side is the system side of the communication device, wherein the system side is the part of the communication device responsible for data processing and network communication functions; or the first side is the system side of the communication device, and the second side is the power supply side of the communication device.
[0007] Optionally, determining the compensation control speed of the second fan based on the speed difference includes: detecting whether the speed difference is greater than a preset difference threshold; and determining the compensation control speed based on the speed difference if the speed difference is greater than the preset difference threshold.
[0008] Optionally, when the preset difference threshold includes a first difference threshold and a second difference threshold, and the speed difference is greater than the preset difference threshold, the compensation control speed is determined based on the speed difference, including: when the first control speed is greater than the first speed threshold and less than the second speed threshold, and the speed difference is greater than the first difference threshold, the compensation control speed is determined as the first compensation speed, wherein the first compensation speed is less than or equal to the first speed threshold; or when the first control speed is greater than or equal to the second speed threshold, and the speed difference is greater than the second difference threshold, the compensation control speed is determined as the second compensation speed, wherein the second compensation speed is greater than the first compensation speed and less than or equal to the second speed threshold.
[0009] Optionally, the method further includes: controlling the rotation of the second side fan based on the second control speed when the first control speed is less than or equal to the first speed threshold; or controlling the rotation of the second side fan based on the second control speed when the speed difference is less than or equal to the preset difference threshold.
[0010] Optionally, acquiring the first control speed of the first-side fan and the second control speed of the second-side fan of the communication device includes: acquiring first temperature data of the first side and second temperature data of the second side; acquiring the first actual speed of the first-side fan and the second actual speed of the second-side fan; determining the first control speed based on the first temperature data and the first actual speed; and determining the second control speed based on the second temperature data and the second actual speed.
[0011] Optionally, collecting the first actual rotational speed of the first side fan and the second actual rotational speed of the second side fan includes: determining the first switching frequency corresponding to the first switching switch, wherein the first switching frequency represents the speed at which the first switching switch switches between signals of different fans; controlling the first switching switch to alternately connect to the first side fan and the second side fan according to the first switching frequency, and collecting the first actual rotational speed and the second actual rotational speed.
[0012] Optionally, determining the first switching frequency corresponding to the first switching switch includes: determining the total number of fans, including the first side fan and the second side fan, of the communication device; and determining the first switching frequency based on the total number of fans.
[0013] Optionally, the method further includes: obtaining the power supply status corresponding to the first side fan and the second side fan respectively, wherein the power supply status includes the power supply voltage supplied to the fan and / or the current flowing through the fan; and determining the abnormal operation information of the first side fan and the second side fan based on the power supply status, wherein the abnormal operation information includes whether the corresponding fan is in a fault state and / or the fault type when it is in a fault state.
[0014] Optionally, obtaining the power supply status corresponding to the first side fan and the second side fan respectively includes: determining the second switching frequency corresponding to the second switching switch, wherein the second switching frequency represents the speed at which the second switching switch switches between signals of different fans; controlling the second switching switch to alternately connect to the first side fan and the second side fan according to the second switching frequency, and collecting the power supply status corresponding to the first side fan and the second side fan respectively.
[0015] According to another aspect of the embodiments of this application, a fan control system for a communication device is also provided, including: a first-side fan, wherein the first-side fan is a fan disposed on a first side of the communication device; a second-side fan, wherein the second-side fan is a fan disposed on a second side of the communication device; and a main control device, wherein the main control device is used to execute any of the above-described fan control methods for the communication device.
[0016] Optionally, the system further includes: a first filtering module, wherein the first filtering module is connected to the first side fan and the second side fan, and is used to filter the first actual speed of the first side fan and the second actual speed of the second side fan, and send the filtered first actual speed and the filtered second actual speed to the main control device.
[0017] Optionally, the system further includes: a first switching switch, wherein the first switching switch is used to control the first side fan and the second side fan to be connected to the first filter module in turn according to a first switching frequency, and to forward the first actual speed and the second actual speed to the first filter module.
[0018] Optionally, the system further includes: a power supply state conversion module corresponding to the first side fan and the second side fan respectively, and a second filtering module, wherein the power supply state conversion module is used to convert the power supply state of the corresponding fan to a predetermined state range and send the converted power supply state to the second filtering module, wherein the predetermined state range is the power supply state range supported by the main control device; the second filtering module is used to filter the converted power supply states corresponding to the first side fan and the second side fan respectively, and send the filtered power supply states corresponding to the first side fan and the second side fan respectively to the main control device.
[0019] Optionally, the system further includes a second switching switch, wherein the second switching switch is disposed between the power supply state conversion module and the second filtering module, and is used to alternately connect the converted power supply state conversion modules corresponding to the first side fan and the second side fan to the second filtering module according to the second switching frequency, and forward the converted power supply states corresponding to the first side fan and the second side fan to the second filtering module.
[0020] Optionally, when the power supply state is the power supply voltage supplied to the fan, the power supply state conversion module is a voltage conversion module, wherein the voltage conversion module is constructed based on voltage divider resistors or operational amplifiers; or when the power supply state is the current flowing through the fan, the power supply state conversion module is a current conversion module, wherein the current conversion module is used to convert the current signal flowing through the fan into a corresponding voltage signal.
[0021] Optionally, the main control device is equipped with an analog-to-digital converter, wherein the analog-to-digital converter is used to convert the received data from analog signal form into digital signal form that the main control device can process, wherein the received data includes at least one of the following: the actual speed of the fan, the power supply voltage supplied to the fan, the current flowing through the fan, the first temperature data of the first side, and the second temperature data of the second side.
[0022] According to another aspect of the embodiments of this application, a fan control device for a communication device is also provided, comprising: a speed acquisition module, configured to acquire a first control speed of a first-side fan and a second control speed of a second-side fan of the communication device, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, the system side being the part of the communication device responsible for data processing and network communication functions, and the first control speed is greater than the second control speed; a speed difference determination module, configured to determine the speed difference between the first control speed and the second control speed; a speed compensation module, configured to determine a compensation control speed of the second-side fan based on the speed difference; and a fan control module, configured to control the rotation of the first-side fan based on the first control speed and control the rotation of the second-side fan based on the compensation control speed.
[0023] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to execute any of the above-described fan control methods of the communication device.
[0024] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes any of the above-described fan control methods for communication devices during runtime.
[0025] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps of any of the above-described communication device fan control methods.
[0026] In this embodiment, by acquiring the first control speed of the first-side fan and the second control speed of the second-side fan of the communication device, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, the system side being the part of the communication device responsible for data processing and network communication functions, and the first control speed is greater than the second control speed; determining the speed difference between the first control speed and the second control speed; determining the compensation control speed of the second-side fan based on the speed difference; controlling the rotation of the first-side fan based on the first control speed and controlling the rotation of the second-side fan based on the compensation control speed, the goal of achieving balanced rotation speed of the two fans is achieved by monitoring the control speeds of the power supply side and the system side fans, calculating their speed difference, and adjusting the control speed of the second-side fan based on the speed difference. This optimizes the heat dissipation effect of the entire communication device system, reduces noise caused by the speed difference between the power supply side and the system side fans, and improves the user experience. Furthermore, it solves the technical problem that in communication device systems, the speeds of different side fans (such as the power supply side and the system side) are inconsistent due to independent control, which easily leads to uneven heat dissipation and noise problems. Attached Figure Description
[0027] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0028] Figure 1 This is a flowchart of a fan control method for a communication device according to an embodiment of this application;
[0029] Figure 2 This is a first system architecture diagram of fan control for an optional communication device according to an embodiment of this application;
[0030] Figure 3 This is a schematic diagram of the structure of a fan control system for a communication device according to an embodiment of this application;
[0031] Figure 4 This is a second system architecture diagram for fan control of an optional communication device according to an embodiment of this application;
[0032] Figure 5 This is a third system architecture diagram of an optional communication device fan control according to an embodiment of this application;
[0033] Figure 6 This is a fourth system architecture diagram of fan control for an optional communication device according to an embodiment of this application;
[0034] Figure 7 This is a fifth system architecture diagram of fan control for an optional communication device according to an embodiment of this application;
[0035] Figure 8 This is a flowchart of an optional fan control method for a communication device according to an embodiment of this application;
[0036] Figure 9 This is a schematic diagram of the structure of a fan control device for a communication device according to an embodiment of this application. Detailed Implementation
[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0039] According to an embodiment of this application, a method embodiment for fan control of a communication device is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0040] Figure 1 This is a flowchart of a fan control method for a communication device according to an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:
[0041] Step S102: Obtain the first control speed of the first side fan and the second control speed of the second side fan of the communication device, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, the system side is the part of the communication device responsible for data processing and network communication functions, and the first control speed is greater than the second control speed.
[0042] As an optional embodiment, the executing entity of this method can be a master control device in the fan control system of a communication device. This master control device can be understood as the system management module in the fan control system, and can be, but is not limited to, a microcontroller unit (MCU), a central processing unit (CPU), or similar forms. The communication device can be, but is not limited to, a switch (such as a campus switch), a router, or other communication equipment that requires good heat dissipation management and certain noise control requirements.
[0043] In step S102 of this application, the first control speed can be obtained by the main control device (such as a system management module) based on the relevant operating information of the first-side fan, and is used to control the rotation speed of the first-side fan; the second control speed can be obtained by the main control device (such as a system management module) based on the relevant operating information of the second-side fan, and is used to control the rotation speed of the second-side fan. The air ducts of the first and second sides of this communication device are not completely independent.
[0044] Optionally, communication equipment (such as a campus switch) can be divided into two sides, such as a system side and a power supply side. The airflow on the system side and the power supply side is not completely independent. The system side can refer to the part of the communication equipment responsible for data processing and network communication functions, while the power supply side refers to a series of hardware and circuits related to power conversion, power supply, and heat dissipation within the communication equipment. When the first side is the power supply side of the communication equipment and the second side is the system side, the corresponding fan on the first side is the power supply side fan, and the fan on the second side is the system side fan. Conversely, when the first side is the system side and the second side is the power supply side, the corresponding fan on the first side is the system side fan, and the fan on the second side is the power supply side fan. By setting the first type of fan and the second type of fan to be located on the power supply side and the system side of the communication equipment respectively, this side-by-side allocation ensures that regardless of whether the power supply side or the system side is the first side, the fan speed on the other side can be compensated accordingly, thereby optimizing the overall heat dissipation and noise control of the communication equipment.
[0045] Optionally, the fans on both sides of the communication equipment (i.e., the system side and the power supply side) can be configured to have speed compensation functionality based on the control speed of the opposite fan. Specifically, by comparing the control speeds of the two fans, it can be determined which side's fan needs speed compensation. For example, the fan with the lower speed can be compensated. That is, the fan with the higher speed is designated as the first fan, and the fan with the lower speed as the second fan. This allows for flexible compensation of the system-side and power supply-side fan speeds, better addressing uneven heat dissipation and noise issues within the communication equipment.
[0046] In one optional embodiment, obtaining the first control speed of the first-side fan and the second control speed of the second-side fan of the communication device includes: obtaining first temperature data of the first side and second temperature data of the second side; collecting the first actual speed of the first-side fan and the second actual speed of the second-side fan; determining the first control speed based on the first temperature data and the first actual speed; and determining the second control speed based on the second temperature data and the second actual speed.
[0047] Optionally, the main control device (such as a system management module) collects temperature data from both sides of the communication equipment. For example, if the first side is the power supply side and the second side is the system side, the temperature of the power supply side can be monitored, as heat is generated during power conversion; the temperature of the system side, responsible for data processing and network communication functions, can be monitored, as these components generate significant heat due to their high-speed operation. In addition to temperature data, the actual fan speeds on both sides need to be acquired in real time. This can be achieved, but is not limited to, by reading the square wave signal output from the Hall effect sensor inside the fan. The frequency of the square wave signal directly reflects the fan speed. Based on the collected current temperature and actual speed data, the control speed for each fan is calculated. For example, when the temperature rises, the fan speed is increased to accelerate heat dissipation; however, the speed adjustment must consider the fan's current operating state to avoid unnecessary high noise and power consumption. By combining temperature data and actual fan speeds, the control speeds of the fans on both sides of the communication equipment can be dynamically calculated, enabling a more accurate response to changes in ambient temperature and ensuring that fan operation meets heat dissipation requirements.
[0048] In one optional embodiment, collecting the first actual rotational speed of the first side fan and the second actual rotational speed of the second side fan includes: determining a first switching frequency corresponding to the first switching switch, wherein the first switching frequency represents the speed at which the first switching switch switches between signals of different fans; and controlling the first switching switch to alternately connect to the first side fan and the second side fan according to the first switching frequency, and collecting the first actual rotational speed and the second actual rotational speed.
[0049] Optionally, the switching frequency of the first switch is determined, i.e., the speed at which signals from different fans are switched. This first switching frequency setting can comprehensively consider the data processing capability of the main control device (system management module) and the number of fans to ensure that the signal from each fan can be fully acquired without exceeding the processing load of the system management module. According to the determined first switching frequency, the first switch is controlled to poll and switch between the first-side fans and the second-side fans. There can be multiple first-side fans and multiple second-side fans, for example... Figure 2 This is a first system architecture diagram of an optional communication device fan control according to an embodiment of this application, such as... Figure 2 As shown, when the first side (e.g., the power supply side) includes fans 1 and 2, and the second side includes fans 1, 2, and 3, the first switching switch can be controlled to poll between fans 1 and 2 on the first side (e.g., the power supply side) and fans 1, 2, and 3 on the second side (the system side), ensuring that the actual speed signal of each fan can be collected. Under the polling of the first switching switch, the system management module can sequentially collect the actual speed of each fan. This actual speed data is crucial for the subsequent fan control strategy formulation, helping the system to monitor the fan operating status in real time and adjust the speed in a timely manner. In the above method, by setting a specific switching frequency, the control switch is dynamically switched to collect the actual speed signals of the fans on both sides in turn. This mechanism allows the system to efficiently and accurately obtain the real-time speed information of all fans with limited hardware resources, thereby achieving fine fan speed monitoring and control.
[0050] Optionally, but not limited to, when the total number of fans is large or the system management module input / output (I / O) resources and analog-to-digital converters (ADCs) are small, for example, when the total number of fans is greater than a preset first number, the number of I / O modules is less than a preset second number, and the number of ADCs is less than a preset third number, a first switching switch can be set in the fan control system of the communication equipment, and the switching control of the first switching switch and the acquisition of the actual fan speed can be performed using the method of this embodiment. In this way, even with limited hardware resources, the real-time speed information of all fans can be obtained efficiently and accurately through the switching control of the switching switch.
[0051] In one optional embodiment, determining the first switching frequency corresponding to the first switching switch includes: determining the total number of fans, including the first side fan and the second side fan, of the communication device; and determining the first switching frequency based on the total number of fans.
[0052] Optionally, the main control device (such as a system management module) counts the total number of fans on both the first side (power supply side) and the second side (system side) inside the communication equipment. The first switching frequency is then determined based on the total number of fans. The first switching frequency can be set according to the inverse relationship between the switching frequency and the number of fans; that is, the more fans there are, the shorter the acquisition time of a single fan signal, and the higher the switching frequency. Dynamically adjusting the switching frequency of the switch based on the total number of fans in the communication equipment ensures that the speed signal of each fan can be acquired in a timely and accurate manner. This mechanism optimizes the efficiency and accuracy of signal acquisition, especially when dealing with communication equipment with varying numbers of fans, allowing for flexible adaptation and maintaining the operational stability and performance of the communication equipment.
[0053] Optionally, the first switching frequency can be determined by taking into account the total number of fans, the processing speed of the system management module, and the data acquisition accuracy. For example, the first switching frequency can be determined by weighted calculation based on the total number of fans, the processing speed of the system management module, and the data acquisition accuracy, so as to further ensure that the fan signals can still be accurately captured at high switching frequencies.
[0054] Step S104: Determine the speed difference between the first control speed and the second control speed;
[0055] In step S104, after obtaining the first control speed and the second control speed, the speed difference between the first control speed and the second control speed is further calculated for subsequent fan speed compensation. For example, when the first side is the power supply side and the second side is the system side, and the corresponding first control speed is the power supply side fan control speed and the second control speed is the system side fan control speed, the speed difference can be the speed difference between the power supply side fan control speed and the system side fan control speed.
[0056] Step S106: Determine the compensation control speed of the second fan based on the speed difference;
[0057] In step S106, the speed difference can be used to measure the degree of speed difference between the fans on both sides of the communication device. Based on the speed difference, the speed of the second-side fan can be compensated in a targeted manner to achieve a balance between the fans on both sides of the communication device while effectively dissipating heat. For example, the speed compensation of the system-side fan control speed can be performed based on the speed difference between the power supply-side fan control speed and the system-side fan control speed.
[0058] In one optional embodiment, determining the compensation control speed of the second-side fan based on the speed difference includes: detecting whether the speed difference is greater than a preset difference threshold; and determining the compensation control speed based on the speed difference if the speed difference is greater than the preset difference threshold.
[0059] Optionally, the main control device (such as the system management module) continuously monitors the first control speed (such as the power supply-side fan control speed) and the second control speed (such as the system-side fan control speed) and calculates the speed difference between them. If the speed difference exceeds a preset threshold (indicating that one fan is running significantly faster than the other), a compensation process is triggered. When the speed difference exceeds the preset threshold, the system management module determines the compensation control speed based on the specific value of the speed difference. The compensation logic aims to balance the operating states of both fans, preventing excessive noise from one side due to excessive speed, while also ensuring that the overall heat dissipation efficiency of the communication equipment is not affected. It can also actively balance the operating states of both fans, ensuring heat dissipation efficiency while reducing unnecessary noise. The calculation of the compensation control speed can be based on linear relationships, proportional relationships, or other algorithms, depending on the heat dissipation requirements and noise control objectives of the communication equipment.
[0060] In one optional embodiment, when the preset difference threshold includes a first difference threshold and a second difference threshold, when the speed difference is greater than the preset difference threshold, determining the compensation control speed based on the speed difference includes: when the first control speed is greater than the first speed threshold and less than the second speed threshold, and the speed difference is greater than the first difference threshold, determining the compensation control speed as a first compensation speed, wherein the first compensation speed is less than or equal to the first speed threshold; or when the first control speed is greater than or equal to the second speed threshold, and the speed difference is greater than the second difference threshold, determining the compensation control speed as a second compensation speed, wherein the second compensation speed is greater than the first compensation speed and less than or equal to the second speed threshold.
[0061] Optionally, when the speed difference does exceed a certain threshold, different compensation measures are taken based on the magnitude of the first control speed. If the first control speed is between the first speed threshold m1 and the second speed threshold m2, and the speed difference is greater than the first difference threshold, the compensation control speed of the second fan is set to the first compensation speed n1. Conversely, if the first control speed is greater than or equal to the second speed threshold m2, and the speed difference is greater than the second difference threshold, the compensation control speed will be set to the second compensation speed n2. By setting different compensation speeds, the operating state of the second fan can be dynamically adjusted to adapt to the high speed requirements of the first fan. If the speed of the first fan is relatively high but has not reached an extreme situation, compensation can be achieved by increasing the speed of the second fan (but not exceeding the first speed threshold) to achieve initial balance. When the speed of the first fan is extremely high (reaching or exceeding the second speed threshold), a more aggressive compensation measure is taken, i.e., a higher second compensation speed is set. By intelligently adjusting the compensation speed, noise is minimized while meeting the heat dissipation requirements.
[0062] Optionally, the speed difference can be further characterized by threshold comparisons of the fans on both sides. Taking the first side as the power supply side and the second side as the system side, with the first control speed being the power supply fan control speed and the second control speed being the system fan control speed, and both the power supply side and the fan side using 18,000 rpm fans, when the power supply fan control speed is less than m1, the system fan control speed is not compensated; when the power supply fan control speed is greater than m1 and less than m2, if the system fan control speed is less than n1, then the system fan control speed needs to be compensated and assigned the value n1; when the power supply fan control speed is greater than m2, if the system fan control speed is less than n2, then the system fan control speed needs to be compensated and assigned the value n2. Through this method, when the speed difference between the system fan and the power supply fan is large, increasing the system fan control speed can alleviate the heat dissipation pressure on the power supply fan, making the overall speed of the system and power supply fans more balanced, ensuring sufficient heat dissipation while minimizing noise.
[0063] Step S108: Control the rotation of the first side fan based on the first control speed, and control the rotation of the second side fan based on the compensation control speed.
[0064] In step S108, based on the obtained first control speed of the first-side fan and the compensated control speed of the second-side fan, the speed control of the first-side fan and the second-side fan is performed respectively. This can achieve a balance between the fans on both sides of the communication device while effectively dissipating heat. For example, when the first side is the power supply side and the second side is the system side, and the corresponding first control speed is the power supply side fan control speed and the second control speed is the system side fan control speed, the system side fan control speed is compensated. By compensating the system side fan control speed, the heat dissipation pressure on the power supply side fan can be reduced, and the overall speed of the system side and power supply side fans can be balanced, ensuring that the heat dissipation effect is met while minimizing noise.
[0065] In an optional embodiment, the method further includes: controlling the rotation of the second side fan based on the second control speed when the first control speed is less than or equal to the first speed threshold; or controlling the rotation of the second side fan based on the second control speed when the speed difference is less than or equal to the preset difference threshold.
[0066] Optionally, if the detected first control speed is less than or equal to a first speed threshold, or the speed difference between the two fans is less than or equal to a preset difference threshold, it indicates that the control speed difference between the two fans is not significant and will not interfere with the fan's operation. In this case, the main control device (such as the system management module) will not compensate for the control speed of the second fan, but will directly use the original second control speed to control the fan's operation. This method ensures the flexibility of the control strategy; that is, when the fan speed difference is not significant, the original control speed is maintained, avoiding unnecessary control adjustments, thereby ensuring the stability and efficiency of the system.
[0067] In an optional embodiment, the method further includes: obtaining the power supply status corresponding to the first side fan and the second side fan respectively, wherein the power supply status includes the power supply voltage supplied to the fan and / or the current flowing through the fan; and determining abnormal operation information of the first side fan and the second side fan based on the power supply status, wherein the abnormal operation information includes whether the corresponding fan is in a fault state, and / or the fault type when it is in a fault state.
[0068] Optionally, the main control device (such as the system management module) can not only acquire the fan speed information on both sides of the communication device, but also further monitor the power supply status of each fan, including, but not limited to, the power supply voltage supplied to the fan and / or the current flowing through the fan. Based on the monitored power supply status, the system management module can identify whether there are any abnormal operating conditions in the first and second side fans. Abnormal operating information includes not only whether the fan is in a faulty state, but also further classifies the fault type, such as low voltage, high current, short circuit, etc. For example, when a fan power supply voltage is detected to be too low, the system management module can appropriately reduce the fan load to avoid further damage; while when the current is abnormally high, it may be necessary to urgently stop the machine or adjust the fan speed to prevent overheating or circuit failure. This allows for a comprehensive assessment of the fan's operational health, timely detection and location of possible fault types, and efficient and accurate identification of fan faults.
[0069] In one optional embodiment, obtaining the power supply status corresponding to the first side fan and the second side fan respectively includes: determining the second switching frequency corresponding to the second switching switch, wherein the second switching frequency represents the speed at which the second switching switch switches between signals of different fans; controlling the second switching switch to alternately connect to the first side fan and the second side fan according to the second switching frequency, and collecting the power supply status corresponding to the first side fan and the second side fan respectively.
[0070] Optionally, to effectively monitor multiple fans, the main control device (such as the system management module) needs to determine the switching frequency of the second switch (i.e., the second switching frequency). This second switching frequency determines the speed at which signals are switched between different fans. According to the determined second switching frequency, the system management module controls the second switch to poll between all fans on the first side (e.g., the power supply side) and the second side (e.g., the system side). In this way, the power supply voltage and current information of fans on both the power supply side and the system side can be periodically collected. That is, in the above method, by setting the second switching frequency, the second switch is dynamically controlled to alternately acquire the power supply status information of fans on the power supply side and the system side, including power supply voltage and current. This method ensures efficient and uniform monitoring of the power supply status of all fans even under limited hardware conditions, timely detection of potential faults or abnormalities, and improvement of the overall operational stability and maintenance efficiency of the communication equipment.
[0071] Optionally, but not limited to, when the total number of fans is large or the system management module I / O resources and ADCs are small, for example, when the total number of fans is greater than a preset first number, the number of I / O modules is less than a preset second number, and the number of ADCs is less than a preset third number, a second switching switch can be set in the fan control system of the communication equipment, and the switching control of the second switching switch and the alternating acquisition of the power supply status of each fan can be performed using the method of this embodiment. In this way, even with limited hardware resources, the real-time power supply status information of all fans can be obtained efficiently and accurately through the switching control of the switching switch.
[0072] Through the above steps S102 to S108, the control speed of the two fans can be monitored, their speed difference can be calculated, and the control speed of the second fan can be adjusted based on the speed difference to achieve a balance with the speed of the first fan. This optimizes the heat dissipation effect of the entire communication equipment system, reduces noise caused by fan speed differences, and improves the user experience. This solves the technical problem that in communication equipment systems, the independent control of fans on different sides (such as the power supply side and the system side) leads to inconsistent speeds, which can easily cause uneven heat dissipation and noise.
[0073] According to an embodiment of this application, a system embodiment for implementing the fan control method of the above-described communication device is also provided. Figure 3 This is a schematic diagram of the structure of a fan control system for a communication device according to an embodiment of this application, as shown below. Figure 3 As shown, the fan control system of the above-mentioned communication equipment includes:
[0074] First side fan 300, wherein the first side fan is a fan installed on the first side of the communication equipment;
[0075] Second side fan 302, wherein the second side fan is a fan installed on the second side of the communication equipment;
[0076] The main control device 304 is used to execute any of the above-mentioned fan control methods of the communication device.
[0077] Optionally, the first and second side fans can be respectively located on the power supply side and system side of the communication equipment, responsible for cooling their respective areas. Setting fans on different sides allows for targeted solutions to the cooling needs of different areas, improving cooling efficiency. The main control device (which can be a system management module) is the core of the entire fan control system, responsible for executing any of the aforementioned fan control methods for the communication equipment. This means that the main control device can not only acquire the control speeds of the two fans, determine the speed difference, and compensate for the fan control strategy based on the speed difference, but also monitor the power supply status of the fans, identify abnormal operating information, and make intelligent control decisions based on this information. In the above fan control system architecture of the communication equipment, through the collaborative work of the first side fan, the second side fan, and the main control device, dynamic balanced control of fan speeds and real-time monitoring of power supply status can be achieved, thereby enhancing the overall cooling performance and stability of the communication equipment.
[0078] Optional, as before Figure 2 As shown, the fan control system of the communication equipment may include a system management module (i.e., the main control device) and a fan module. The system management module may be an MCU, CPU, etc.; the fan module is divided into a power supply side fan and a system side fan; the power supply side and the system side are respectively equipped with temperature sensors to monitor the temperature of the corresponding side area; the system management module can realize the acquisition of temperature and fan data of the power supply side and the system side, including information such as voltage, current, and speed, and control the fan through pulse width modulation (PWM) signals.
[0079] In an optional embodiment, the system further includes a first filtering module, wherein the first filtering module is connected to a first side fan and a second side fan, and is used to filter the first actual speed of the first side fan and the second actual speed of the second side fan, and send the filtered first actual speed and the filtered second actual speed to the main control device.
[0080] Optionally, the first filtering module is designed to connect to both the first and second side fans. Its main function is to filter the actual fan speed signals. Filtering eliminates or reduces random noise and fluctuations in the signal, ensuring that the final speed information sent to the main control device is more accurate and stable. The first filtering module receives speed signals from the first and second side fans (such as power supply side fans and system side fans). These signals may contain noise due to power fluctuations, mechanical vibrations, or instability in the sensors themselves. Filtering removes this noise, resulting in smoother signal waveforms, namely the filtered first and second actual speeds. The processed speed signals are then sent to the main control device, which uses this more accurate and stable speed information to execute the remaining steps of the fan control method, such as calculating the speed difference and adjusting the control strategy. By configuring the first filtering module, the processing accuracy of the actual fan speed signals can be significantly improved, signal noise reduced, fan status judgment more accurate, stable operation in various working environments enhanced, and overall robustness and reliability improved.
[0081] In an optional embodiment, the system further includes: a first switching switch, wherein the first switching switch is used to control the first side fan and the second side fan to be connected to the first filter module in turn according to a first switching frequency, and to forward the first actual speed and the second actual speed to the first filter module.
[0082] Optionally, a first switching switch is located between the fans and the first filtering module in the system. Its main function is to quickly switch signals between different fans, ensuring that the speed signal of each fan can be collected in a timely manner and then transmitted to the first filtering module. The first switching frequency is the frequency at which the first switching switch switches between different fan signals, which determines the acquisition period of the speed signal. This frequency can be set by comprehensively considering information such as the total number of fans, system resource limitations, and signal processing speed, in order to achieve the goal of efficiently acquiring all fan speed signals with limited resources. When there are multiple fans in the communication device, the first switching switch controls the signals of the first-side fans and the second-side fans (such as multiple first-side fans and multiple second-side fans) to be connected to the first filtering module in turn according to the set first switching frequency. In this way, even under resource constraints, it can be ensured that the actual speed of each fan can be accurately measured and filtered. The setting of the first switching switch can significantly improve the efficiency of acquiring the speed signal of each fan, and even when the communication device is equipped with a large number of fans, it can ensure that the signal of each fan is processed fairly and in a timely manner.
[0083] Optional, Figure 4 This is a second system architecture diagram of an optional communication device fan control according to an embodiment of this application, such as... Figure 4As shown, when the total number of fans is large or the system management module I / O resources and ADCs are limited—for example, when the total number of fans is greater than a preset first number, the number of I / O modules is less than a preset second number, and the number of ADCs is less than a preset third number—the actual rotational speeds of each fan (i.e., fan speed 1, fan speed 2, ..., fan speed n) are collected and transmitted to the first filtering module via a switch. After filtering by the first filtering module, the data is then transmitted to the system management module. Since the fan speed is generally generated by the corresponding square wave signal output by its internal Hall sensor, no external conversion is required.
[0084] In an optional embodiment, the system further includes: a power supply state conversion module corresponding to the first side fan and the second side fan respectively, and a second filtering module, wherein the power supply state conversion module is used to convert the power supply state of the corresponding fan to a predetermined state range and send the converted power supply state to the second filtering module, wherein the predetermined state range is the power supply state range supported by the main control device; the second filtering module is used to filter the converted power supply states corresponding to the first side fan and the second side fan respectively, and send the filtered power supply states corresponding to the first side fan and the second side fan respectively to the main control device.
[0085] Optionally, the power supply status conversion module is responsible for converting the power supply status (such as voltage and current) of the first and second side fans to a predetermined range, which is supported and processed by the main control device. This process is crucial for signal standardization and adaptability, ensuring consistency in format and range of the raw power supply data collected from different fans, facilitating unified processing by the main control device (such as the system management module). The converted power supply status is then sent to the second filtering module, which further purifies the data, eliminating potential fluctuations and noise, ensuring that the main control device receives the most accurate and stable power supply status information. The power supply status data originates from the fans, undergoes standardization processing by the power supply status conversion module, is then filtered by the second filtering module, and finally transmitted to the main control device. This entire process guarantees the quality of the power supply status data, enabling it to serve as reliable input for the formulation and execution of fan control strategies.
[0086] In one optional embodiment, when the power supply state is the power supply voltage supplied to the fan, the power supply state conversion module is a voltage conversion module, wherein the voltage conversion module is constructed based on a voltage divider resistor or an operational amplifier; or when the power supply state is the current flowing through the fan, the power supply state conversion module is a current conversion module, wherein the current conversion module is used to convert the current signal flowing through the fan into a corresponding voltage signal.
[0087] Optionally, when the power supply status involves the power supply voltage to the fan, the power supply status conversion module specifically manifests as a voltage conversion module. This voltage conversion module can be built based on voltage divider resistors or operational amplifiers (op-amps), with the aim of converting the original voltage signal into a signal within a suitable range for subsequent processing (such as ADC acquisition). The voltage divider resistor scheme is simple and suitable for initial voltage signal adjustment; while the op-amp-based scheme can provide more accurate voltage signal conversion and is suitable for applications with high requirements for signal quality and stability.
[0088] Optionally, when the power supply status focuses on the current flowing through the fan, the power supply status conversion module transforms into a current conversion module. The main task of the current conversion module is to convert the current signal into a corresponding voltage signal for subsequent signal processing and analysis. This conversion process can be accomplished using a current-to-voltage conversion circuit (I / V conversion circuit), which can be constructed from discrete components (such as diodes and resistors) or implemented using a dedicated current-to-voltage conversion chip. Selecting a suitable conversion module (such as a voltage conversion module based on voltage divider resistors, or a current conversion module based on an I / V conversion circuit) ensures that the signal is not distorted during conversion, providing an accurate basis for subsequent data analysis and fan control. By adopting a standard signal conversion scheme, complex power supply status information can be processed with minimal resources, avoiding redundant design and improving resource utilization efficiency.
[0089] Optional, Figure 5 This is a third system architecture diagram for fan control of an optional communication device according to an embodiment of this application. Under power supply conditions, including the power supply voltage to the fans, when the total number of fans is small or the system management module I / O resources and ADC are large, the following can be adopted: Figure 5 The illustrated scheme, for example, when the total number of fans is less than or equal to a preset fourth number, the number of I / O modules is greater than or equal to a preset fifth number, and the number of ADCs is greater than or equal to a preset sixth number, the voltages of each fan (i.e., fan voltage 1, fan voltage 2, ..., fan voltage n) are sequentially converted and filtered by a voltage conversion module and a filtering module before being directly sent to the system management module for acquisition. This allows for flexible speed adjustment of the fans on both sides of the communication device using fewer components. When the power supply state includes the current flowing through the fans, the corresponding system architecture is the same as when the power supply state includes the power supply voltage supplied to the fans, and will not be elaborated here. The difference lies in the fact that when the power supply state includes the current flowing through the fans, the corresponding power supply state conversion module is a current conversion module.
[0090] In an optional embodiment, the system further includes a second switching switch, wherein the second switching switch is disposed between the power supply state conversion module and the second filtering module, and is used to alternately connect the converted power supply state conversion modules corresponding to the first side fan and the second side fan to the second filtering module according to a second switching frequency, and forward the converted power supply states corresponding to the first side fan and the second side fan to the second filtering module.
[0091] Optionally, a second switching switch is located between the power supply status conversion module and the second filtering module, functioning similarly to the first switching switch. However, it focuses on switching power supply status signals, rather than speed signals. By controlling the second switching frequency, the second switching switch ensures that the power supply status information of the first and second fans can be sequentially and alternately sent to the second filtering module for further data processing. The second switching frequency refers to the rate at which the second switching switch switches between different fan power supply status signals. It is used to balance the timeliness of signal acquisition and the occupation of system resources, ensuring that the power supply status of each fan can be accurately captured and processed within a sufficient time, while avoiding excessive consumption of the main control device's processing power. After the power supply status information is output from the power supply status conversion module, it is first scheduled by the second switching switch and rotated according to the second switching frequency. Then, this information is sent to the second filtering module for filtering to eliminate noise and interference in the signal. Finally, the processed signal is forwarded to the main control device as the basis for the fan control strategy. The setting of the second switching switch allows for the efficient acquisition and processing of all fan power supply status information in a multi-fan environment, even with limited resources of the main control device, ensuring the system's adaptability to complex environments.
[0092] Optional, Figure 6 This is a fourth system architecture diagram for fan control of an optional communication device according to an embodiment of this application. Under power supply conditions, including the current flowing through the fans, when the total number of fans is large or the system management module I / O resources and ADCs are small—for example, when the total number of fans is greater than a preset first number, the number of I / O modules is less than a preset second number, and the number of ADCs is less than a preset third number—the following measures can be taken: Figure 6The scheme shown converts the fan voltage to a voltage converter before sending it to a switching switch. The voltage then passes through a filtering module to reach the system management module, which controls the switching switch to sample different channels. The voltage conversion module includes, but is not limited to, a voltage divider resistor network or an operational amplifier, ensuring the converted voltage range meets the requirements of both the switching switch and the system management module. The switching switch, controlled by the system management module, uses time-division multiplexing to select different channels. The filtering module includes, but is not limited to, a passive resistor-capacitor network (RC) or an active first-order module. The system management module includes an ADC for signal acquisition and processing, and the switching frequency can be adjusted based on the total number of fans.
[0093] Optional, Figure 7 This is a fifth system architecture diagram for fan control of an optional communication device according to an embodiment of this application. Under power supply conditions, including the current flowing through the fans, when the total number of fans is large or the system management module I / O resources and ADCs are small—for example, when the total number of fans is greater than a preset first number, the number of I / O modules is less than a preset second number, and the number of ADCs is less than a preset third number—the following can be adopted: Figure 7 The scheme shown is similar to the voltage acquisition scheme. The currents of different fans (i.e., fan current 1, fan current 2, ..., fan current n) are acquired and converted by the current conversion module. Then, they are transferred to the filtering module via the switching switch. After being filtered by the filtering module, they are transmitted to the system management module. The difference is that the current conversion module includes, but is not limited to, using discrete operational amplifiers or dedicated current / voltage (I / V) conversion chips.
[0094] In one optional embodiment, the main control device is provided with an analog-to-digital converter, wherein the analog-to-digital converter is used to convert the received data from analog signal form into digital signal form that the main control device can process, wherein the received data includes at least one of the following: the actual speed of the fan, the power supply voltage supplied to the fan, the current flowing through the fan, the first temperature data on the first side, and the second temperature data on the second side.
[0095] Optionally, the function of the ADC is to convert analog signals received from fans and other sensors into digital signals. Analog signals, such as voltage, current, and temperature readings, are typically continuously changing signal sources, while digital signals are a series of discrete values, more suitable for processing by modern microprocessors or controllers (such as MCUs). Through the ADC, the main control device can understand and analyze these physical signals to make decisions. The received data includes the actual fan speed, the power supply voltage to the fan, the current flowing through the fan, and temperature data from both the first and second sides. This data is often acquired in analog signal form; after being converted into digital signals by the ADC, the main control device can perform efficient data processing and analysis, including fan control strategy formulation, temperature monitoring, and system fault diagnosis. The ADC is a key component integrated into the main control device. It works closely with power state transition modules, filtering modules, etc., to ensure that data collected from various sensors can be seamlessly converted into digital signals for use by the main control device. The integration of the analog-to-digital converter ensures that analog signals acquired from sensors can be quickly and accurately converted into digital signals, paving the way for subsequent data processing.
[0096] It should be noted that in this application Figures 3 to 7 The specific structure of the fan control system of the communication device shown is merely illustrative. In practical applications, the fan control system of the communication device in this application can be more advanced than... Figures 3 to 7 The fan control system of the communication equipment shown has more or less structure.
[0097] It should be noted that any optional or preferred fan control method for the communication device in the above method embodiments can be executed or implemented in the fan control system of the communication device provided in this embodiment.
[0098] Furthermore, it should be noted that the optional or preferred implementation methods of this embodiment can be found in the relevant descriptions in the method embodiments, which will not be repeated here.
[0099] Based on the above embodiments and optional embodiments, this application proposes an optional implementation method. Figure 8 This is a flowchart of an optional fan control method for a communication device according to an embodiment of this application, such as... Figure 8 As shown, this method can be applied to Figures 2 to 7 In any system framework, the method includes:
[0100] First, acquire the temperature information from both the system side and the power supply side. Then, based on the relevant information from the system side (such as temperature), obtain the fan control value (i.e., fan control speed). Next, compensate the system side fan control speed based on the power supply side fan control speed. Finally, transmit the compensated fan control speed to the system side fan. For example, if both the power supply side and the fan side use 18000rpm fans, when the power supply side fan control speed is less than m1, no compensation is made to the system side fan control speed. When the power supply side fan control speed is greater than m1 but less than m2, if the system side fan control speed is less than n1 at this time, compensation is needed, and the system side fan control speed is assigned the value n1. When the power supply side fan control speed is greater than m2, if the system side fan control speed is less than n2 at this time, compensation is needed, and the system side fan control speed is assigned the value n2. Through this method, when there is a large difference between the system side fan and the power supply side fan speed, increasing the system side fan control speed can alleviate the heat dissipation pressure on the power supply side fan, making the overall speed of the system side and power supply side fans more balanced, ensuring sufficient heat dissipation while minimizing noise.
[0101] This embodiment also provides a fan control device for a communication device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the terms "module" and "device" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0102] According to an embodiment of this application, an apparatus embodiment for implementing the fan control method of the above-described communication device is also provided. Figure 9 This is a schematic diagram of the structure of a fan control device for a communication device according to an embodiment of this application, as shown below. Figure 9 As shown, the fan control device of the aforementioned communication equipment includes: a speed acquisition module 900, a speed difference determination module 902, a speed compensation module 904, and a fan control module 906, wherein:
[0103] The rotation speed acquisition module 900 is used to acquire the first control rotation speed of the first side fan and the second control rotation speed of the second side fan of the communication device, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, wherein the system side is the part of the communication device responsible for data processing and network communication functions, and the first control rotation speed is greater than the second control rotation speed.
[0104] The speed difference determination module 902 is connected to the speed acquisition module 900 and is used to determine the speed difference between the first control speed and the second control speed.
[0105] Speed compensation module 904, connected to a compensation control speed for determining the second-side fan speed based on the speed difference;
[0106] The fan control module 906 is connected to the speed compensation module 904 and is used to control the rotation of the first side fan based on the first control speed and to control the rotation of the second side fan based on the compensation control speed.
[0107] In this embodiment, a speed acquisition module 900 is provided to acquire the first control speed of the first-side fan and the second control speed of the second-side fan of the communication device. The first side is the power supply side of the communication device, and the second side is the system side of the communication device; or the first side is the system side of the communication device, and the second side is the power supply side of the communication device. The system side is the part of the communication device responsible for data processing and network communication functions, and the first control speed is greater than the second control speed. A speed difference determination module 902 is connected to the speed acquisition module 900 to determine the speed difference between the first and second control speeds. A speed compensation module 904 is connected to determine the compensation control speed of the second-side fan based on the speed difference. The fan control module 906, connected to the speed compensation module 904, is used to control the rotation of the first fan based on a first control speed and to control the rotation of the second fan based on a compensation control speed. This achieves the goal of monitoring the control speeds of the two fans, calculating their speed difference, and adjusting the control speed of the second fan based on this speed difference to achieve a balance with the speed of the first fan. This optimizes the heat dissipation effect of the entire communication equipment system, reduces noise caused by fan speed differences, and improves the user experience. It also solves the technical problem that in communication equipment systems, the independent control of fans on different sides (such as the power supply side and the system side) leads to inconsistent speeds, which can easily cause uneven heat dissipation and noise.
[0108] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0109] It should be noted that the speed acquisition module 900, speed difference determination module 902, speed compensation module 904, and fan control module 906 mentioned above correspond to steps S102 to S108 in the embodiments. The examples and application scenarios implemented by the above modules and their corresponding steps are the same, but they are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can run on a computer terminal.
[0110] It should be noted that the optional or preferred implementation methods of this embodiment can be found in the relevant descriptions in the embodiments, and will not be repeated here.
[0111] The fan control device of the aforementioned communication equipment may also include a processor and a memory. The speed acquisition module 900, speed difference determination module 902, speed compensation module 904, fan control module 906, etc., are all stored in the memory as program modules, and the processor executes the aforementioned program modules stored in the memory to realize the corresponding functions.
[0112] According to an embodiment of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to execute any of the above-mentioned fan control methods of the communication device.
[0113] According to an embodiment of this application, an electronic device is provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the above-described fan control methods for communication devices.
[0114] According to an embodiment of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the fan control method of any of the above-described communication devices.
[0115] The order of the embodiments described above is merely for illustrative purposes and does not represent the superiority or inferiority of the embodiments.
[0116] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0117] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of modules described above can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between modules, and may be electrical or other forms.
[0118] The modules described above as separate components may or may not be physically separate. Similarly, the components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple modules. Some or all of the modules can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0119] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0120] If the aforementioned integrated modules are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a non-volatile storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned non-volatile storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0121] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make several improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A fan control method for a communication device, characterized in that, include: The first control speed of the first side fan and the second control speed of the second side fan of the communication device are obtained, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, wherein the system side is the part of the communication device responsible for data processing and network communication functions, and the first control speed is greater than the second control speed. Determine the speed difference between the first controlled speed and the second controlled speed; Determining the compensation control speed of the second-side fan based on the speed difference includes: detecting whether the speed difference is greater than a preset difference threshold; and determining the compensation control speed based on the speed difference if the speed difference is greater than the preset difference threshold. The first side fan is controlled to rotate based on the first control speed, and the second side fan is controlled to rotate based on the compensation control speed; When the preset difference threshold includes a first difference threshold and a second difference threshold, determining the compensation control speed based on the speed difference when the speed difference is greater than the preset difference threshold includes: determining the compensation control speed as a first compensation speed when the first control speed is greater than the first speed threshold and less than the second speed threshold, and the speed difference is greater than the first difference threshold, wherein the first compensation speed is less than or equal to the first speed threshold; or determining the compensation control speed as a second compensation speed when the first control speed is greater than or equal to the second speed threshold, and the speed difference is greater than the second difference threshold, wherein the second compensation speed is greater than the first compensation speed and less than or equal to the second speed threshold.
2. The method according to claim 1, characterized in that, The method further includes: When the first control speed is less than or equal to the first speed threshold, the second side fan is controlled to rotate based on the second control speed; or When the speed difference is less than or equal to the preset difference threshold, the second side fan is controlled to rotate based on the second control speed.
3. The method according to claim 1, characterized in that, The acquisition of the first control speed of the first-side fan and the second control speed of the second-side fan of the communication device includes: Acquire the first temperature data of the first side and the second temperature data of the second side; The first actual rotational speed of the first side fan and the second actual rotational speed of the second side fan are collected. The first control speed is determined based on the first temperature data and the first actual rotation speed; The second control speed is determined based on the second temperature data and the second actual speed.
4. The method according to claim 3, characterized in that, The acquisition of the first actual rotational speed of the first side fan and the second actual rotational speed of the second side fan includes: Determine the first switching frequency corresponding to the first switching switch, wherein the first switching frequency represents the speed at which the first switching switch switches between signals from different fans; According to the first switching frequency, the first switching switch is controlled to alternately connect the first side fan and the second side fan, and the first actual speed and the second actual speed are collected.
5. The method according to claim 4, characterized in that, Determining the first switching frequency corresponding to the first switching switch includes: Determine the total number of fans in the communication device, including the first-side fan and the second-side fan; The first switching frequency is determined based on the total number of fans.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Obtain the power supply status corresponding to the first side fan and the second side fan respectively, wherein the power supply status includes the power supply voltage supplied to the fan and / or the current flowing through the fan; Based on the power supply status, abnormal operation information of the first-side fan and the second-side fan is determined, wherein the abnormal operation information includes whether the corresponding fan is in a fault state, and / or the fault type when it is in the fault state.
7. The method according to claim 6, characterized in that, The step of obtaining the power supply status of the first side fan and the second side fan respectively includes: Determine the second switching frequency corresponding to the second switching switch, wherein the second switching frequency represents the speed at which the second switching switch switches between signals from different fans; According to the second switching frequency, the second switching switch is controlled to alternately connect to the first side fan and the second side fan, and the power supply status of the first side fan and the second side fan is collected respectively.
8. A fan control system for a communication device, characterized in that, include: A first-side fan, wherein the first-side fan is a fan disposed on the first side of the communication device; The second side fan is a fan disposed on the second side of the communication device; A main control device, wherein the main control device is used to execute the fan control method of the communication device according to any one of claims 1 to 7.
9. The system according to claim 8, characterized in that, The system further includes: a first filtering module, wherein, The first filtering module is connected to the first side fan and the second side fan, and is used to filter the first actual speed of the first side fan and the second actual speed of the second side fan, and send the filtered first actual speed and the filtered second actual speed to the main control device.
10. The system according to claim 9, characterized in that, The system further includes: a first switching switch, wherein... The first switching switch is used to control the first side fan and the second side fan to be connected to the first filtering module in turn according to the first switching frequency, and to forward the first actual speed and the second actual speed to the first filtering module.
11. The system according to claim 8, characterized in that, The system further includes: power supply state conversion modules corresponding to the first side fan and the second side fan, respectively, and a second filtering module, wherein... The power supply state conversion module is used to convert the power supply state of the corresponding fan to a predetermined state range, and send the converted power supply state to the second filtering module, wherein the predetermined state range is the power supply state range supported by the main control device; The second filtering module is used to filter the converted power supply status corresponding to the first side fan and the second side fan respectively, and send the filtered power supply status corresponding to the first side fan and the second side fan respectively to the main control device.
12. The system according to claim 11, characterized in that, The system further includes: a second switching switch, wherein... The second switching switch is located between the power supply state conversion module and the second filtering module, and is used to alternately connect the converted power supply state conversion modules corresponding to the first side fan and the second side fan to the second filtering module according to the second switching frequency, and forward the converted power supply states corresponding to the first side fan and the second side fan to the second filtering module.
13. The system according to claim 11, characterized in that, When the power supply state is the power supply voltage for the fan, the power supply state conversion module is a voltage conversion module, wherein the voltage conversion module is constructed based on voltage divider resistors or operational amplifiers; or When the power supply state is that the current flows through the fan, the power supply state conversion module is a current conversion module, wherein the current conversion module is used to convert the current signal flowing through the fan into a corresponding voltage signal.
14. The system according to claim 11, characterized in that, The main control device is equipped with an analog-to-digital converter, wherein... The analog-to-digital converter is used to convert the received data from analog signal form into digital signal form that the main control device can process. The received data includes at least one of the following: the actual speed of the fan, the power supply voltage supplied to the fan, the current flowing through the fan, the first temperature data of the first side, and the second temperature data of the second side.
15. A fan control device for a communication equipment, characterized in that, include: The rotation speed acquisition module is used to acquire the first control rotation speed of the first side fan and the second control rotation speed of the second side fan of the communication device, wherein the first side is the power supply side of the communication device and the second side is the system side of the communication device; or the first side is the system side of the communication device and the second side is the power supply side of the communication device, wherein the system side is the part of the communication device responsible for data processing and network communication functions, and the first control rotation speed is greater than the second control rotation speed. The speed difference determination module is used to determine the speed difference between the first control speed and the second control speed; A speed compensation module is used to determine the compensation control speed of the second-side fan based on the speed difference; A fan control module is used to control the rotation of the first side fan based on the first control speed, and to control the rotation of the second side fan based on the compensation control speed; The device is further configured to perform the fan control method of the communication device according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the computer-readable storage medium is located to perform the fan control method of the communication device according to any one of claims 1 to 7.
17. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, executes the fan control method of the communication device according to any one of claims 1 to 7.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the fan control method for the communication device according to any one of claims 1 to 7.