Movatterモバイル変換


[0]ホーム

URL:


CN115524962B - A PROFINET dynamic servo control method for servo drives - Google Patents

A PROFINET dynamic servo control method for servo drives
Download PDF

Info

Publication number
CN115524962B
CN115524962BCN202210591539.3ACN202210591539ACN115524962BCN 115524962 BCN115524962 BCN 115524962BCN 202210591539 ACN202210591539 ACN 202210591539ACN 115524962 BCN115524962 BCN 115524962B
Authority
CN
China
Prior art keywords
servo
position loop
interpolation
time
loop instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210591539.3A
Other languages
Chinese (zh)
Other versions
CN115524962A (en
Inventor
任相强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eura Drives Electric Co ltd
Original Assignee
Eura Drives Electric Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eura Drives Electric Co ltdfiledCriticalEura Drives Electric Co ltd
Priority to CN202210591539.3ApriorityCriticalpatent/CN115524962B/en
Publication of CN115524962ApublicationCriticalpatent/CN115524962A/en
Application grantedgrantedCritical
Publication of CN115524962BpublicationCriticalpatent/CN115524962B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a servo driver PROFINET dynamic servo control method, which comprises calculating a servo position loop instruction interpolation starting point according to an application period multiplying power Kcacf and a cache position information PoskCalculating a time correction coefficient Ct according to the read time Ti and the output time To of the upper controller and the servo position loop instruction period Tcasr, and interpolating a starting point based on the current servo position loop instruction beat i and the number of beats N, the time correction coefficient Ct, the cache position information Posk and the servo position loop instruction interpolationCalculating servo position loop interpolation position instructions in real timeThe invention can effectively avoid the problem of process shaft following error degradation caused by the change of the applied cycle multiplying power or the change of the parameters of the control system.

Description

Dynamic servo control method for servo driver PROFINET
Technical Field
The invention relates to the technical field of servo driver control, in particular to a servo driver PROFINET dynamic servo control method.
Background
With the continuous iteration of modern industrial automation, domestic servo manufacturers have recently begun to be involved in the development and commercialization of PROFINET servo drives, with PROFINET dynamic servo control technology being of particular interest. The existing servo driver PROFINET dynamic servo control method has the following two problems limited by objective factors:
1. The method ignores the influence of the application period multiplying power, and when the application period multiplying power Kcacf is more than or equal to 2, the actual industrial Ethernet control system can cause obvious degradation of the process shaft following error due to the limitation of objective factors, so that a design scheme with higher cost is passively selected;
2. The method ignores the influence of the reading time and the output time of an upper controller, and the industrial Ethernet control system can cause the degradation of the following error of the process shaft after changing the reading time and the output time due to the synchronous requirement, and can cause the consistency degradation of the following error of the process shaft even after changing the track planning speed.
Disclosure of Invention
The invention provides a servo driver PROFINET dynamic servo control method, which aims to overcome the defects of the prior art and avoid the problem of process shaft following error degradation caused by the change of an application period multiplying power or the change of a control system parameter.
The technical scheme of the invention is as follows:
a servo driver PROFINET dynamic servo control method comprises the following steps:
S1, calculating an interpolation starting point of a servo position loop instruction according to an application period multiplying power Kcacf and cache position information Posk
S2, calculating a time correction coefficient Ct according to the reading time Ti and the output time To of the upper controller and the servo position loop instruction period Tcasr;
S3, based on the current servo position loop instruction beat i and the beat number N, the time correction coefficient Ct, the buffer position information Posk and the servo position loop instruction interpolation starting pointCalculating servo position loop interpolation position instructions in real time
Further, step S1 indicates the interpolation starting point of the servo position loop commandThe calculation method of (1) is as follows:
wherein Posk=0 is the cache location information of the current application period, and Posk=1 is the cache location information of the previous application period.
Further, the calculation method of the time correction coefficient Ct in step S2 is as follows:
Ct=0.5×(Ti%Tcasr+To%Tcasr+2)
wherein, "%" represents the remainder operation.
Further, step S3 is a servo position loop interpolation position commandThe calculation method of (1) is as follows:
Wherein the position loop instructs the interpolation beat numberThe current servo position loop instruction beat i e 0, N-1.
Compared with the prior art, the method has the advantages that the method calculates the interpolation starting point of the servo position loop instruction according to the application period multiplying power Kcacf and the cached position information PoskWhen the application period multiplying power Kcacf is more than or equal to 2, the process shaft following error can be still ensured to be at a very high level, a time correction coefficient Ct is calculated according to the reading time Ti and the output time To of the upper controller and the servo position loop instruction period Tcasr, and the interpolation starting point is interpolated based on the current servo position loop instruction beat i and beat number N, the time correction coefficient Ct, the cache position information Posk and the servo position loop instructionCalculating servo position loop interpolation position instructions in real timeAfter the track planning speed is changed and the reading time and the output time of the upper controller are changed due to the synchronous requirement, the following error of the process shaft can be still ensured, and the method has good social and economic values.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic diagram of the synchronization logic of the present invention.
Detailed Description
The technical scheme of the invention is described in detail below with reference to the accompanying drawings:
Referring to fig. 1, a servo driver PROFINET dynamic servo control method includes the following steps:
S1, calculating an interpolation starting point of a servo position loop instruction according to an application period multiplying power Kcacf and cache position information Posk
Wherein Posk=0 is the cache location information of the current application period, and Posk=1 is the cache location information of the previous application period.
S2, as shown in FIG. 2, in each synchronization period Tcyc, the PWM zero crossing point of the servo driver FPGA is synchronous with the PROFINET period synchronization pulse PNcyc, the servo driver CPU responds to the PNin pulse interrupt request of PROFINET and completes the Hostout period transmission before executing the speed loop, and after scanning the PNout pulse interrupt request mark of PROFINET, the servo driver CPU completes the Hostin period reception before executing the position loop instruction interpolation. In the figure, Tpwm is the servo driver FPGA PWM period, and period Tcacf=Kcacf×Tcyc is applied.
Calculating a time correction coefficient Ct according to the read time Ti and the output time To of the upper controller and the servo position loop instruction period Tcasr:
Ct=0.5×(Ti%Tcasr+To%Tcasr+2)
Wherein Ti、To and Tcasr are integer multiples of 125us, "%" represents remainder operation, and Ct is floating point number.
S3, based on the current servo position loop instruction beat i and the beat number N, the time correction coefficient Ct, the buffer position information Posk and the servo position loop instruction interpolation starting pointCalculating servo position loop interpolation position instructions in real time
Wherein the position loop instructs the interpolation beat numberThe current servo position loop instruction beat i e 0, N-1.
In the actual working process, a user can select different application period multiplying powers Kcacf according to objective factors, and after the reading time and the output time of the upper controller or the track planning are changed due to the process requirement, the following error of a process shaft can be still ensured.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and improvements could be made by those skilled in the art without departing from the inventive concept, which fall within the scope of the present invention.

Claims (1)

Translated fromChinese
1.一种伺服驱动器PROFINET动态伺服控制方法,其特征在于,包括如下步骤:1. A servo drive PROFINET dynamic servo control method, characterized in that it includes the following steps:S1:根据应用周期倍率Kcacf和缓存位置信息Posk计算伺服位置环指令插值起始点所述伺服位置环指令插值起始点的计算方法为:S1: Calculate the servo position loop command interpolation starting point based on the application cycle multiplierKcacf and cache position information Posk The servo position loop command interpolation starting point The calculation method is:其中,Posk=0为当前应用周期的缓存位置信息,Posk=1为前一次应用周期的缓存位置信息;Wherein, Posk=0 is the cache position information of the current application cycle, and Posk=1 is the cache position information of the previous application cycle;S2:根据上位控制器的读取时间Ti和输出时间To以及伺服位置环指令周期Tcasr计算时间校正系数CtS2: Calculate the time correction coefficient Ct according to the reading timeTi and output timeTo of the upper controller and the servo position loop instruction cycle Tcasr ;所述时间校正系数Ct的计算方法为:The calculation method of the time correction coefficient Ct is:Ct=0.5×(Ti%Tcasr+To%Tcasr+2)Ct =0.5×(Ti %Tcasr +To %Tcasr +2)其中,“%”表示取余运算;Among them, "%" represents the remainder operation;S3:基于当前伺服位置环指令节拍i和节拍数N、时间校正系数Ct、缓存位置信息Posk和伺服位置环指令插值起始点实时计算伺服位置环插值位置指令S3: Based on the current servo position loop instruction beat i and beat number N, time correction coefficient Ct , cache position information Posk and servo position loop instruction interpolation starting point Real-time calculation of servo position loop interpolation position commandS3所述伺服位置环插值位置指令的计算方法为:S3: Servo position loop interpolation position command The calculation method is:其中,位置环指令插值节拍数当前伺服位置环指令节拍i∈[0,N-1];Tcyc是同步周期。Among them, the position loop command interpolation beat number The current servo position loop command beat i∈[0, N-1]; Tcyc is the synchronization period.
CN202210591539.3A2022-05-282022-05-28 A PROFINET dynamic servo control method for servo drivesActiveCN115524962B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210591539.3ACN115524962B (en)2022-05-282022-05-28 A PROFINET dynamic servo control method for servo drives

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210591539.3ACN115524962B (en)2022-05-282022-05-28 A PROFINET dynamic servo control method for servo drives

Publications (2)

Publication NumberPublication Date
CN115524962A CN115524962A (en)2022-12-27
CN115524962Btrue CN115524962B (en)2024-12-06

Family

ID=84696455

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210591539.3AActiveCN115524962B (en)2022-05-282022-05-28 A PROFINET dynamic servo control method for servo drives

Country Status (1)

CountryLink
CN (1)CN115524962B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CA2045600A1 (en)*1989-03-221990-09-23Alfred H. MorserDynamic correction of servo following errors in a computer-numerically-controlled system and fixed cycle utilizing same
CN111123843A (en)*2019-12-262020-05-08深圳科士达科技股份有限公司Servo driver period synchronous position instruction processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP5211192B2 (en)*2011-03-232013-06-12三菱電機株式会社 Numerical control method and apparatus
CN105159176B (en)*2015-09-112017-09-29南京康尼电子科技有限公司A kind of periodic synchronous position control method for bus type servo-driver
EP3534229A1 (en)*2018-02-282019-09-04Siemens AktiengesellschaftDetermining parameters of a position control system for a servo drive
JP6849713B2 (en)*2019-02-132021-03-24オムロン株式会社 Control devices, control methods, control programs, and recording media

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CA2045600A1 (en)*1989-03-221990-09-23Alfred H. MorserDynamic correction of servo following errors in a computer-numerically-controlled system and fixed cycle utilizing same
CN111123843A (en)*2019-12-262020-05-08深圳科士达科技股份有限公司Servo driver period synchronous position instruction processing method

Also Published As

Publication numberPublication date
CN115524962A (en)2022-12-27

Similar Documents

PublicationPublication DateTitle
JP5638502B2 (en) Pump control system
WO2022160894A1 (en)Iterative-learning-based fast error compensation control system and method for numerical control machine tool
CN102023574B (en) Hybrid Model Optimal Control Method for Continuous Stirred Tank Reactor with First-Order Reaction
CN113186665B (en)Smooth speed planning control method of sewing servo motor
CN110703591A (en) A control method of an active disturbance rejection controller for a rotary valve drive motor
CN115524962B (en) A PROFINET dynamic servo control method for servo drives
CN111934585A (en)Permanent magnet synchronous motor servo control system based on fuzzy PI control
CN114142783A (en)Permanent magnet synchronous motor sensorless control switching state machine design method and system
CN117872958A (en)Multi-axis linkage contour error control method based on time delay synchronization
CN106788042A (en)A kind of direct Torque Control and method for reducing motor torque ripple
CN116442223A (en) A Design Method of Nonlinear Dynamic Controller for Trajectory Tracking of Manipulator System
CN111487930A (en)Motion control system, method and device based on symmetric graph replacement technology, machine tool and storage medium
CN103780181A (en)Method for improving response of current loop of servo driver
CN117989054B (en)Domestic fan intelligent control method, system and equipment
CN101349907B (en)Numerical control system and method for optimizing data stream
CN113843789A (en) A method for mitigating the rigid impact of a robotic arm
CN117997177A (en)Control method of permanent magnet synchronous motor, current loop, permanent magnet synchronous motor control system and readable storage medium
JP2001188605A (en) Curve interpolation method
CN116880363A (en)Industrial robot time optimal five-order polynomial speed planning method
CN116827196A (en)Dead beat direct rotating speed control method for permanent magnet synchronous motor
CN113114073A (en)Method and device for driving and controlling cutter head motor of shield tunneling machine
CN115800847A (en)Cogging torque fluctuation suppression method for permanent magnet synchronous motor and storage medium
CN110224653B (en)Novel direct torque control method for three-phase asynchronous motor
CN109600094B (en)Method, device and system for controlling rotating speed of ultrasonic motor
CN114826048A (en)Method for controlling direct power of brushless doubly-fed generator

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp