Switch air direction regulation method, device, system, electronic equipment and storage medium
Patent Information
- Application Number
- CN202311785904.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2043-12-22
AI Technical Summary
通过设置在交换机上装配风扇的进风口和出风口的温度传感器分别采集进风口和出风口的温度,结合预先设置的风向转速对应关系进行风向改变调整判断,并通过马达开关切换电路对风扇的风向进行切换,解决了现有交换机生产维护成本高的问题
[0047]本申请提供的技术方案中,通过设置在交换机上装配风扇的进风口和出风口的温度传感器分别采集进风口和出风口的温度,结合预先设置的风向转速对应关系进行风向改变调整判断,并通过马达开关切换电路对风扇的风向进行切换,在不需要准备不同风向的多个交换机设备的前提下,降低了交换机应用于不同使用场景时的生产维护成本的同时,确保了交换机的散热降温效果。
Smart Images

Figure CN117759557B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, device, system, electronic device and storage medium for controlling the airflow direction of a switch. Background Technology
[0002] With the rapid development of big data and cloud computing, there are more and more types of electronic equipment such as servers and switches in the data center cabinets. The heat dissipation channels and airflow direction of these electronic devices need to be consistent. When different devices in the same cabinet have different airflow directions, there is a hot air recirculation phenomenon between the air outlet and the air inlet, which poses a risk of overheating and poor heat dissipation effect.
[0003] However, current electronic equipment in server racks is often designed for different scenarios. For example, server racks may have front-to-back airflow or back-to-front airflow. In these cases, other equipment in the rack already has a clear and fixed airflow setting. When a switch needs to be added to the rack, switches with both airflow directions need to be designed to suit the different airflow scenarios. Since the two types of switches only differ in their airflow ducts but cannot be substituted for each other, the production and maintenance costs are high. Summary of the Invention
[0004] This application provides a method, device, electronic device, and readable storage medium for controlling the airflow direction of a switch. Temperature sensors installed at the air inlet and outlet of the fan mounted on the switch collect the temperatures of the air inlet and outlet respectively. Based on a pre-set relationship between airflow direction and speed, the method determines whether to adjust the airflow direction. The fan's airflow direction is then switched via a motor switch circuit, thus solving the problem of high production and maintenance costs in existing switches.
[0005] Firstly, this application provides a method for controlling the wind direction of a switch, the method comprising:
[0006] A first temperature value is obtained by collecting data through the first temperature sensor, wherein the first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan, and the first temperature value is not affected by the switch.
[0007] The second temperature value is obtained by the second temperature sensor, wherein the second temperature sensor is located at the air outlet corresponding to the current wind direction of the fan, and the second temperature value is affected by the switch.
[0008] Collect the fan speed of the fan;
[0009] The temperature difference value corresponding to the fan speed is determined based on the correspondence between the fan speed and the preset speed-temperature difference.
[0010] Based on the first temperature value, the second temperature value, and the temperature difference value, a wind direction change adjustment judgment is made to obtain the first wind direction change adjustment judgment result.
[0011] When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, the current wind direction of the fan is switched through the motor switch switching circuit to obtain the first fan control result.
[0012] Optionally, the wind direction control method for the switch provided in this application also includes:
[0013] A third temperature value is obtained by acquiring the first temperature sensor, wherein the third temperature value is the temperature value of the first temperature sensor when the fan is at the first speed;
[0014] A fourth temperature value is obtained by acquiring the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the first speed;
[0015] A fifth temperature value is obtained by collecting data from the first temperature sensor, wherein the fifth temperature value is the temperature value of the first temperature sensor when the fan is at the second speed.
[0016] The sixth temperature value is obtained by the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the second speed;
[0017] The first temperature difference value corresponding to the first rotation speed is determined based on the third temperature value and the fourth temperature value;
[0018] The second temperature difference value corresponding to the second rotation speed is determined based on the fifth temperature value and the sixth temperature value;
[0019] Based on the first rotational speed and the corresponding first temperature difference, and the second rotational speed and the corresponding second temperature difference, a polynomial fit is performed to obtain the quadratic function Y = ax² for the rotational speed and temperature difference. 2 +bx+c, where Y is the temperature difference, x is the rotational speed, and a, b, and c are determined by fitting the first rotational speed, the first temperature difference value corresponding to the first rotational speed, the second rotational speed, and the second temperature difference value corresponding to the second rotational speed.
[0020] Optionally, the wind direction control method for the switch provided in this application also includes:
[0021] The switch is powered off, and the seventh temperature value is obtained by the first temperature sensor.
[0022] The eighth temperature value is obtained by acquiring the data through the second temperature sensor;
[0023] The ambient temperature distribution is determined based on the difference between the seventh and eighth temperature values and a pre-set difference threshold, resulting in an ambient temperature distribution determination.
[0024] When the environmental temperature distribution judgment result is that the difference between the seventh temperature value and the eighth temperature value is less than the difference threshold, the test environment is determined according to the current environment of the switch, wherein the test environment is used for the first temperature sensor to collect the third temperature value.
[0025] Optionally, the wind direction control method for the switch provided in this application also includes:
[0026] The first temperature difference value is corrected based on the difference between the seventh and eighth temperature values to obtain the corrected first temperature difference value.
[0027] The second temperature difference value is corrected based on the difference between the seventh temperature value and the eighth temperature value to obtain the corrected second temperature difference value.
[0028] Based on the first rotational speed and the corrected first temperature difference value corresponding to the first rotational speed, the corrected second temperature difference value corresponding to the second rotational speed is fitted to obtain the corrected rotational speed temperature difference correspondence.
[0029] Optionally, the wind direction control method for the switch provided in this application also includes:
[0030] When the first wind direction change adjustment judgment result is that the first temperature value is greater than the second temperature value, the motor of the dual-motor fan is switched through the motor switch switching circuit to obtain the first fan control result, wherein the two motors are not powered on at the same time.
[0031] Optionally, the wind direction control method for the switch provided in this application also includes:
[0032] When the first wind direction change adjustment judgment result is that the first temperature value is less than the second temperature value, the current wind direction of the fan is kept unchanged, and the second fan control result is obtained.
[0033] Secondly, this application also provides a switch wind direction control device, comprising:
[0034] The first temperature acquisition module is used to acquire a first temperature value through the first temperature sensor, wherein the first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan, and the first temperature value is not affected by the switch.
[0035] The second temperature acquisition module is used to acquire a second temperature value through the second temperature sensor, wherein the second temperature sensor is located at the air outlet corresponding to the current wind direction of the fan, and the second temperature value is affected by the switch;
[0036] A speed acquisition module is used to acquire the fan speed of the fan;
[0037] The temperature difference calculation module is used to determine the temperature difference value corresponding to the fan speed based on the fan speed and the pre-set correspondence between the fan speed and the temperature difference between the fan speed;
[0038] The first wind direction judgment module is used to judge the wind direction change and adjustment based on the first temperature value, the second temperature value and the temperature difference value, and to obtain the first wind direction change and adjustment judgment result.
[0039] The first fan control module is used to switch the current airflow direction of the fan through the motor switch switching circuit when the first airflow direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, so as to obtain the first fan control result.
[0040] Thirdly, this application also provides a switch wind direction control system, comprising:
[0041] A first temperature sensor is used to collect a first temperature value. The first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan. The first temperature value is not affected by the switch.
[0042] A second temperature sensor is used to collect a second temperature value. The second temperature sensor is located at the air outlet corresponding to the current airflow direction of the fan. The second temperature value is affected by the switch.
[0043] The drive control unit is used to collect the fan speed of the fan, determine the temperature difference value corresponding to the fan speed according to the fan speed and the pre-set correspondence between the fan speed and the temperature difference, make a wind direction change adjustment judgment based on the first temperature value, the second temperature value and the temperature difference value, and obtain a first wind direction change adjustment judgment result. When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, a switching command is sent to the motor switch switching circuit.
[0044] The motor switch switching circuit is used to receive the switching command sent by the drive control unit, switch the current airflow direction of the fan according to the switching command, and obtain the first fan control result.
[0045] Fourthly, this application also provides an electronic device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions being executed by the processor to implement the steps of the switch wind direction control method as described in the first aspect.
[0046] Fifthly, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the switch wind direction control method described in the first aspect.
[0047] The technical solution provided in this application collects the temperature of the air inlet and outlet of the fan mounted on the switch by using temperature sensors installed at the air inlet and outlet respectively. Combined with the pre-set wind direction and speed correspondence, the wind direction is adjusted and judged. The wind direction of the fan is switched by a motor switch switching circuit. Without the need to prepare multiple switch devices with different wind directions, the production and maintenance costs of the switch when applied to different usage scenarios are reduced, while ensuring the heat dissipation and cooling effect of the switch.
[0048] The above description is merely an overview of the technical solution provided in this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, specific embodiments of this application are described below. Attached Figure Description
[0049] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0050] Figure 1 This is one of the schematic diagrams of the airflow direction control method for switches provided in the embodiments of this application;
[0051] Figure 2 This is the second schematic diagram of the airflow direction control method for switches provided in the embodiments of this application;
[0052] Figure 3 This is an example of a rotation speed and temperature difference correspondence provided in this application;
[0053] Figure 4 This is the third schematic diagram of the airflow direction control method for switches provided in the embodiments of this application;
[0054] Figure 5 This is the fourth schematic diagram of the airflow direction control method for switches provided in the embodiments of this application;
[0055] Figure 6 This is the fifth schematic diagram of the airflow direction control method for switches provided in the embodiments of this application;
[0056] Figure 7 This is the sixth schematic diagram of the airflow direction control method for switches provided in the embodiments of this application;
[0057] Figure 8 This is an example of a switch structure provided in this application;
[0058] Figure 9 This application provides an example of a switch wind direction control process;
[0059] Figure 10 This is a schematic diagram of the airflow direction control device for the switch provided in the embodiments of this application;
[0060] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0061] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.
[0062] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0063] With the rapid development of big data and cloud computing, the variety of electronic devices such as servers and switches in data center racks is increasing. The cooling airflow and direction of these devices need to be consistent. When different devices in the same rack have different airflow directions, hot air recirculation can occur between the air vents and inlets, potentially causing the devices to operate at temperatures higher than their intended operating temperature, posing an overheating risk and affecting cooling performance. However, current rack-mounted electronic devices are often designed for different scenarios. For example, some data center racks may have a front-to-back airflow direction or a back-to-front airflow direction. In these cases, other devices in the rack already have clearly defined and fixed airflow directions. When adding switches, it's necessary to design switches with both airflow directions to suit different rack requirements. This not only increases production and maintenance costs but also carries the risk of incorrect orientation during application assembly.
[0064] For example, if there are both racks with rear-in / front-out airflow and racks with front-in / rear-out airflow, the switches for the rear-in / front-out airflow and the front-in / rear-out airflow need to be placed in their respective racks to avoid overheating caused by hot air recirculation due to opposite airflow directions. However, these two types of switches, while differing only in airflow direction, cannot be substituted for each other, resulting in high production and maintenance costs. Furthermore, during application assembly, switches are prone to being mixed up; installing switches with reversed or opposite directions into a rack renders the rack unusable, further reducing rack assembly efficiency.
[0065] The airflow direction control method for switches provided in this application collects the temperature of the air inlet and outlet by installing temperature sensors at the air inlet and outlet of the fan mounted on the switch, respectively. It judges the change of airflow direction by combining the pre-set correspondence between airflow direction and speed, and switches the airflow direction of the fan by switching the motor switch circuit. Without the need to prepare multiple switch devices with different airflow directions, it reduces the production and maintenance costs of the switch when it is used in different application scenarios, while ensuring the heat dissipation and cooling effect of the switch.
[0066] The following description, in conjunction with the accompanying drawings, details the switch wind direction control method, apparatus, electronic device, and non-volatile readable storage medium provided in this application through specific embodiments and application scenarios.
[0067] The first embodiment of this application relates to a method for controlling the wind direction of a power switch, such as... Figure 1 As shown, an airflow control system for a power switch is described. The system includes a power switch, a first temperature sensor, a second temperature sensor, a fan, and a motor switching circuit.
[0068] Step 101: Obtain a first temperature value through the first temperature sensor, wherein the first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan, and the first temperature value is not affected by the switch;
[0069] Step 102: Obtain a second temperature value through the second temperature sensor, wherein the second temperature sensor is located at the air outlet corresponding to the current wind direction of the fan, and the second temperature value is affected by the switch;
[0070] Step 103: Collect the fan speed of the fan;
[0071] Step 104: Determine the temperature difference value corresponding to the fan speed based on the fan speed and the preset correspondence between the fan speed and the temperature difference;
[0072] Step 105: Based on the first temperature value, the second temperature value, and the temperature difference value, determine the wind direction change adjustment to obtain the first wind direction change adjustment judgment result;
[0073] Step 106: When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, the current wind direction of the fan is switched through the motor switch switching circuit to obtain the first fan control result.
[0074] Specifically, the airflow control method for a switch provided in this application firstly collects the temperature at the locations of a first temperature sensor located at the air inlet of the fan in the current airflow direction and a second temperature sensor located at the air outlet of the fan in the current airflow direction, respectively, to obtain a first temperature value and a second temperature value. The current airflow direction of the fan is preset by the system, for example, set to an in-forward, out-of-back airflow direction, to achieve airflow from the head to the tail of the switch, carrying away heat from the various modules within the switch and achieving a heat dissipation effect. Both the first and second temperature sensors are independent of the switch's system airflow duct; for example, the first temperature sensor is located on the left side of the PCB of the switch's head, and the second temperature sensor is located on the right side of the switch's tail. Furthermore, the first temperature sensor is not affected by the heat from the multiple modules within the switch; for example, the optical modules within the switch do not affect the measurement results of the first temperature sensor. The temperature detected by the first temperature sensor is only used to characterize the temperature value at the head of the switch. The second temperature sensor, located at the tail of the switch, can receive heat transmitted by the fan. The temperature detected by the second temperature sensor is affected not only by the tail of the switch but also by the multiple modules within the switch.
[0075] Subsequently, the fan speed inside the switch is collected, and a determination is made as to whether airflow adjustment is needed based on the first temperature value detected by the first temperature sensor, the second temperature value detected by the second temperature sensor, and the fan speed. Specifically, the theoretical temperature difference corresponding to the current fan speed is calculated using a pre-set correspondence between fan speed and temperature difference. This temperature difference value is used because the actual temperature distribution in the chassis environment is not uniform. The second temperature value may not be the same as the sum of the first temperature value and the temperature difference value. Therefore, the sum of the temperature difference value and the first temperature value needs to be compared with the second temperature value. When the sum of the first temperature value and the temperature difference value is less than the second temperature value, it indicates that the ambient temperature of the chassis environment at the rear of the switch is higher, and the ambient temperature of the chassis environment at the front of the switch is lower. The overall chassis airflow is also in the same direction as the switch, and there is no need to worry about hot air recirculation or equipment overheating. When the sum of the first temperature value and the temperature difference value is greater than the second temperature value, it indicates that the ambient temperature of the chassis located at the rear of the switch is lower, while the ambient temperature of the chassis located at the front of the switch is higher. The overall airflow direction of the chassis is rear-in, front-out, opposite to the airflow direction of the switch. This front-in, rear-out airflow causes the temperature at the rear of the switch to rise, creating hot air recirculation. This, in turn, causes the operating ambient temperature of other components located at the rear of the switch to rise, leading to overheating. At this point, the fan circuit is switched via a motor switch to adjust the airflow direction of the fan inside the switch from front-in, rear-out to rear-in, front-out, ensuring that the airflow direction of the switch is completely consistent with the overall airflow direction within the entire cabinet chassis, thus obtaining the first fan control result.
[0076] For example, the temperature data collected by the first temperature sensor is Y. A The temperature data collected by the second temperature sensor is Y. B At this point, the fan speed is N. Based on the relationship between fan speed and temperature difference, such as a function that fits the fan speed and temperature difference, the temperature difference value Y corresponding to fan speed N is determined. Then, Y is... A Add to Y and combine with Y B Perform a size comparison, when Y B Greater than Y A When summed with Y, it indicates that the overall temperature distribution of the chassis is such that the ambient temperature where the first temperature sensor is located is lower than the ambient temperature where the second temperature sensor is located, and the overall airflow direction of the chassis is from the first temperature sensor to the second temperature sensor, which is consistent with the current airflow direction of the switch fan, so no fan direction adjustment is required; when Y B Less than Y A When the sum is added to Y, it indicates that the overall temperature distribution of the chassis is such that the ambient temperature where the first temperature sensor is located is greater than the ambient temperature where the second temperature sensor is located, and the overall airflow direction of the chassis is from the second temperature sensor to the first temperature sensor, which is inconsistent with the current airflow direction of the switch fan, so the fan airflow direction needs to be adjusted.
[0077] The technical solution provided in this application collects the temperature of the air inlet and outlet of the fan mounted on the switch by using temperature sensors installed at the air inlet and outlet respectively. Combined with the pre-set wind direction and speed correspondence, the wind direction is adjusted and judged. The wind direction of the fan is switched by a motor switch switching circuit. Without the need to prepare multiple switch devices with different wind directions, the production and maintenance costs of the switch when applied to different usage scenarios are reduced, while ensuring the heat dissipation and cooling effect of the switch.
[0078] Based on the above implementation methods, such as Figure 2 As shown, the temperature difference value includes a first temperature difference value and a second temperature difference value. In the airflow direction control method for the switch provided in this application, before step 104, the following steps are also included:
[0079] Step 171: Obtain a third temperature value by acquiring the first temperature sensor, wherein the third temperature value is the temperature value of the first temperature sensor when the fan is at the first speed;
[0080] Step 172: Obtain a fourth temperature value through the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the first speed;
[0081] Step 173: Obtain a fifth temperature value through the first temperature sensor, wherein the fifth temperature value is the temperature value of the first temperature sensor when the fan is at the second speed;
[0082] Step 174: Obtain a sixth temperature value through the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the second speed;
[0083] Step 175: Determine the first temperature difference value corresponding to the first rotational speed based on the third temperature value and the fourth temperature value;
[0084] Step 176: Determine the second temperature difference value corresponding to the second rotation speed based on the fifth temperature value and the sixth temperature value;
[0085] Step 177: Fit the rotation speed and temperature difference relationship based on the first rotation speed, the first temperature difference value corresponding to the first rotation speed, the second rotation speed, and the second temperature difference value corresponding to the second rotation speed.
[0086] The relationship between rotational speed and temperature difference can be expressed as a quadratic function of rotational speed and temperature difference. At this point, step 177 includes:
[0087] Based on the first rotational speed and the corresponding first temperature difference, and the second rotational speed and the corresponding second temperature difference, a polynomial fit is performed to obtain the quadratic function Y = ax² for the rotational speed and temperature difference. 2 +bx+c, where Y is the temperature difference, x is the rotational speed, and a, b, and c are constants determined by fitting the first rotational speed, the first temperature difference value corresponding to the first rotational speed, and the second temperature difference value corresponding to the second rotational speed.
[0088] Specifically, in the airflow direction control method for switches provided in this application, before performing airflow direction control on the switch, a method for constructing the relationship between rotation speed and temperature difference is also provided:
[0089] First, when the fan is at its first speed, temperature data is collected using the first and second temperature sensors to obtain third and fourth temperature values, respectively. Second, when the fan is at its second speed, temperature data is collected using the first and second temperature sensors to obtain fifth and sixth temperature values, respectively. Finally, a correlation between speed and temperature difference is established based on the first speed and the calculated first temperature difference value, and the second speed and the calculated second temperature difference value. During the testing phase, the fan's airflow direction must be consistent with actual use, for example, both should be forward and backward airflow. Similarly, the heat generated by each module of the switch itself during the testing phase must also be consistent with actual use to ensure that the temperature change from the first temperature sensor to the second temperature sensor can be simulated during the testing phase.
[0090] The data collected when constructing the relationship between fan speed and temperature difference is not limited to just the first and second speeds. For example, the fan speed can be divided into ten levels based on its speed threshold: 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, and 100% speed. The Y value can then be obtained using a first temperature sensor. A-1 Y A-2 Y A-3 Y A-4 Y A-5 Y A-6 Y A-7 Y A-8 Y A-9 Y A-10 Y is obtained through the second temperature sensor B-1 Y B-2 Y B-3 Y B-4 Y B-5 Y B-6 Y B-7 Y B-8 Y B-9 Y B-10The temperature difference value Y was calculated separately. -1 Y -2 Y -3 Y -4 Y -5 Y -6 Y -7 Y -8 Y -9 Y -10 Subsequently, a function is fitted based on these 10 temperature difference values and 10 rotation speeds, for example, fitting it as a polynomial or quadratic function, as shown in equation (1):
[0091] Y = ax 2 +bx+c (1)
[0092] In the formula, Y is the temperature difference value, x is the percentage corresponding to the rotational speed N, or it can be the specific value of the fan's rotational speed N. a, b, and c are constants, determined based on 10 sets of data used for function fitting.
[0093] Functions such as Figure 3 As shown, the temperature difference T gradually decreases with the increase of the rotational speed N, and the curve is a concave function. As the rotational speed increases, the decrease in temperature difference T tends to be slower, which is consistent with the situation that as the fan speed increases, more heat is removed from the switch, and the temperature difference between the second temperature sensor and the first temperature sensor becomes smaller. Furthermore, as the rotational speed continues to increase, the difference between the data collected by the second temperature sensor and the data collected by the first temperature sensor decreases more and more slowly.
[0094] Based on the above implementation method, since the technical solution provided in this application can obtain the corresponding relationship between rotation speed and temperature difference by fitting multiple sets of rotation speed and corresponding temperature difference, it ensures the accuracy of temperature difference value determination when judging the airflow direction of the switch, thereby improving the accuracy of airflow direction control of the switch.
[0095] Based on the above implementation methods, such as Figure 4 As shown, in the switch wind direction control method provided in this application, before step 171, the following steps are also included:
[0096] Step 181: Power off the switch and collect the seventh temperature value through the first temperature sensor;
[0097] Step 182: Obtain the eighth temperature value through the second temperature sensor;
[0098] Step 183: Determine the ambient temperature distribution based on the difference between the seventh and eighth temperature values and a pre-set difference threshold, and obtain the ambient temperature distribution determination result;
[0099] Step 184: When the environmental temperature distribution judgment result is that the difference between the seventh temperature value and the eighth temperature value is less than the difference threshold, the test environment is determined according to the current environment of the switch, wherein the test environment is used for the first temperature sensor to collect the third temperature value.
[0100] Specifically, in the switch airflow control method provided in this application, the testing phase can be carried out in a pre-set test environment. For example, the user pre-specifies a space with uniform ambient temperature and an open environment as the test environment, ensuring that the ambient temperature of the first temperature sensor and the ambient temperature of the second temperature sensor are as close as possible when constructing the correspondence between rotation speed and temperature difference. The temperature difference measured by the first temperature sensor and the second temperature sensor will only be affected by the various modules inside the switch.
[0101] For example, when the switch is powered off and its internal modules are not working, the temperature values measured by the first and second temperature sensors are only the ambient temperature. The seventh and eighth temperature values of the switch head and tail are obtained by the first and second temperature sensors, respectively. Then, the difference between the seventh and eighth temperature values is calculated. When the difference between the seventh and eighth temperature values is less than the difference threshold preset by the user, it indicates that the temperature distribution of the environment in which the switch is located is relatively uniform, and it can be used as a test environment for the first and second temperature sensors to collect temperature and fit functions, so as to perform subsequent data collection and fitting of the relationship between rotation speed and temperature difference.
[0102] Based on the above implementation, since this application can also determine the test environment, any environment with temperature difference within the preset difference threshold range can be used as the test environment in the fitting process of the rotation speed and temperature difference correspondence, thus reducing the cost of the test environment and thereby reducing the production and maintenance cost of the switch.
[0103] Based on the above implementation methods, such as Figure 5 As shown, in the switch wind direction control method provided in this application, after step 176, it further includes:
[0104] Step 178: Correct the first temperature difference value based on the difference between the seventh temperature value and the eighth temperature value to obtain the corrected first temperature difference value;
[0105] Step 179: Correct the second temperature difference value based on the difference between the seventh temperature value and the eighth temperature value to obtain the corrected second temperature difference value;
[0106] Step 180: Based on the first rotational speed, the corrected first temperature difference value corresponding to the first rotational speed, and the corrected second temperature difference value corresponding to the second rotational speed, the corrected rotational speed temperature difference correspondence is obtained by fitting.
[0107] Specifically, in the switch airflow control method provided in this application, considering that it is difficult to achieve a completely uniform temperature distribution in the test environment, and that an overly uniform test environment would lead to excessively high costs for the rotation speed temperature difference correspondence, after ensuring that the temperature difference between the head and tail of the switch is less than a preset temperature difference threshold, the first temperature difference value and the second temperature difference value are corrected based on the difference between the seventh temperature value and the eighth temperature value. This eliminates the interference of the small temperature difference between the head and tail of the switch in the test environment on the fitting process of the rotation speed temperature difference correspondence, thereby obtaining the corrected rotation speed temperature difference correspondence.
[0108] Based on the above implementation method, since the switch airflow control method provided in this application can also eliminate the influence of the slight temperature difference values at various locations in the switch test scenario on the data used for fitting during the fitting stage of the speed-temperature difference correspondence, the accuracy of the corrected speed-temperature difference correspondence obtained by fitting is guaranteed, thereby improving the accuracy of switch airflow control.
[0109] Based on the above implementation methods, such as Figure 6 As shown, the fan is a dual-motor fan, including two motors and forward and reverse fan blades driven and controlled by the two motors respectively. In the airflow direction control method for the switch provided in this application, step 106 includes:
[0110] Step 161: When the first wind direction change adjustment judgment result is that the first temperature value is greater than the second temperature value, the motor of the dual-motor fan is switched through the motor switch switching circuit to obtain the first fan control result, wherein the two motors are not powered on at the same time.
[0111] Specifically, in the switch airflow direction control method provided in this application, the fan capable of switching airflow direction according to the switching circuit is a dual-motor fan. The dual-motor fan includes two motors: one motor with forward-facing blades and the other with reverse-facing blades. The two motors are not powered on simultaneously. That is, when the motor with the forward-facing blades is powered on and drives the forward-facing blades to rotate, the circuit of the motor with the reverse-facing blades is disconnected, and the reverse-facing blades are not activated. At this time, the airflow direction is forward-in, backward-out. When the first airflow direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, it indicates that the overall airflow direction of the cabinet is backward-in, forward-out, requiring fan airflow direction adjustment. The motor switch switching circuit disconnects the circuit connected to the motor corresponding to the forward-facing blades and connects the circuit connected to the motor corresponding to the reverse-facing blades. At this time, the forward-facing blades stop rotating, and the reverse-facing blades are activated. The airflow direction of the switch is adjusted from forward-in, backward-out to backward-in, forward-out, thus obtaining the first fan control result. The switching of the circuit can be achieved by a motor switch switching circuit controlled by a driven single cloud, such as a circuit with a single-pole double-throw switch, and this application does not impose any restrictions.
[0112] Based on the above embodiments, since the airflow control method of the switch provided in this application can control the airflow through a dual-motor fan, with the two motors driving fan blades in opposite directions respectively, the driving and de-energizing of the two motors can be realized according to the motor switch switching circuit, thereby realizing the change of the fan airflow direction, ensuring the airflow switching requirements of the switch while reducing the production cost of the switch.
[0113] Based on the above implementation methods, such as Figure 7 As shown, in the switch wind direction control method provided in this application, after step 105, it further includes:
[0114] Step 107: When the first wind direction change adjustment judgment result is that the first temperature value is less than the second temperature value, the current wind direction of the fan is kept unchanged, and the second fan control result is obtained.
[0115] Specifically, in the switch airflow control method provided in this application, when the sum of the first temperature value and the temperature difference value is less than the second temperature value, it indicates that the ambient temperature of the chassis at the rear of the switch is high and the ambient temperature of the chassis at the front of the switch is low. The chassis as a whole also has a forward-outward airflow direction, which is consistent with the airflow direction of the switch. There is no need to worry about hot air recirculation, equipment overheating, etc. The airflow direction remains unchanged, and the second fan control result is obtained.
[0116] Based on the above implementation methods, such as Figures 8-9 As shown, this application also provides an example of a switch wind direction control process:
[0117] like Figure 8The diagram illustrates a specific example of a temperature sensor setup on a switch. 1 represents the switch's mainboard, 2 is the switch's optical module, 3 is the first temperature sensor or temperature sensor A, 4 is the drive control unit, 5 is the second temperature sensor or temperature sensor B, 6 is the motor switch circuit, and 7 is the fan and power module. The first temperature sensor is located at the head of the switch, specifically on the left side of the mainboard, separated from the optical module to prevent heat generated by the optical module from affecting it. The second temperature sensor is located at the tail of the switch. Its temperature is influenced by both the ambient temperature at the tail and the heat generated by internal components such as the optical module. The drive control unit acquires temperature data from both the first and second sensors and combines this data with a pre-set relationship between rotation speed and temperature difference to determine airflow direction. When the temperature of the second sensor is greater than the sum of the temperature of the first sensor and the temperature difference corresponding to the rotation speed, it indicates that the airflow direction within the entire cabinet is aligned with the direction of the fan inside the switch. When the airflow direction is consistent, the ambient temperature around the second temperature sensor is higher than that around the first temperature sensor due to the combined influence of multiple devices within the cabinet, and no temperature adjustment is required. However, when the temperature of the second temperature sensor is less than the sum of the temperature difference between the first temperature sensor and the speed of the second temperature sensor, it indicates that the airflow direction inside the entire cabinet is inconsistent with the airflow direction of the fans inside the switch. The ambient temperature around the first temperature sensor is higher than that around the second temperature sensor due to the combined influence of multiple devices within the cabinet. In this case, the airflow direction of the fans inside the switch is opposite to the overall airflow direction inside the cabinet, posing a risk of overheating. The drive control module switches the motor switch circuit to change the airflow direction of the fans inside the switch.
[0118] Specifically, such as Figure 9 As shown, the technical solution provided in this application first measures different rotational speeds X and the corresponding temperature sensor values Y when the switch is in an open space with a uniform ambient temperature. B The temperature difference Y between the first temperature sensor and the actual ambient temperature can also be used because the first temperature sensor is isolated from the inside of the switch, and the optical modules and other modules inside the switch will not affect the first temperature sensor. A The ambient temperature characterizes the temperature of a uniformly heated, open space. Based on Y... A and Y B The temperature difference value Y corresponding to multiple different rotational speeds is calculated, and a polynomial relationship is fitted between the temperature difference value Y and the rotational speed to obtain a function model, such as Y = ax 2+bx+c, where Y is the actual temperature difference and x is the fan speed. In practical applications, because the chassis has a pre-set airflow direction, the interior of the chassis is a temperature-uneven environment. When a switch not powered on is installed in the rack, and the airflow direction inside the rack is front-to-back, the ambient temperature at the front of the switch is lower than the ambient temperature at the rear. Conversely, when a switch not powered on is installed in the rack, and the airflow direction inside the rack is rear-to-front, the ambient temperature at the front of the switch is higher than the ambient temperature at the rear. At this point, the switch is powered on, and the system defaults to a forward-to-rear airflow direction. The fan blades begin to rotate, carrying the heat generated by the various modules inside the switch to the rear of the switch via airflow. The system then compares the first temperature value collected by the first temperature sensor with the second temperature value collected by the second temperature sensor, and determines the theoretical temperature difference corresponding to the current rotation speed based on a pre-built function model. If the second temperature value is greater than the sum of the first temperature value and the theoretical temperature difference, it can be determined that the cabinet containing the switch also has a forward-to-rear airflow direction. When the airflow direction is consistent, no fan adjustment is needed; simply maintain the current airflow direction. If the second temperature value is less than the sum of the first temperature value and the theoretical temperature difference, it can be determined that the cabinet containing the switch has a rear-in, front-out airflow direction, requiring motor switching and fan direction adjustment.
[0119] The technical solution provided in this application can determine the actual cabinet environment where the switch is located based on the fan speed and the data collected by the first and second temperature sensors, as well as the overall airflow direction of the cabinet. When it is found that the airflow direction of the switch is inconsistent with that of the cabinet, the fan direction can be switched through a motor switching circuit, ensuring the consistency of the airflow direction between the switch and the cabinet. This reduces the production and maintenance costs of the switch when it is used in different application scenarios without the need to prepare multiple switch devices with different airflow directions, while ensuring the heat dissipation and cooling effect of the switch.
[0120] The second embodiment of this application relates to a wind direction control device for a power exchange, such as... Figure 10 As shown, it includes:
[0121] The first temperature acquisition module 201 is used to acquire a first temperature value through the first temperature sensor, wherein the first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan, and the first temperature value is not affected by the switch.
[0122] The second temperature acquisition module 202 is used to acquire a second temperature value through the second temperature sensor, wherein the second temperature sensor is located at the air outlet corresponding to the current wind direction of the fan, and the second temperature value is affected by the switch.
[0123] The speed acquisition module 203 is used to acquire the fan speed of the fan;
[0124] The temperature difference calculation module 204 is used to determine the temperature difference value corresponding to the fan speed based on the fan speed and the pre-set correspondence between the fan speed and the temperature difference between the fan speed;
[0125] The first wind direction judgment module 205 is used to judge the wind direction change and adjustment based on the first temperature value, the second temperature value and the temperature difference value, and obtain the first wind direction change and adjustment judgment result.
[0126] The first fan control module 206 is used to switch the current fan direction through the motor switch switching circuit to obtain the first fan control result when the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value.
[0127] Based on the above embodiments, the airflow direction control device for the switch provided in this application further includes:
[0128] The third temperature acquisition module is used to acquire a third temperature value through the first temperature sensor, wherein the third temperature value is the temperature value of the first temperature sensor when the fan is at the first speed;
[0129] The fourth temperature acquisition module is used to acquire a fourth temperature value through the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the first speed;
[0130] The fifth temperature acquisition module is used to acquire a fifth temperature value through the first temperature sensor, wherein the fifth temperature value is the temperature value of the first temperature sensor when the fan is at the second speed;
[0131] The sixth temperature acquisition module is used to acquire a sixth temperature value through the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the second speed;
[0132] The first temperature difference calculation module is used to determine the first temperature difference value corresponding to the first rotation speed based on the third temperature value and the fourth temperature value.
[0133] The second temperature difference calculation module is used to determine the second temperature difference value corresponding to the second rotation speed based on the fifth temperature value and the sixth temperature value.
[0134] The correspondence fitting module is used to fit the rotation speed and temperature difference correspondence based on the first rotation speed, the first temperature difference value corresponding to the first rotation speed, the second rotation speed, and the second temperature difference value corresponding to the second rotation speed.
[0135] Based on the above embodiments, the airflow direction control device for the switch provided in this application further includes:
[0136] The seventh temperature acquisition module is used to power off the switch and acquire the seventh temperature value through the first temperature sensor.
[0137] The eighth temperature acquisition module is used to acquire the eighth temperature value through the second temperature sensor;
[0138] The environmental judgment module is used to judge the environmental temperature distribution based on the difference between the seventh temperature value and the eighth temperature value and a preset difference threshold, and to obtain the environmental temperature distribution judgment result.
[0139] The test environment determination module is used to determine the test environment based on the current environment of the switch when the difference between the seventh temperature value and the eighth temperature value is less than the difference threshold, according to the environmental temperature distribution judgment result. The test environment is used for the first temperature sensor to collect the third temperature value.
[0140] Based on the above embodiments, the airflow direction control device for the switch provided in this application further includes:
[0141] The first temperature correction module is used to correct the first temperature difference value based on the difference between the seventh temperature value and the eighth temperature value to obtain the corrected first temperature difference value.
[0142] The second temperature correction module is used to correct the second temperature difference value based on the difference between the seventh temperature value and the eighth temperature value, so as to obtain the corrected second temperature difference value.
[0143] The fitting correction module is used to fit the corrected speed-temperature difference correspondence based on the first speed, the corrected first temperature difference value corresponding to the first speed, the second speed, and the corrected second temperature difference value corresponding to the second speed.
[0144] Based on the above embodiments, the fan is a dual-motor fan, including two motors and forward and reverse fan blades driven and controlled by the two motors respectively. In the airflow direction control device for the switch provided in this application, the first fan control module 206 includes:
[0145] The circuit switching unit is used to switch the motors of the dual-motor fan through the motor switch switching circuit when the first wind direction change adjustment judgment result is that the first temperature value is greater than the second temperature value, so as to obtain the first fan control result, wherein the two motors are not powered on at the same time.
[0146] Based on the above embodiments, the airflow direction control device for the switch provided in this application further includes:
[0147] The third fan control module is used to maintain the current wind direction of the fan unchanged when the first wind direction change adjustment judgment result is that the first temperature value is less than the second temperature value, and obtain the second fan control result.
[0148] The third embodiment of this application relates to a wind direction control system for a power switch, comprising:
[0149] A first temperature sensor is used to collect a first temperature value. The first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan. The first temperature value is not affected by the switch.
[0150] A second temperature sensor is used to collect a second temperature value. The second temperature sensor is located at the air outlet corresponding to the current airflow direction of the fan. The second temperature value is affected by the switch.
[0151] The drive control unit is used to collect the fan speed of the fan, determine the temperature difference value corresponding to the fan speed according to the fan speed and the pre-set correspondence between the fan speed and the temperature difference, make a wind direction change adjustment judgment based on the first temperature value, the second temperature value and the temperature difference value, and obtain a first wind direction change adjustment judgment result. When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, a switching command is sent to the motor switch switching circuit.
[0152] The motor switch switching circuit is used to receive the switching command sent by the drive control unit, switch the current airflow direction of the fan according to the switching command, and obtain the first fan control result.
[0153] The fourth embodiment of this application relates to an electronic device, such as... Figure 11 As shown, it includes:
[0154] At least one processor 301; and,
[0155] The memory 302 is communicatively connected to the at least one processor 301; wherein,
[0156] The memory 302 stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor 301 to enable the at least one processor 301 to implement the switch wind direction control method described in the first embodiment of this application.
[0157] The memory and processor are connected via a bus, which can include any number of interconnecting buses and bridges, connecting various circuits of one or more processors and memories. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over the wireless medium via an antenna, which further receives data and transmits it to the processor.
[0158] The processor manages the bus and general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory is used to store data used by the processor during operation.
[0159] The fifth embodiment of this application relates to a non-volatile computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the switch wind direction control method described in the first embodiment of this application.
[0160] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0161] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0162] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for controlling wind direction in a power exchange, characterized in that, An application is made in a switch airflow control system, the switch airflow control system including a switch, a first temperature sensor, a second temperature sensor, a fan and a motor switching circuit, the method comprising: A first temperature value is obtained by collecting data through the first temperature sensor, wherein the first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan, and the first temperature value is not affected by the switch. The second temperature value is obtained by the second temperature sensor, wherein the second temperature sensor is located at the air outlet corresponding to the current wind direction of the fan, and the second temperature value is affected by the switch. Collect the fan speed of the fan; The temperature difference value corresponding to the fan speed is determined based on the correspondence between the fan speed and the preset speed-temperature difference. Based on the first temperature value, the second temperature value, and the temperature difference value, a wind direction change adjustment judgment is made to obtain the first wind direction change adjustment judgment result. When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, the current wind direction of the fan is switched through the motor switch switching circuit to obtain the first fan control result.
2. The method according to claim 1, characterized in that, The relationship between the fan speed and the temperature difference is a quadratic function of the fan speed and the temperature difference. The temperature difference value includes a first temperature difference value and a second temperature difference value. Before determining the temperature difference value corresponding to the fan speed based on the fan speed and the preset relationship between the fan speed and the temperature difference, the method further includes: A third temperature value is obtained by acquiring the first temperature sensor, wherein the third temperature value is the temperature value of the first temperature sensor when the fan is at the first speed; A fourth temperature value is obtained by acquiring the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the first speed; A fifth temperature value is obtained by collecting data from the first temperature sensor, wherein the fifth temperature value is the temperature value of the first temperature sensor when the fan is at the second speed. The sixth temperature value is obtained by the second temperature sensor, wherein the fourth temperature value is the temperature value of the second temperature sensor when the fan is at the second speed; The first temperature difference value corresponding to the first rotation speed is determined based on the third temperature value and the fourth temperature value; The second temperature difference value corresponding to the second rotation speed is determined based on the fifth temperature value and the sixth temperature value; Based on the first rotational speed and the corresponding first temperature difference, and the second rotational speed and the corresponding second temperature difference, a polynomial fit is performed to obtain the quadratic function Y=ax for the rotational speed and temperature difference. 2 +bx+c, where Y is the temperature difference, x is the rotational speed, and a, b, and c are determined based on at least three sets of rotational speed and temperature difference values used for function fitting.
3. The method according to claim 2, characterized in that, The third temperature value acquired by the first temperature sensor includes: The switch is powered off, and the seventh temperature value is obtained by the first temperature sensor. The eighth temperature value is obtained by acquiring the data through the second temperature sensor; The ambient temperature distribution is determined based on the difference between the seventh and eighth temperature values and a pre-set difference threshold, resulting in an ambient temperature distribution determination. When the environmental temperature distribution judgment result is that the difference between the seventh temperature value and the eighth temperature value is less than the difference threshold, the test environment is determined according to the current environment of the switch, wherein the test environment is used for the first temperature sensor to collect the third temperature value.
4. The method according to claim 3, characterized in that, After determining the second temperature difference value corresponding to the second rotational speed based on the fifth temperature value and the sixth temperature value, the method further includes: The first temperature difference value is corrected based on the difference between the seventh and eighth temperature values to obtain the corrected first temperature difference value. The second temperature difference value is corrected based on the difference between the seventh temperature value and the eighth temperature value to obtain the corrected second temperature difference value. Based on the first rotational speed and the corrected first temperature difference value corresponding to the first rotational speed, the corrected second temperature difference value corresponding to the second rotational speed is fitted to obtain the corrected rotational speed temperature difference correspondence.
5. The method according to claim 1, characterized in that, The fan is a dual-motor fan, including two motors and forward and reverse fan blades driven and controlled by the two motors respectively. When the first airflow direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, the current airflow direction of the fan is switched through the motor switch switching circuit to obtain the first fan control result, including: When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, the motor of the dual-motor fan is switched through the motor switch switching circuit to obtain the first fan control result, wherein the two motors are not powered on at the same time.
6. The method according to claim 1, characterized in that, After determining the wind direction change adjustment based on the first temperature value and the second temperature value, and obtaining the first wind direction change adjustment judgment result, the method further includes: When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is less than the second temperature value, the current wind direction of the fan is kept unchanged, and the second fan control result is obtained.
7. A wind direction control device for a power exchange, characterized in that, An application is made in a switch airflow control system, the switch airflow control system comprising a switch, a first temperature sensor, a second temperature sensor, a fan and motor switching circuit, including: The first temperature acquisition module is used to acquire a first temperature value through the first temperature sensor, wherein the first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan, and the first temperature value is not affected by the switch. The second temperature acquisition module is used to acquire a second temperature value through the second temperature sensor, wherein the second temperature sensor is located at the air outlet corresponding to the current wind direction of the fan, and the second temperature value is affected by the switch; A speed acquisition module is used to acquire the fan speed of the fan; The temperature difference calculation module is used to determine the temperature difference value corresponding to the fan speed based on the fan speed and the pre-set correspondence between the fan speed and the temperature difference between the fan speed; The first wind direction judgment module is used to judge the wind direction change and adjustment based on the first temperature value, the second temperature value and the temperature difference value, and to obtain the first wind direction change and adjustment judgment result. The first fan control module is used to switch the current airflow direction of the fan through the motor switch switching circuit when the first airflow direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, so as to obtain the first fan control result.
8. A wind direction control system for a power exchange, characterized in that, include: A first temperature sensor is used to collect a first temperature value. The first temperature sensor is located at the air inlet corresponding to the current wind direction of the fan. The first temperature value is not affected by the switch. A second temperature sensor is used to collect a second temperature value. The second temperature sensor is located at the air outlet corresponding to the current airflow direction of the fan. The second temperature value is affected by the switch. The drive control unit is used to collect the fan speed of the fan, determine the temperature difference value corresponding to the fan speed according to the fan speed and the pre-set correspondence between the fan speed and the temperature difference, make a wind direction change adjustment judgment based on the first temperature value, the second temperature value and the temperature difference value, and obtain a first wind direction change adjustment judgment result. When the first wind direction change adjustment judgment result is that the sum of the first temperature value and the temperature difference value is greater than the second temperature value, a switching command is sent to the motor switch switching circuit. The motor switch switching circuit is used to receive the switching command sent by the drive control unit, switch the current airflow direction of the fan according to the switching command, and obtain the first fan control result.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing programs or instructions that can run on the processor, the programs or instructions being executed by the processor to implement the steps of the switch wind direction control method as described in any one of claims 1-6.
10. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the switch wind direction control method as described in any one of claims 1-6.
Citation Information
Patent Citations
Industrial exchanger heat dissipation apparatus capable of automatically adjusting wind direction and air channel along with temperature changes
CN107683075A
Method and device for monitoring environment temperature of switch equipment
CN116566852A