Cabin calibration method and device, storage medium and computer program product

By converting the angular deviation between the axial direction of the nacelle and the target direction into a current signal and resolving it into a digital signal, the axial direction of the nacelle is automatically adjusted, and the problem of inaccurate manual calibration is solved and higher calibration accuracy is achieved.

CN119394159APending Publication Date: 2025-02-07HUANENG CHENBALHUQI WIND POWER GENERATION CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411561595.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-07

Smart Images

  • Figure CN119394159A_ABST
    Figure CN119394159A_ABST
Patent Text Reader

Abstract

The invention discloses a cabin calibration method and device, a storage medium and a computer program product, and relates to the field of wind power generation, and the cabin calibration method comprises the following steps: determining a first included angle between the axis direction of a cabin and a pointer on a direction detection device, the direction detection device is arranged on the outer side of the cabin and is a device for detecting a fixed target direction, a pointer is arranged on the direction detection device, and the pointer is used for fixedly pointing to the target direction; converting the first included angle into a corresponding current signal, and determining a digital signal corresponding to the current signal; and the cabin is calibrated according to the digital signal, so that the axis direction of the calibrated cabin is consistent with the target direction. By adopting the technical scheme, the problem that the calibration of the cabin is inaccurate due to the fact that errors are easily generated when the angular deviation between the cabin and the target direction is manually detected and calibrated is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wind power generation, and in particular, to a nacelle calibration method and device, a storage medium, and a computer program product. Background Art

[0002] The calibration of the nacelle direction of a wind turbine is one of the key steps to ensure the efficient and safe operation of a wind turbine. In the current related technologies, the calibration of the nacelle direction of a wind turbine usually relies on manual work. Specifically, maintenance or technical personnel need to climb the tower and use a compass or similar direction detection tool to visually read the relative angle between the axis of the nacelle and the north direction. Subsequently, the position of the nacelle is manually adjusted according to the read angle deviation to ensure that the nacelle is accurately aligned with the target direction. However, manual angle reading is easily affected by personal judgment and environmental conditions (such as wind speed and weather), resulting in inaccurate calibration of the nacelle.

[0003] In the related technology, manual detection and calibration of the angle deviation between the cabin and the target direction are performed, which is prone to errors and leads to inaccurate cabin calibration. No effective solution has been proposed so far.

[0004] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention

[0005] The embodiments of the present application provide a cabin calibration method and device, a storage medium and a computer program product, so as to at least solve the problem in the related art that errors are easily generated by manually detecting the angular deviation between the cabin and the target direction and performing calibration, resulting in inaccurate cabin calibration.

[0006] According to one aspect of an embodiment of the present application, a nacelle calibration method is provided, comprising: determining a first angle between an axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, and the direction detection device is arranged outside the nacelle and is a device for detecting a fixed target direction, and a pointer is provided on the direction detection device, and the pointer is used to fixedly point to the target direction; converting the first angle into a corresponding current signal, and determining a digital signal corresponding to the current signal; and calibrating the nacelle according to the digital signal so that the axial direction of the calibrated nacelle is consistent with the target direction.

[0007] In an exemplary embodiment, before determining a first angle between the axial direction of the cabin and a pointer on a direction detection device, the method further includes: determining a first power supply and a second power supply set for a control system of the cabin, wherein the first power supply is used to store electric energy converted from solar energy, and the second power supply is a storage battery; when the remaining electric energy of the second battery is less than a first threshold value, the control system is powered by the first power supply.

[0008] In an exemplary embodiment, the cabin is calibrated according to the digital signal, including: parsing the digital signal to determine the amount to be adjusted in the axial direction; adjusting the axial direction according to the amount to be adjusted so that the axial direction of the calibrated cabin is consistent with the target direction.

