Wind meter anti-freezing method and device, electronic equipment and storage medium
By obtaining environmental parameters on the airmeter and controlling the rotation of the motor, it drives water to throw away the surface, and solves the problem of freezing, achieving overall anti-freeze and energy saving under extreme conditions, and extending the service life of the airmeter.
Patent Information
- Application Number
- CN202411400960.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-10
AI Technical Summary
In winter or cold areas, air gauge is prone to reduce measurement reliability and shorten service life due to freezing. The existing antifreeze methods are not effective or consume a lot of energy consumption under extreme low temperature conditions.
By obtaining the environmental parameters of the air detector, if the freezing interval is met, the motor will be controlled to operate at the target rotation power, and the air detector will be driven to shake off the water on the surface, and mechanical movement will be used to prevent freezing, avoiding the reduction of antifreeze effect or uneven heating caused by heating. local freezing.
It realizes overall anti-freeze of the air meter under extreme conditions, reduces energy consumption, avoids local freezing problems caused by reduced antifreeze effect or uneven heating, and extends the service life of the air meter.
Smart Images

Figure CN119290067A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of wind resource measurement, and in particular to a method, a device, an electronic device and a storage medium for antifreezing an anemometer. Background Art
[0002] Anemometers play a vital role in meteorological observation, aviation safety, wind energy development and many other fields. However, in winter or cold regions, moisture in the air tends to condense and adhere to the surface of the anemometer, resulting in condensation. The condensation phenomenon will have a significant impact on the measurement reliability of the anemometer and will also reduce the service life of the anemometer.
[0003] At present, the method of preventing the anemometer from freezing is to apply antifreeze on the anemometer or install a heating element to prevent the moisture attached to the anemometer from condensing.
[0004] However, for the antifreeze method of applying antifreeze on the anemometer, the effect of the antifreeze is greatly reduced under extremely low temperature conditions; for the antifreeze method of installing heating elements, a large amount of energy consumption will be increased, and the anemometer may be partially frozen due to uneven heating. Summary of the invention
[0005] The present invention provides a method, device, electronic equipment and storage medium for antifreezing an anemometer, which can prevent the anemometer from freezing under extreme conditions by mechanical movement, is not restricted by objective conditions, realizes overall antifreezing of the anemometer, and can also reduce energy consumption when realizing antifreezing of the anemometer.
[0006] According to one aspect of the present invention, a method for antifreezing an anemometer is provided, which is applied to a control end, the control end is electrically connected to a motor, and the motor is electrically or mechanically connected to the anemometer; the method comprises:
[0007] Obtaining environmental parameters of the current environment of the anemometer, wherein one environmental parameter corresponds to one freezing interval;
[0008] If any environmental parameter satisfies its corresponding freezing range, the target rotation power of the motor is determined according to the environmental parameter;
[0009] The motor is controlled to work according to the target rotational power so that the anemometer can shake off the water on the surface driven by the motor.
[0010] The anemometer antifreeze method provided by the embodiment of the present invention obtains the environmental parameters of the current environment of the anemometer; if any environmental parameter satisfies the corresponding freezing interval, the target rotation power of the motor is determined according to the environmental parameters; the motor is controlled to work according to the target rotation power, so that the anemometer shakes off the surface water under the drive of the motor. In the above technical scheme, on the one hand, the environmental parameters of the current environment of the anemometer are obtained, and the parameters that may cause the anemometer to freeze are obtained, which provides a data basis for judging whether it is necessary to control the motor to work in the current environment. On the other hand, when the motor needs to be controlled to work in the current environment, the target rotation power of the motor is determined, which can ensure that the motor works with a suitable rotation power and save energy consumption. Finally, the motor is controlled to work according to the target rotation power, so that the anemometer shakes off the surface water under the drive of the motor, and the mechanical movement can be used to prevent the anemometer from freezing under extreme conditions, and is not limited by objective conditions such as the antifreeze effect of the antifreeze liquid is reduced or the heating element is unevenly heated, resulting in partial freezing of the anemometer and consuming a lot of energy. It not only realizes the overall antifreeze of the anemometer, but also can further reduce the energy consumption when realizing the antifreeze of the anemometer.
[0011] According to another aspect of the present invention, there is provided an anemometer antifreeze device, which is applied to a control end, the control end is electrically connected to a motor, and the motor is electrically or mechanically connected to the anemometer; the device comprises:
[0012] An acquisition module is used to acquire environmental parameters of the current environment of the anemometer, wherein one environmental parameter corresponds to one freezing interval;
[0013] A determination module, for determining a target rotational power of the motor according to the environmental parameter if any environmental parameter satisfies its corresponding freezing interval;
[0014] The control module is used to control the motor to work according to the target rotation power, so that the anemometer can shake off the water on the surface driven by the motor.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the anemometer antifreezing method according to any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the anemometer antifreezing method of any embodiment of the present invention when executed.
[0020] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, and when the computer program is executed by a processor, the anemometer antifreezing method according to any embodiment of the present invention is implemented.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A schematic flow chart of a method for antifreezing an anemometer provided by an embodiment of the present invention;
[0024] Figure 2 Another schematic flow chart of the anemometer antifreeze method provided by the embodiment of the present invention;
[0025] Figure 3 A schematic diagram of the structure of an anemometer antifreeze device provided by an embodiment of the present invention;
[0026] Figure 4 Another structural schematic diagram of the anemometer antifreeze device provided by an embodiment of the present invention;
[0027] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Figure 1 A flow chart of a method for preventing an anemometer from freezing is provided in an embodiment of the present invention. This embodiment can be applied to prevent an anemometer from freezing. The method can be performed by an anemometer antifreeze device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. In this embodiment, the anemometer antifreeze device is configured with a control terminal. Figure 1 As shown, the method includes:
[0031] S101. Obtain environmental parameters of the current environment of the anemometer.
[0032] The anemometer is used to measure wind energy resources, and can be used for wind energy resource analysis and wind turbine and wind farm power generation calculation. In this embodiment, the anemometer is mainly used to measure wind speed and wind direction. The environmental parameters may include at least one of current temperature, current humidity, current wind speed, current wind direction, current air pressure, and current light intensity. One environmental parameter corresponds to one freezing interval.
[0033] Specifically, the control end controls the acquisition device to acquire environmental parameters in real time, and obtains environmental parameters of the current environment of the anemometer that may cause the anemometer to freeze.
[0034] Exemplarily, the control end can be communicatively connected or electrically connected to acquisition devices such as temperature and humidity sensors, anemometers, air pressure detection meters, and light sensors, and control the acquisition devices to collect environmental data in real time. Among them, the anemometer can be an anemometer that needs to be protected from freezing in this method, or it can be other instruments for measuring wind speed and wind direction. In addition, in actual situations, the control end may be connected to other acquisition devices, so other collected real-time data will be obtained. Therefore, in this embodiment, environmental parameters of the current environment of the anemometer that may cause the anemometer to freeze can be obtained from all the collected real-time data. Environmental parameters can be set by the user.
[0035] In this embodiment, the environmental parameters of the current environment of the anemometer are obtained, so as to obtain the parameters that may cause the anemometer to freeze, and provide a data basis for determining whether the motor needs to be controlled to work in the current environment.
[0036] S102: If any environmental parameter satisfies its corresponding freezing range, the target rotational power of the motor is determined according to the environmental parameter.
[0037] The motor is used to drive the anemometer to rotate. The control end is electrically connected to the motor. The freezing interval is a threshold interval of different environmental parameters that may cause the anemometer to freeze. One environmental parameter corresponds to one freezing interval.
[0038] Specifically, each environmental parameter corresponds to a freezing interval, so it is possible to determine whether each environmental parameter satisfies its corresponding freezing interval, and determine the target rotational power of the motor based on the environmental parameter. For example, if there is only one environmental parameter, it is only necessary to determine whether this environmental parameter satisfies its corresponding freezing interval. And, based on this environmental parameter, a target rotational power can be determined. If there are multiple environmental parameters, it is necessary to determine whether each environmental parameter satisfies its corresponding freezing interval. And, if only one of the environmental parameters satisfies its corresponding freezing interval, one target rotational power will be determined, and if multiple environmental parameters satisfy their corresponding freezing intervals, another target rotational power will be determined. That is, if the number of environmental parameters that satisfy their corresponding freezing intervals is different, different target rotational powers can be determined.
[0039] Exemplarily, one environmental parameter corresponds to one freezing interval. For example, if the environmental parameters include the current temperature, the freezing interval corresponding to the current temperature is the temperature threshold interval. If the environmental parameters include the current humidity, the freezing interval corresponding to the current humidity is the humidity threshold interval. If the environmental parameters include the current wind speed, the freezing interval corresponding to the current wind speed is the wind speed threshold interval. If the environmental parameters include the current wind direction, the freezing interval corresponding to the current wind direction is the wind direction threshold interval. If the environmental parameters include the current air pressure, the freezing interval corresponding to the current air pressure is the air pressure threshold interval. If the environmental parameters include the current light intensity, the freezing interval corresponding to the current temperature is the light intensity threshold interval.
[0040] In this embodiment, when the motor needs to be controlled to work under the current environment, the target rotational power of the motor is determined, which can ensure that the motor works at an appropriate rotational power and save energy consumption.
[0041] S103, controlling the motor to operate according to the target rotational power, so that the anemometer can shake off the water on the surface driven by the motor.
[0042] The motor is electrically or mechanically connected to the anemometer.
[0043] Specifically, after the target rotational power is determined, the control end sends an electrical signal to the motor and controls the motor to work according to the target rotational power. If the motor is electrically connected to the anemometer, the motor can drive the anemometer to rotate based on the electrical signal. If the motor is mechanically connected to the anemometer, the motor can drive the anemometer to rotate based on the mechanical structure. The anemometer rotates under the drive of the motor and shakes off the water attached to the surface. Since the water attached to the surface is shaken off, the surface of the anemometer is in a dry state and will not be frozen.
[0044] In this embodiment, the motor is controlled to work according to the target rotational power so that the anemometer can shake off the water on the surface driven by the motor. Mechanical movement can be used to prevent the anemometer from freezing under extreme conditions. It is not restricted by objective conditions such as the reduced antifreeze effect of the antifreeze liquid or the uneven heating of the heating element causing local freezing of the anemometer and consuming a lot of energy. This not only achieves overall antifreeze of the anemometer, but also can further reduce the energy consumption when achieving antifreeze of the anemometer.
[0045] The anemometer antifreeze method provided by the embodiment of the present invention obtains the environmental parameters of the current environment of the anemometer; if any environmental parameter satisfies the corresponding freezing interval, the target rotation power of the motor is determined according to the environmental parameters; the motor is controlled to work according to the target rotation power, so that the anemometer shakes off the surface water under the drive of the motor. In the above technical scheme, on the one hand, the environmental parameters of the current environment of the anemometer are obtained, and the parameters that may cause the anemometer to freeze are obtained, which provides a data basis for judging whether it is necessary to control the motor to work in the current environment. On the other hand, when the motor needs to be controlled to work in the current environment, the target rotation power of the motor is determined, which can ensure that the motor works with a suitable rotation power and save energy consumption. Finally, the motor is controlled to work according to the target rotation power, so that the anemometer shakes off the surface water under the drive of the motor, and the mechanical movement can be used to prevent the anemometer from freezing under extreme conditions, and is not limited by objective conditions such as the antifreeze effect of the antifreeze liquid is reduced or the heating element is unevenly heated, resulting in partial freezing of the anemometer and consuming a lot of energy. It not only realizes the overall antifreeze of the anemometer, but also can further reduce the energy consumption when realizing the antifreeze of the anemometer.
[0046] Figure 2 Another flow chart of the anemometer antifreeze method provided in an embodiment of the present invention, based on the above embodiments and other examples, this embodiment takes environmental parameters including current temperature and current humidity as an example, and explains in detail the steps of "determining the target rotational power of the motor according to the environmental parameters", the step of "controlling the motor to work according to the target rotational power", the step after "controlling the motor to work according to the target rotational power", and the step of "obtaining the environmental parameters of the current environment of the anemometer".
[0047] Before introducing the anemometer antifreezing method provided by the embodiment of the present invention, a brief introduction to the hardware structure involved in the present invention is first given. Figure 3 A schematic diagram of the structure of an anemometer antifreeze device provided by an embodiment of the present invention. Figure 3 As shown, the anemometer antifreeze device specifically includes a temperature sensor 10 , a humidity sensor 20 , an analog-to-digital A / D converter 30 , a power supply 40 , a control terminal 50 , a motor 60 and an anemometer 70 .
[0048] Specifically, the control end 50 is electrically connected to the motor 60 to control the motor 60 to work according to the target rotation power. The motor 60 is electrically or mechanically connected to the anemometer 70 to drive the anemometer 70 to rotate, so that the anemometer 70 shakes off the surface water driven by the motor 60. And the control end 50 is communicatively connected or electrically connected to the anemometer 70 to control the normal operation of the anemometer 70 in a normal state (no freezing) and monitor the working state of the anemometer 70. The power supply 40 is electrically connected to the control end 50 to supply power to the control end 50. Optionally, the power supply 40 can be connected to the control end 50 through a multi-way switch, and the multi-way switch can turn off the work of the anemometer antifreeze device when there is no need to start the anemometer antifreeze method provided by the embodiment of the present invention or the anemometer is not needed to be enabled, thereby saving energy consumption. Optionally, the power supply 40 can also be directly connected to the motor 60, the anemometer 70 and other structures, and realize direct power supply to the above structures. The temperature sensor 10 and the humidity sensor 20 can be collectively referred to as an environmental monitor, which is used to collect environmental analog signals, and after converting the environmental analog signals collected by the environmental monitor into environmental parameters of digital signals via the A / D converter 30, the environmental parameters are sent to the control end. The temperature sensor 10 and the humidity sensor 20 are both electrically connected to the A / D converter 30, and the A / D converter 30 is electrically connected to the control end 50. In this embodiment, the temperature sensor 10 is used to collect the current temperature, and the humidity sensor 20 is used to collect the current humidity. In the first embodiment, there can also be environmental monitors such as anemometers, air pressure detection meters, and light sensors to collect the required environmental parameters.
[0049] Continue to refer to Figure 2 ,like Figure 2 As shown, the method includes:
[0050] S201. Obtain an environmental analog signal collected by an environmental monitor.
[0051] The environment monitor is a data acquisition device. In this embodiment, the environment monitor includes a temperature sensor and a humidity sensor. In other embodiments, the environment monitor may also include an anemometer, an air pressure meter, and a light sensor.
[0052] Specifically, the environmental signal collected by the environmental monitor is an analog signal, that is, an environmental analog signal. Therefore, after the control end controls the environmental monitor to collect data in real time, the data initially obtained is an environmental analog signal.
[0053] S202: Convert the environmental analog signal into a digital signal using an analog-to-digital A / D converter to obtain environmental parameters.
[0054] Among them, A / D converter refers to an electronic component that converts analog signals into digital signals.
[0055] Specifically, the control end may convert the obtained environmental analog signal into a digital signal via an A / D converter, thereby obtaining the environmental parameters.
[0056] After executing S202, it is necessary to determine to execute any one of S203, S204 and S209. That is, "if any environmental parameter meets its corresponding freezing interval", it is determined to execute S203 or S204, and "if all environmental parameters do not meet their corresponding freezing intervals", it is determined to execute S209.
[0057] S203: If the current temperature is within the temperature threshold range, and the current humidity is within the humidity threshold range, determine the target rotation power to be the first rotation power.
[0058] Among them, the temperature threshold interval is the freezing interval corresponding to the current temperature of the environmental parameter. Optionally, the temperature threshold interval is [-7°C, 3°C]. The humidity threshold interval is the freezing interval corresponding to the current humidity of the environmental parameter. Optionally, the humidity threshold interval is [air humidity is 70%, air humidity is 100%]. In this embodiment, the freezing intervals corresponding to different environmental parameters can be set and adjusted by the user. When the environmental parameters are different parameters, the freezing interval corresponding to each environmental parameter will have certain changes. For example, if the environmental parameters are the current temperature, the current humidity and the light intensity, the freezing intervals corresponding to the current temperature, the current humidity and the light intensity will change to a certain extent. For example, when the light intensity is strong, the temperature threshold interval of the current temperature changes to [-8°C, 3°C], and the humidity threshold interval of the current humidity changes to [air humidity is 75%, air humidity is 100%].
[0059] Specifically, the environmental monitoring instrument includes a temperature sensor and a humidity sensor. After the temperature sensor collects an analog signal of the current temperature and the humidity sensor collects an analog signal of the current humidity, the control end uses an A / D converter to convert the analog signal of the current temperature and the analog signal of the current humidity into a digital signal of the current temperature and the current humidity, and determines whether the current temperature meets the temperature threshold range and whether the current humidity meets the humidity threshold range.
[0060] If the current temperature is within the temperature threshold interval and the current humidity is within the humidity threshold interval, that is, the current temperature satisfies the temperature threshold interval and the current humidity satisfies the humidity threshold interval, then the target rotational power can be determined to be the first rotational power. Optionally, the first rotational power is the maximum rotational power of the motor.
[0061] In this embodiment, if at least one of the environmental parameters satisfies its corresponding freezing interval, and more than one environmental parameter satisfies its corresponding freezing interval, the target rotational power is determined to be the first rotational power. Based on the phenomenon that multiple environmental parameters satisfy their corresponding freezing intervals, it can be determined that the probability of the anemometer being frozen in the current environment is relatively high. Therefore, it is determined to control the rotation of the motor with the first rotational power to ensure that the probability of the anemometer being frozen can be reduced in time when the probability of being frozen is relatively high, so that the moisture on the surface of the anemometer can evaporate quickly to prevent the formation of condensation.
[0062] S204: If the current temperature is within the temperature threshold interval and the current humidity is not within the humidity threshold interval, or if the current temperature is not within the temperature threshold interval and the current humidity is within the humidity threshold interval, determine that the target rotation power is the second rotation power.
[0063] Wherein, the first rotation power is greater than the second rotation power.
[0064] Specifically, if the current temperature is within the temperature threshold interval, but the current humidity is not within the humidity threshold interval; or if the current temperature is not within the temperature threshold interval, but the current humidity is within the humidity threshold interval, that is, only one of the current temperature and the current humidity satisfies its freezing interval. At this time, the target rotation power can be determined to be the second rotation power. Optionally, the second rotation power is a preset rotation power of the motor.
[0065] Optionally, in actual situations, when only one environmental parameter satisfies its corresponding freezing interval, the target rotational power may be first determined to be the second rotational power. Furthermore, after the motor rotates for a preset rotation time according to the second rotational power, the environmental parameter may be re-acquired, and the rotational power of the motor may be adjusted accordingly based on the re-acquired environmental parameter. For example, if none of the re-acquired environmental parameters satisfies their corresponding freezing intervals, the process may jump directly to S209. Alternatively, the target rotational power may be determined to be the third rotational power, which is less than the second rotational power.
[0066] In this embodiment, if only one of the environmental parameters satisfies its corresponding freezing interval, the target rotational power is determined to be the second rotational power. Based on the phenomenon that only one of the multiple environmental parameters satisfies its corresponding freezing interval, it can be determined that the probability of the anemometer being frozen in the current environment is less than the probability of the anemometer being frozen in the current environment in the previous step. Therefore, it is determined to control the rotation of the motor with a second rotational power that is smaller than the first rotational power to ensure that the probability of the anemometer being frozen can be reduced in time when the probability of the anemometer being frozen is small. At the same time, the energy consumed by the motor to drive the anemometer to rotate can also be reduced.
[0067] S205: Determine the current rotational power of the motor.
[0068] Specifically, the control end obtains the current rotational power of the motor.
[0069] S206: When it is determined that the current rotational power is less than the target rotational power, control the motor to uniformly accelerate from the current rotational power to the target rotational power.
[0070] Specifically, after determining the current rotational power of the motor, the rotational power magnitude relationship between the current rotational power and the target rotational power can be determined. If the current rotational power is less than the target rotational power, the motor needs to be controlled to uniformly accelerate from the current rotational power to the target rotational power.
[0071] S207. When it is determined that the current rotational power is greater than the target rotational power, control the motor to uniformly decelerate from the current rotational power to the target rotational power.
[0072] Specifically, if the current rotational power is greater than the target rotational power, the motor needs to be controlled to uniformly decelerate from the current rotational power to the target rotational power.
[0073] In this embodiment, by determining the rotational power relationship between the current rotational power of the motor and the target rotational power, it is determined whether to control the change of the rotational power of the motor in a uniform acceleration or uniform deceleration manner, thereby avoiding the impact of sudden acceleration or deceleration of the motor on the anemometer.
[0074] S208. When it is determined that the current rotational power is equal to the target rotational power, the motor is controlled to operate according to the current rotational power.
[0075] Specifically, if the current rotational power is equal to the target rotational power, the motor can be directly controlled to continue operating at a constant speed according to the current rotational power.
[0076] S209: If all environmental parameters do not satisfy their corresponding freezing intervals, the target rotational power of the motor is determined to be zero.
[0077] Specifically, if all environmental parameters evenly satisfy their corresponding freezing intervals, that is, in this embodiment, the current temperature is not within the temperature threshold interval, and the current humidity is not within the humidity threshold interval, then it can be determined that the target rotational power of the motor is zero.
[0078] S210, controlling the motor to operate according to the target rotational power.
[0079] Specifically, when it is determined that the target rotational power is zero, it can be determined how to control the motor to work according to the target rotational power according to steps such as S205-S208. For example, the current rotational power of the motor is determined. If the current rotational power is not zero, that is, the current rotational power is greater than the target rotational power, the motor is controlled to decelerate uniformly from the current rotational power to the target rotational power. If the current rotational power is zero, that is, the current rotational power is equal to the target rotational power, the motor is controlled to work according to the current rotational power, that is, the motor is in a non-working state.
[0080] In this embodiment, when all environmental parameters do not meet their corresponding freezing intervals, the target rotation power of the motor is determined to be zero. That is, it can be determined based on the environmental parameters that the anemometer has no possibility of freezing in the current environment. Therefore, the normal operation of the anemometer can be maintained without starting the motor to drive the anemometer to rotate. While ensuring the normal operation of the anemometer, the electric energy consumed by the motor rotation can also be saved.
[0081] S211. Obtaining a speed change parameter of an anemometer and a wind direction change parameter of a wind vane within a preset time period.
[0082] The anemometer includes an anemometer and a wind vane. The anemometer is used to measure the current wind speed, and the wind vane is used to measure the current wind direction. The speed change parameter is the speed change degree of the propeller blade when the motor drives the anemometer to rotate according to the target rotational power and the air passes through the anemometer blade within a preset time period. The wind direction change parameter is the speed change degree of the wind vane when the motor drives the anemometer to rotate according to the target rotational power and the air passes through different sectors within a preset time period.
[0083] Specifically, in the anemometer antifreeze method provided by the embodiment of the present invention, when the motor is controlled to drive the anemometer to rotate, since the anemometer is in an abnormal working state, the anemometer can be measured according to the method described in S211-S213. Therefore, the control end can obtain the speed change parameters of the anemometer and the wind direction change parameters of the wind vane within a preset time period through communication signals or electrical signals.
[0084] S212: Determine the current ambient wind speed according to the wind speed mapping relationship and the speed change parameter.
[0085] The wind speed mapping relationship is used to indicate the mapping relationship between the target rotational power, the rotational speed variation parameter and the standard ambient wind speed.
[0086] For example, an experiment can be conducted on the anemometer in advance. The experiment content is: when the motor is at different target rotation powers and drives the anemometer to rotate, the speed change parameter and the standard ambient wind speed are measured; a mapping relationship between the three can be established according to different target rotation powers, speed change parameters and standard ambient wind speeds, and used as a wind speed mapping relationship. The mapping relationship can be presented in the form of a table, an image or a formula.
[0087] Specifically, when the motor drives the anemometer to rotate according to the target rotational power, the control end can obtain the speed change parameters of the anemometer within a preset time period, and determine the current ambient wind speed based on the mapping relationship between the target rotational power, the speed change parameters and the wind speed.
[0088] S213. Determine the current environmental wind direction according to the wind direction mapping relationship and the wind direction change parameter.
[0089] The wind direction mapping relationship is used to indicate the mapping relationship between the target rotation power, the wind direction change parameter and the standard environment wind direction.
[0090] For example, an experiment can be conducted on the wind vane in advance. The experiment content is: when the motor is at different target rotation powers and drives the anemometer to rotate, the wind direction change parameter and the standard environmental wind direction are measured; according to different target rotation powers, the wind direction change parameter and the standard environmental wind direction, a mapping relationship between the three can be established and used as a wind direction mapping relationship. The mapping relationship can be presented in the form of a table, an image or a formula.
[0091] Specifically, when the motor drives the anemometer to rotate according to the target rotational power, the control end can obtain the wind direction change parameters of the wind vane within a preset time period, and determine the current ambient wind direction based on the target rotational power, wind direction change parameters and wind direction mapping relationship.
[0092] In this embodiment, when the motor drives the anemometer to rotate according to the target rotational power and the anemometer cannot work normally in the antifreeze treatment stage, the current ambient wind speed can be determined based on the wind speed mapping relationship and the speed change parameters, and the current ambient wind direction can be determined based on the wind direction mapping relationship and the wind direction change parameters. This ensures that the current wind speed and wind direction can still be measured when the anemometer cannot work normally, thereby ensuring the effective operation of the anemometer in the antifreeze treatment stage.
[0093] The anemometer antifreezing method provided by the embodiment of the present invention, on the one hand, if at least one of the environmental parameters satisfies its corresponding freezing interval, and more than one environmental parameter satisfies its corresponding freezing interval, the target rotation power is determined to be the first rotation power. Based on the phenomenon that multiple environmental parameters all meet their corresponding freezing intervals, it can be determined that the probability of the anemometer being frozen in the current environment is relatively high. Therefore, it is determined to control the rotation of the motor with the first rotation power to ensure that the probability of the anemometer being frozen can be reduced in time when the probability of being frozen is relatively high, so that the moisture on the surface of the anemometer can be evaporated quickly to prevent the formation of condensation. On the other hand, if only one of the environmental parameters satisfies its corresponding freezing interval, the target rotation power is determined to be the second rotation power. Based on the phenomenon that only one of the multiple environmental parameters meets its corresponding freezing interval, it can be determined that the probability of the anemometer being frozen in the current environment is less than the probability of the anemometer being frozen in the previous step. Therefore, it is determined to control the rotation of the motor with the second rotation power smaller than the first rotation power to ensure that the probability of the anemometer being frozen can be reduced in time when the probability of being frozen is relatively low. At the same time, the energy consumed by the motor to drive the anemometer to rotate can also be reduced. On the other hand, by determining the rotational power magnitude relationship between the current rotational power of the motor and the target rotational power, it is determined that the change in the rotational power of the motor is controlled in a uniform acceleration or uniform deceleration manner, which can avoid the impact of the motor on the anemometer caused by sudden acceleration or deceleration. On the other hand, when all environmental parameters do not meet their corresponding freezing intervals, the target rotational power of the motor is determined to be zero. That is, according to the environmental parameters, it can be determined that the anemometer has no possibility of freezing in the current environment. Therefore, the normal operation of the anemometer can be maintained, and there is no need to turn on the motor to drive the anemometer to rotate. While ensuring the normal operation of the anemometer, the electric energy consumed by the motor rotation can also be saved. Finally, when the motor drives the anemometer to rotate according to the target rotational power, and the anemometer cannot work normally in the antifreeze treatment stage, the current environmental wind speed can be determined based on the wind speed mapping relationship and the speed change parameter, and the current environmental wind direction can be determined based on the wind direction mapping relationship and the wind direction change parameter, so that the current wind speed and wind direction can still be measured when the anemometer cannot work normally, and the effective operation of the anemometer in the antifreeze treatment stage is ensured.
[0094] Figure 4 Another structural schematic diagram of the anemometer antifreeze device provided by an embodiment of the present invention. Figure 4 As shown, the device comprises:
[0095] The acquisition module 401 is used to acquire the environmental parameters of the current environment of the anemometer, wherein one environmental parameter corresponds to one freezing interval;
[0096] A determination module 402 is used to determine the target rotation power of the motor according to the environmental parameter if any environmental parameter satisfies its corresponding freezing interval;
[0097] The control module 403 is used to control the motor to work according to the target rotation power, so that the anemometer can shake off the water on the surface driven by the motor.
[0098] Optionally, when the environmental parameters include the current temperature and the current humidity, the freezing interval corresponding to the current temperature is the temperature threshold interval, and the freezing interval corresponding to the current humidity is the humidity threshold interval; the determination module 402 is specifically used to:
[0099] If the current temperature is within the temperature threshold range and the current humidity is within the humidity threshold range, the target rotation power is determined to be the first rotation power; if the current temperature is within the temperature threshold range and the current humidity is not within the humidity threshold range, or if the current temperature is not within the temperature threshold range and the current humidity is within the humidity threshold range, the target rotation power is determined to be the second rotation power; wherein the first rotation power is greater than the second rotation power.
[0100] Optionally, the control module 403 is specifically configured to:
[0101] Determine the current rotational power of the motor; when it is determined that the current rotational power is less than the target rotational power, control the motor to uniformly accelerate from the current rotational power to the target rotational power; when it is determined that the current rotational power is greater than the target rotational power, control the motor to uniformly decelerate from the current rotational power to the target rotational power; when it is determined that the current rotational power is equal to the target rotational power, control the motor to operate according to the current rotational power.
[0102] Optionally, the control module 403 is further configured to:
[0103] If all environmental parameters do not satisfy their corresponding freezing intervals, the target rotational power of the motor is determined to be zero; the motor is controlled to operate according to the target rotational power so that the anemometer is in a normal measurement state.
[0104] Optionally, the anemometer includes an anemometer and a wind vane; after controlling the motor to work according to the target rotation power, the control module 403 is further used to:
[0105] Obtain the speed change parameters of the anemometer and the wind direction change parameters of the wind vane within a preset time period, wherein the wind direction change parameters are the speed change parameters of the wind vanes in different sectors; determine the current ambient wind speed based on the wind speed mapping relationship and the speed change parameters, wherein the wind speed mapping relationship is used to indicate the mapping relationship between the target rotation power, the speed change parameters and the standard ambient wind speed; determine the current ambient wind direction based on the wind direction mapping relationship and the wind direction change parameters, wherein the wind direction mapping relationship is used to indicate the mapping relationship between the target rotation power, the wind direction change parameters and the standard ambient wind direction.
[0106] The anemometer antifreeze device provided in the embodiment of the present invention can execute the anemometer antifreeze method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0107] Figure 5 A schematic diagram of the structure of an electronic device 5 provided for an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0108] like Figure 5 As shown, the electronic device 5 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 5 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0109] A number of components in the electronic device 5 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 5 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the anemometer antifreeze method.
[0111] In some embodiments, the anemometer antifreeze method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 5 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the anemometer antifreeze method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the anemometer antifreeze method in any other appropriate manner (for example, by means of firmware).
[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0114] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the anemometer antifreeze method provided by any embodiment of the present invention.
[0119] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0120] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0121] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for antifreezing an anemometer, characterized in that: Applied to a control end, the control end is electrically connected to a motor, and the motor is electrically or mechanically connected to a wind meter; the method comprises: Obtaining environmental parameters of the environment in which the anemometer is currently located, wherein one environmental parameter corresponds to a freezing interval; If any one of the environmental parameters satisfies its corresponding freezing interval, then determining the target rotation power of the motor according to the environmental parameter; The motor is controlled to operate according to the target rotational power, so that the anemometer can shake off the water on the surface driven by the motor.
2. The anemometer antifreeze method according to claim 1, characterized in that: The environmental parameters include at least one of current temperature, current humidity, current wind speed, current wind direction, current air pressure, and current light intensity.
3. The anemometer antifreeze method according to claim 2, characterized in that: When the environmental parameters include the current temperature and the current humidity, the freezing interval corresponding to the current temperature is the temperature threshold interval, and the freezing interval corresponding to the current humidity is the humidity threshold interval; The step of determining the target rotational power of the motor according to the environmental parameter comprises: If the current temperature is within the temperature threshold interval, and the current humidity is within the humidity threshold interval, determining the target rotational power to be the first rotational power; If the current temperature is within the temperature threshold interval and the current humidity is not within the humidity threshold interval, or if the current temperature is not within the temperature threshold interval and the current humidity is within the humidity threshold interval, determining the target rotation power to be the second rotation power; Wherein, the first rotation power is greater than the second rotation power.
4. The anemometer antifreeze method according to claim 1, characterized in that: The controlling the motor to operate according to the target rotational power comprises: determining a current rotational power of the motor; When it is determined that the current rotational power is less than the target rotational power, controlling the motor to uniformly accelerate from the current rotational power to the target rotational power; When it is determined that the current rotational power is greater than the target rotational power, controlling the motor to uniformly decelerate from the current rotational power to the target rotational power; When it is determined that the current rotational power is equal to the target rotational power, the motor is controlled to operate according to the current rotational power.
5. The anemometer antifreeze method according to claim 1, characterized in that: The method further includes: If all the environmental parameters do not satisfy the corresponding freezing intervals, determining the target rotation power of the motor to be zero; The motor is controlled to operate according to the target rotational power so that the anemometer is in a normal measuring state.
6. The anemometer antifreeze method according to claim 1, characterized in that: The anemometer comprises an anemometer and a wind vane; After controlling the motor to operate according to the target rotation power, the method further includes: Acquire the speed change parameter of the anemometer and the wind direction change parameter of the wind vane within a preset time period, wherein the wind direction change parameter is the speed change parameter of the wind vane in different sectors; Determining the current ambient wind speed according to the wind speed mapping relationship and the rotation speed change parameter, wherein the wind speed mapping relationship is used to indicate a mapping relationship between the target rotation power, the rotation speed change parameter and the standard ambient wind speed; The current environmental wind direction is determined according to the wind direction mapping relationship and the wind direction change parameter, wherein the wind direction mapping relationship is used to indicate a mapping relationship between the target rotation power, the wind direction change parameter and the standard environmental wind direction.
7. The anemometer antifreeze method according to claim 1, characterized in that: The control end is also electrically connected to an environmental monitor; the step of obtaining the environmental parameters of the current environment of the anemometer includes: Acquire an environmental analog signal collected by the environmental monitor; The environmental analog signal is converted into a digital signal by using an analog-to-digital A / D converter to obtain the environmental parameter.
8. An anemometer antifreeze device, characterized in that: Applied to a control end, the control end is electrically connected to a motor, and the motor is electrically or mechanically connected to a wind meter; the device comprises: An acquisition module, used for acquiring environmental parameters of the environment in which the anemometer is currently located, wherein one environmental parameter corresponds to one freezing interval; A determination module, configured to determine a target rotational power of the motor according to any one of the environmental parameters if the environmental parameter satisfies its corresponding freezing interval; The control module is used to control the motor to work according to the target rotational power, so that the anemometer can shake off the water on the surface driven by the motor.
9. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the anemometer antifreezing method according to any one of claims 1 to 7.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the anemometer antifreeze method according to any one of claims 1 to 7 is implemented.