Servo motor set synchronism self-checking method
The servo motor unit collects operating speed and position data at low frequency, medium frequency and high frequency, calculates rotation stability and synchronicity, solves the problem of insufficient automation of synchronization detection in the existing technology, and realizes efficient and accurate servo motor control. Unit synchronization detection.
Patent Information
- Application Number
- CN202410653609.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-27
AI Technical Summary
The degree of automation of the servo motor group synchronization detection method in the existing technology is insufficient, resulting in long detection time and vulnerability to manual interference, which affects detection accuracy.
A servo motor unit synchronization self-test method is adopted. By setting the low-frequency, medium-frequency and high-frequency operating frequencies, the motor operating speed and position data are collected, the rotation stability and synchronicity are calculated, and the stability and synchronicity of each motor are calculated using formulas. , to achieve automated detection.
It realizes the automation of servo motor synchronization detection, simplifies the detection process, reduces detection time, and improves detection accuracy and efficiency.
Smart Images

Figure CN118549807A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of motor detection, relates to a servo motor, and specifically relates to a servo motor group synchronization self-detection method. Background Art
[0002] The servo motor group drives the equipment to operate, and its synchronization is the key factor for the servo motor to drive the equipment to the specified position. The poor synchronization of a single motor makes it difficult for the equipment to reach the expected position at the right time, resulting in low efficiency in the operation process; the poor synchronization of the motor group makes it impossible for the equipment to achieve the given path movement, resulting in the failure to achieve the expected goal and increasing the risk in the process. During the operation of the servo motor group, ensuring the synchronous operation of the servo motor group is a technical problem that people in this field urgently need to solve. Summary of the invention
[0003] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a servo motor group synchronization self-checking method to solve the technical problem that the automation level of the inspection method in the prior art needs to be further improved.
[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions to achieve the above problems:
[0005] A servo motor group synchronization self-check method, the method is performed according to the following steps:
[0006] Step S1, motor operation parameter setting:
[0007] Determine the upper limit of the servo motor operating frequency, based on the upper frequency limit f m Determine the low-frequency operation frequency f during the self-test process l , medium frequency operating frequency f a And high frequency operation frequency f h .
[0008] Step S2, single motor running stability detection includes the following steps:
[0009] Step S201, the single motor operating frequency is set to f l , run for 10 seconds; collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running; the collected running speed of the servo motor forms an array V 1 , respectively calculate the array V 1 The maximum value of Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at low frequency l .
[0010] Step S202, the single motor operating frequency is set to f a , run for 10 seconds; during the 10 seconds of running, the running speed of the servo motor is collected every 0.1 seconds, and the collected running speeds of the servo motor form an array V 2 , respectively calculate the array V 2 The maximum value of Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at medium frequency a .
[0011] Step S203, the single motor operating frequency is set to f h , run for 10 seconds, collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running; the collected running speed of the servo motor forms an array V 3 , respectively calculate the array V 3 The maximum value of Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at high frequency h .
[0012] Step S204, the single motor rotation stability calculation formula is:
[0013]
[0014] Step S205, repeating steps S201 to S204, to calculate the rotation stability of each motor in the servo motor group.
[0015] Step S3, motor group operation synchronization detection:
[0016] Step S301, the operating frequency of the servo motor group is set to f l , run for 10 seconds; during the 10 seconds of operation, the positions of different servo motors in the servo motor group are collected every 0.1 seconds, and the collected servo motor running positions form an array P. According to the real-time positions of different motors in the array P, the synchronization c of different motors in the servo motor group at low frequency is calculated l .
[0017] Step S302, the frequencies of the servo motor groups are set to f a With f h , run for 10 seconds, and collect the positions of different servo motors in the servo motor group every 0.1 seconds during the 10 seconds of operation. According to the motor positions collected at medium frequency and high frequency, the synchronization of different motors in the servo motor group at low frequency is adopted.l The same calculation method is used to calculate the synchronization c of different motors in the servo motor group at medium frequency. a Synchronicity of different motors in a servo motor group at high frequencies c h .
[0018] Step S4, output of the motor group synchronization result:
[0019] The calculation method of servo motor group synchronization D is:
[0020]
[0021] Where:
[0022] S i Indicates the rotation stability of the i-th servo motor;
[0023] i represents the serial number of a single motor, i=1, 2, ...n;
[0024] α represents the proportion of single motor stability;
[0025] Indicates the total number of phases in one cycle of the servo motor.
[0026] Compared with the prior art, the present invention has the following technical effects:
[0027] (I) The present invention realizes the automation of servo motor synchronization detection and avoids the interference caused by human beings.
[0028] (II) The operation process of this method is simple and convenient, which reduces the detection time of the synchronization of the servo motor group. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 This is the framework diagram of the servo motor group synchronization self-check.
[0030] Figure 2 This is the execution flow chart of the servo motor group synchronization self-test.
[0031] The specific contents of the present invention are further explained in detail below in conjunction with embodiments. DETAILED DESCRIPTION
[0032] It should be noted that, unless otherwise specified, all devices in the present invention are devices known in the prior art. In the present invention, a single motor refers to a single servo motor.
[0033] Specific embodiments of the present invention are given below. It should be noted that the present invention is not limited to the following specific embodiments, and all equivalent changes made on the basis of the technical solution of this application fall within the protection scope of the present invention.
[0034] Example:
[0035] This embodiment provides a servo motor group synchronization self-check method, such as Figure 1 As shown, the method comprises the following steps:
[0036] Step S1, motor operation parameter setting:
[0037] Determine the upper limit of the servo motor operating frequency, based on the upper frequency limit f m Determine the low-frequency operation frequency f during the self-test process l , medium frequency operating frequency f a And high frequency operation frequency f h .
[0038] Step S2, single motor running stability detection:
[0039] Step S201, the single motor operating frequency is set to f l (unit: Hz), run for 10 seconds; collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running; the collected running speed of the servo motor forms an array V 1 , respectively calculate the array V 1 The maximum value of Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at low frequency l .
[0040] Among them, the array V 1 It is expressed as follows:
[0041] V 1 =[v 11 ,v 12 ,v 13 ,...,v 1n ] Formula Ⅰ.
[0042] Where:
[0043] v 1n Indicates that the operating frequency is set to f l The nth speed point of the servo motor operation collected below.
[0044] Among them, the array V 1 The maximum value of Minimum average value Very bad and mean square error The calculation formula is as follows:
[0045]
[0046] Where:
[0047] V 1i Indicates that the operating frequency is set to f l The i-th speed point of the servo motor running collected below;
[0048] i represents the index of the velocity point;
[0049] n represents the total number of sampling speed points;
[0050] Among them, the rotation stability of the motor at low frequency S l The calculation method is:
[0051]
[0052] Step S202, the single motor operating frequency is set to f a (unit: Hz), run for 10 seconds; collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running, and the collected running speed of the servo motor is composed of an array V 2 , respectively calculate the array V 2 The maximum value of Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at medium frequency a .
[0053] Among them, the array V 2 It is expressed as follows:
[0054] V 2 =[v 21 ,v 22 ,v 23 ,...,v 2n ] Formula IV.
[0055] Where:
[0056] v 2n Indicates that the operating frequency is set to f a The nth speed point of the servo motor operation collected below.
[0057] Among them, the array V 2 The maximum value of Minimum average value Very bad and mean square error The calculation formula is as follows:
[0058]
[0059] Where:
[0060] v 2i Indicates that the operating frequency is set to f a The i-th speed point of the servo motor running collected below;
[0061] i represents the index of the velocity point;
[0062] n represents the total number of sampling speed points;
[0063] Among them, the rotation stability of the motor at medium frequency S a The calculation method is:
[0064]
[0065] Step S203, the single motor operating frequency is set to f h (unit: Hz), run for 10 seconds, collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running; the collected running speed of the servo motor forms an array V 3 , respectively calculate the array V 3 The maximum value of Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at high frequency h .
[0066] Among them, the array V 3 It is expressed as follows:
[0067] V 3 =[v 31 ,v 32 ,v 33 ,...,v 3n ] Formula VII.
[0068] Where:
[0069] v 3n Indicates that the operating frequency is set to f h The nth speed point of the servo motor operation collected below.
[0070] Among them, the array V 3 The maximum value of Minimum average value Very bad and mean square error The calculation formula is as follows:
[0071]
[0072] Where:
[0073] v 3i Indicates that the operating frequency is set to f h The i-th speed point of the servo motor running collected below;
[0074] i represents the index of the velocity point;
[0075] n represents the total number of sampling speed points;
[0076] Among them, the rotation stability of the motor at high frequency S h The calculation method is:
[0077]
[0078] Step S204, the single motor rotation stability calculation formula is:
[0079]
[0080] Step S205, repeating steps S201 to S205, to calculate the rotation stability of each motor in the servo motor group.
[0081] Step S3, motor group operation synchronization detection:
[0082] Step S301, the operating frequency of the servo motor group is set to f l (unit: Hz), run for 10 seconds; collect the positions of different servo motors in the servo motor group every 0.1 seconds during the 10 seconds of operation, and the collected servo motor running positions form an array P. According to the real-time positions of different motors in the array P, calculate the synchronization c of different motors in the servo motor group at low frequency l .
[0083] Among them, the array P is represented as follows:
[0084]
[0085] Where:
[0086] p nm Indicates the nth position point of the mth servo motor;
[0087] n represents the number of sample points collected by a single motor;
[0088] m represents the number of servo motors.
[0089] Among them, the synchronization of different motors in the servo motor group at low frequency c l The calculation method is:
[0090]
[0091] Where:
[0092] p ik represents the kth position point of the i-th servo motor;
[0093] p jk represents the kth position point of the jth servo motor;
[0094] i represents the servo motor index number;
[0095] j represents the servo motor index number;
[0096] k represents the servo motor position point index number.
[0097] Step S302, the frequencies of the servo motor groups are set to f a (in Hz) and f h (Unit: Hz), run for 10 seconds, and collect the positions of different servo motors in the servo motor group every 0.1 seconds during the 10 seconds of operation. Based on the motor positions collected at medium frequency and high frequency, the synchronization of different motors in the servo motor group at low frequency is adopted. l The same calculation method is used to calculate the synchronization c of different motors in the servo motor group at medium frequency. a Synchronicity of different motors in a servo motor group at high frequencies c h .
[0098] Step S4, output of the motor group synchronization result:
[0099] The calculation method of the synchronization D of the servo motor group including single motor and multiple motors is:
[0100]
[0101] Where:
[0102] S i Indicates the rotation stability of the i-th servo motor;
[0103] i represents the serial number of a single motor, i=1, 2, ...n;
[0104] α represents the proportion of single motor stability;
[0105] Indicates the total number of phases in one cycle of the servo motor.
[0106] Application examples:
[0107] This application example provides a servo motor group synchronization self-check method based on the above embodiment. In this application example, the upper limit of the servo motor operating frequency is 60Hz. m Determine the low-frequency operation frequency f during the self-test process lThe operating frequency is 10Hz and the medium frequency f a The operating frequency is 20Hz and the high frequency f h is 60Hz.
[0108] The servo motor group has three servo motors in total. Figure 2 Perform the self-checking steps for the synchronization of the servo motor group. First, run the three servo motors at 10Hz in turn to score the low-frequency operation stability of the servo motors; then run the three servo motors at 30Hz in turn to score the medium-frequency operation stability of the servo motors; finally, run the three servo motors at 60Hz to score the high-frequency operation stability of the servo motors; finally, output the operation stability evaluation results of each servo motor.
[0109] In terms of servo motor group synchronization scoring, the three servo motors in the servo motor group are operated at 10Hz at the same time, and the servo motor group low-frequency operation synchronization scoring is performed; the three servo motors in the servo motor group are operated at 30Hz at the same time, and the servo motor group medium-frequency operation synchronization scoring is performed; the three servo motors in the servo motor group are operated at 60Hz at the same time, and the servo motor group high-frequency operation synchronization scoring is performed; finally, the operation stability evaluation results of each servo motor are combined to achieve the output of the servo motor group single motor and multi-motor synchronization results. The synchronization calculation result of the three-motor servo motor group is 93.71%.
Claims
1. A servo motor group synchronization self-check method, characterized in that: The method comprises the following steps: Step S1, motor operation parameter setting: Determine the upper limit of the servo motor operating frequency, based on the upper frequency limit f m Determine the low-frequency operation frequency f during the self-test process l , medium frequency operating frequency f a And high frequency operation frequency f h ; Step S2, single motor running stability detection includes the following steps: Step S201, the single motor operating frequency is set to f l , run for 10 seconds; collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running; the collected running speeds of the servo motor form an array V1, and calculate the maximum value of the array V1 respectively Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at low frequency l ; Step S202, the single motor operating frequency is set to f a , run for 10 seconds; during the 10 seconds of running, the running speed of the servo motor is collected every 0.1 seconds, and the collected running speeds of the servo motor form an array V2. The maximum value of the array V2 is calculated respectively Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at medium frequency a ; Step S203, the single motor operating frequency is set to f h , run for 10 seconds, collect the running speed of the servo motor every 0.1 seconds during the 10 seconds of running; the collected running speeds of the servo motor form array V3, and calculate the maximum value of array V3 respectively Minimum average value Very bad and mean square error Then calculate the rotation stability S of the motor at high frequency h ; Step S204, the single motor rotation stability calculation formula is: Step S205, repeating steps S201 to S204 to calculate the rotation stability of each motor in the servo motor group; Step S3, motor group operation synchronization detection: Step S301, the operating frequency of the servo motor group is set to f l , run for 10 seconds; during the 10 seconds of operation, the positions of different servo motors in the servo motor group are collected every 0.1 seconds, and the collected servo motor running positions form an array P. According to the real-time positions of different motors in the array P, the synchronization c of different motors in the servo motor group at low frequency is calculated l ; Step S302, the frequencies of the servo motor groups are set to f a With f h , run for 10 seconds, collect the positions of different servo motors in the servo motor group every 0.1 seconds during the 10 seconds of operation; calculate the synchronization c of different motors in the servo motor group under medium frequency respectively according to the motor positions collected under medium frequency and high frequency, using the same calculation method as the synchronization cl of different motors in the servo motor group under low frequency a Synchronicity of different motors in a servo motor group at high frequencies c h ; Step S4, output of the motor group synchronization result: The calculation method of servo motor group synchronization D is: Where: S i Indicates the rotation stability of the i-th servo motor; i represents the serial number of a single motor, i=1, 2, ...n; α represents the proportion of single motor stability; Indicates the total number of phases in one cycle of the servo motor.
2. The servo motor group synchronization self-checking method according to claim 1, characterized in that: In step S201, the array V1 is represented as follows: V1 = [v 11 , v 12 , v 13 ,..., v 1n Formula I; Where: v 1n Indicates that the operating frequency is set to f l The nth speed point of the servo motor running collected below; In step S201, the maximum value of the array V1 Minimum average value Very bad and mean square error The calculation formula is as follows: Where: V 1i Indicates that the operating frequency is set to f l The i-th speed point of the servo motor running collected below; i represents the index of the velocity point; n represents the total number of sampling speed points; In step S201, the rotation stability S of the motor at low frequency l The calculation method is:
3. The servo motor group synchronization self-checking method according to claim 1, characterized in that: In step S202, the array V2 is represented as follows: V2 = [v 21 , v 22 , v 23 ,..., v 2n Formula IV; Where: v 2n Indicates that the operating frequency is set to f a The nth speed point of the servo motor running collected below; In step S202, the maximum value of the array V2 Minimum average value Very bad and mean square error The calculation formula is as follows: Where: v 2i Indicates that the operating frequency is set to f a The i-th speed point of the servo motor running collected below; i represents the index of the velocity point; n represents the total number of sampling speed points; In step S202, the rotation stability S of the motor at the medium frequency a The calculation method is:
4. The servo motor group synchronization self-checking method according to claim 1, characterized in that: In step S203, the array V3 is represented as follows: V3 = [v 31 , v 32 , v 33 ,..., v 3n Formula VII; Where: v 3n Indicates that the operating frequency is set to f h The nth speed point of the servo motor running collected below; In step S203, the maximum value of the array V3 Minimum average value Very bad and mean square error The calculation formula is as follows: Where: v 3i Indicates that the operating frequency is set to f h The i-th speed point of the servo motor running collected below; i represents the index of the velocity point; n represents the total number of sampling speed points; In step S203, the rotation stability S of the motor at high frequency h The calculation method is:
5. The servo motor group synchronization self-checking method according to claim 1, characterized in that: In step S301, the array P is represented as follows: Where: p nm Indicates the nth position point of the mth servo motor; n represents the number of sample points collected by a single motor; m represents the number of servo motors; In step S301, the calculation method of the synchronization cl of different motors in the servo motor group at low frequency is: Where: p ik represents the kth position point of the i-th servo motor; p jk represents the kth position point of the jth servo motor; i represents the servo motor index number; j represents the servo motor index number; k represents the servo motor position point index number.