[0009] In an exemplary embodiment, converting the first angle into a corresponding current signal includes: converting the first angle into a corresponding resistance value through an angular displacement sensor; constructing a current source circuit according to a constant voltage source, an operational amplifier and the angular displacement sensor, and determining a current signal proportional to the resistance value according to Ohm's law, wherein one end of the angular displacement sensor is connected to the constant voltage source, and the other end is connected to the ground through the non-inverting input terminal of the operational amplifier.

[0010] In an exemplary embodiment, determining a digital signal corresponding to the current signal includes: determining a voltage signal corresponding to the current signal based on a sampling resistor, wherein the resistance value of the sampling resistor is a known resistance value; and converting the voltage signal into a digital signal through an analog-to-digital converter.

[0011] In an exemplary embodiment, after the cabin is calibrated according to the digital signal so that the axial direction of the cabin after calibration is consistent with the target direction, the method further includes: determining a second angle between the axial direction of the cabin and a pointer on the direction detection device; and determining that the axial direction of the cabin is consistent with the target direction when the second angle is consistent with the target value.

[0012] In an exemplary embodiment, the direction detection device includes at least one of the following: a compass and a north needle.

[0013] According to another aspect of an embodiment of the present application, a nacelle calibration device is also provided, including: a first determination module, used to determine a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, and the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and a pointer is provided on the direction detection device, and the pointer is used to fixedly point to the target direction; a second determination module, used to convert the first angle into a corresponding current signal, and determine a digital signal corresponding to the current signal; a calibration module, used to calibrate the nacelle according to the digital signal, so that the axial direction of the calibrated nacelle is consistent with the target direction.

[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned cabin calibration method when running.

[0015] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the cabin calibration method through the computer program.

[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.

[0017] Through the present application, the first angle between the axis direction of the cabin and the pointer on the direction detection device is determined, the first angle is converted into a corresponding current signal, and the corresponding digital signal is determined according to the current signal, and the cabin is calibrated according to the digital signal. This solves the problem in the related art that errors are easily generated by manually detecting the angle deviation between the cabin and the target direction and calibrating it, resulting in inaccurate cabin calibration. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1It is a hardware structure block diagram of a computer terminal of a cabin calibration method according to an embodiment of the present application;

[0021] Figure 2 is a flow chart of a cabin calibration method according to an embodiment of the present application;

[0022] Figure 3 is a flow chart of a cabin calibration method according to an embodiment of the present application;

[0023] Figure 4 is a schematic diagram of a cabin calibration method according to an embodiment of the present application;

[0024] Figure 5 It is a structural block diagram of a cabin calibration device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] The method embodiments provided in the embodiments of the present application can be executed in a cabin or a similar computing device. Taking running on the cabin as an example, Figure 1 FIG. 1 is a hardware structure diagram of a cabin of a cabin calibration method according to an embodiment of the present application. Figure 1 As shown, the cabin may include one or more ( Figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data, wherein the cabin may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the above-mentioned cabin. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the cabin calibration method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the cabin via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0029] A wireless network provided by a communication provider in the cabin. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0030] In this embodiment, a cabin calibration method is provided, which is applied to the control system in the cabin. Figure 2 is a flow chart of a cabin calibration method according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:

[0031] Step S202, determining a first angle between the axis direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction;

[0032] Step S204, converting the first angle into a corresponding current signal, and determining a digital signal corresponding to the current signal;

[0033] Step S206, calibrating the nacelle according to the digital signal so that the axis direction of the calibrated nacelle is consistent with the target direction.

[0034] Through the above steps, the first angle between the axis direction of the cabin and the pointer on the direction detection device is determined, wherein the cabin is the cabin of a wind turbine, the direction detection device is arranged outside the cabin, and is a device for detecting a fixed target direction, the direction detection device is provided with a pointer, and the pointer is used to point to the target direction; the first angle is converted into a corresponding current signal, and a digital signal corresponding to the current signal is determined; the cabin is calibrated according to the digital signal, so that the axis direction of the cabin after calibration is consistent with the target direction. This solves the problem in the related art that errors are easily generated by manually detecting the angle deviation between the cabin and the target direction and performing calibration, resulting in inaccurate cabin calibration.

