A method for calculating the initial electrical angle of a synchronous motor used for vibration reduction actuators
By automatically collecting and calculating the initial electrical angle of the motor, the problems of inefficiency and artificial error in the prior art are solved, and high-precision and consistent initial electrical angle measurement are achieved, which improves production efficiency and reduces maintenance workload.
Patent Information
- Application Number
- CN202411411793.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-10-11
AI Technical Summary
The prior art is inefficient when measuring the initial electrical angle of the permanent magnet synchronous motor of the vibration damper actuator, is susceptible to human error, and has a large amount of recording and maintenance work, resulting in insufficient product consistency and accuracy.
By configuring the electrical angle vector under the dq coordinate system, the motor automatically drives the motor to collect two actual response electrical angle values, calculates the correction proportion coefficient, calculates the initial electrical angle, realizes automatic calculation and storage, and reduces manual intervention.
It improves the accuracy and consistency of initial electrical angle measurement, saves manual inspection time, reduces maintenance workload, improves production efficiency, and avoids human error.
Smart Images

Figure CN118920948B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of actuators, and in particular relates to a method for measuring the initial electrical angle of a synchronous motor of a vibration reduction actuator. Background Art
[0002] The vibration reduction actuator consists of four motors and their coaxially mounted eccentric mass blocks, such as Figure 1 As shown, a magnetic encoder is set at the center of each rotor axis to collect the current angular position of the mass block. Due to the randomness of the installation, the initial electrical angle corresponding to each motor is different and random. FOC control requires clear initial electrical angle value of the motor for control. Therefore, it is necessary to collect the initial electrical angle value when the motor is initially stopped.
[0003] The initial electrical angle acquisition and detection method currently used on the permanent magnet synchronous motor of the vibration reduction actuator is to manually input an angle value in the range of 0~6.28, then drive the motor to rotate, record the motor speed and current at the electrical angle, and then continuously modify the input electrical angle value with an interval accuracy of 0.05 until the motor reaches the required speed at the minimum current, and record the current input electrical angle value, which is used as the initial electrical angle value of the permanent magnet synchronous motor of the vibration reduction actuator. Perform the above operations on the other three motors on the vibration reduction actuator respectively, complete the initial electrical angle acquisition and detection of the four motors, and record them in the motor drive control program.
[0004] The existing technology uses the interval trial method to perform initial point angle detection manually, so there are the following disadvantages:
[0005] 1. The trial method requires selecting an optimal value from 0 to 6.28. Even if the test is performed with an accuracy of 0.05, more than 120 values must be selected for trial. Experience and proficiency can shorten the test time, but it takes one to twenty minutes to find the initial value of a motor. It takes one hour to find the initial value of four motors separately, which is inefficient and seriously affects the production progress.
[0006] 2. Due to manual inspection, the judgment of motor speed and current may be subject to errors due to differences in personnel experience, understanding of the method, etc., resulting in certain differences in the initial electrical angle values detected by different personnel, which in turn affects the output force and efficiency of the motor, and ultimately leads to differences in product consistency;
[0007] 3. Detecting the electrical angle with an accuracy of 0.05 does not necessarily detect the optimal initial electrical angle value, but is only a compromise to the current manual detection method;
[0008] 4. The initial electrical angle value of each vibration reduction actuator is different, so the corresponding test value of each product must be recorded accordingly. Once the record is lost or recorded incorrectly, the product angle value needs to be retested, which increases the workload of recording and saving, and also poses a risk to product maintenance. Summary of the invention
[0009] In view of the deficiencies in the prior art, the present invention provides a method for measuring the initial electrical angle of a synchronous motor of a vibration reduction actuator, a computer program product, a readable storage medium, an electronic device and a device.
[0010] The present invention is achieved through the following technical solutions:
[0011] The present invention provides a method for measuring the initial electrical angle of a synchronous motor of a vibration reduction actuator, comprising the following steps:
[0012] Step 1: Configure the electrical angle vector in the dq coordinate system to be X×π, where 0<X<1, drive the motor to respond to the angle so that the synchronous motor carrying the mass block rotates to a certain position and stops, and collect the current actual electrical angle radian value θ1 at the position;
[0013] Step 2: Referring to step 1, the electrical angle vector in the given dq coordinate system is -X×π, and the second actual response electrical angle radian value θ2 is obtained;
[0014] Step 3: Calculate the correction proportional coefficient K through two actual response electrical angle values, K = mod(θ1-θ2, 2π) / (X×2π), where mod(·) is a modulo function used to convert the radian value to the range of 0 to 2π;
[0015] Step 4: If the motor is set to forward rotation, the initial electrical angle radian value θ m =mod(θmid+π / 3,2π), if the motor is set to reverse, the initial electrical angle radian value θ m =mod(θ mid -π / 3,2π), where θ mid =mod(X×π-θ3,2π), θ3=θ1 / K.
[0016] In a preferred embodiment of the present invention, the value of X is 1 / 2.
[0017] The present invention also provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method for measuring the initial electrical angle of the synchronous motor of the vibration reduction actuator.
[0018] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for measuring the initial electrical angle of the synchronous motor of the vibration reduction actuator are implemented.
[0019] The present invention also provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the method for measuring the initial electrical angle of the synchronous motor of the vibration reduction actuator are implemented.
[0020] The present invention also provides a device for automatically measuring the initial electrical angle of a synchronous motor of a vibration reduction actuator, which is used to implement the method for measuring the initial electrical angle of a synchronous motor of a vibration reduction actuator, and comprises:
[0021] Vector output module, used to output the electrical angle vector in the dq coordinate system to the motor;
[0022] The electrical angle acquisition module is used to collect the electrical angle when the motor carrying the mass block rotates to a certain position and stops;
[0023] The calculation module is used to calculate the initial electrical angle of the motor according to two actual electrical angle values of the motor under different electrical angle vectors.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] The scheme of the present invention aims to automatically measure the initial electrical angle of the motor. During the operation, the measurement steps and calculation formulas are pre-written into the program through code expression. After power-on, the DSP chip automatically collects and calculates the initial electrical angle according to the steps and formulas. This automatic collection method greatly saves labor and subsequent maintenance, improves production efficiency, improves electrical angle accuracy, and avoids human errors and mistakes, thereby solving many shortcomings of existing manual testing methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0027] Figure 1 It is a schematic diagram of the structure of the vibration reduction actuator;
[0028] Figure 2 It is a flow chart of the detection steps of the present invention. DETAILED DESCRIPTION
[0029] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to be able to fully convey the scope of the present invention to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0030] The invention provides a method for measuring the initial electrical angle of a permanent magnet synchronous motor of a vibration reduction actuator. When the actuator is powered on, the controller software completes the power-on initialization program stage, and at this time sends an initial electrical angle self-measurement instruction. The controller executes the response and configures the rotor electrical angle vector of the dq coordinate system to be X×π. Through Park transformation and Clark transformation, ABC three-phase PWM output is generated, so that the synchronous motor carrying the mass block rotates to a certain position and stops at this position. At this time, the current actual response electrical angle reading θ1 is collected through a magnetic encoder; the dq coordinate system rotor angle vector is configured to be -X×π, the synchronous motor rotates to another position and remains in a stopped state, and at this time, the current actual response electrical angle reading θ2 is collected through the magnetic encoder; then, the two actual response electrical angle values are substituted into the initial electrical angle calculation formula of the synchronous electrode of the vibration reduction actuator to calculate the final initial electrical angle. This method collects the electrical angle values of the motor locking position in the positive and negative directions twice, and then eliminates the angular error caused by the eccentric mass block connected to the actuator motor rotor through calculation, corrects the measurement of the initial electrical angle, and finally realizes the automatic measurement of the accurate initial electrical angle, replacing the workload of manual inspection, improving production efficiency, and ensuring the consistency of measurement of multiple motors.
[0031] The present invention is further described below by two specific embodiments. Figure 2 shown. Example 1
[0032] In the actual operation process, X takes the value of 1 / 2. The specific operation steps are as follows:
[0033] Step 1: After power-on initialization is completed, the initial electrical angle self-calculation instruction is sent, and the controller executes the configuration of the electrical angle vector in the dq coordinate system to 1 / 2×π and drives the motor to respond to the angle.
[0034] Step 2: The program generates the PWM control output in the ABC three-phase coordinate system by performing Park transform and Clark transform formula calculations, so that the synchronous motor carrying the eccentric mass block rotates to a certain position and stops at this position. At this time, the current actual response electrical angle radian value is collected by the magnetic encoder to obtain a reading of θ1=1.38.
[0035] Step 3: After recording the angle θ1, give the electrical angle vector in the dq coordinate system -1 / 2×π, repeat step 2, and get the second actual response electrical angle radian value reading θ2=4.77.
[0036] Step 4: Substitute the two actual response electrical angle values into the correction proportional coefficient K calculation formula: K = mod (θ1-θ2, 2π) / (1 / 2 × 2π) = mod (1.38-4.77, 2π) / π = 0.92, where mod (·) is the modulo function, which is used to convert the radian value to the range of 0 to 2π.
[0037] Step 5: Substitute the proportional coefficient K into the calculation formula of θ3: θ3=θ1 / K=1.38 / 0.92=1.5.
[0038] Step 6: Substitute θ3 into the following formula: θ mid =mod(1 / 2×π–θ3,2π)=0.07.
[0039] Step 7: If the motor at this position is a forward motor, the initial electrical angle radian value θ m =mod(θ mid +π / 3,2π)=1.116, if the position motor is a reverse motor, then the initial electrical angle radian value θ m =mod(θ mid -π / 3,2π)=5.303.
[0040] Step 8: The final calculated initial electrical angle θ m Stored in flash.
[0041] Step 9: Repeat steps 1 to 8 to continue calculating the initial electrical angle of the next motor, and finally obtain and store the initial electrical angle values of the four motors respectively.
[0042] The above steps are all pre-written by programming code. After power-on and execution of commands, the initial electrical angle of each motor is automatically calculated and saved to flash. The code is written through CCS software on the PC, and after compilation, it is downloaded to the DSP chip for execution. Example 2
[0043] In the actual operation process, X takes the value of 2 / 3. The specific operation steps are as follows:
[0044] Step 1: After power-on initialization is completed, the initial electrical angle self-calculation command is sent, and the controller executes the configuration of the electrical angle vector in the dq coordinate system to 2 / 3×π and drives the motor to respond to the angle.
[0045] Step 2: The program generates the PWM control output in the ABC three-phase coordinate system by performing Park transform and Clark transform formula calculations, so that the synchronous motor carrying the eccentric mass block rotates to a certain position and stops at this position. At this time, the current actual response electrical angle radian value is collected by the magnetic encoder to obtain a reading of θ1=5.31.
[0046] Step 3: After recording the angle θ1, give the electrical angle vector in the dq coordinate system -2 / 3×π, repeat step 2, and get the second actual response electrical angle radian value reading θ2=1.67.
[0047] Step 4: Substitute the two actual response electrical angle values into the correction proportional coefficient K calculation formula: K = mod (θ1-θ2, 2π) / (2 / 3 × 2π) = mod (5.31-1.67, 2π) / (4π / 3) = 0.869.
[0048] Step 5: Substitute the proportional coefficient K into the θ3 calculation formula: θ3=θ1 / K=5.31 / 0.869=6.11.
[0049] Step 6: Substitute θ3 into the following formula: θ mid =mod(2 / 3×π–θ3,2π)=2.26.
[0050] Step 7: If the motor at this position is a forward motor, the initial electrical angle radian value θ m =mod(θ mid +π / 3,2π)=3.306; if the position motor is a reverse motor, the initial electrical angle radian value θ m =mod(θ mid -π / 3,2π)=1.21.
[0051] Step 8: The final calculated initial electrical angle θ m Stored in flash.
[0052] Step 9: Repeat steps 1 to 8 to continue calculating the initial electrical angle of the next motor, and finally obtain and store the initial electrical angle values of the four motors respectively.
[0053] In the present invention, the range of the radian value of the electrical angle is 0 to 2π. In order to illustrate the calculation process, the above embodiment makes approximate processing on the data of each step which are mostly decimals. Due to the different number of decimal places retained in the data, the calculation result may have a slight deviation from the actual calculation result.
[0054] The present invention has been described in detail above through embodiments, but the contents described are only exemplary embodiments of the present invention and cannot be considered to limit the scope of implementation of the present invention. The protection scope of the present invention is defined by the claims. Anyone who utilizes the technical solution described in the present invention, or a technician in the field, inspired by the technical solution of the present invention, designs a similar technical solution within the essence and protection scope of the present invention to achieve the above technical effects, or makes equal changes and improvements to the scope of application, shall still belong to the scope of protection covered by the patent of the present invention. It should be noted that in order to make a clear statement, the description of some components and processes that have no direct and obvious connection with the scope of protection of the present invention but are known to those skilled in the art are omitted in the description of the present invention.
Claims
1. A method for calculating the initial electrical angle of a synchronous motor of a vibration reduction actuator, characterized in that: The following steps are involved: Step 1: Configure the electrical angle vector in the dq coordinate system to be X×π, where 0<X<1, drive the motor to respond to the angle so that the synchronous motor carrying the mass block rotates to a certain position and stops, and collect the current actual response electrical angle radian value θ1 of the position; Step 2: Referring to step 1, the electrical angle vector in the given dq coordinate system is -X×π, and the second actual response electrical angle radian value θ2 is obtained; Step 3: Calculate the correction proportional coefficient K through two actual response electrical angle values, K = mod(θ1-θ2, 2π) / (X×2π), where mod(·) is a modulo function used to convert the radian value to the range of 0 to 2π; Step 4: If the motor is set to forward rotation, the initial electrical angle radian value θ m =mod(θ mid +π / 3,2π), if the motor is set to reverse, the initial electrical angle radian value θ m =mod(θ mid -π / 3,2π), where θ mid =mod(X×π-θ3,2π), θ3=θ1 / K.
2. A method for calculating the initial electrical angle of a synchronous motor of a vibration reduction actuator according to claim 1, characterized in that: The value of X is 1 / 2.
3. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method for calculating the initial electrical angle of the synchronous motor of the vibration reduction actuator as claimed in claim 1 or 2 are implemented.
4. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for measuring the initial electrical angle of the synchronous motor of the vibration reduction actuator as claimed in claim 1 or 2 are implemented.
5. An electronic device, characterized in that: It comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the method for measuring the initial electrical angle of the synchronous motor of the vibration reduction actuator as claimed in claim 1 or 2 are implemented.
6. An automatic measurement device for the initial electrical angle of a synchronous motor of a vibration reduction actuator, characterized in that: The device is used to implement the method for measuring the initial electrical angle of the synchronous motor of the vibration reduction actuator as claimed in claim 1 or 2, comprising: Vector output module, used to output the electrical angle vector in the dq coordinate system to the motor; The electrical angle acquisition module is used to collect the electrical angle when the motor carrying the mass block rotates to a certain position and stops; The calculation module is used to calculate the initial electrical angle of the motor according to two actual electrical angle values of the motor under different electrical angle vectors.
