[go: up one dir, main page]

TW202135455A - Apparatus of servo motor drives and its current control method - Google Patents

Apparatus of servo motor drives and its current control method Download PDF

Info

Publication number
TW202135455A
TW202135455A TW109108292A TW109108292A TW202135455A TW 202135455 A TW202135455 A TW 202135455A TW 109108292 A TW109108292 A TW 109108292A TW 109108292 A TW109108292 A TW 109108292A TW 202135455 A TW202135455 A TW 202135455A
Authority
TW
Taiwan
Prior art keywords
current
time delay
module
controller
servo motor
Prior art date
Application number
TW109108292A
Other languages
Chinese (zh)
Other versions
TWI717231B (en
Inventor
賴炎生
許志榮
林秉毅
Original Assignee
賴炎生
許志榮
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 賴炎生, 許志榮 filed Critical 賴炎生
Priority to TW109108292A priority Critical patent/TWI717231B/en
Application granted granted Critical
Publication of TWI717231B publication Critical patent/TWI717231B/en
Publication of TW202135455A publication Critical patent/TW202135455A/en

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

An apparatus of servo motor drives and its current control method are proposed. The current control loop of the proposed device consists of a voltage command module with variable frequency, a system model reconstruction module based on Fast Fourier Transform, a current model estimation module considering the time delay, a controller gain tuning module and a current control module with the time delay compensation. The motor parameters and its time delay are identified through the system reconstruction modules to give the motor current model in various frequency ranges. The current controller gains are auto determined based upon optimal method as the time delay is considered and compensated to achieve optimal current response.

Description

伺服馬達驅動器裝置及其電流控制方法Servo motor drive device and current control method thereof

本發明係關於一種伺服馬達驅動器裝置及其電流控制方法,特別是指一種應用於搭配不同馬達的情況下仍可自動調整其電流控制器增益,或搭配時間延遲補償的控制方法,使其達到最佳電流響應之伺服馬達驅動器裝置。The present invention relates to a servo motor driver device and its current control method, in particular to a control method that can automatically adjust its current controller gain when used with different motors, or with time delay compensation, to maximize Servo motor drive device with good current response.

如圖1所示,係為習知的基本伺服控制驅動系統之示意圖,其主要架構係包含一上位控制器1、一交流電源2、一伺服馬達驅動器3及一伺服馬達機構系統4;而伺服馬達機構系統4包含一伺服馬達41、一編碼器42、一傳動機構43及一機械負載44。As shown in Figure 1, it is a schematic diagram of a conventional basic servo control drive system. Its main structure includes a host controller 1, an AC power supply 2, a servo motor driver 3, and a servo motor mechanism system 4; The motor mechanism system 4 includes a servo motor 41, an encoder 42, a transmission mechanism 43 and a mechanical load 44.

伺服馬達驅動器3中包含變頻器之電力電子架構,可接受單相或三相交流電源2的輸入,並使用脈波寬度調變技術來輸出三相電壓脈波給予伺服馬達41作驅動。同時,伺服馬達驅動器3接收上位控制器1的位置命令

Figure 02_image001
控制伺服馬達機構系統4達到需要的行程,而伺服馬達41則透過編碼器42將伺服馬達轉子角度資訊
Figure 02_image003
回授至伺服馬達驅動器3作為控制使用。The servo motor driver 3 includes a power electronic structure of a frequency converter, which can accept the input of a single-phase or three-phase AC power source 2, and uses pulse width modulation technology to output three-phase voltage pulses for the servo motor 41 to drive. At the same time, the servo motor driver 3 receives the position command from the upper controller 1
Figure 02_image001
The servo motor mechanism system 4 is controlled to reach the required stroke, and the servo motor 41 transmits the angle information of the servo motor rotor through the encoder 42
Figure 02_image003
It is fed back to the servo motor driver 3 for control.

圖2係為習知的伺服馬達驅動器3中含有電流迴路之位置-速度環串聯型伺服控制方塊圖,典型的控制模式分別為位置控制迴路、速度控制迴路與電流控制迴路,藉以控制伺服馬達所需之位置、速度與電流大小,使其達到高精度與快速響應的負載特性。伺服馬達驅動器3可包括一減法器31、一位置控制器32、一減法器33、一速度控制器34、一電流迴路35、一計數器36、一速度估測器37。位置回授

Figure 02_image005
經由編碼器42的轉子角度資訊
Figure 02_image003
,再經由計數器36產生;位置命令
Figure 02_image001
與位置回授
Figure 02_image005
經由減法器31得到位置誤差後,再透過位置控制器32產生速度命令
Figure 02_image007
,速度回授
Figure 02_image009
則由位置回授
Figure 02_image005
經過速度估測器37產生;速度命令
Figure 02_image011
與速度回授
Figure 02_image009
經由減法器33得到速度誤差後,再透過速度控制器34產生電流命令
Figure 02_image012
送至電流迴路35,最後再經由電流迴路35產生三相電壓波形
Figure 02_image014
來控制伺服馬達達到目標的轉速與位置,其中
Figure 02_image012
包含了習知的交直軸電流命令成分;在此,位置控制器32與速度控制器34之形式為一比例-積分(PI)控制器,亦可為一比例-積分-微分(PID)控制器。Figure 2 is a position-speed loop series servo control block diagram with a current loop in the conventional servo motor driver 3. The typical control modes are position control loop, speed control loop, and current control loop to control the servo motor. The position, speed and current are required to achieve high-precision and fast-response load characteristics. The servo motor driver 3 may include a subtractor 31, a position controller 32, a subtractor 33, a speed controller 34, a current loop 35, a counter 36, and a speed estimator 37. Position feedback
Figure 02_image005
Rotor angle information via encoder 42
Figure 02_image003
, And then generated by the counter 36; position command
Figure 02_image001
Feedback with location
Figure 02_image005
After the position error is obtained through the subtractor 31, the speed command is generated through the position controller 32
Figure 02_image007
, Speed feedback
Figure 02_image009
Feedback by location
Figure 02_image005
Generated by speed estimator 37; speed command
Figure 02_image011
Feedback with speed
Figure 02_image009
After the speed error is obtained through the subtractor 33, the current command is generated through the speed controller 34
Figure 02_image012
Send to the current loop 35, and finally generate the three-phase voltage waveform through the current loop 35
Figure 02_image014
To control the speed and position of the servo motor to reach the target, where
Figure 02_image012
Contains the conventional AC-DC axis current command component; here, the position controller 32 and the speed controller 34 are in the form of a proportional-integral (PI) controller, or a proportional-integral-derivative (PID) controller .

習知的伺服馬達向量控制的電流控制迴路方塊圖,如圖3所示,其主要架構係包含一減法器3501、一電流控制器3502、一第一座標轉換模組3503、一脈波寬度調變模組3504、一變頻器模組3505、一電流回授單元3506、一電流回授模組3507、一類比/數位轉換器3508及一第二座標轉換模組3509。實現電流控制迴路的方式係透過電流回授單元3506將馬達電流轉換成電壓信號,經由電流回授模組3507調整成微處理器可接收的電壓大小,再經由類比/數位轉換器3508進行實際電流的數位化取樣後,透過第二座標轉換模組3509,將交流電流轉換成具直流特性的數位交直軸電流回授

Figure 02_image016
,電流命令
Figure 02_image012
與電流回授
Figure 02_image016
經由減法器3501得到電流誤差後,再透過電流控制器3502產生交直軸電壓命令
Figure 02_image018
,經過第一座標轉換模組3503產生三相電壓命令
Figure 02_image020
,再經過脈波寬度調變模組3504轉換成三相脈波命令,最後再透過變頻器模組3505將三相脈波命令轉換成實際的三相電壓波形
Figure 02_image014
。在此,電流控制器3502之形式為一比例-積分(PI)控制器。The current control loop block diagram of the conventional servo motor vector control is shown in FIG. 3. Its main structure includes a subtractor 3501, a current controller 3502, a first coordinate conversion module 3503, and a pulse width adjustment module. The variable module 3504, a frequency converter module 3505, a current feedback unit 3506, a current feedback module 3507, an analog/digital converter 3508, and a second coordinate conversion module 3509. The way to realize the current control loop is to convert the motor current into a voltage signal through the current feedback unit 3506, adjust it to a voltage that can be received by the microprocessor through the current feedback module 3507, and then use the analog/digital converter 3508 to perform the actual current After the digital sampling, the second coordinate conversion module 3509 converts the AC current into a digital AC-DC axis current feedback with DC characteristics
Figure 02_image016
, Current command
Figure 02_image012
And current feedback
Figure 02_image016
After the current error is obtained through the subtractor 3501, the current controller 3502 generates the AC-DC axis voltage command
Figure 02_image018
, Through the first coordinate conversion module 3503 to generate a three-phase voltage command
Figure 02_image020
, And then converted into a three-phase pulse command by the pulse width modulation module 3504, and finally converted the three-phase pulse command into the actual three-phase voltage waveform through the inverter module 3505
Figure 02_image014
. Here, the current controller 3502 is in the form of a proportional-integral (PI) controller.

為了達到前述之快速響應的性能,最重要的是必須先達到較佳的電流迴路之頻率響應。以性能評估指標來看,尤其著重在電流迴路頻寬之大小;當電流迴路頻寬之大小愈高,表示伺服馬達驅動系統在電流控制迴路下之暫態表現愈快速且優異,可應用之市場領域及其應用範圍則愈寬;反之,則愈窄。In order to achieve the aforementioned fast response performance, the most important thing is to achieve a better frequency response of the current loop. In terms of performance evaluation indicators, it is especially focused on the size of the current loop bandwidth; when the size of the current loop bandwidth is higher, the transient performance of the servo motor drive system under the current control loop is faster and better, which can be applied to the market The field and its application range are wider; on the contrary, the narrower.

習知的電流迴路控制器設計方法係採用比例-積分(PI)控制器實現,其控制器增益調整方法有三種,第一種為在時域下利用單位步階命令測試其電流回授的暫態響應,根據電流響應的上升時間、安定時間、最大過衝量以及穩態誤差等規格進行控制器增益調適,此方法之優點為簡單且直觀,但缺點為由於步階命令其變加速度較大,容易造成馬達速度過衝而損壞馬達的軸承,且無法在明確知道伺服馬達的參數下進行調適,因而無法直接套用調適好的增益應用到不同的馬達。同時,此法較難以驗證系統頻寬與穩定性。The conventional current loop controller design method is implemented by a proportional-integral (PI) controller. There are three ways to adjust the gain of the controller. The first one is to use unit step commands to test the current feedback in the time domain. State response, adjust the controller gain according to the current response's rise time, settling time, maximum overshoot, and steady-state error. The advantage of this method is simple and intuitive, but the disadvantage is that the variable acceleration is large due to the step command. It is easy to cause the motor speed to overshoot and damage the bearings of the motor, and it is impossible to adjust the servo motor parameters clearly, so it is impossible to directly apply the adjusted gain to different motors. At the same time, this method is more difficult to verify the system bandwidth and stability.

第二種方法為使用頻率響應分析儀(Frequency Response Analyzer)量測迴路響應,調整控制器增益以滿足系統規格,如習知的中華民國發明專利申請號第106113211號的伺服驅動系統之電流頻寬與相位驗證裝置之方法,透過一頻寬與相位量測輔助單元以及一頻率響應分析儀,分析伺服驅動系統在電流迴路之頻率響應,根據系統頻寬、共振頻率與峰值等規格來調整控制器增益,其優點為可詳細且準確的掌握頻率響應的特性,包含頻寬與相位特性,但缺點為需要具專業背景的人士操作,並需花費時間不斷地進行調適以滿足規格。與第一種方法一樣無法明確知道伺服馬達的參數,因而無法直接套用調適好的增益應用到不同的馬達。The second method is to use the Frequency Response Analyzer to measure the loop response and adjust the controller gain to meet the system specifications, such as the current bandwidth of the servo drive system of the Republic of China Invention Patent Application No. 106113211 With the method of phase verification device, through a bandwidth and phase measurement auxiliary unit and a frequency response analyzer, the frequency response of the servo drive system in the current loop is analyzed, and the controller is adjusted according to the specifications of the system bandwidth, resonance frequency and peak value. The advantage of gain is that it can grasp the characteristics of frequency response in detail and accurately, including bandwidth and phase characteristics, but the disadvantage is that it requires people with professional background to operate, and it takes time to continuously adjust to meet the specifications. Like the first method, the parameters of the servo motor cannot be clearly known, so it is impossible to directly apply the adjusted gain to different motors.

第三種方法則是將上述的伺服馬達向量控制的電流迴路35化簡成由控制器與受控體組成的回授控制系統,如圖4所示,其主要架構係包含一減法器3501、一電流控制器3502以及一伺服馬達的電流等效模型3510所組成的馬達電流等效控制迴路,其中伺服馬達的電流等效模型3510係由等效電阻

Figure 02_image022
與等效電感
Figure 02_image024
所構成的方程式。基於此電流等效控制迴路系統,透過變頻器注入特定大小的脈衝電壓或是特定頻率的弦波電壓命令至伺服馬達中,藉由電流回授估測出馬達電氣參數等效電阻
Figure 02_image026
與等效電感
Figure 02_image028
,再依據預設好的頻寬值進行控制器增益的計算。此方法的優點是可以依照不同的馬達估算出馬達電氣參數並透過同一套控制器設計公式計算出增益值,但其方法仍存在一些問題,其中之一為注入的脈衝電壓的大小或特定頻率的弦波電壓命令不易決定,且須先給予控制器增益一個初始值,該初始值的設定會影響參數估測的結果因而影響控制器增益的設計。The third method is to simplify the current loop 35 of the above-mentioned servo motor vector control into a feedback control system composed of a controller and a controlled body. As shown in Fig. 4, its main structure includes a subtractor 3501. A motor current equivalent control loop composed of a current controller 3502 and a current equivalent model 3510 of a servo motor, wherein the current equivalent model 3510 of the servo motor is composed of an equivalent resistance
Figure 02_image022
And equivalent inductance
Figure 02_image024
The equation formed. Based on this current equivalent control loop system, a specific pulse voltage or a specific frequency sine wave voltage command is injected into the servo motor through the inverter, and the equivalent resistance of the motor electrical parameters is estimated by the current feedback.
Figure 02_image026
And equivalent inductance
Figure 02_image028
, And then calculate the controller gain according to the preset bandwidth value. The advantage of this method is that the electrical parameters of the motor can be estimated according to different motors and the gain value can be calculated through the same set of controller design formulas. However, there are still some problems with the method. One of them is the magnitude of the injected pulse voltage or the specific frequency. The sine wave voltage command is not easy to determine, and the controller gain must be given an initial value first. The setting of the initial value will affect the result of parameter estimation and therefore affect the design of the controller gain.

另外一個較為嚴重的問題係前述之方法並未考慮數位控制系統下造成的時間延遲問題,此時間延遲為數位控制系統下必定會衍生出的問題。根據數位控制的理論可知,時間延遲的影響將會造成嚴重的相位落後問題,而相位落後的情況發生時則會導致嚴重的穩定性問題;換言之,在沒有考慮時間遲延下所設計的頻寬值,會因為穩定性問題以及實際硬體系統的限制,容易導致電流迴路有較大的共振頻率且系統較不穩定;若因採用保守的頻寬值設計控制器增益則無法達到電流迴路的最大頻寬響應。因此,如何在具有時間延遲的系統下適當地調適控制器增益,使其達到有足夠穩定性裕度的最大頻寬響應;與此同時,如何獲得有效且準確的時間延遲參數並對其補償的方法,這些都是值得研究與改善的課題。Another more serious problem is that the aforementioned method does not consider the time delay caused by the digital control system. This time delay is a problem that will inevitably arise in the digital control system. According to the theory of digital control, the effect of time delay will cause serious phase lag problems, and when phase lag occurs, it will cause serious stability problems; in other words, the bandwidth value designed without considering time delay , Due to stability issues and limitations of the actual hardware system, it is easy to cause the current loop to have a larger resonance frequency and the system is more unstable; if the controller gain is designed with a conservative bandwidth value, the maximum frequency of the current loop cannot be reached. Wide response. Therefore, how to properly adjust the controller gain in a system with time delay to achieve the maximum bandwidth response with sufficient stability margin; at the same time, how to obtain effective and accurate time delay parameters and compensate for them Methods, these are topics worthy of research and improvement.

由此可知,上述習知方法仍有諸多缺失,實非一良善之設計,而亟待加以改良。本案發明人鑑於上述習用之方法所衍生的缺點,乃亟思加以改良創新,並經由多年的研究後,終於成功完成本件伺服馬達驅動器裝置及其電流控制方法。It can be seen that the above-mentioned conventional method still has many shortcomings, which is not a good design, and needs to be improved urgently. In view of the shortcomings derived from the above-mentioned conventional methods, the inventor of the present case is eager to improve and innovate, and after years of research, finally successfully completed this servo motor drive device and its current control method.

鑒於以上的問題,本發明之主要目的即在於提供一種伺服馬達驅動器裝置及其電流控制方法,係為了使得伺服驅動系統達到最佳的頻寬響應且可適用於不同的馬達,藉由伺服馬達驅動器裝置中的電流迴路增加一可變頻率的電壓命令模組,使用一基於快速傅立葉轉換的系統模型重建模組找出不同頻率區段的馬達電流模型,分析不同頻率區段內的模型以估測出馬達參數及其時間延遲,根據線上估測到的馬達電流模型及其時間延遲之參數,依照具時間延遲的最佳化方法自動地去調整電流控制器增益,即可改善上述習知的控制器增益設計方法造成的電流迴路相位裕度不足的問題;亦可改善需要額外量測儀器進行調適的複雜而昂貴的方法。本發明的另一種伺服馬達驅動器裝置及其電流控制方法亦揭露一種利用前述估測出的時間延遲之參數,搭配時間延遲補償的控制方法,可改善因為時間延遲所造成的相位落後問題,使得系統能夠在足夠的穩定性裕度下盡可能地提高電流迴路頻寬,可藉以解決習知技術中所存在的技術課題與潛在缺點。In view of the above problems, the main purpose of the present invention is to provide a servo motor drive device and its current control method, in order to enable the servo drive system to achieve the best bandwidth response and be applicable to different motors. Add a variable frequency voltage command module to the current loop of the device, use a fast Fourier transform-based system model reconstruction module to find the motor current model in different frequency ranges, and analyze the models in different frequency ranges to estimate Output the motor parameters and its time delay, and automatically adjust the current controller gain according to the time-delay optimization method according to the estimated motor current model and its time delay parameters online to improve the above-mentioned conventional control The problem of insufficient current loop phase margin caused by the gain design method of the device; it can also improve the complicated and expensive method that requires additional measuring instruments for adjustment. Another servo motor driver device and current control method of the present invention also discloses a control method using the aforementioned estimated time delay parameters and time delay compensation, which can improve the phase lag caused by the time delay and make the system The current loop bandwidth can be increased as much as possible with sufficient stability margin, which can solve the technical problems and potential shortcomings existing in the conventional technology.

因此,為達上述之目的,本發明係為一種伺服馬達驅動器裝置及其電流控制方法,其係包含有: 一上位控制器,作為運動控制命令之產生,用於下達位置命令給伺服馬達驅動器裝置,並連結至該裝置的位置命令輸入側(

Figure 02_image001
); 一交流電源,作為伺服馬達驅動器裝置之輸入能量來源,並連結至伺服馬達驅動器裝置的電力輸入側(RST); 一伺服馬達機構系統,一伺服馬達與一編碼器同軸共為一體,與伺服馬達驅動器裝置的電力輸出側(UVW)相連接,使機械負載運轉; 一伺服馬達驅動器裝置,與交流電源、上位控制器相連接,可接受單相或三相交流電源的輸入並經由變頻器轉換後,使用脈波寬度調變技術來輸出三相電壓之脈波輸出,將能量轉換至電力輸出側(UVW)來驅動伺服馬達;其內部包含一位置迴路、一速度迴路以及一具時間延遲補償之電流迴路及其控制器;其間伺服馬達驅動器裝置同時接收編碼器的位置信號(
Figure 02_image003
); 一具時間延遲補償之電流迴路及其控制器包含有:一具時間延遲之電流模型鑑別模組,係利用一可變頻率的電壓命令模組、一基於快速傅立葉轉換的系統模型重建模組、一具時間延遲的電流模型估測模組、一控制器增益計算模組,可得到馬達參數及其時間延遲,及具時間延遲最佳化方法的電流控制器增益;一具時間延遲補償之電流控制模組,將前述的最佳化電流控制器增益自動設定於電流控制的比例-積分(PI)控制器中,並透過估測到的參數執行時間延遲補償的控制方法。Therefore, in order to achieve the above-mentioned object, the present invention is a servo motor drive device and its current control method, which includes: an upper controller, as a motion control command generation, used to issue position commands to the servo motor drive device , And connect to the position command input side of the device (
Figure 02_image001
); An AC power supply, as the input energy source of the servo motor drive device, and is connected to the power input side (RST) of the servo motor drive device; The power output side (UVW) of the servo motor drive device is connected to make the mechanical load run; a servo motor drive device is connected to the AC power supply and the upper controller, and can accept the input of single-phase or three-phase AC power through the inverter After conversion, the pulse width modulation technology is used to output the pulse output of the three-phase voltage, and the energy is converted to the power output side (UVW) to drive the servo motor; it contains a position loop, a speed loop and a time delay Compensated current loop and its controller; meanwhile, the servo motor driver device simultaneously receives the position signal of the encoder (
Figure 02_image003
); A current loop with time delay compensation and its controller include: a time delay current model identification module, which uses a variable frequency voltage command module, and a system model remodeling based on fast Fourier transform Group, a current model estimation module with time delay, a controller gain calculation module, which can obtain motor parameters and time delay, and current controller gain with time delay optimization method; a time delay compensation The current control module automatically sets the aforementioned optimized current controller gain in the current-controlled proportional-integral (PI) controller, and executes the control method of time delay compensation through the estimated parameters.

本發明的優點在於利用一可變頻率的電壓命令模組產生電壓命令,並利用其電壓命令與電流回授之信號,不需要額外的量測儀器設備,而係透過一基於快速傅立葉轉換的系統模型重建模組,找出不同頻率區段的馬達電流模型,分析不同頻率區段內的模型以估測出馬達參數及其時間延遲,根據線上估測到的馬達電流模型及其時間延遲之參數,依照具時間延遲的最佳化方法自動地去調整電流控制器增益,因此,可在具有時間延遲的系統下適當地調適控制器參數增益,使其達到有足夠穩定性裕度的最大頻寬響應。The advantage of the present invention is that a variable frequency voltage command module is used to generate voltage commands, and the voltage commands and current feedback signals are used. No additional measuring equipment is required, and a system based on fast Fourier transform is used. The model reconstruction module finds the motor current models in different frequency ranges, analyzes the models in different frequency ranges to estimate motor parameters and their time delays, according to the estimated motor current models and their time delay parameters online , According to the optimization method with time delay, the current controller gain is automatically adjusted. Therefore, the controller parameter gain can be appropriately adjusted under the system with time delay to reach the maximum bandwidth with sufficient stability margin. response.

此外,本發明的另一個優點係提出利用前述估測出的時間延遲之參數,搭配時間延遲補償的控制方法,可改善因為時間延遲所造成的相位落後問題,使得系統能夠在足夠的穩定性裕度下盡可能地提高電流迴路頻寬。In addition, another advantage of the present invention is that it proposes to use the aforementioned estimated time delay parameters with a time delay compensation control method, which can improve the phase lag caused by the time delay, so that the system can operate with sufficient stability margin. Increase the current loop bandwidth as much as possible under the temperature.

有關於本發明的特徵與實作,茲配合圖示作最佳實施例詳細說明如下。參照圖5~圖8說明本發明之伺服馬達驅動器裝置及其電流控制方法的實施型態。圖5表示為本發明之伺服馬達驅動器裝置及其電流控制方法的方塊圖,其中係包含:一上位控制器1,連結至本發明之伺服馬達驅動器裝置5的位置命令輸入側;一交流電源2,連結至本發明之伺服馬達驅動器裝置5的電力輸入側(RST);一伺服馬達機構系統4,與本發明之伺服馬達驅動器裝置5的電力輸出側(UVW)相連接;一本發明之伺服馬達驅動器裝置5,與上位控制器1、交流電源2、伺服馬達機械系統4相連接;其中包含了一位置迴路51、一速度迴路52及一具時間延遲補償之電流迴路及其控制器53。With regard to the features and implementation of the present invention, the best embodiments are described in detail as follows in conjunction with the drawings. 5 to 8 illustrate the implementation of the servo motor driver device and current control method of the present invention. 5 shows a block diagram of the servo motor drive device and current control method of the present invention, which includes: a host controller 1 connected to the position command input side of the servo motor drive device 5 of the present invention; and an AC power supply 2 , Connected to the power input side (RST) of the servo motor drive device 5 of the present invention; a servo motor mechanism system 4 connected to the power output side (UVW) of the servo motor drive device 5 of the present invention; a servo motor drive device of the present invention The motor driver device 5 is connected to the upper controller 1, the AC power source 2, the servo motor mechanical system 4; it includes a position loop 51, a speed loop 52, and a current loop with time delay compensation and its controller 53.

本發明之具時間延遲補償之電流迴路及其控制器53的方塊圖,如圖6所示,其主要架構係包含一具時間延遲之電流模型鑑別模組5301以及一具時間延遲補償之電流控制模組5302、一電壓命令切換模組5303、一第一座標轉換模組5304、一脈波寬度調變模組5305、一變頻器模組5306、一電流回授單元5307、一電流回授模組5308、一類比/數位轉換器5309及一第二座標轉換模組5310。The block diagram of the current loop with time delay compensation and its controller 53 of the present invention is shown in FIG. 6. Its main structure includes a current model identification module 5301 with time delay and a current control with time delay compensation. Module 5302, a voltage command switching module 5303, a first coordinate conversion module 5304, a pulse width modulation module 5305, an inverter module 5306, a current feedback unit 5307, a current feedback module Group 5308, an analog/digital converter 5309, and a second coordinate conversion module 5310.

首先說明本發明的核心原理,根據數位控制的理論,可將伺服馬達數位化向量控制的電流迴路視為由一電流控制器、一具時間延遲的伺服馬達電流等效模型所組成的數位電流等效控制迴路,其中電流控制器係由比例增益值

Figure 02_image032
以及積分時間常數
Figure 02_image034
所構成的方程式;而具時間延遲的伺服馬達電流等效模型係由時間延遲
Figure 02_image036
、等效電阻
Figure 02_image022
以及等效電感
Figure 02_image024
所構成的方程式,時間延遲造成的最主要的影響係會為控制系統帶來額外的相位落後的問題,此問題係造成控制頻寬無法提高的瓶頸點之一,同時會帶來嚴重的不穩定問題。因此,若能夠將等效電阻
Figure 02_image040
、等效電感
Figure 02_image024
以及時間延遲
Figure 02_image036
等參數精確的估測出來,便能夠設計出考量時間延遲的最佳化控制器增益,使其達到有足夠穩定性裕度的最大頻寬響應;或是進一步實現時間延遲補償的控制方法,使得系統能夠在足夠的穩定性裕度下盡可能地提高電流迴路頻寬之目的。First, the core principle of the present invention is explained. According to the theory of digital control, the current loop of the digital vector control of the servo motor can be regarded as a digital current composed of a current controller, a servo motor current equivalent model with a time delay, etc. Effective control loop, where the current controller is determined by the proportional gain value
Figure 02_image032
And the integral time constant
Figure 02_image034
And the equivalent model of servo motor current with time delay is composed of time delay
Figure 02_image036
, Equivalent resistance
Figure 02_image022
And equivalent inductance
Figure 02_image024
In the equations formed, the most important influence caused by time delay is that it will bring additional phase lag problems to the control system. This problem is one of the bottlenecks that cannot increase the control bandwidth, and it will also cause serious instability. problem. Therefore, if the equivalent resistance can be
Figure 02_image040
, Equivalent inductance
Figure 02_image024
And time delay
Figure 02_image036
After accurate estimation of the parameters, we can design an optimized controller gain that takes into account the time delay to achieve the maximum bandwidth response with sufficient stability margin; or further realize the control method of time delay compensation, so that The system can increase the current loop bandwidth as much as possible with sufficient stability margin.

為了實現本發明提出的線上馬達電流模型及其時間延遲之參數估測,並採用具時間延遲的最佳化方法自動地去設計電流控制器增益之目的,參閱圖6,其具時間延遲補償之電流迴路及其控制器的具體實施方法係透過一具時間延遲之電流模型鑑別模組5301產生一可變頻率的電壓命令

Figure 02_image042
,經由電壓命令切換模組5303依照S1信號切換於接點B得到交直軸電壓命令
Figure 02_image018
,經過第一座標轉換模組5304產生三相電壓命令,再經過脈波寬度調變模組5305轉換成三相脈波命令,最後再透過變頻器模組5306將三相脈波命令轉換成實際的三相電壓波形;同時,馬達電流透過電流回授單元5307轉換成電壓信號,經由電流回授模組5308調整成微處理器可接收的電壓大小,再經由類比/數位轉換器5309進行實際電流的數位化取樣後,透過第二座標轉換模組5310,將交流電流轉換成具直流特性的數位交直軸電流回授
Figure 02_image016
,再將數位交直軸電流回授
Figure 02_image016
與交直軸電壓命令
Figure 02_image046
一同輸入至具時間延遲之電流模型鑑別模組5301中,等到分析與估測出等效電阻
Figure 02_image048
、等效電感
Figure 02_image050
以及時間延遲
Figure 02_image052
後,自動計算出具時間延遲的最佳化控制器增益
Figure 02_image054
Figure 02_image056
,將控制器增益連同時間延遲
Figure 02_image052
傳送到具時間延遲補償之電流控制模組5302中,並控制S1信號使得電壓命令切換模組5303切換於接點A後,便能夠實現具時間延遲之電流迴路控制。In order to realize the parameter estimation of the online motor current model and its time delay proposed in the present invention, and use the optimization method with time delay to automatically design the gain of the current controller, refer to FIG. 6, which has time delay compensation. The specific implementation method of the current loop and its controller is to generate a variable frequency voltage command through a time-delayed current model identification module 5301
Figure 02_image042
, Through the voltage command switching module 5303, switch to contact B according to the S1 signal to obtain the AC-DC axis voltage command
Figure 02_image018
, The first coordinate conversion module 5304 generates a three-phase voltage command, and then the pulse width modulation module 5305 converts it into a three-phase pulse command, and finally the inverter module 5306 converts the three-phase pulse command into actual At the same time, the motor current is converted into a voltage signal by the current feedback unit 5307, adjusted by the current feedback module 5308 to a voltage that can be received by the microprocessor, and then used by the analog/digital converter 5309 for actual current After the digital sampling, the second coordinate conversion module 5310 converts the AC current into a digital AC-DC axis current feedback with DC characteristics
Figure 02_image016
, And then feedback the digital AC-DC axis current
Figure 02_image016
With AC-DC axis voltage command
Figure 02_image046
Input together into the current model identification module 5301 with time delay, and wait until the equivalent resistance is analyzed and estimated
Figure 02_image048
, Equivalent inductance
Figure 02_image050
And time delay
Figure 02_image052
Then, the optimized controller gain with time delay is automatically calculated
Figure 02_image054
and
Figure 02_image056
, Delay the controller gain together with the time
Figure 02_image052
After being transmitted to the current control module 5302 with time delay compensation, and controlling the S1 signal so that the voltage command switching module 5303 is switched to contact A, the current loop control with time delay can be realized.

本發明之具時間延遲之電流模型鑑別模組5301的具體實現方法如圖7所示,其包含了一可變頻率之電壓命令模組53011、一系統模型重建模組53012、一具時間延遲的電流模型估測模組53013以及一控制器增益計算模組53014。其中可變頻率之電壓命令模組53011,其電壓命令型態具有複數個頻率點且其電壓振福大小相同之特性,可為Chirp弦波命令函數,或是具備複數個頻率序列的振幅大小相同之複合頻率陣列函數的信號,除此之外,只要符合複數個頻率點且其電壓振福大小相同之特性均可用於該模組的電壓命令產生方式。同時系統模型重建模組53012可建立不同頻率區段的馬達電流模型;具時間延遲的電流模型估測模組53013能夠分析不同頻率區段內的模型以估測出馬達參數及其時間延遲等參數;而控制器增益計算模組53014能根據馬達電流模型及其時間延遲之參數,依照具時間延遲的最佳化方法計算電流控制器增益,其中控制器增益

Figure 02_image054
考慮了時間延遲
Figure 02_image052
,因此,可使控制器達到有足夠穩定性裕度的最大頻寬響應。The specific implementation method of the current model identification module 5301 with time delay of the present invention is shown in FIG. 7, which includes a variable frequency voltage command module 53011, a system model reconstruction module 53012, and a time delay A current model estimation module 53013 and a controller gain calculation module 53014. Among them, the variable frequency voltage command module 53011, its voltage command type has multiple frequency points and its voltage vibration is the same. It can be a Chirp sine wave command function, or it has multiple frequency sequences with the same amplitude In addition to the complex frequency array function signal, as long as it conforms to multiple frequency points and the characteristics of the voltage vibration are the same, it can be used in the voltage command generation method of the module. At the same time, the system model reconstruction module 53012 can build motor current models in different frequency ranges; the current model estimation module 53013 with time delay can analyze the models in different frequency ranges to estimate motor parameters and their time delays. ; And the controller gain calculation module 53014 can calculate the current controller gain according to the optimization method with time delay according to the motor current model and its time delay parameters, where the controller gain
Figure 02_image054
Consider the time delay
Figure 02_image052
Therefore, the controller can achieve the maximum bandwidth response with sufficient stability margin.

本發明提出一種利用快速傅立葉轉換的技巧來重建出系統模型,係透過軟體程式之方法在即時的數位信號處理器中執行,其方法的主要原理係將數位交直軸電流回授

Figure 02_image016
與交直軸電壓命令
Figure 02_image046
進行快速傅立葉轉換,根據分析結果的振幅與角度進行數學運算後,將其儲存在G陣列與P陣列,便可得到該系統的模型陣列。至此,便是實作系統模型重建模組的方法。The present invention proposes a method of using fast Fourier transform techniques to reconstruct a system model, which is executed in a real-time digital signal processor through a software program method. The main principle of the method is to feed back the digital AC-DC axis current.
Figure 02_image016
With AC-DC axis voltage command
Figure 02_image046
Perform fast Fourier transformation, perform mathematical operations based on the amplitude and angle of the analysis results, and store them in the G array and P array to obtain the model array of the system. So far, it is the method to implement the system model reconstruction module.

另外,本發明之具時間延遲的電流模型估測模組,其實施的方法同樣係透過軟體程式之方法在即時的數位信號處理器中執行,根據較低頻率區段系統模型的G陣列與P陣列,估測出馬達參數,包含等效電阻

Figure 02_image048
、等效電感
Figure 02_image050
,並根據參數建立馬達電流模型,再將馬達電流模型與其他頻率區段系統模型的G陣列與P陣列相互運算後,可獲得時間延遲
Figure 02_image052
的估測值。以上,便是實作具時間延遲的電流模型估測模組的方法。In addition, the current model estimation module with time delay of the present invention is also implemented in a real-time digital signal processor through a software program, based on the G array and P of the lower frequency range system model. Array, estimated motor parameters, including equivalent resistance
Figure 02_image048
, Equivalent inductance
Figure 02_image050
, And establish the motor current model according to the parameters, and then calculate the time delay between the motor current model and the G array and P array of other frequency section system models.
Figure 02_image052
Estimated value. The above is the method of implementing the current model estimation module with time delay.

本發明之具時間延遲補償之電流控制模組5302的實施型態1的架構如圖8所表示,其包含有一減法器53021、一可調整之控制器比例增益值53022、一可調整之控制器積分時間常數值53023、一積分器53024以及一加法器53025,電流命令

Figure 02_image012
與電流回授
Figure 02_image016
經由減法器53021得到電流誤差後,在經過比例增益值53022與積分時間常數值53023以及積分器53024運算後,並透過加法器53025總和後,得到比例-積分(PI)控制器的控制量。其中,比例增益值53022與積分時間常數值53023會依照前述的方法調適控制器增益。The structure of the implementation type 1 of the current control module 5302 with time delay compensation of the present invention is shown in FIG. 8, which includes a subtractor 53021, an adjustable controller proportional gain value 53022, and an adjustable controller Integration time constant value 53023, an integrator 53024 and an adder 53025, current command
Figure 02_image012
And current feedback
Figure 02_image016
After the current error is obtained by the subtractor 53021, the proportional gain value 53022, the integral time constant value 53023 and the integrator 53024 are calculated, and then summed by the adder 53025, the control value of the proportional-integral (PI) controller is obtained. Among them, the proportional gain value 53022 and the integral time constant value 53023 will adjust the controller gain according to the aforementioned method.

經由本發明的伺服馬達驅動器裝置及其電流控制方法的實施型態說明後,可知圖5~圖8之方塊圖確實可達到線上估測馬達電流模型及其時間延遲之參數,並搭配具時間延遲的最佳化方法自動計算出適合系統的電流控制器增益的功能,在具有時間延遲的系統下適當地調適控制器增益,使其達到有足夠穩定性裕度的最大頻寬響應。After the description of the implementation type of the servo motor driver device and its current control method of the present invention, it can be seen that the block diagrams of Figs. 5 to 8 can indeed achieve the parameters of the online estimation of the motor current model and its time delay, with a time delay. The optimization method automatically calculates the function of the current controller gain suitable for the system, and appropriately adjusts the controller gain in a system with time delay to achieve the maximum bandwidth response with sufficient stability margin.

本發明的另一個優點係提出利用前述估測出的時間延遲之參數,搭配時間延遲補償的控制方法,可改善因為時間延遲所造成的相位落後問題,使得系統能夠在足夠的穩定性裕度下盡可能地提高電流迴路頻寬。其實施方式可參照圖9~圖10。Another advantage of the present invention is that it proposes to use the aforementioned estimated time delay parameters with a time delay compensation control method, which can improve the phase lag caused by the time delay, so that the system can operate under sufficient stability margin. Increase the current loop bandwidth as much as possible. Refer to Figures 9 to 10 for the implementation.

參照圖9為本發明之伺服馬達驅動器裝置及其電流控制方法的具時間延遲補償之電流控制模組5302a的實施型態2,與圖8的主要差異在於電流回授

Figure 02_image016
先經由一時間延遲補償器53026,並根據控制器的控制量、電流回授
Figure 02_image016
以及估測的時間延遲
Figure 02_image052
進行數學運算後得到補償量,電流命令
Figure 02_image012
再與該補償量經由減法器53021可得到時間延遲補償後的電流誤差,再經過比例增益值53022與積分時間常數值53023以及積分器53024運算後,並透過加法器53025總和後,可得到具時間延遲補償之比例-積分(PI)控制器的控制量。如上述依本實施型態,因其時間延遲補償的控制方法,便能夠改善因為時間延遲所造成相位落後問題。9 is the embodiment 2 of the current control module 5302a with time delay compensation of the servo motor driver device and the current control method of the present invention. The main difference from FIG. 8 is the current feedback
Figure 02_image016
First go through a time delay compensator 53026, and according to the control amount of the controller, current feedback
Figure 02_image016
And the estimated time delay
Figure 02_image052
Compensation amount after mathematical operation, current command
Figure 02_image012
The current error after the time delay compensation can be obtained through the subtractor 53021 with the compensation amount. After the proportional gain value 53022, the integral time constant value 53023 and the integrator 53024 are calculated, and the sum is summed through the adder 53025, the time delay can be obtained. The control value of the proportional-integral (PI) controller for delay compensation. As described above, according to the present embodiment, due to the time delay compensation control method, the phase lag problem caused by the time delay can be improved.

參照圖10為本發明之伺服馬達驅動器裝置及其電流控制方法的具時間延遲補償之電流控制模組5302b的實施型態3,其實施形態多了一加法器53027,且時間延遲補償器53026可僅由控制器的控制量與估測的時間延遲

Figure 02_image052
進行數學運算後得到補償值,將電流命令
Figure 02_image012
與電流回授
Figure 02_image016
經由減法器53021得到的電流誤差,再經由加法器53027將兩者進行相加後,可得到具有時間延遲補償後的電流誤差,再經過比例增益值53022與積分時間常數值53023以及積分器53024運算後,並透過加法器53025總和後,可得到具時間延遲補償之比例-積分(PI)控制器的控制量。同樣的,如上述依本實施型態,因其時間延遲補償的控制方法,亦能夠改善因為時間延遲所造成相位落後問題。10 is the embodiment 3 of the current control module 5302b with time delay compensation of the servo motor driver device and the current control method of the present invention. Its implementation form has an adder 53027 and a time delay compensator 53026. Only the control amount of the controller and the estimated time delay
Figure 02_image052
After performing mathematical operations, the compensation value is obtained, and the current is commanded
Figure 02_image012
And current feedback
Figure 02_image016
The current error obtained by the subtractor 53021 is added by the adder 53027 to obtain the current error with time delay compensation, which is then calculated by the proportional gain value 53022 and the integral time constant value 53023 and the integrator 53024 Then, after summing through the adder 53025, the control value of the proportional-integral (PI) controller with time delay compensation can be obtained. Similarly, as described above, according to this embodiment, due to the time delay compensation control method, the phase lag problem caused by the time delay can also be improved.

綜上所述,本案不但在技術思想上確屬創新,並能較習知技術增進上述多項功效,應充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。To sum up, this case is not only innovative in terms of technical ideas, but also can improve the above-mentioned multiple functions compared with the conventional technology. It should fully meet the requirements of novel and progressive statutory invention patents. An application is filed in accordance with the law. Please approve this case. Patent applications for inventions, to encourage invention, to the sense of virtue.

1:上位控制器 2:交流電源 3:伺服馬達驅動器 31:減法器 32:位置控制器 33:減法器 34:速度控制器 35:電流迴路 3501:減法器 3502:電流控制器 3503:第一座標轉換模組 3504:脈波寬度調變模組 3505:變頻器模組 3506:電流回授單元 3507:電流回授模組 3508:類比/數位轉換器 3509:第二座標轉換模組 3510:伺服馬達的電流等效模型 36:計數器 37:速度估測器 4:伺服馬達機構系統 41:伺服馬達 42:編碼器 43:傳動機構 44:機械負載 5:本發明之伺服馬達驅動器裝置 51:位置迴路 52:速度迴路 53:具時間延遲補償之電流迴路及其控制器 5301:具時間延遲之電流模型鑑別模組 53011:可變頻率之電壓命令模組 53012:系統模型重建模組 53013:具時間延遲之電流模型估測模組 53014:控制器增益計算模組 5302:具時間延遲補償之電流控制模組實施型態1 5302a:具時間延遲補償之電流控制模組實施型態2 5302b:具時間延遲補償之電流控制模組實施型態3 53021:減法器 53022:控制器之比例增益值 53023:控制器之時間常數值 53024:積分器 53025:加法器 53026:時間延遲補償器 53027:加法器 5303:電壓命令切換模組 5204:第一座標轉換模組 5305:脈波寬度調變模組 5306:變頻器模組 5307:電流回授單元 5308:電流回授模組 5309:類比/數位轉換器 5310:第二座標轉換模組1: Upper controller 2: AC power 3: Servo motor driver 31: Subtractor 32: position controller 33: Subtractor 34: Speed controller 35: current loop 3501: subtractor 3502: current controller 3503: The first coordinate conversion module 3504: Pulse width modulation module 3505: Inverter module 3506: current feedback unit 3507: Current feedback module 3508: analog/digital converter 3509: The second coordinate conversion module 3510: Current equivalent model of servo motor 36: counter 37: Speed estimator 4: Servo motor mechanism system 41: Servo motor 42: encoder 43: transmission mechanism 44: Mechanical load 5: Servo motor drive device of the present invention 51: position loop 52: Speed loop 53: Current loop and its controller with time delay compensation 5301: Current model identification module with time delay 53011: Variable frequency voltage command module 53012: System model reconstruction module 53013: Current model estimation module with time delay 53014: Controller gain calculation module 5302: Implementation Type 1 of Current Control Module with Time Delay Compensation 5302a: Implementation Type 2 of Current Control Module with Time Delay Compensation 5302b: Implementation Type 3 of Current Control Module with Time Delay Compensation 53021: Subtractor 53022: Proportional gain value of the controller 53023: Time constant value of the controller 53024: Integrator 53025: Adder 53026: Time delay compensator 53027: Adder 5303: Voltage command switching module 5204: The first coordinate conversion module 5305: Pulse width modulation module 5306: Inverter module 5307: current feedback unit 5308: Current feedback module 5309: analog/digital converter 5310: The second coordinate conversion module

[圖1]係習知的伺服馬達驅動控制系統的方塊圖。 [圖2]係習知的串聯型伺服控制的方塊圖。 [圖3]係習知的向量控制的電流迴路控制的方塊圖。 [圖4]係習知的馬達電流等效控制迴路的方塊圖。 [圖5]係本發明之伺服馬達驅動器裝置及其電流控制方法的方塊圖。 [圖6]係本發明之具時間延遲補償之電流迴路及其控制器的方塊圖。 [圖7]係本發明之具時間延遲之電流模型鑑別模組的方塊圖。 [圖8]係本發明之具時間延遲補償之電流控制模組實施型態1。 [圖9]係本發明之具時間延遲補償之電流控制模組實施型態2。 [圖10]係本發明之具時間延遲補償之電流控制模組實施型態3。[Figure 1] is a block diagram of a conventional servo motor drive control system. [Figure 2] is a block diagram of the conventional serial servo control. [Figure 3] is a block diagram of the conventional vector control current loop control. [Figure 4] is a block diagram of a conventional motor current equivalent control loop. [Figure 5] is a block diagram of the servo motor driver device and its current control method of the present invention. [Figure 6] is a block diagram of the current loop with time delay compensation and its controller of the present invention. [Figure 7] is a block diagram of the current model identification module with time delay of the present invention. [Figure 8] is the implementation type 1 of the current control module with time delay compensation of the present invention. [Figure 9] is the implementation type 2 of the current control module with time delay compensation of the present invention. [Figure 10] is the implementation type 3 of the current control module with time delay compensation of the present invention.

1:上位控制器1: Upper controller

2:交流電源2: AC power

4:伺服馬達機構系統4: Servo motor mechanism system

5:本發明之伺服馬達驅動器裝置5: Servo motor drive device of the present invention

51:位置迴路51: position loop

52:速度迴路52: Speed loop

53:具時間延遲補償之電流迴路及其控制器53: Current loop and its controller with time delay compensation

Claims (10)

一種伺服馬達驅動器裝置及其電流控制方法,包括: 一上位控制器,作為運動控制命令之產生;一交流電源,作為伺服馬達驅動器之輸入能量來源;一伺服馬達機械負載,一伺服馬達與一編碼器同軸共為一體,與伺服馬達驅動器的電力輸出側相連接,使機械負載運轉;一伺服馬達驅動器裝置,與交流電源、上位控制器相連接,可接受單相或三相交流電源的輸入並經由變頻器轉換後,使用脈波寬度調變技術來輸出三相電壓之脈波輸出,將能量轉換至電力輸出側來驅動伺服馬達;其包含有一位置迴路、一速度迴路及一具時間延遲補償之電流迴路及其控制器。A servo motor driver device and its current control method, including: A host controller is used to generate motion control commands; an AC power supply is used as the input energy source of the servo motor driver; a servo motor mechanical load, a servo motor and an encoder are coaxially integrated, and the power output of the servo motor driver The side-phase connection makes the mechanical load run; a servo motor drive device, connected to the AC power supply and the upper controller, accepts single-phase or three-phase AC power input and converted by the inverter, using pulse width modulation technology To output the pulse output of three-phase voltage, convert the energy to the power output side to drive the servo motor; it includes a position loop, a speed loop and a current loop with time delay compensation and its controller. 如請求項1所述之具時間延遲補償之電流迴路及其控制器,包含有一具時間延遲之電流模型鑑別模組、一具時間延遲補償之電流控制模組,並與一電壓命令切換模組、一第一座標轉換模組、一脈波寬度調變模組、一變頻器模組、一電流回授單元、一電流回授模組、一類比/數位轉換器、與一第二座標轉換模組相連接。The current loop with time delay compensation and its controller as described in claim 1, including a current model identification module with time delay, a current control module with time delay compensation, and a voltage command switching module , A first coordinate conversion module, a pulse width modulation module, an inverter module, a current feedback unit, a current feedback module, an analog/digital converter, and a second coordinate conversion The modules are connected. 如請求項2所述之具時間延遲之電流模型鑑別模組,係與具時間延遲補償之電流控制模組相連接,用以產生電壓命令訊號,並儲存電壓命令訊號與電流回授訊號,找出具時間延遲的馬達電流模型,分析不同頻率區段內的模型以估測出馬達參數及其時間延遲,根據線上估測到的馬達電流模型及其時間延遲之參數,依照具時間延遲的最佳化方法自動地去調整電流控制器增益。The current model identification module with time delay as described in claim 2 is connected to the current control module with time delay compensation to generate voltage command signals and store voltage command signals and current feedback signals. Issue a motor current model with time delay, analyze the models in different frequency ranges to estimate motor parameters and their time delay, according to the estimated motor current model and time delay parameters online, according to the best time delay The method automatically adjusts the current controller gain. 如請求項2所述之具時間延遲補償之電流控制模組,係透過前述具時間延遲之電流模型鑑別模組,所得到的最佳化電流控制器增益,將其增益自動設定於電流控制模組的控制器中,並可利用估測出的時間延遲參數進行時間延遲補償的控制方法。The current control module with time delay compensation as described in claim 2 is the optimized current controller gain obtained through the current model identification module with time delay, and its gain is automatically set in the current control mode In the group of controllers, the estimated time delay parameters can be used for time delay compensation control methods. 如請求項3所述之具時間延遲之電流模型鑑別模組,包含有四個模組,分別為一可變頻率之電壓命令模組、一系統模型重建模組、一具時間延遲之電流模型估測模組以及一控制器增益計算模組。The current model identification module with time delay as described in claim 3 includes four modules, namely a variable frequency voltage command module, a system model reconstruction module, and a time delay current model An estimation module and a controller gain calculation module. 如請求項4所述之具時間延遲補償之電流控制模組,其中,電流控制方法包含以下特徵者: (1) 具有可調整之控制器比例增益值及積分時間常數值及積分器運算; (2) 具有時間延遲補償器; (3) 電流回授先經由一時間延遲補償器,並根據控制器的控制量、電流回授以及估測的時間延遲進行數學運算後得到補償量,電流命令與該補償量經由減法器得到具有時間延遲補償後的電流誤差,再經過比例增益值與積分時間常數值以及積分器運算後,並透過加法器總和後,可得到具時間延遲補償之比例-積分(PI)控制器的控制量; (4) 時間延遲補償器可僅由控制器的控制量及估測的時間延遲進行數學運算後得到補償量,將電流命令與電流回授經由減法器得到電流誤差,再經由加法器將兩者進行相加後,可得到具有時間延遲補償後的電流誤差,再經過比例增益值與積分時間常數值以及積分器運算後,並透過加法器總和後,可得到具時間延遲補償之比例-積分(PI)控制器的控制量。The current control module with time delay compensation according to claim 4, wherein the current control method includes the following features: (1) With adjustable controller proportional gain value and integral time constant value and integrator calculation; (2) With time delay compensator; (3) The current feedback first passes through a time delay compensator, and the compensation value is obtained after mathematical operations are performed according to the control value of the controller, the current feedback and the estimated time delay. The current command and the compensation value are obtained through the subtractor. The current error after the time delay compensation is calculated by the proportional gain value, the integral time constant value and the integrator, and after the summation by the adder, the control value of the proportional-integral (PI) controller with time delay compensation can be obtained; (4) The time delay compensator can only obtain the compensation value after the mathematical operation of the controller's control value and the estimated time delay. The current command and current feedback are passed through the subtractor to obtain the current error, and then the two are combined through the adder. After the addition, the current error with time delay compensation can be obtained. After the proportional gain value, the integral time constant value and the integrator calculation, and the sum of the adder, the proportional-integral with time delay compensation ( PI) The control quantity of the controller. 如請求項5所述之可變頻率之電壓命令模組,其中,電壓命令型態具有複數個頻率點且其電壓振福大小相同之特性,可為Chirp弦波命令函數,或是具備複數個頻率序列的振幅大小相同之複合頻率陣列函數的信號,除此之外,凡符合複數個頻率點且其電壓振福大小相同之特性均為該模組的電壓命令產生的特徵者。The variable frequency voltage command module according to claim 5, wherein the voltage command type has a plurality of frequency points and the characteristics of the voltage vibration are the same. It can be a Chirp sine wave command function or has a plurality of The signal of the composite frequency array function with the same amplitude of the frequency sequence, except for those that conform to multiple frequency points and the characteristics of the same voltage amplitude are the characteristics generated by the voltage command of the module. 如請求項5所述之系統模型重建模組,其中,系統模型重建係基於快速傅立葉轉換方法來分析所儲存的電壓命令訊號與電流回授訊號,根據分析結果得到G陣列與P陣列,以獲得系統模型陣列。此外,模型重建的方法不限於快速傅立葉轉換方法,採用遞迴函數等數值方法建立模型函數的模組,均符合系統模型重建的特徵者。The system model reconstruction module according to claim 5, wherein the system model reconstruction is based on the fast Fourier transform method to analyze the stored voltage command signal and the current feedback signal, and obtain the G array and the P array according to the analysis result to obtain System model array. In addition, the method of model reconstruction is not limited to the fast Fourier transform method, and the modules of the model function established by numerical methods such as recursive functions are those that conform to the characteristics of the system model reconstruction. 如請求項5所述之具時間延遲之電流模型估測模組,其中,該方法包含以下特徵者: (1) 根據較低頻率區段系統模型的G陣列與P陣列,估測出馬達參數,包含等效電阻、等效電感等; (2) 根據馬達電氣參數計算出馬達電流模型; (3) 根據馬達電流模型與其他頻率區段系統模型的G陣列與P陣列相互運算,獲得時間延遲的估測值。The current model estimation module with time delay according to claim 5, wherein the method includes the following features: (1) According to the G array and P array of the lower frequency section system model, estimate the motor parameters, including equivalent resistance, equivalent inductance, etc.; (2) Calculate the motor current model according to the electrical parameters of the motor; (3) According to the mutual calculation of the G array and P array of the motor current model and other frequency section system models, the estimated value of the time delay is obtained. 如請求項5所述之控制器增益計算模組,其中,該控制器增益係根據馬達電流等效模型以及時間延遲的估測值來計算控制器增益為其特徵者。The controller gain calculation module according to claim 5, wherein the controller gain is characterized by calculating the controller gain according to the motor current equivalent model and the estimated value of the time delay.
TW109108292A 2020-03-13 2020-03-13 Apparatus of servo motor drives and its current control method TWI717231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109108292A TWI717231B (en) 2020-03-13 2020-03-13 Apparatus of servo motor drives and its current control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109108292A TWI717231B (en) 2020-03-13 2020-03-13 Apparatus of servo motor drives and its current control method

Publications (2)

Publication Number Publication Date
TWI717231B TWI717231B (en) 2021-01-21
TW202135455A true TW202135455A (en) 2021-09-16

Family

ID=75237230

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109108292A TWI717231B (en) 2020-03-13 2020-03-13 Apparatus of servo motor drives and its current control method

Country Status (1)

Country Link
TW (1) TWI717231B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965441B (en) * 2021-02-01 2022-03-15 新代科技(苏州)有限公司 Communication delay compensation method for controller

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5897645B2 (en) * 2014-06-05 2016-03-30 ファナック株式会社 Servo control device that reduces the deflection of the machine tip
CN104270042B (en) * 2014-09-24 2017-02-15 深圳市正弦电气股份有限公司 Automatic learning method and system for servo motor encoder deviation angle
JP6444948B2 (en) * 2016-07-25 2018-12-26 ファナック株式会社 Servo motor control device, servo motor control method, and servo motor control program
JP6846213B2 (en) * 2017-01-20 2021-03-24 山洋電気株式会社 Motor control device
TWI633746B (en) * 2017-04-20 2018-08-21 士林電機廠股份有限公司 Current bandwidth and phase verification device of servo drive system
JP6505155B2 (en) * 2017-04-24 2019-04-24 キヤノン株式会社 Motor control device, sheet conveying device, and image forming apparatus

Also Published As

Publication number Publication date
TWI717231B (en) 2021-01-21

Similar Documents

Publication Publication Date Title
CN108054972B (en) Method for improving dynamic control performance of permanent magnet synchronous linear motor
CN102497153B (en) Constant-power-angle self-adaptive control method of permanent magnet synchronous motor
CN110165709A (en) Consider the virtual synchronous machine grid-connected inverting system stability method for improving of sampling time delay
CN110635735A (en) Control Method of Current Loop in PMSM Servo System
CN112039390A (en) Permanent magnet synchronous motor sliding mode control method based on load torque observation
CN108390571B (en) Tundish electromagnetic heating power supply constant temperature control method
CN105759603A (en) Voltage transformation circuit control system and method based on automatic optimizing model-free controller
CN114826057B (en) Induction motor non-speed sensor control method for online identification of rotor resistance
CN113533998A (en) A predictive control method for three-phase AC electronic load
Zhou et al. Hybrid prediction-based deadbeat control for a high-performance shunt active power filter
CN118659696A (en) A permanent magnet drive motor parameter identification method based on double extended Kalman filter
CN108490805A (en) A kind of DC brushless motor analog machine and its control method
TWI717231B (en) Apparatus of servo motor drives and its current control method
CN114865969B (en) Permanent magnet synchronous motor load torque sliding mode observation method
CN106569406B (en) A Fast Identification Method of Parameters of Brushed DC Motor Model Based on Scale Transformation
CN111800053A (en) Motor drive system and method
CN113783478B (en) Cascaded deadbeat control method and system for permanent magnet synchronous motor
CN111756261B (en) PWM rectifier control method and device
CN109995290B (en) Open-loop iterative learning control method and system based on fractional calculus
CN108923673B (en) Control Method of Parallel Control Structure of Linear Controller and Model Predictive Controller
Yang et al. Speed estimation from a low-resolution encoder using adaptative extend Kalman observer in low-speed range
CN115051601A (en) Disturbance compensation and tracking control method for variable-speed rotating direct-current motor servo system
CN110311605B (en) Motor driving method and system for comprehensively utilizing three-phase current and dq current
CN113452068B (en) Multi-step model prediction control method for VSC (Voltage Source converter) rectifier station connected with wind power plant
CN119834667B (en) SMPMSM driving system direct torque cooperative control method for realizing stator flux linkage observation based on improved voltage model