[0035] In an exemplary embodiment, before determining a first angle between the axial direction of the cabin and a pointer on a direction detection device, the method further includes: determining a first power supply and a second power supply set for a control system of the cabin, wherein the first power supply is used to store electric energy converted from solar energy, and the second power supply is a storage battery; when the remaining electric energy of the second battery is less than a first threshold value, the control system is powered by the first power supply.

[0036] When it is detected that the remaining power of the second battery (energy storage battery) is lower than the preset first threshold value (for example, 30% remaining power), the control system starts to be powered directly by the first power source, that is, by the power converted from solar energy. At the same time, the power converted from solar energy will continue to charge the second power source until the power of the second power source returns to a safe level. At this time, the control system can switch back to being powered by the second power source again, or when there is sufficient sunlight, the first power source will be used first, while charging the second power source, so as to maintain the redundancy and flexibility of the system.

[0037] Optionally, assume that the control system of the cabin is equipped with a 100W solar panel and a set of 50Ah lithium-ion batteries. During the day, the solar panel can not only power the control system, but also charge the lithium-ion battery. Even at night or on rainy days, the control system can rely on the fully charged lithium-ion battery to work. When the control system detects that the power of the lithium-ion battery is less than 30%, the control system will automatically switch to the solar panel power supply mode and start the charging process of the lithium-ion battery until the power of the lithium-ion battery returns to a safe level, thereby achieving efficient and stable operation of the control system, reducing downtime caused by power problems, and ensuring the continuous power generation capacity of the wind farm.

[0038] In an exemplary embodiment, the cabin is calibrated according to the digital signal, including: parsing the digital signal to determine the amount to be adjusted in the axial direction; adjusting the axial direction according to the amount to be adjusted so that the axial direction of the calibrated cabin is consistent with the target direction.

[0039] After receiving the digital signal, the control system analyzes the digital signal and determines the specific angle deviation value represented by the digital signal. This process usually involves decoding the output value of the analog-to-digital converter ADC, and calculating the corresponding angle deviation according to the resolution and reference voltage of the analog-to-digital converter ADC. For example, if the angle deviation corresponding to the full-scale voltage of the analog-to-digital converter ADC is 360 degrees, and the output value of the analog-to-digital converter ADC is 512 (assuming a 10-bit analog-to-digital converter ADC), then the current first angle deviation can be calculated as 360 degrees * 512 / 1023 (1023 is the maximum output value of the 10-bit analog-to-digital converter ADC). In this way, a specific deviation angle value, i.e., the amount to be adjusted, is obtained. The axis direction of the cabin is adjusted according to the analyzed amount to be adjusted. For example, the number of turns or angles that the yaw motor needs to rotate is calculated by the PID controller to eliminate the first angle deviation and adjust the axis direction of the cabin to be consistent with the target direction. If the analyzed amount to be adjusted is 15 degrees, the control system will send a command to the yaw motor to rotate the corresponding angle until the deviation angle detected by the magnetic sensor is 0 or within an acceptable error range.

[0040] In an exemplary embodiment, converting the first angle into a corresponding current signal includes: converting the first angle into a corresponding resistance value through an angular displacement sensor; constructing a current source circuit according to a constant voltage source, an operational amplifier and the angular displacement sensor, and determining a current signal proportional to the resistance value according to Ohm's law, wherein one end of the angular displacement sensor is connected to the constant voltage source, and the other end is connected to the ground through the non-inverting input terminal of the operational amplifier.

