Parameter initialization method of variable pitch system, variable pitch system
By using hardware dongles and ARM chips in the pitch system to automatically identify and initialize parameters, it solves the problem of parameter management complexity and security risks under various drive and motor configurations, achieving more efficient parameter initialization and system stability.
Patent Information
- Application Number
- CN202410915696.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-09
AI Technical Summary
When the existing pitch system is configured with multiple drives and motors, it results in too many program and parameter versions, increases the complexity of production management, and creates security risks caused by download errors.
A universal parameter initialization method is adopted, and the characteristic parameters of the pitch motor are automatically identified and matched through the hardware dongle and ARM chip, and the parameter initialization is completed independently to ensure the correctness and consistency of the parameter file.
It improves the system's versatility and production management efficiency, reduces safety risks caused by human operating errors, and simplifies the parameter configuration process.
Smart Images

Figure CN118462480B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of variable pitch systems, and in particular to a parameter initialization method for a variable pitch system and a variable pitch system. Background Art
[0002] The pitch control system is the core control system of the wind turbine generator set. Pitch motors and servo drives with different driving capabilities need to be configured according to the power level and model of the wind turbine generator set. In the production process of the pitch control system, it is necessary to match the corresponding execution code and core control parameters according to the specific core components such as the driver and motor. As the number of wind turbine models increases, in order to improve the economy of the system configuration, a variety of different drivers and pitch motor configurations will be formed, and multiple versions of execution programs and core control parameter files will be added accordingly. Too many program and parameter versions will increase the management process of the production process, the versatility of the programs and parameters is poor, and there is a hidden danger of unit safety risks caused by program parameter download errors. Summary of the invention
[0003] In view of this, the present invention provides a parameter initialization method and a pitch system for a variable pitch system. A set of universal parameters can be adopted for different configurations of core components of the variable pitch system. Based on the characteristic parameters of the variable pitch motor, the system automatically identifies the configuration and matches the corresponding parameters in the parameter file library and completes the initialization autonomously, adapting to all core components such as drivers and motors.
[0004] The present invention discloses a parameter initialization method for a variable pitch system, which comprises:
[0005] Step 1: The pitch system is powered on for the first time, and the driver starts the driver program and parameter download process;
[0006] Step 2: The drive automatically enters the parameter initialization process, or enters the parameter initialization process the next time the system is powered on after a power outage.
[0007] Furthermore, the step 1 comprises:
[0008] Step 11: The host computer establishes a connection with the ARM chip of the pitch servo drive; the host computer writes the execution program into the ARM chip;
[0009] Step 12: The ARM chip calls the parameter download module, enters the parameter reading process, and waits for the hardware dongle to be connected; the ARM detects the hardware connection of the dongle and reads the dongle hardware ID and verification information;
[0010] Step 13: Generate verification information according to the hardware ID of the dongle and compare it with the verification information read from the dongle. If the comparison is consistent, the verification passes and proceeds to step 14 and step 16 respectively. Otherwise, the verification fails and proceeds to step 15;
[0011] Step 14: The ARM chip reads the parameter files stored in the dongle one by one and saves them to the parameter file sector in the internal memory of the drive; each parameter file contains verification information to ensure the correctness of the parameter file;
[0012] Step 15: The ARM chip gives a parameter download failure flag and stores the flag in the power-off retention sector inside the drive;
[0013] Step 16: Determine whether the parameters are read successfully.
[0014] Furthermore, the step 16 comprises:
[0015] If the parameter is read successfully, the ARM chip will give a parameter download success flag and store the flag in the power-off retention data sector inside the drive; then the parameter initialization process will begin;
[0016] If the parameter reading fails, the corresponding fault code will be displayed on the digital tube of the driver, prompting the operator to confirm whether the dongle is correctly connected or damaged.
[0017] Furthermore, the hardware dongle stores verification information generated based on the unique hardware serial number and a parameter file containing all configurations; the verification information in the hardware dongle corresponds to the dongle one by one;
[0018] Pin A of the ARM chip periodically sends a sequence pulse signal. If the sequence pulse signal is detected at pin B, it is determined that the drive is connected to a hardware dongle.
[0019] Furthermore, the step 2 comprises:
[0020] Step 21: The system is powered on, and the ARM chip automatically enters the system initialization process;
[0021] Step 22: ARM reads the parameter download success flag in the power-off retention sector in the memory;
[0022] Step 23: If the parameter download success flag is TRUE, the ARM chip will access the data in the parameter sector in the memory;
[0023] Step 24: If the data read in the parameter sector is empty, it means that the system is initialized for the first time, and ARM sends a self-tuning instruction to the DSP chip;
[0024] Step 25: The DSP chip starts the self-tuning program, obtains the characteristic parameters of the pitch motor connected thereto, and sends the obtained characteristic parameters to the ARM chip;
[0025] Step 26: The ARM chip accesses the data in the parameter file sector in the memory, traverses the parameter file in the sector, and searches for the characteristic parameters that match those in step 25;
[0026] Step 27: If the corresponding characteristic parameter is found, the ARM chip reads the verification information in the parameter file where the characteristic parameter is located, and compares it with the preset verification information to ensure that the read parameter file is complete and correct;
[0027] Step 28: If the parameter file verification passes, the current parameter file data is copied to the memory system parameter sector, and the process jumps to step 29;
[0028] Step 29: ARM stores the data in the system parameter sector into the Flash memory, completing the parameter initialization of the variable pitch system. ARM exits the parameter initialization module and starts normal operation.
[0029] Furthermore, the step 23 further includes:
[0030] If the parameter download success flag is not TRUE, the ARM chip jumps into the parameter download process and displays the corresponding fault code on the digital tube of the driver;
[0031] The step 24 further comprises:
[0032] If the data read from the parameter sector is not empty, it means that the system has completed initialization and jumps to step 29.
[0033] Furthermore, the step 27 further includes:
[0034] If the corresponding characteristic parameters are not found, it means that the current variable pitch system driver and motor are newly configured, waiting for the host computer to configure a new parameter file, import the new configuration parameter file that has been tested and verified, and write the verification information. The ARM chip writes the newly generated parameter file into the parameter file sector and the system parameter sector, and then goes to step 29;
[0035] The step 28 also includes:
[0036] If the parameter file verification fails, the system initialization fails, the data of the current parameter file is cleared, and the corresponding fault code is displayed on the digital tube of the driver, ending the current process.
[0037] The present invention also discloses a variable pitch system, which implements the parameter initialization method of the variable pitch system described in any one of the above items, and comprises a host computer, a variable pitch servo driver, a hardware encryption dog and a variable pitch motor; the driver comprises an ARM chip, a DSP chip and a memory; the host computer is connected to the ARM chip, and the ARM chip is respectively connected to the DSP chip, the memory and the hardware encryption dog;
[0038] The pitch servo drive is connected to the pitch motor, and the pitch motor is mechanically connected to the pitch bearing through the pitch reducer. The servo drive drives the pitch motor to rotate and then drives the wind turbine blades connected to the pitch bearing to adjust the angle, thereby realizing power regulation and pneumatic braking of the wind turbine.
[0039] Further, the memory includes a system parameter sector, a parameter file sector, a historical fault sector and a power-off retention sector;
[0040] The data stored in the system parameter sector is the control parameters of the motor and driver configured for the current pitch control system, and is used to transfer the data of the sector to the ARM chip Flash memory during system initialization to achieve normal operation of the pitch control driver;
[0041] The parameter file sector stores the system parameter set that adapts to all drive and motor configurations. It consists of multiple parameter files. The parameter files begin and end with a code so that the ARM chip can correctly identify a complete parameter file.
[0042] The fault information of the pitch control system is stored in the historical fault sector of the memory, and the fault information includes a fault code, a fault time, a fault action and a reset / set instruction.
[0043] Furthermore, the ARM chip includes a Flash memory, and the data read from the system parameter sector is written into the Flash memory. The execution program running in the ARM chip accesses the data in the Flash memory to work. After the drive is powered off, all the data in the Flash memory is lost, and the matching parameter file in the system parameter sector is re-read each time the power is turned on;
[0044] During the initialization of the pitch control system, the data in the parameter file sector is copied from the parameter file in the dongle; the DSP chip identifies the characteristic parameters of the motor and sends them to the ARM chip, which retrieves the matching parameter file in the parameter file sector and copies the corresponding parameter file to the system parameter sector;
[0045] The hardware dongle stores parameter files and verification information that matches the execution program in the ARM chip to ensure the uniqueness of the hardware dongle.
[0046] Due to the adoption of the above-mentioned technical solution, the present invention has the following advantages: the present application can improve the universality of the variable pitch system program and parameter files, optimize the management process of the system production process, improve efficiency, and avoid unit safety risks caused by human operating errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0048] Figure 1 A schematic diagram of a flow chart of a parameter initialization method for a pitch control system according to an embodiment of the present invention;
[0049] Figure 2 It is a structural schematic diagram of a pitch control system according to an embodiment of the present invention;
[0050] Figure 3 It is a schematic diagram of the driver startup driver program and parameter downloading process according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.
[0052] After the pitch system is assembled, the corresponding program and control parameters of the driver must be downloaded to ensure normal operation. Figure 1 The present invention provides an embodiment of a parameter initialization method for a pitch system, which includes S1 and S2:
[0053] See also Figure 3 , S1, the pitch system is powered on for the first time, start the driver program and parameter download process:
[0054] S1.1. Establish a connection between the specific host computer and the ARM chip of the driver;
[0055] S1.2, the host computer writes the execution program into the ARM chip;
[0056] The execution program includes parameter download module, system initialization module, system control module, communication module, IO processing module, fault processing module, state machine jump module, etc.
[0057] S1.3, the ARM chip calls the parameter download module, enters the parameter reading process, and waits for the hardware dongle to connect;
[0058] S1.4, ARM detects the hardware connection of the dongle and reads the dongle hardware ID and verification information;
[0059] Among them, the hardware dongle is an authorized external storage device that stores verification information generated based on a unique hardware serial number and a parameter file containing all configurations. The specific pin A of the ARM chip will periodically send a specific sequence of pulses. If a specific sequence of pulse signals is detected at the specific pin B, it is determined that the drive is connected to the hardware dongle. The verification information in the dongle is generated based on the unique hardware serial number of the storage device. The verification information corresponds to the dongle one by one. There is a corresponding decoding function in the parameter download module program running in the ARM chip. The verification information can be generated according to the hardware ID of the dongle according to the same rules and compared with the verification information read from the dongle. If they are consistent, the verification passes, otherwise the verification fails.
[0060] S1.5.1. If the dongle verification passes, the ARM chip will read the parameter files stored in the dongle one by one and save them to the parameter file sector in the internal memory of the drive;
[0061] Among them, each parameter file contains verification information to ensure the correctness of the parameter file;
[0062] S1.5.2. If the dongle verification fails, the ARM chip parameter download module will give a parameter download failure flag and store the flag in the power-off retention data sector inside the drive; the download failure flag can be inverted to obtain the download success flag;
[0063] S1.6.1. If the parameter reading is successful, the ARM chip parameter download module gives a parameter download success flag and stores the flag in the power-off retention data sector inside the drive; the system parameter initialization module is called to enter the parameter initialization process;
[0064] S1.6.2. If the parameter reading fails, the corresponding fault code will be displayed on the digital tube of the driver, prompting the operator to confirm whether the dongle is correctly connected or damaged.
[0065] S2. System parameter initialization process:
[0066] For the drive that has completed the S1 drive program and parameter download process, it will automatically enter the system parameter initialization process when it is powered on next time after the system is powered off.
[0067] S2.1, the system is powered on, and the ARM chip automatically enters the system initialization process;
[0068] S2.2, ARM reads the parameter download success flag in the power-off retention sector data in the memory;
[0069] Among them, the parameter download success flag is written into the memory in S1.6.1.
[0070] S2.3.1. If the parameter download success flag is not TRUE, the ARM chip jumps into the parameter download process and displays the corresponding fault code on the digital tube of the driver;
[0071] S2.3.2, if the parameter download success flag is TRUE, the ARM chip will access the data in the system parameter sector in the memory;
[0072] S2.4.1. If the data in the system parameter sector is empty, it means that the system is initialized for the first time, and ARM will send a self-tuning instruction to the DSP chip through inter-chip communication;
[0073] The ARM and DSP chips communicate with each other via serial ports, including but not limited to RS485, RS232 and other communication methods.
[0074] S2.4.2. If the data in the system parameter sector is not empty, it means that the system has completed initialization and jumps to S2.11;
[0075] S2.5, the DSP chip starts the self-tuning program, obtains the characteristic parameters of the pitch motor connected to it, and sends the obtained characteristic parameters to the ARM chip through inter-chip communication;
[0076] Among them, the characteristic parameters of the pitch motor include but are not limited to initial angle, inductance, resistance, etc.
[0077] S2.6, the ARM chip accesses the parameter file sector data in the memory, traverses the parameter file in the sector, and searches for the characteristic parameters sent by the DSP that match S2.5;
[0078] S2.7.1. If the corresponding characteristic parameter is found, the ARM chip further reads the verification information in the parameter file where the characteristic parameter is located, and compares it with the preset verification information to ensure that the read parameter file is complete and correct;
[0079] S2.8.1. If the parameter file verification passes, the current parameter file data is copied to the memory system parameter sector and the process jumps to S2.11.
[0080] S2.8.2. If the parameter file verification fails, the system initialization fails, the data of the current parameter file is cleared, and the corresponding fault code is displayed on the digital tube of the driver, and the current process ends;
[0081] S2.7.2. If the corresponding characteristic parameters are not found, it means that the current drive and motor of the variable pitch system are newly configured, waiting for the host computer to configure a new system parameter file;
[0082] 2.9. The designer turns on the expert mode of the host computer, imports the new configuration parameter file that has been tested and verified, and writes the verification information;
[0083] S2.10, ARM writes the newly generated parameter file into the parameter file sector and the system parameter sector;
[0084] S2.11, ARM stores the data in the system parameter sector into the Flash memory to complete the system parameter initialization, and ARM exits the system parameter initialization module and starts normal operation.
[0085] See also Figure 2 The present invention also provides an embodiment of a variable pitch system, which implements the parameter initialization method of the variable pitch system described in the above embodiment, and includes a host computer (set in a PC), a variable pitch servo driver, a hardware encryption dog and a variable pitch motor; the driver includes an ARM chip, a DSP chip and a memory; the host computer is connected to the ARM chip, and the ARM chip is respectively connected to the DSP chip, the memory and the hardware encryption dog;
[0086] The pitch servo drive is the core driving device of the pitch system. It is connected to the pitch motor through a cable. The pitch motor is mechanically connected to the pitch bearing through a pitch reducer. The servo drive drives the pitch motor to rotate and then drives the wind turbine blades connected to the pitch bearing to adjust the angle to achieve power regulation and pneumatic braking functions of the wind turbine.
[0087] The driver includes a control board, which includes but is not limited to an ARM chip, a DSP chip, a memory and other IO interfaces.
[0088] The host computer described in this application is a human-machine interface HMI that connects the user and the driver ARM chip; it has different permissions such as normal mode and expert mode. Normal mode has functions such as downloading driver programs, status reading, information interaction, and control. Expert mode has higher permissions than normal mode, usually for developers. In addition to the basic functions of normal mode, it also has functions such as configuration parameter files, system setting, and parameter modification. The communication method between the host computer and the ARM chip adopts ModBus TCP / IP method.
[0089] The internal memory of the drive described in this application is electrically connected to the ARM chip. The ARM chip can divide the memory into different spaces such as system parameter sectors, parameter file sectors, historical fault sectors, power-off retention sectors, etc. for specific functions by dividing the memory into specific address ranges.
[0090] Flash memory is a specific register in the ARM chip. The data read from the memory system parameter sector will be written to the Flash memory. The execution program running in the ARM chip accesses the data in the Flash memory to work. After the drive is powered off, all the data in the Flash memory is lost. Therefore, it is necessary to re-read the matching parameter file in the memory system parameter sector every time the power is turned on.
[0091] The data stored in the memory system parameter sector is the control parameters of the motor and driver configured for the current pitch system, and is used to transfer the data of the sector to the ARM chip Flash memory during system initialization to achieve normal operation of the pitch driver.
[0092] The memory parameter file sector stores the system parameter set that adapts to all drive and motor configurations. It consists of multiple parameter files, which begin and end with specific codes to facilitate the ARM chip to correctly identify a complete parameter file. During the initialization of the variable pitch system, the data in the memory parameter file sector is copied from the parameter file in the dongle. After the DSP chip identifies the characteristic parameters of the motor, it sends them to the ARM chip, retrieves the matching parameter file in the sector, and copies the corresponding parameter file to the memory system parameter sector.
[0093] The historical fault sector of the memory stores the fault information of the pitch control system, including fault code, fault time, fault action, reset / set instructions, etc.
[0094] The hardware dongle is an external memory used for initializing system parameters during the production process. The parameter files are stored by the developer after testing and verification. In addition to the parameter files, there is also specific verification information that matches the execution program in the ARM chip to ensure the uniqueness of the hardware dongle.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A parameter initialization method for a pitch control system, characterized in that: include: Step 1: The pitch system is powered on for the first time, and the driver starts the driver program and parameter download process; Step 2: The drive automatically enters the parameter initialization process, or enters the parameter initialization process when the system is powered on next time after power failure; The step 1 comprises: Step 11: The host computer establishes a connection with the ARM chip of the pitch servo drive; the host computer writes the execution program into the ARM chip; Step 12: The ARM chip calls the parameter download module, enters the parameter reading process, and waits for the hardware dongle to be connected; the ARM detects the hardware connection of the dongle and reads the dongle hardware ID and verification information; Step 13: Generate verification information according to the hardware ID of the dongle and compare it with the verification information read from the dongle. If the comparison is consistent, the verification passes and proceeds to step 14 and step 16 respectively. Otherwise, the verification fails and proceeds to step 15; Step 14: The ARM chip reads the parameter files stored in the dongle one by one and saves them to the parameter file sector in the internal memory of the drive; each parameter file contains verification information to ensure the correctness of the parameter file; Step 15: The ARM chip gives a parameter download failure flag and stores the flag in the power-off retention sector inside the drive; Step 16: Determine whether the parameters are read successfully; The step 2 comprises: Step 21: The system is powered on, and the ARM chip automatically enters the system initialization process; Step 22: ARM reads the parameter download success flag in the power-off retention sector in the memory; Step 23: If the parameter download success flag is TRUE, the ARM chip will access the data in the parameter sector in the memory; Step 24: If the data read in the parameter sector is empty, it means that the system is initialized for the first time, and ARM sends a self-tuning instruction to the DSP chip; Step 25: The DSP chip starts the self-tuning program, obtains the characteristic parameters of the pitch motor connected thereto, and sends the obtained characteristic parameters to the ARM chip; Step 26: The ARM chip accesses the data in the parameter file sector in the memory, traverses the parameter file in the sector, and searches for the characteristic parameters that match those in step 25; Step 27: If the corresponding characteristic parameter is found, the ARM chip reads the verification information in the parameter file where the characteristic parameter is located, and compares it with the preset verification information to ensure that the read parameter file is complete and correct; Step 28: If the parameter file verification passes, the current parameter file data is copied to the memory system parameter sector, and the process jumps to step 29; Step 29: ARM stores the data in the system parameter sector into the Flash memory, completing the parameter initialization of the variable pitch system, and ARM exits the parameter initialization module and starts normal operation; The step 27 further comprises: If the corresponding characteristic parameters are not found, it means that the current variable pitch system driver and motor are newly configured, waiting for the host computer to configure a new parameter file, import the new configuration parameter file that has been tested and verified, and write the verification information. The ARM chip writes the newly generated parameter file into the parameter file sector and the system parameter sector, and then goes to step 29; The step 28 also includes: If the parameter file verification fails, the system initialization fails, the data of the current parameter file is cleared, and the corresponding fault code is displayed on the digital tube of the driver, ending the current process.
2. The parameter initialization method of the pitch system according to claim 1, characterized in that: The step 16 comprises: If the parameter is read successfully, the ARM chip will give a parameter download success flag and store the flag in the power-off retention data sector inside the drive; then the parameter initialization process will begin; If the parameter reading fails, the corresponding fault code will be displayed on the digital tube of the driver, prompting the operator to confirm whether the dongle is correctly connected or damaged.
3. The parameter initialization method of the pitch system according to claim 1, characterized in that: The hardware dongle stores the verification information generated based on the unique hardware serial number and the parameter file containing all configurations; the verification information in the hardware dongle corresponds to the dongle one by one; Pin A of the ARM chip periodically sends a sequence pulse signal. If the sequence pulse signal is detected at pin B, it is determined that the drive is connected to a hardware dongle.
4. The parameter initialization method of the pitch system according to claim 1, characterized in that: The step 23 further comprises: If the parameter download success flag is not TRUE, the ARM chip jumps into the parameter download process and displays the corresponding fault code on the digital tube of the driver; The step 24 further comprises: If the data read from the parameter sector is not empty, it means that the system has completed initialization and jumps to step 29.
5. A pitch system, implementing the parameter initialization method of the pitch system according to any one of claims 1 to 4, characterized in that: It includes a host computer, a pitch servo driver, a hardware dongle and a pitch motor; the driver includes an ARM chip, a DSP chip and a memory; the host computer is connected to the ARM chip, and the ARM chip is respectively connected to the DSP chip, the memory and the hardware dongle; The pitch servo drive is connected to the pitch motor, and the pitch motor is mechanically connected to the pitch bearing through the pitch reducer. The servo drive drives the pitch motor to rotate and then drives the wind turbine blades connected to the pitch bearing to adjust the angle, thereby realizing power regulation and pneumatic braking of the wind turbine.
6. The pitch system according to claim 5, characterized in that: The memory includes system parameter sectors, parameter file sectors, historical fault sectors and power-off retention sectors; The data stored in the system parameter sector is the control parameters of the motor and driver configured for the current pitch control system, and is used to transfer the data of the sector to the ARM chip Flash memory during system initialization to achieve normal operation of the pitch control driver; The parameter file sector stores the system parameter set that adapts to all drive and motor configurations. It consists of multiple parameter files. The parameter files begin and end with a code so that the ARM chip can correctly identify a complete parameter file. The fault information of the pitch control system is stored in the historical fault sector of the memory, and the fault information includes a fault code, a fault time, a fault action and a reset / set instruction.
7. The pitch system according to claim 6, characterized in that: The ARM chip includes Flash memory. The data read from the system parameter sector is written into the Flash memory. The execution program running in the ARM chip accesses the data in the Flash memory to work. After the drive is powered off, all the data in the Flash memory is lost. The matching parameter file in the system parameter sector is re-read each time the power is turned on. During the initialization of the pitch control system, the data in the parameter file sector is copied from the parameter file in the dongle; the DSP chip identifies the characteristic parameters of the motor and sends them to the ARM chip, which retrieves the matching parameter file in the parameter file sector and copies the corresponding parameter file to the system parameter sector; The hardware dongle stores parameter files and verification information that matches the execution program in the ARM chip to ensure the uniqueness of the hardware dongle.
