TWI410039B - Motor driving device - Google Patents

Motor driving device Download PDF

Info

Publication number
TWI410039B
TWI410039B TW97148407A TW97148407A TWI410039B TW I410039 B TWI410039 B TW I410039B TW 97148407 A TW97148407 A TW 97148407A TW 97148407 A TW97148407 A TW 97148407A TW I410039 B TWI410039 B TW I410039B
Authority
TW
Taiwan
Prior art keywords
algorithm
selection
current
command
signal
Prior art date
Application number
TW97148407A
Other languages
Chinese (zh)
Other versions
TW201023498A (en
Inventor
Hsin Yen Chao
Original Assignee
Foxnum Technology 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 Foxnum Technology Co Ltd filed Critical Foxnum Technology Co Ltd
Priority to TW97148407A priority Critical patent/TWI410039B/en
Publication of TW201023498A publication Critical patent/TW201023498A/en
Application granted granted Critical
Publication of TWI410039B publication Critical patent/TWI410039B/en

Links

Abstract

A motor driving device includes a motor driver, a speed control loop, a current control loop, and an arithmetic selecting module. The motor driver is configured for providing a current signal for a motor which outputs a speed signal after receiving the current signal. The speed control loop includes a first selector and at least two arithmetic modules, and is configured for receiving the speed signal and a speed command. The current control loop includes a second selector and at least two arithmetic modules, and is configured for receiving the current signal. The arithmetic selecting module is configured for outputting a first select command to select an arithmetic module of the speed control loop and a second select command to select an arithmetic module of the current control loop. The speed control loop provides a current command for the current control loop and the arithmetic selecting module after the speed signal and the speed command is processed by the selected arithmetic module. After the current command and the current signal is processed by the selected arithmetic module of the current control loop, a control signal is provided to the motor driver to adjust the current signal thereby to adjust the speed signal of the motor.

Description

馬達驅動裝置Motor drive

本發明係關於一種驅動裝置,尤其係關於一種馬達驅動裝置。The present invention relates to a drive device, and more particularly to a motor drive device.

習知之馬達驅動裝置大都只能使用一種演算法(亦稱為控制算法)來驅動馬達,比如比例積分(PI)演算法、比例微分(PD)演算法、比例積分微分(PID)演算法、模糊(FUZZY)演算法或電壓/向量(V/F)演算法等等。不同演算法用於控制該馬達驅動裝置不同之驅動性能。比如,PI演算法可使馬達驅動裝置在進入穩態後沒有穩態誤差;PD演算法能改善馬達驅動裝置在調節過程中之動態特性。然,當馬達之負載狀況變動或操作環境改變時,固定不變之演算法將無法滿足使用者對於馬達驅動裝置之驅動性能之要求。Most of the conventional motor drives can only use one algorithm (also known as control algorithm) to drive the motor, such as proportional integral (PI) algorithm, proportional derivative (PD) algorithm, proportional integral derivative (PID) algorithm, fuzzy (FUZZY) algorithm or voltage/vector (V/F) algorithm and so on. Different algorithms are used to control the different driving performance of the motor drive. For example, the PI algorithm can make the motor drive device have no steady-state error after entering the steady state; the PD algorithm can improve the dynamic characteristics of the motor drive device during the adjustment process. However, when the load condition of the motor changes or the operating environment changes, the fixed algorithm will not meet the user's requirements for the driving performance of the motor drive.

鑒於以上內容,有必要提供一種馬達驅動裝置,可選用不同之演算法來驅動馬達。In view of the above, it is necessary to provide a motor drive device with different algorithms to drive the motor.

一種馬達驅動裝置,包括:一馬達驅動器,用於驅動一馬達,該馬達驅動器輸出一電流訊號給該馬達,該馬達收到該電流訊號後輸出一轉速訊號;一速度控制迴路,包括一第一選擇器以及至少兩演算法模塊,每一速度控制迴路之演算法模塊分別用於存儲不同之演算法則,該速度控制迴路接收該轉速訊號及一轉速 命令;一電流控制迴路,包括一第二選擇器以及至少兩演算法模塊,每一電流控制迴路之演算法模塊分別用於存儲不同之演算法則,該電流控制迴路接收該電流訊號;以及一演算法選擇模塊,與該馬達及馬達驅動器相連,並接收該電流訊號以及轉速訊號,用於選擇該速度控制迴路及電流控制迴路之演算法模塊;該第一選擇器接收到演算法選擇模塊發出之一第一選擇命令時,根據該第一選擇命令選擇該速度控制迴路之一演算法模塊,該轉速命令及轉速訊號透過被選擇之速度控制迴路之演算法模塊演算後得到一電流命令,該電流命令被提供給該電流控制迴路及演算法選擇模塊,該演算法選擇模塊發出一第二選擇命令給該第二選擇器,該第二選擇器根據該第二選擇命令選擇該電流控制迴路之一演算法模塊對該電流命令及電流訊號進行演算並輸出一控制訊號給該馬達驅動器,該馬達驅動器根據該控制訊號調整該電流訊號從而調整該馬達輸出之轉速訊號。A motor driving device includes: a motor driver for driving a motor, the motor driver outputs a current signal to the motor, the motor receives the current signal and outputs a speed signal; and a speed control loop includes a first a selector and at least two algorithm modules, each of the speed control loop algorithm modules respectively for storing different algorithms, the speed control loop receiving the speed signal and a speed a current control loop comprising a second selector and at least two algorithm modules, wherein each of the current control loop algorithm modules is configured to store a different algorithm, the current control loop receives the current signal; and a calculation a method selection module, connected to the motor and the motor driver, and receiving the current signal and the speed signal for selecting an algorithm module of the speed control loop and the current control loop; the first selector receiving the algorithm selection module a first selection command, selecting an algorithm module of the speed control loop according to the first selection command, the speed command and the speed signal are calculated by an algorithm module of the selected speed control loop to obtain a current command, the current a command is provided to the current control loop and an algorithm selection module, the algorithm selection module issues a second selection command to the second selector, and the second selector selects one of the current control loops according to the second selection command The algorithm module calculates the current command and the current signal and outputs a control signal To the motor driver, the motor drive signal to adjust the speed of the motor output of the control signal according to the adjustment of the current signal.

前述馬達驅動裝置透過選擇速度控制迴路及電流控制迴路之不同演算法模塊來獲得伺服系統不同之驅動性能。The motor drive device obtains different driving performances of the servo system by selecting different algorithm modules of the speed control loop and the current control loop.

請參閱圖1,本發明馬達驅動裝置之較佳實施方式包括一伺服系統100、一演算法選擇模塊200、一速度控制迴路300、一電流控制迴路400。該伺服系統100包括一馬達驅動器101及一馬達102,該馬達驅動器101用於驅 動該馬達102。該演算法選擇模塊200包括一演算法選擇判斷器201、一人機界面202及一選擇輸入裝置203,該選擇輸入裝置203選擇性地接收該人機界面202或演算法選擇判斷器201之選擇命令。該速度控制迴路300包括一第一選擇器301、一第一演算法模塊311及一第二演算法模塊312。該第一選擇器301接收該選擇輸入裝置203輸出之選擇命令來選擇演算法模塊。該電流控制迴路400包括一第二選擇器401、一第三演算法模塊411及一第四演算法模塊412。該第二選擇器401接收該選擇輸入裝置203輸出之選擇命令來選擇演算法模塊。本實施例中,該速度控制迴路300及電流控制迴路400之執行硬體為兩處理晶片Referring to FIG. 1, a preferred embodiment of the motor driving device of the present invention includes a servo system 100, an algorithm selection module 200, a speed control loop 300, and a current control loop 400. The servo system 100 includes a motor driver 101 and a motor 102 for driving The motor 102 is moved. The algorithm selection module 200 includes an algorithm selection determiner 201, a human machine interface 202, and a selection input device 203. The selection input device 203 selectively receives the selection command of the human machine interface 202 or the algorithm selection determiner 201. . The speed control loop 300 includes a first selector 301, a first algorithm module 311, and a second algorithm module 312. The first selector 301 receives the selection command output by the selection input device 203 to select an algorithm module. The current control loop 400 includes a second selector 401, a third algorithm module 411, and a fourth algorithm module 412. The second selector 401 receives the selection command output by the selection input device 203 to select an algorithm module. In this embodiment, the execution hardware of the speed control loop 300 and the current control loop 400 are two processing chips.

開始時,該馬達驅動器101上電,提供一電流訊號Is給該馬達102以驅動該馬達102,該馬達102開始工作,並輸出一轉速訊號Vs,該轉速訊號Vs被提供給該速度控制迴路300以及該演算法選擇判斷器201,同時該電流訊號Is被提供給該電流控制迴路400以及該演算法選擇判斷器201。與此同時,由一控制平台(圖未示)輸出之一轉速命令Vc被提供給該第一選擇器301及該演算法選擇判斷器201。於該馬達驅動器101剛上電時,該馬達102輸出之轉速訊號Vs之轉速為零,此時操作者可透過該選擇輸入裝置203選擇由該人機界面202提供一選擇命令給該第一選擇器301來人工選擇一演算法模塊,亦可透過該選擇輸入裝置203選擇由該演算法選擇判斷器201提供一選擇命令給該第一選擇器301來自動選擇一個演算法 模塊。該選擇輸入裝置203可為一硬體裝置,如一單刀雙擲開關,亦可為一控制程式。操作者透過控制該選擇輸入裝置203來選擇人機界面202或演算法選擇判斷器201。當操作者選擇透過該演算法選擇判斷器201自動選擇演算法模塊時,該演算法選擇判斷器201將該轉速命令Vc與該馬達102輸出之轉速訊號Vs進行比較,並根據轉速命令Vc與轉速訊號Vs之差值來選擇演算法模塊。比如,當該轉速命令Vc與轉速訊號Vs之差值為0~200 rpm(轉/分)時,該演算法選擇判斷器201發出一選擇命令控制該第一選擇器301選擇該第一演算法模塊311;當該轉速命令Vc與轉速訊號Vs之差值為200 rpm~500 rpm時,該演算法選擇判斷器201發出另一選擇命令控制該第一選擇器301選擇該第二演算法模塊312。Initially, the motor driver 101 is powered up to provide a current signal Is to the motor 102 to drive the motor 102. The motor 102 starts to work and outputs a rotational speed signal Vs, and the rotational speed signal Vs is supplied to the speed control circuit 300. And the algorithm selects the determiner 201, and the current signal Is is supplied to the current control loop 400 and the algorithm selection determiner 201. At the same time, a speed command Vc outputted by a control platform (not shown) is supplied to the first selector 301 and the algorithm selection determiner 201. When the motor driver 101 is powered on, the rotational speed of the rotational speed signal Vs output by the motor 102 is zero. At this time, the operator can select, by the selection input device 203, a selection command is provided by the human machine interface 202 to the first selection. The 301 is configured to manually select an algorithm module, and the selection input device 203 is selected to provide a selection command to the first selector 301 to automatically select an algorithm. Module. The selection input device 203 can be a hardware device, such as a single-pole double-throw switch, or a control program. The operator selects the human machine interface 202 or the algorithm selection determiner 201 by controlling the selection input device 203. When the operator chooses to automatically select the algorithm module through the algorithm selection determiner 201, the algorithm selection determiner 201 compares the rotational speed command Vc with the rotational speed signal Vs output by the motor 102, and commands the speed and the rotational speed according to the rotational speed command Vc. The difference between the signals Vs is used to select the algorithm module. For example, when the difference between the rotational speed command Vc and the rotational speed signal Vs is 0 to 200 rpm (rev/min), the algorithm selection determiner 201 issues a selection command to control the first selector 301 to select the first algorithm. When the difference between the rotational speed command Vc and the rotational speed signal Vs is 200 rpm~500 rpm, the algorithm selection determiner 201 issues another selection command to control the first selector 301 to select the second algorithm module 312. .

當該轉速命令Vc及該轉速訊號Vs透過第一或第二演算法模塊311或312演算之後,該速度控制迴路300產生一電流命令Ic,該電流命令Ic被回饋給該演算法選擇判斷器201,並被輸出給第二選擇器401。此時,操作者同樣可透過該選擇輸入裝置203選擇由該人機界面202人工選擇電流控制迴路400之演算法模塊,亦可透過該選擇輸入裝置203選擇由該演算法選擇判斷器201自動選擇電流控制迴路400之演算法模塊。當操作者選擇透過該演算法選擇判斷器201自動選擇演算法模塊時,該演算法選擇判斷器201將該電流命令Ic與馬達驅動器1 01所提供給馬達102之電流訊號Is進行比較,根據電流命令Ic與電流訊號Is之差值來選擇演算法模塊。比如,當該電流命 令Ic與電流訊號Is之差值為0A~5A時,該演算法選擇判斷器201發出一選擇命令控制該第二選擇器401選擇該第三演算法模塊411;當該電流命令Ic與電流訊號Is之差值為5A~10A時,該演算法選擇判斷器201發出另一選擇命令控制該第二選擇器401選擇該第四演算法模塊412。當該電流命令Ic及電流訊號Is透過第三或第四演算法模塊411或412演算之後,該電流控制迴路400輸出一控制訊號Cs,該控制訊號Cs被回饋至該馬達驅動器101,該馬達驅動器101根據該控制訊號Cs調整電流訊號Is之值,以調整該馬達102之轉速訊號Vs。After the rotational speed command Vc and the rotational speed signal Vs are calculated by the first or second algorithm module 311 or 312, the speed control loop 300 generates a current command Ic, which is fed back to the algorithm selection determiner 201. And is output to the second selector 401. At this time, the operator can also select the algorithm module of the current control circuit 400 manually selected by the human interface 200 through the selection input device 203, and can also select the automatic selection by the algorithm selection determiner 201 through the selection input device 203. The algorithm module of current control loop 400. When the operator chooses to automatically select the algorithm module through the algorithm selection determiner 201, the algorithm selection determiner 201 compares the current command Ic with the current signal Is provided by the motor driver 101 to the motor 102, according to the current. The algorithm module is selected by the difference between the command Ic and the current signal Is. For example, when the current is When the difference between Ic and the current signal Is is 0A~5A, the algorithm selection determiner 201 issues a selection command to control the second selector 401 to select the third algorithm module 411; when the current command Ic and the current signal When the difference of Is is 5A~10A, the algorithm selection determiner 201 issues another selection command to control the second selector 401 to select the fourth algorithm module 412. After the current command Ic and the current signal Is are calculated by the third or fourth algorithm module 411 or 412, the current control circuit 400 outputs a control signal Cs, and the control signal Cs is fed back to the motor driver 101. The motor driver 101 adjusts the value of the current signal Is according to the control signal Cs to adjust the speed signal Vs of the motor 102.

本實施方式中,一般是當該馬達驅動器101開始啟動時由該人機界面202來人工選擇速度控制迴路300以及電流控制迴路400之演算法模塊;當該馬達102正常運轉時,則一般由演算法選擇判斷器201自動選擇演算法模塊。然,本發明馬達驅動裝置並不僅限於此,在其他實施方式中,當該馬達驅動器101開始啟動時亦可以由演算法選擇判斷器201來自動選擇演算法模塊,故,在其他實施例中,該馬達驅動裝置可只包括該演算法選擇判斷器201以自動選擇演算法模塊。In this embodiment, the algorithm module of the speed control circuit 300 and the current control circuit 400 is manually selected by the human machine interface 202 when the motor driver 101 starts to start; when the motor 102 is normally operated, the calculation is generally performed. The method selection determiner 201 automatically selects the algorithm module. However, the motor driving device of the present invention is not limited thereto. In other embodiments, the algorithm selection judging unit 201 may automatically select the algorithm module when the motor driver 101 starts to be started. Therefore, in other embodiments, The motor drive device may include only the algorithm selection determiner 201 to automatically select an algorithm module.

該速度控制迴路300以及電流控制迴路400可分別包括除兩個以外之複數演算法模塊,而不局限於本實施例中之兩個。在其他實施例中,該馬達驅動裝置亦可對伺服系統100之其他控制迴路進行演算法模塊之選擇及演算,比如一壓力控制迴路與一電壓控制迴路等,此時,該馬達驅動器101將輸出一電壓訊號給該電壓控制迴路及演算法選 擇判斷器201,該馬達102將輸出一壓力訊號給該壓力控制迴路及演算法選擇判斷器201。The speed control loop 300 and the current control loop 400 may respectively include complex algorithm modules other than two, and are not limited to two of the embodiments. In other embodiments, the motor driving device may also perform selection and calculation of an algorithm module for other control loops of the servo system 100, such as a pressure control loop and a voltage control loop, etc., at this time, the motor driver 101 will output A voltage signal is given to the voltage control loop and algorithm selection The determiner 201, the motor 102 will output a pressure signal to the pressure control loop and the algorithm selection determiner 201.

另,在其他實施例中,亦可設成一控制迴路包含複數演算法模塊,另一控制迴路只包含一演算法模塊,包含複數演算法模塊之控制迴路可透過演算法選擇模塊201或人機界面202來選擇演算法模塊進行演算,而包含一演算法模塊之控制迴路被固定使用一演算法進行演算,此時,包含一演算法模塊之控制迴路無需使用選擇器。In another embodiment, the control loop may include a complex algorithm module, and the other control loop includes only one algorithm module, and the control loop including the complex algorithm module may select the module 201 or the human machine through the algorithm. The interface 202 selects an algorithm module for calculation, and the control loop including an algorithm module is fixedly calculated using an algorithm. At this time, the control loop including an algorithm module does not need to use a selector.

前述馬達驅動裝置可透過演算法選擇判斷器201自動選擇或者透過人機界面202人工選擇速度控制迴路300及電流控制迴路400之演算法模塊來獲得伺服系統100不同之驅動性能,從而當該馬達102之負載狀況變動或操作環境改變時,演算法模塊能滿足操作者對於馬達驅動裝置之驅動性能之要求。The motor driving device can automatically select the speed control loop 300 and the algorithm module of the current control loop 400 through the human machine interface 202 to obtain different driving performances of the servo system 100, so that the motor 102 can be obtained by the algorithm selection determiner 201. When the load condition changes or the operating environment changes, the algorithm module can meet the operator's requirements for the driving performance of the motor drive device.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本發明精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.

伺服系統‧‧‧100Servo system ‧‧100

演算法選擇模塊‧‧‧200Algorithm selection module ‧‧200

速度控制迴路‧‧‧300Speed control loop ‧‧300

電流控制迴路‧‧‧400Current control circuit ‧‧400

馬達驅動器‧‧‧101Motor drive ‧‧1101

馬達‧‧‧102Motor ‧‧102

演算法選擇判斷器‧‧‧201Algorithm selection judger ‧‧201

人機界面‧‧‧202Man-machine interface ‧‧‧202

選擇輸入裝置‧‧‧203Select input device ‧‧‧203

第一選擇器‧‧‧301First selector ‧‧ 301

第一演算法模塊‧‧‧311First algorithm module ‧‧‧311

第二演算法模塊‧‧‧312Second algorithm module ‧‧‧312

第二選擇器‧‧‧401Second selector ‧‧ 401

第一演算法模塊‧‧‧411First algorithm module ‧‧‧411

第二演算法模塊‧‧‧412Second algorithm module ‧‧‧412

圖1係本發明馬達驅動裝置之較佳實施方式之方框圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a preferred embodiment of a motor drive unit of the present invention.

伺服系統‧‧‧100Servo system ‧‧100

演算法選擇模塊‧‧‧200Algorithm selection module ‧‧200

速度控制迴路‧‧‧300Speed control loop ‧‧300

電流控制迴路‧‧‧400Current control circuit ‧‧400

馬達驅動器‧‧‧101Motor drive ‧‧1101

馬達‧‧‧102Motor ‧‧102

演算法選擇判斷器‧‧‧201Algorithm selection judger ‧‧201

人機界面‧‧‧202Man-machine interface ‧‧‧202

選擇輸入裝置‧‧‧203Select input device ‧‧‧203

第一選擇器‧‧‧301First selector ‧‧ 301

第一演算法模塊‧‧‧311First algorithm module ‧‧‧311

第二演算法模塊‧‧‧312Second algorithm module ‧‧‧312

第二選擇器‧‧‧401Second selector ‧‧ 401

第一演算法模塊‧‧‧411First algorithm module ‧‧‧411

第二演算法模塊‧‧‧412Second algorithm module ‧‧‧412

Claims (9)

一種馬達驅動裝置,包括:一馬達驅動器,用於驅動一馬達,該馬達驅動器輸出一電流訊號給該馬達,該馬達收到該電流訊號後輸出一轉速訊號;一速度控制迴路,包括一第一選擇器以及至少兩演算法模塊,每一速度控制迴路之演算法模塊分別用於存儲不同之演算法則,該速度控制迴路接收該轉速訊號及一轉速命令;一電流控制迴路,包括一第二選擇器以及至少兩演算法模塊,每一電流控制迴路之演算法模塊分別用於存儲不同之演算法則,該電流控制迴路接收該電流訊號;以及一演算法選擇模塊,與該馬達及馬達驅動器相連,用於接收該電流訊號以及轉速訊號,並據此選擇該速度控制迴路及電流控制迴路之演算法模塊;該第一選擇器接收到該演算法選擇模塊發出之一第一選擇命令時,根據該第一選擇命令選擇該速度控制迴路之一演算法模塊,該轉速命令及轉速訊號透過被選擇之速度控制迴路之演算法模塊演算後得到一電流命令,該電流命令被提供給該電流控制迴路及演算法選擇模塊,該演算法選擇模塊發出一第二選擇命令給該第二選擇器,該第二選擇器根據該第二選擇命令選擇該電流控制迴路之一演算法模塊對該電流命令及電流訊號進行演算並輸出一控制訊號給該馬達驅動器,該馬達驅動器根據該控制訊號調整該電流訊號從而調整該馬達輸出之轉速訊號。A motor driving device includes: a motor driver for driving a motor, the motor driver outputs a current signal to the motor, the motor receives the current signal and outputs a speed signal; and a speed control loop includes a first a selector and at least two algorithm modules, each of the algorithm modules of the speed control loop is configured to store different algorithms, the speed control loop receives the speed signal and a speed command; and a current control loop includes a second selection And at least two algorithm modules, each of the current control loop algorithm modules are respectively configured to store different algorithms, the current control loop receives the current signal; and an algorithm selection module is connected to the motor and the motor driver, Receiving the current signal and the speed signal, and selecting an algorithm module of the speed control loop and the current control loop; the first selector receiving the first selection command issued by the algorithm selection module, according to the The first selection command selects one of the speed control loop algorithm modules, the turn The command and the speed signal are calculated by the algorithm module of the selected speed control loop to obtain a current command, the current command is provided to the current control loop and the algorithm selection module, and the algorithm selection module issues a second selection command to The second selector, the second selector selects an algorithm module of the current control circuit to calculate the current command and the current signal according to the second selection command, and outputs a control signal to the motor driver, the motor driver is configured according to the second The control signal adjusts the current signal to adjust the speed signal output by the motor. 如申請專利範圍第1項所述之馬達驅動裝置,其中該演算法選擇模塊為一演算法選擇判斷器,該演算法選擇判斷器根據該轉速命令與該轉速訊號之比較結果發出該第一選擇命令,並根據該電流命令與電流訊號之比較結果發出該第二選擇命令。The motor driving device of claim 1, wherein the algorithm selection module is an algorithm selection determiner, and the algorithm selection determiner issues the first selection according to a comparison result between the rotation speed command and the rotation speed signal. Commanding, and issuing the second selection command according to the comparison result of the current command and the current signal. 如申請專利範圍第1項所述之馬達驅動裝置,其中該演算法選擇模塊包括一人機界面、一演算法選擇判斷器及一輸入選擇裝置,該輸入選擇裝置用於選擇由該人機界面或演算法選擇判斷器來輸出該第一選擇命令及第二選擇命令,當選擇由該演算法選擇判斷器輸出該第一選擇命令及第二選擇命令時,該演算法選擇判斷器根據該轉速命令與該轉速訊號之比較結果發出該第一選擇命令,並根據該電流命令與電流訊號之比較結果發出該第二選擇命令。The motor drive device of claim 1, wherein the algorithm selection module comprises a human machine interface, an algorithm selection determiner, and an input selection device for selecting by the human machine interface or The algorithm selects a determiner to output the first selection command and the second selection command. When selecting the first selection command and the second selection command by the algorithm selection determiner, the algorithm selection determiner is configured according to the rotation speed command. The first selection command is issued according to the comparison result of the rotation speed signal, and the second selection command is issued according to the comparison result of the current command and the current signal. 一種馬達驅動裝置,包括:一馬達驅動器,用於驅動一馬達,該馬達驅動器輸出一電流訊號給該馬達,該馬達收到該電流訊號後輸出一轉速訊號;一速度控制迴路,包括一演算法模塊,該演算法模塊用於存儲一演算法則,該速度控制迴路接收該轉速訊號及一轉速命令;一電流控制迴路,包括一選擇器以及至少兩演算法模塊,每一電流控制迴路之演算法模塊分別用於存儲不同之演算法則,該電流控制迴路接收該電流訊號;以及一演算法選擇模塊,與該馬達及馬達驅動器相連,並接收該電流訊號,用於選擇該電流控制迴路之演算法模塊; 當該轉速命令及轉速訊號透過該速度控制迴路之演算法模塊演算後得到一電流命令,該電流命令被提供給該電流控制迴路及演算法選擇模塊,該演算法選擇模塊根據該電流命令及電流訊號之比較結果發出一選擇命令給該第二選擇器,該第二選擇器根據第二選擇命令選擇該電流控制迴路之一演算法模塊對該電流命令及電流訊號進行演算並輸出一控制訊號給該馬達驅動器,該馬達驅動器根據該控制訊號調整該電流訊號從而調整該馬達輸出之轉速訊號。A motor driving device includes: a motor driver for driving a motor, the motor driver outputs a current signal to the motor, the motor receives the current signal and outputs a speed signal; and a speed control loop includes an algorithm a module, the algorithm module is configured to store an algorithm, the speed control loop receives the speed signal and a speed command; a current control loop includes a selector and at least two algorithm modules, and each current control loop algorithm The modules are respectively configured to store different algorithms, the current control loop receives the current signal; and an algorithm selection module is connected to the motor and the motor driver, and receives the current signal for selecting an algorithm of the current control loop Module When the speed command and the speed signal are calculated by the algorithm module of the speed control loop, a current command is obtained, and the current command is provided to the current control loop and the algorithm selection module, and the algorithm selects the module according to the current command and current. The comparison result of the signal sends a selection command to the second selector, and the second selector selects one of the current control loops according to the second selection command to calculate the current command and the current signal and output a control signal to The motor driver adjusts the current signal according to the control signal to adjust the speed signal output by the motor. 如申請專利範圍第4項所述之馬達驅動裝置,其中該演算法選擇模塊為一演算法選擇判斷器,該演算法選擇判斷器根據該電流命令與電流訊號之差值發出該選擇命令。The motor driving device of claim 4, wherein the algorithm selection module is an algorithm selection determiner, and the algorithm selection determiner issues the selection command according to a difference between the current command and the current signal. 如申請專利範圍第4項所述之馬達驅動裝置,其中該演算法選擇模塊包括一人機界面、一演算法選擇判斷器及一輸入選擇裝置,該輸入選擇裝置用於選擇由該人機界面或演算法選擇判斷器來輸出該選擇命令,當選擇由該演算法選擇判斷器輸出該選擇命令時,該演算法選擇判斷器是根據該電流命令與電流訊號之差值發出該選擇命令。The motor drive device of claim 4, wherein the algorithm selection module comprises a human machine interface, an algorithm selection determiner, and an input selection device for selecting by the human machine interface or The algorithm selects a determiner to output the selection command. When the algorithm selects the selector to output the selection command, the algorithm selection determiner issues the selection command according to the difference between the current command and the current signal. 一種馬達驅動裝置,包括:一馬達驅動器,用於驅動一馬達,該馬達驅動器輸出一電流訊號給該馬達,該馬達收到該電流訊號後輸出一轉速訊號;一速度控制迴路,包括一選擇器以及至少兩演算法模塊,每一速度控制迴路之演算法模塊分別用於存儲不同之演算法則,該速度控制迴路接收該轉速訊號及一轉速命令;一電流控制迴路,包括一演算法模塊,該演算法模塊用於 存儲一演算法則,該電流控制迴路接收該電流訊號;以及一演算法選擇模塊,與該馬達及馬達驅動器相連,並接收該轉速訊號,用於選擇該速度控制迴路之演算法模塊;該選擇器接收到該演算法選擇模塊發出之一選擇命令時,根據該選擇命令選擇該速度控制迴路之一演算法模塊,該轉速命令及轉速訊號透過該被選擇之速度控制迴路之演算法模塊演算得到一電流命令,該電流命令被提供給該電流控制迴路;該電流控制迴路之演算法模塊對該電流命令及電流訊號進行演算並輸出一控制訊號給該馬達驅動器,該馬達驅動器根據該控制訊號調整該電流訊號從而調整該馬達輸出之轉速訊號。A motor driving device includes: a motor driver for driving a motor, the motor driver outputs a current signal to the motor, the motor receives the current signal and outputs a speed signal; and a speed control circuit includes a selector And at least two algorithm modules, each of the speed control loop algorithm modules are respectively configured to store different algorithms, the speed control loop receives the speed signal and a speed command; and a current control loop includes an algorithm module, Algorithm module for Storing an algorithm, the current control loop receives the current signal; and an algorithm selection module coupled to the motor and the motor driver, and receiving the speed signal for selecting an algorithm module of the speed control loop; the selector Receiving one of the selection commands issued by the algorithm selection module, selecting one of the speed control loop algorithm modules according to the selection command, and the speed command and the speed signal are calculated by the algorithm module of the selected speed control loop. a current command, the current command is provided to the current control loop; the algorithm module of the current control loop calculates the current command and the current signal and outputs a control signal to the motor driver, and the motor driver adjusts the current signal according to the control signal The current signal thereby adjusts the speed signal of the motor output. 如申請專利範圍第7項所述之馬達驅動裝置,其中該演算法選擇模塊為一演算法選擇判斷器,該演算法選擇判斷器根據該轉速命令與該轉速訊號之比較結果發出該選擇命令。The motor driving device of claim 7, wherein the algorithm selection module is an algorithm selection determiner, and the algorithm selection determiner issues the selection command according to a comparison result between the rotation speed command and the rotation speed signal. 如申請專利範圍第7項所述之馬達驅動裝置,其中該演算法選擇模塊包括一人機界面、一演算法選擇判斷器及一輸入選擇裝置,該輸入選擇裝置用於選擇由該人機界面或演算法選擇判斷器來輸出該選擇命令,當選擇由該演算法選擇判斷器發出該選擇命令時,該演算法選擇判斷器是根據該轉速命令與該轉速訊號之比較結果發出該選擇命令。The motor drive device of claim 7, wherein the algorithm selection module comprises a human machine interface, an algorithm selection determiner, and an input selection device for selecting by the human machine interface or The algorithm selects a determiner to output the selection command. When the selection algorithm is selected by the algorithm selection determiner, the algorithm selection determiner issues the selection command according to the comparison result between the rotation speed command and the rotation speed signal.
TW97148407A 2008-12-12 2008-12-12 Motor driving device TWI410039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97148407A TWI410039B (en) 2008-12-12 2008-12-12 Motor driving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97148407A TWI410039B (en) 2008-12-12 2008-12-12 Motor driving device

Publications (2)

Publication Number Publication Date
TW201023498A TW201023498A (en) 2010-06-16
TWI410039B true TWI410039B (en) 2013-09-21

Family

ID=44833409

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97148407A TWI410039B (en) 2008-12-12 2008-12-12 Motor driving device

Country Status (1)

Country Link
TW (1) TWI410039B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083249A1 (en) * 2002-10-23 2004-04-29 Samsung Electronics Co., Ltd. Control method of PI controller
US20060180079A1 (en) * 2005-02-15 2006-08-17 United States Steel Corporation Method, system and apparatus for scraping a roll surface in a molten metal coating process
US20070284196A1 (en) * 2005-07-26 2007-12-13 Mitsubishi Electric Corporation Elevator Device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083249A1 (en) * 2002-10-23 2004-04-29 Samsung Electronics Co., Ltd. Control method of PI controller
US20060180079A1 (en) * 2005-02-15 2006-08-17 United States Steel Corporation Method, system and apparatus for scraping a roll surface in a molten metal coating process
US20070284196A1 (en) * 2005-07-26 2007-12-13 Mitsubishi Electric Corporation Elevator Device

Also Published As

Publication number Publication date
TW201023498A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US9910426B2 (en) Device and method of controlling machine tool, to control synchronized operation of spindle axis and feed axis
US7446497B2 (en) Fixed-position stop control apparatus for rotation shaft
US7792605B2 (en) Numerical control apparatus
WO2014125962A1 (en) Machine press and machine press control method
CN106371405B (en) Automatic optimization debugging system and method for servo driver and servo driver
US20160116909A1 (en) Device and method of controlling machine tool, to control synchronized operation of spindle axis and feed axis
TWI410039B (en) Motor driving device
US10520913B2 (en) Numerical controller
US10359761B2 (en) Device and method of controlling machine tool, to control synchronized operation of spindle axis and feed axis
JPH11245118A (en) Screw processing controller
CN101753097A (en) Driving device for motor
US6310457B1 (en) Servomotor controller
JP2019185467A (en) Setting device and setting program
JPH11300578A (en) Numerical control device of machine tool
JP2019053594A (en) Control device and machine learning device
CA3032666A1 (en) Engine driven power supplies with output reduction
JP2000105606A (en) Numerical controller
JP2003235280A (en) Motor controller
JPH06262486A (en) Cutting adaptive control device for machine tool by detecting vibration
JP2008225652A (en) Numerical control device
JP4250478B2 (en) Motor control device
JPH07281708A (en) Autotuning controller
JP7345525B1 (en) speed regulator
JP2005007798A (en) Device and method for controlling injection spindle of injection molding machine
JP7469063B2 (en) Learning device, control device, and learning method