[0041] The constant voltage source in the circuit can be a common DC power supply in a wind turbine, such as a 24V or 48V power supply, to provide a stable operating voltage for the circuit. Connect one end of the angular displacement sensor to the constant voltage source, and the other end, i.e., the variable resistance end of the angular displacement sensor, to the ground through the non-inverting input end of the operational amplifier. Use the operational amplifier as a voltage follower. When there is a deviation between the axial direction of the cabin and the target direction, the resistance value of the angular displacement sensor will change. According to Ohm's law, current is equal to voltage divided by resistance, i.e., I=V / R. Through the current source circuit configured by the operational amplifier, the output current I will be proportional to the resistance change of the angular displacement sensor, i.e., proportional to the first angle.

[0042] For example, assuming that the resistance value of the angular displacement sensor at 0 degrees is 100 ohms, when a deviation occurs between the axis direction of the cabin and the target direction, that is, the first angle occurs, the resistance value of the angular displacement sensor will change to 120 ohms. Assuming that a 24V constant voltage source and a 120-ohm fixed resistor are used, then at 0 degrees, the current I1 passing through the current source is 24V / 100 ohms = 0.24A. When the first angle exists, the resistance value of the angular displacement sensor becomes 120 ohms, and the current I2 is 24V / 120 ohms = 0.2A. Therefore, the change in the first angle can be determined by the change in the resistance of the angular displacement sensor, and the current signal can be determined based on the change in the resistance of the angular displacement sensor.

[0043] In an exemplary embodiment, determining a digital signal corresponding to the current signal includes: determining a voltage signal corresponding to the current signal based on a sampling resistor, wherein the resistance value of the sampling resistor is a known resistance value; and converting the voltage signal into a digital signal through an analog-to-digital converter.

[0044] Alternatively, assume that a sampling resistor with a resistance value of 1 ohm and an analog-to-digital converter with a 12-bit resolution are used. When there is a deviation between the axis direction of the cabin and the target direction, the angular displacement sensor generates a 4mA current signal. When this current flows through the sampling resistor, according to Ohm's law, the voltage drop generated across the sampling resistor is 4mV. This 4mV voltage signal is sent to the analog-to-digital converter ADC for analog-to-digital conversion. Assuming that the reference voltage of the analog-to-digital converter ADC is 2.5V, the analog-to-digital converter ADC converts the 4mV voltage signal into a digital code, which represents the digital code corresponding to 4mV under the reference voltage of 2.5V. In a 12-bit analog-to-digital converter ADC, 2.5V can be expressed as 4095 coding units, so 1mV (ie, 2.5V / 4095) corresponds to approximately 0.608 coding units. Therefore, 4mV will be converted into approximately 2.432 coding units, which is approximately 24.

[0045] Through the above process, the current signal generated by the first angle is successfully converted into a voltage signal through a sampling resistor, and then converted into a digital signal through an analog-to-digital converter. Based on this digital signal, the control system can accurately calculate the first angle, thereby guiding the adjustment of the cabin direction to align it with the target direction.

[0046] In an exemplary embodiment, after the cabin is calibrated according to the digital signal so that the axial direction of the cabin after calibration is consistent with the target direction, the method further includes: determining a second angle between the axial direction of the cabin and a pointer on the direction detection device; and determining that the axial direction of the cabin is consistent with the target direction when the second angle is consistent with the target value.

[0047] Optionally, assuming that the digital signal calibration of the axis direction of the cabin has been completed, the control system displays that the axis direction of the cabin is aligned with the target direction, that is, the first angle reflected by the digital signal is 0 degrees. In order to verify this result, a magnetic compass with a fixed pointer is used as a direction detection device, and the pointer always points to the north direction under ideal conditions such as no wind. Observe the second angle between the pointer on the magnetic compass and the axis of the cabin. If the control system displays that the axis direction of the cabin is consistent with the target direction, and the second angle measurement result is also displayed as 0 degrees, then it can be confirmed that the axis direction of the cabin is indeed aligned with the target direction. On the contrary, if the second angle measurement result is not 0 degrees, this indicates that there is an error in the calibration in the control system and further adjustment and calibration are required.

