TW202135455A - Apparatus of servo motor drives and its current control method - Google Patents
Apparatus of servo motor drives and its current control method Download PDFInfo
- 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
Links
Images
Landscapes
- Control Of Ac Motors In General (AREA)
Abstract
Description
本發明係關於一種伺服馬達驅動器裝置及其電流控制方法,特別是指一種應用於搭配不同馬達的情況下仍可自動調整其電流控制器增益,或搭配時間延遲補償的控制方法,使其達到最佳電流響應之伺服馬達驅動器裝置。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
伺服馬達驅動器3中包含變頻器之電力電子架構,可接受單相或三相交流電源2的輸入,並使用脈波寬度調變技術來輸出三相電壓脈波給予伺服馬達41作驅動。同時,伺服馬達驅動器3接收上位控制器1的位置命令控制伺服馬達機構系統4達到需要的行程,而伺服馬達41則透過編碼器42將伺服馬達轉子角度資訊回授至伺服馬達驅動器3作為控制使用。The
圖2係為習知的伺服馬達驅動器3中含有電流迴路之位置-速度環串聯型伺服控制方塊圖,典型的控制模式分別為位置控制迴路、速度控制迴路與電流控制迴路,藉以控制伺服馬達所需之位置、速度與電流大小,使其達到高精度與快速響應的負載特性。伺服馬達驅動器3可包括一減法器31、一位置控制器32、一減法器33、一速度控制器34、一電流迴路35、一計數器36、一速度估測器37。位置回授經由編碼器42的轉子角度資訊,再經由計數器36產生;位置命令與位置回授經由減法器31得到位置誤差後,再透過位置控制器32產生速度命令,速度回授則由位置回授經過速度估測器37產生;速度命令與速度回授經由減法器33得到速度誤差後,再透過速度控制器34產生電流命令送至電流迴路35,最後再經由電流迴路35產生三相電壓波形來控制伺服馬達達到目標的轉速與位置,其中包含了習知的交直軸電流命令成分;在此,位置控制器32與速度控制器34之形式為一比例-積分(PI)控制器,亦可為一比例-積分-微分(PID)控制器。Figure 2 is a position-speed loop series servo control block diagram with a current loop in the conventional
習知的伺服馬達向量控制的電流控制迴路方塊圖,如圖3所示,其主要架構係包含一減法器3501、一電流控制器3502、一第一座標轉換模組3503、一脈波寬度調變模組3504、一變頻器模組3505、一電流回授單元3506、一電流回授模組3507、一類比/數位轉換器3508及一第二座標轉換模組3509。實現電流控制迴路的方式係透過電流回授單元3506將馬達電流轉換成電壓信號,經由電流回授模組3507調整成微處理器可接收的電壓大小,再經由類比/數位轉換器3508進行實際電流的數位化取樣後,透過第二座標轉換模組3509,將交流電流轉換成具直流特性的數位交直軸電流回授,電流命令與電流回授經由減法器3501得到電流誤差後,再透過電流控制器3502產生交直軸電壓命令,經過第一座標轉換模組3503產生三相電壓命令,再經過脈波寬度調變模組3504轉換成三相脈波命令,最後再透過變頻器模組3505將三相脈波命令轉換成實際的三相電壓波形。在此,電流控制器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
為了達到前述之快速響應的性能,最重要的是必須先達到較佳的電流迴路之頻率響應。以性能評估指標來看,尤其著重在電流迴路頻寬之大小;當電流迴路頻寬之大小愈高,表示伺服馬達驅動系統在電流控制迴路下之暫態表現愈快速且優異,可應用之市場領域及其應用範圍則愈寬;反之,則愈窄。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係由等效電阻與等效電感所構成的方程式。基於此電流等效控制迴路系統,透過變頻器注入特定大小的脈衝電壓或是特定頻率的弦波電壓命令至伺服馬達中,藉由電流回授估測出馬達電氣參數等效電阻與等效電感,再依據預設好的頻寬值進行控制器增益的計算。此方法的優點是可以依照不同的馬達估算出馬達電氣參數並透過同一套控制器設計公式計算出增益值,但其方法仍存在一些問題,其中之一為注入的脈衝電壓的大小或特定頻率的弦波電壓命令不易決定,且須先給予控制器增益一個初始值,該初始值的設定會影響參數估測的結果因而影響控制器增益的設計。The third method is to simplify the
另外一個較為嚴重的問題係前述之方法並未考慮數位控制系統下造成的時間延遲問題,此時間延遲為數位控制系統下必定會衍生出的問題。根據數位控制的理論可知,時間延遲的影響將會造成嚴重的相位落後問題,而相位落後的情況發生時則會導致嚴重的穩定性問題;換言之,在沒有考慮時間遲延下所設計的頻寬值,會因為穩定性問題以及實際硬體系統的限制,容易導致電流迴路有較大的共振頻率且系統較不穩定;若因採用保守的頻寬值設計控制器增益則無法達到電流迴路的最大頻寬響應。因此,如何在具有時間延遲的系統下適當地調適控制器增益,使其達到有足夠穩定性裕度的最大頻寬響應;與此同時,如何獲得有效且準確的時間延遲參數並對其補償的方法,這些都是值得研究與改善的課題。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.
因此,為達上述之目的,本發明係為一種伺服馬達驅動器裝置及其電流控制方法,其係包含有: 一上位控制器,作為運動控制命令之產生,用於下達位置命令給伺服馬達驅動器裝置,並連結至該裝置的位置命令輸入側(); 一交流電源,作為伺服馬達驅動器裝置之輸入能量來源,並連結至伺服馬達驅動器裝置的電力輸入側(RST); 一伺服馬達機構系統,一伺服馬達與一編碼器同軸共為一體,與伺服馬達驅動器裝置的電力輸出側(UVW)相連接,使機械負載運轉; 一伺服馬達驅動器裝置,與交流電源、上位控制器相連接,可接受單相或三相交流電源的輸入並經由變頻器轉換後,使用脈波寬度調變技術來輸出三相電壓之脈波輸出,將能量轉換至電力輸出側(UVW)來驅動伺服馬達;其內部包含一位置迴路、一速度迴路以及一具時間延遲補償之電流迴路及其控制器;其間伺服馬達驅動器裝置同時接收編碼器的位置信號(); 一具時間延遲補償之電流迴路及其控制器包含有:一具時間延遲之電流模型鑑別模組,係利用一可變頻率的電壓命令模組、一基於快速傅立葉轉換的系統模型重建模組、一具時間延遲的電流模型估測模組、一控制器增益計算模組,可得到馬達參數及其時間延遲,及具時間延遲最佳化方法的電流控制器增益;一具時間延遲補償之電流控制模組,將前述的最佳化電流控制器增益自動設定於電流控制的比例-積分(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 ( ); 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 ( ); 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
本發明之具時間延遲補償之電流迴路及其控制器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
首先說明本發明的核心原理,根據數位控制的理論,可將伺服馬達數位化向量控制的電流迴路視為由一電流控制器、一具時間延遲的伺服馬達電流等效模型所組成的數位電流等效控制迴路,其中電流控制器係由比例增益值以及積分時間常數所構成的方程式;而具時間延遲的伺服馬達電流等效模型係由時間延遲、等效電阻以及等效電感所構成的方程式,時間延遲造成的最主要的影響係會為控制系統帶來額外的相位落後的問題,此問題係造成控制頻寬無法提高的瓶頸點之一,同時會帶來嚴重的不穩定問題。因此,若能夠將等效電阻、等效電感以及時間延遲等參數精確的估測出來,便能夠設計出考量時間延遲的最佳化控制器增益,使其達到有足夠穩定性裕度的最大頻寬響應;或是進一步實現時間延遲補償的控制方法,使得系統能夠在足夠的穩定性裕度下盡可能地提高電流迴路頻寬之目的。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 And the integral time constant And the equivalent model of servo motor current with time delay is composed of time delay , Equivalent resistance And equivalent inductance 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 , Equivalent inductance And time delay 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產生一可變頻率的電壓命令,經由電壓命令切換模組5303依照S1信號切換於接點B得到交直軸電壓命令,經過第一座標轉換模組5304產生三相電壓命令,再經過脈波寬度調變模組5305轉換成三相脈波命令,最後再透過變頻器模組5306將三相脈波命令轉換成實際的三相電壓波形;同時,馬達電流透過電流回授單元5307轉換成電壓信號,經由電流回授模組5308調整成微處理器可接收的電壓大小,再經由類比/數位轉換器5309進行實際電流的數位化取樣後,透過第二座標轉換模組5310,將交流電流轉換成具直流特性的數位交直軸電流回授,再將數位交直軸電流回授與交直軸電壓命令一同輸入至具時間延遲之電流模型鑑別模組5301中,等到分析與估測出等效電阻、等效電感以及時間延遲後,自動計算出具時間延遲的最佳化控制器增益與,將控制器增益連同時間延遲傳送到具時間延遲補償之電流控制模組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 , Through the voltage command switching module 5303, switch to contact B according to the S1 signal to obtain the AC-DC axis voltage command , 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 , And then feedback the digital AC-DC axis current With AC-DC axis voltage command Input together into the current model identification module 5301 with time delay, and wait until the equivalent resistance is analyzed and estimated , Equivalent inductance And time delay Then, the optimized controller gain with time delay is automatically calculated and , Delay the controller gain together with the time 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能根據馬達電流模型及其時間延遲之參數,依照具時間延遲的最佳化方法計算電流控制器增益,其中控制器增益考慮了時間延遲,因此,可使控制器達到有足夠穩定性裕度的最大頻寬響應。The specific implementation method of the current
本發明提出一種利用快速傅立葉轉換的技巧來重建出系統模型,係透過軟體程式之方法在即時的數位信號處理器中執行,其方法的主要原理係將數位交直軸電流回授與交直軸電壓命令進行快速傅立葉轉換,根據分析結果的振幅與角度進行數學運算後,將其儲存在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. With AC-DC axis voltage command 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陣列,估測出馬達參數,包含等效電阻、等效電感,並根據參數建立馬達電流模型,再將馬達電流模型與其他頻率區段系統模型的G陣列與P陣列相互運算後,可獲得時間延遲的估測值。以上,便是實作具時間延遲的電流模型估測模組的方法。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 , Equivalent inductance , 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. 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,電流命令與電流回授經由減法器53021得到電流誤差後,在經過比例增益值53022與積分時間常數值53023以及積分器53024運算後,並透過加法器53025總和後,得到比例-積分(PI)控制器的控制量。其中,比例增益值53022與積分時間常數值53023會依照前述的方法調適控制器增益。The structure of the
經由本發明的伺服馬達驅動器裝置及其電流控制方法的實施型態說明後,可知圖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的主要差異在於電流回授先經由一時間延遲補償器53026,並根據控制器的控制量、電流回授以及估測的時間延遲進行數學運算後得到補償量,電流命令再與該補償量經由減法器53021可得到時間延遲補償後的電流誤差,再經過比例增益值53022與積分時間常數值53023以及積分器53024運算後,並透過加法器53025總和後,可得到具時間延遲補償之比例-積分(PI)控制器的控制量。如上述依本實施型態,因其時間延遲補償的控制方法,便能夠改善因為時間延遲所造成相位落後問題。9 is the
參照圖10為本發明之伺服馬達驅動器裝置及其電流控制方法的具時間延遲補償之電流控制模組5302b的實施型態3,其實施形態多了一加法器53027,且時間延遲補償器53026可僅由控制器的控制量與估測的時間延遲進行數學運算後得到補償值,將電流命令與電流回授經由減法器53021得到的電流誤差,再經由加法器53027將兩者進行相加後,可得到具有時間延遲補償後的電流誤差,再經過比例增益值53022與積分時間常數值53023以及積分器53024運算後,並透過加法器53025總和後,可得到具時間延遲補償之比例-積分(PI)控制器的控制量。同樣的,如上述依本實施型態,因其時間延遲補償的控制方法,亦能夠改善因為時間延遲所造成相位落後問題。10 is the
綜上所述,本案不但在技術思想上確屬創新,並能較習知技術增進上述多項功效,應充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。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
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)
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)
| 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)
| 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 |
-
2020
- 2020-03-13 TW TW109108292A patent/TWI717231B/en active
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 |