[0048] In an exemplary embodiment, the direction detection device includes at least one of the following: a compass and a north needle.

[0049] Obviously, the above-described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. In order to better understand the above-mentioned cabin calibration method, the above-mentioned process is described below in combination with the embodiments, but it is not intended to limit the technical solution of the embodiments of the present application, specifically:

[0050] Figure 3 is a flow chart of a cabin calibration method according to an embodiment of the present application; Figure 3 As shown, including:

[0051] The first angle between the axis direction of the cabin and the target direction (such as due north) is measured by a magnetic sensor (such as a compass). The angle measurement of the first angle is continuously carried out during the entire detection and adjustment process. If the measured first angle is 0°, it means that the axis direction of the cabin is consistent with the target direction, and the control system does not need to make adjustments at this time. If there is a non-zero deviation angle a in the first angle, this indicates that the axis direction of the cabin needs to be adjusted. The deviation angle a is further converted into a power signal ΔI, which represents the degree of demand for yaw adjustment. After the deviation angle a is converted into the power signal ΔI, the power signal ΔI is converted into a digital signal through an analog-to-digital converter, and the control system parses the digital signal to determine the precise deviation a between the axis direction of the cabin and the target direction. According to the parsed deviation a, the control system executes the yaw algorithm to calculate the angle that the yaw motor needs to rotate to eliminate the deviation. The yaw motor is fine-tuned according to the instructions of the control system until the measured deviation angle a is close to or equal to 0°, completing the automatic adjustment of the cabin to the due north direction.

[0052] During the process of adjusting the cabin axis direction by the control system, the relative angle change between the compass and the cabin axis calibration line is monitored in real time to ensure that the adjustment process is carried out in the direction of reducing the deviation. The monitored relative angle change is fed back to the control system, and the control system adjusts the algorithm parameters, such as the proportional, integral, and differential parameters of the PID controller, according to the feedback information to optimize the adjustment process. When the control system reports that the cabin axis direction has been adjusted to the target direction, the second angle between the compass and the cabin axis calibration line is measured again to verify whether the adjustment has achieved the expected effect. If the verification result shows that the cabin axis direction is consistent with the target direction, the closed-loop verification is completed and the cabin calibration process is successful.

[0053] In order to better understand the process of the above-mentioned cabin calibration method, the implementation method flow of the above-mentioned cabin calibration is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.

[0054] In an optional embodiment, in combination Figure 4 The cabin calibration method of the present application is further described. Figure 4 As shown, including the following:

[0055] One end of the angular displacement sensor is connected to a constant voltage source, and the other end, i.e., the variable resistance end of the angular displacement sensor, is connected to the ground through the non-inverting input end of the operational amplifier. The operational amplifier is used as a voltage follower. When the first angle between the axis direction of the cabin and the pointer on the detection direction device is greater than the target value (such as 0°), the first angle is converted into a corresponding resistance value by the angular displacement sensor, and a current signal proportional to the resistance value is determined according to Ohm's law. For example, assuming that the resistance value of the angular displacement sensor at 0 degrees is 100 ohms, when there is a deviation between the axis direction of the cabin and the target direction, that is, the first angle occurs, the resistance value of the angular displacement sensor will change to 120 ohms. Assuming that a 24V constant voltage source and a 120 ohm fixed resistor are used, then at 0 degrees, the current I1 through the current source is 24V / 100 ohms = 0.24A. In the presence of the first angle, the resistance value of the angular displacement sensor becomes 120 ohms, and the current I2 is 24V / 120 ohms = 0.2A. Therefore, the change of the first angle can be determined by the change of the resistance of the angular displacement sensor, and the current signal can be determined according to the change of the resistance of the angular displacement sensor.

[0056] The current signal generated by the first angle is converted into a voltage signal through a sampling resistor, and then converted into a digital signal through an analog-to-digital converter. Based on this digital signal, the control system can accurately calculate the first angle, thereby guiding the adjustment of the cabin direction to align it with the target direction. When the control system reports that the axis direction of the cabin has been adjusted to the target direction, the second angle between the compass and the cabin axis calibration line is measured again to verify whether the adjustment has achieved the expected effect. For example, assuming that the digital signal calibration of the axis direction of the cabin has been completed, the control system shows that the axis direction of the cabin is aligned with the target direction, that is, the first angle reflected by the digital signal is 0 degrees. In order to verify this result, a magnetic compass with a fixed pointer is used as a direction detection device. The pointer always points to the north direction under ideal conditions such as no wind. Observe the second angle between the pointer on the magnetic compass and the axis of the cabin. If the control system shows that the axis direction of the cabin is consistent with the target direction, and the second angle measurement result is also displayed as 0 degrees, it can be confirmed that the axis direction of the cabin is indeed aligned with the target direction. On the contrary, if the second angle measurement result is not 0 degrees, this indicates that there is an error in the calibration of the control system and further adjustment and calibration are required.

[0057] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0058] In this embodiment, a cabin calibration device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0059] Figure 5 is a structural block diagram of a cabin calibration device according to an embodiment of the present application, the device comprising:

[0060] A first determination module 50 is used to determine a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction;

[0061] A second determination module 52, configured to convert the first angle into a corresponding current signal, and determine a digital signal corresponding to the current signal;

[0062] The calibration module 54 is used to calibrate the nacelle according to the digital signal so that the axis direction of the calibrated nacelle is consistent with the target direction.

[0063] Through the above device, the first angle between the axis direction of the cabin and the pointer on the detection direction device is determined, wherein the cabin is the cabin of a wind turbine, the detection direction device is arranged outside the cabin, and is a device for detecting a fixed target direction, the detection direction device is provided with a pointer, and the pointer is used to point to the target direction; the first angle is converted into a corresponding current signal, and a digital signal corresponding to the current signal is determined; the cabin is calibrated according to the digital signal, so that the axis direction of the cabin after calibration is consistent with the target direction. This solves the problem in the related art that errors are easily generated by manually detecting the angle deviation between the cabin and the target direction and performing calibration, resulting in inaccurate cabin calibration.

[0064] In an exemplary embodiment, the first determination module 50 is also used to determine a first power supply and a second power supply set for the control system of the cabin, wherein the first power supply is used to store electric energy converted from solar energy, and the second power supply is a storage battery; when the remaining electric energy of the second battery is less than a first threshold value, the control system is powered by the first power supply.

[0065] In an exemplary embodiment, the calibration module 54 is further used to analyze the digital signal to determine the amount to be adjusted in the axial direction; and adjust the axial direction according to the amount to be adjusted so that the axial direction of the cabin after calibration is consistent with the target direction.

[0066] In an exemplary embodiment, the second determination module 52 is further used to convert the first angle into a corresponding resistance value through an angular displacement sensor; construct a current source circuit according to a constant voltage source, an operational amplifier and the angular displacement sensor, and determine a current signal proportional to the resistance value according to Ohm's law, wherein one end of the angular displacement sensor is connected to the constant voltage source, and the other end is connected to the ground through the non-inverting input terminal of the operational amplifier.

[0067] In an exemplary embodiment, the second determination module 52 is further configured to determine a voltage signal corresponding to the current signal according to a sampling resistor, wherein the resistance value of the sampling resistor is a known resistance value; and convert the voltage signal into a digital signal through an analog-to-digital converter.

[0068] In an exemplary embodiment, the calibration module 54 is also used to determine a second angle between the axial direction of the cabin and the pointer on the detection direction device; when the second angle is consistent with the target value, it is determined that the axial direction of the cabin is consistent with the target direction.

[0069] In an exemplary embodiment, the first determination module 50 is also used for the direction detection device to include at least one of the following: a compass and a north needle.

[0070] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0071] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0072] S1, determining a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction;

[0073] S2, converting the first angle into a corresponding current signal, and determining a digital signal corresponding to the current signal;

[0074] S3, calibrating the nacelle according to the digital signal so that the axial direction of the calibrated nacelle is consistent with the target direction.

[0075] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0076] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0077] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0078] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0079] S1, determining a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction;

[0080] S2, converting the first angle into a corresponding current signal, and determining a digital signal corresponding to the current signal;

[0081] S3, calibrating the nacelle according to the digital signal so that the axial direction of the calibrated nacelle is consistent with the target direction.

[0082] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0083] An embodiment of the present application further provides a computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program product, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.

[0084] Optionally, in this embodiment, the above computer program may be configured to implement the following steps when executed by a processor:

[0085] S1, determining a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction;

[0086] S2, converting the first angle into a corresponding current signal, and determining a digital signal corresponding to the current signal;

[0087] S3, calibrating the nacelle according to the digital signal so that the axial direction of the calibrated nacelle is consistent with the target direction.

[0088] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0089] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0090] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A cabin calibration method, characterized in that: include: Determine a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction; Converting the first angle into a corresponding current signal, and determining a digital signal corresponding to the current signal; The nacelle is calibrated according to the digital signal so that the axial direction of the calibrated nacelle is consistent with the target direction.

2. The cabin calibration method according to claim 1, characterized in that: Before determining a first angle between the axial direction of the nacelle and the pointer on the direction detection device, the method further includes: Determining a first power source and a second power source provided for a control system of the cabin, wherein the first power source is used to store electrical energy converted from solar energy, and the second power source is an energy storage battery; When the remaining power of the second battery is less than a first threshold, the control system is powered by the first power supply.

3. The cabin calibration method according to claim 1, characterized in that: Calibrating the nacelle according to the digital signal includes: Analyzing the digital signal to determine the amount to be adjusted in the axis direction; The axis direction is adjusted according to the amount to be adjusted so that the axis direction of the nacelle after calibration is consistent with the target direction.

4. The cabin calibration method according to claim 1, characterized in that: Converting the first angle into a corresponding current signal includes: Converting the first angle into a corresponding resistance value by an angular displacement sensor; A current source circuit is constructed according to a constant voltage source, an operational amplifier and the angular displacement sensor, and a current signal proportional to the resistance value is determined according to Ohm's law, wherein one end of the angular displacement sensor is connected to the constant voltage source, and the other end is connected to the ground through the non-inverting input terminal of the operational amplifier.

5. The cabin calibration method according to claim 1, characterized in that: Determining a digital signal corresponding to the current signal includes: Determine a voltage signal corresponding to the current signal according to a sampling resistor, wherein the resistance value of the sampling resistor is a known resistance value; The voltage signal is converted into a digital signal by an analog-to-digital converter.

6. The cabin calibration method according to claim 1, characterized in that: After calibrating the nacelle according to the digital signal so that the axis direction of the calibrated nacelle is consistent with the target direction, the method further includes: Determine a second angle between the axial direction of the nacelle and the pointer on the direction detection device; When the second angle is consistent with the target value, it is determined that the axial direction of the nacelle is consistent with the target direction.

7. The cabin calibration method according to claim 1, characterized in that: The direction detection device includes at least one of the following: a compass and a north needle.

8. A cabin calibration device, characterized in that: include: A first determination module is used to determine a first angle between the axial direction of the nacelle and a pointer on a direction detection device, wherein the nacelle is a nacelle of a wind turbine generator set, the direction detection device is arranged outside the nacelle, and is a device for detecting a fixed target direction, and the direction detection device is provided with a pointer, and the pointer is used to fixedly point to the target direction; A second determination module, configured to convert the first angle into a corresponding current signal, and determine a digital signal corresponding to the current signal; A calibration module is used to calibrate the nacelle according to the digital signal so that the axis direction of the calibrated nacelle is consistent with the target direction.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 7 when executed.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.