TWI684319B - Control system of motor-driven moveable platform and method of controlling the same - Google Patents
Control system of motor-driven moveable platform and method of controlling the same Download PDFInfo
- Publication number
- TWI684319B TWI684319B TW108114465A TW108114465A TWI684319B TW I684319 B TWI684319 B TW I684319B TW 108114465 A TW108114465 A TW 108114465A TW 108114465 A TW108114465 A TW 108114465A TW I684319 B TWI684319 B TW I684319B
- Authority
- TW
- Taiwan
- Prior art keywords
- speed
- pwm
- mobile platform
- drive signal
- value
- Prior art date
Links
Images
Landscapes
- Control Of Electric Motors In General (AREA)
Abstract
Description
本發明係有關一種移動平台之控制系統及其控制方法,尤指一種無須額外煞車機構的馬達驅動移動平台之控制系統及其控制方法。 The invention relates to a control system and control method of a mobile platform, in particular to a control system and control method of a motor-driven mobile platform without an additional braking mechanism.
對現有具移動平台的機器人而言,主要係透過馬達驅動的方式對移動平台提供前進的動力。當移動平台需要減速時,則可透過額外的煞車機構主動地施加制動力,對移動平台進行煞車減速。又或者,可利用馬達本身不驅動的方式實現被動減速。藉此,達到移動平台的前進與減速的控制。再者,對於承載不同負載的移動平台欲達到平穩的加、減速控制,則通常以人為方式調整加以控制。 For existing robots with mobile platforms, the main purpose is to provide the driving force for the mobile platform through the motor drive. When the mobile platform needs to decelerate, it can actively apply braking force through an additional braking mechanism to brake the mobile platform. Alternatively, passive deceleration can be achieved in a way that the motor itself is not driven. With this, the advancement and deceleration control of the mobile platform are achieved. Furthermore, for mobile platforms carrying different loads to achieve smooth acceleration and deceleration control, they are usually adjusted and controlled by human means.
惟前揭方式對現有移動平台進行驅動、控制所存在的問題在於:對採用馬達本身不驅動的方式進行被動減速者,當移動平台的真實速度超過目標速度而需要減速時,則無法實現減速,仍需要依靠額外的煞車機構所提供的制動力才能實現減速。因此,不僅增加設備成本、維護成本,也提高控制的複雜度。再者,透過人為方式對承載不同負載的移動平台進行加、減速控制,將無法達到自動地、即時地、準確地調整控制。 However, the problem of driving and controlling the existing mobile platform in the pre-revealed way is that for those who use the motor itself to not drive the passive deceleration method, when the actual speed of the mobile platform exceeds the target speed and needs to be decelerated, deceleration cannot be achieved. Still need to rely on the braking force provided by the additional brake mechanism to achieve deceleration. Therefore, it not only increases equipment costs and maintenance costs, but also increases the complexity of control. Furthermore, the acceleration and deceleration control of mobile platforms carrying different loads through artificial means cannot achieve automatic, real-time and accurate adjustment control.
為此,如何設計出一種無須額外煞車機構的馬達驅動移動平台之控制系統及其控制方法,來解決前述的技術問題,乃為本案發明人所研究的重要課題。 Therefore, how to design a control system and control method of a motor-driven mobile platform without an additional braking mechanism to solve the foregoing technical problems is an important subject studied by the inventor of the present case.
本發明之一目的在於解決前揭的技術問題,因此本發明提供一種馬達驅動移動平台之控制系統,用以控制一移動平台之速度。該馬達驅動移動平台之控制系統包含:一減法器、一控制器以及一信號轉換器。該減法器接收一參考速度與一實際速度,且計算該參考速度與該實際速度的差值得到一誤差速度。該控制器接收該誤差速度、該實際速度以及一目標速度的絕對值,且計算出一速度控制信號。該信號轉換器接收該速度控制信號、該實際速度以及該目標速度的絕對值,且計算出一速度驅動信號;其中,該速度驅動信號包含一加速驅動信號與一減速驅動信號。其中,該加速驅動信號與該減速驅動信號對該移動平台提供加、減速控制。 An object of the present invention is to solve the technical problems disclosed above. Therefore, the present invention provides a motor-driven mobile platform control system for controlling the speed of a mobile platform. The control system of the motor-driven mobile platform includes: a subtractor, a controller and a signal converter. The subtractor receives a reference speed and an actual speed, and calculates the difference between the reference speed and the actual speed to obtain an error speed. The controller receives the absolute values of the error speed, the actual speed, and a target speed, and calculates a speed control signal. The signal converter receives the absolute values of the speed control signal, the actual speed and the target speed, and calculates a speed drive signal; wherein the speed drive signal includes an acceleration drive signal and a deceleration drive signal. Wherein, the acceleration driving signal and the deceleration driving signal provide acceleration and deceleration control for the mobile platform.
藉由所提出的馬達驅動移動平台之控制系統,能夠無須額外的煞車機構即可實現移動平台的減速,不僅可減少設備成本、維護成本,也降低控制的複雜度,並且採用對馬達速度的閉迴路控制,可達到自動地、即時地、準確地的速度調整與控制。 The proposed motor-driven mobile platform control system can realize the deceleration of the mobile platform without an additional braking mechanism, which can not only reduce equipment costs and maintenance costs, but also reduce the complexity of control. Loop control can achieve automatic, instant and accurate speed adjustment and control.
本發明之另一目的在於解決前揭的技術問題,因此本發明提供一種馬達驅動移動平台之控制方法,用以控制一移動平台之速度。該控制方法包含:(a)、提供一參考速度、一實際速度以及一目標速度的絕對值;(b)、提供一控制器,該控制器根據該參考速度、該實際速度以及該目標速度的絕對值計算 一速度控制信號;(c)、提供一信號轉換器,該信號轉換器根據該速度控制信號、該實際速度以及該目標速度的絕對值計算一速度驅動信號;其中,該速度驅動信號包含一加速驅動信號與一減速驅動信號;以及(d)、根據該加速驅動信號與該減速驅動信號對該移動平台提供加、減速控制。 Another object of the present invention is to solve the technical problems disclosed above. Therefore, the present invention provides a control method of a motor-driven mobile platform for controlling the speed of a mobile platform. The control method includes: (a), providing a reference speed, an actual speed, and an absolute value of a target speed; (b), providing a controller, the controller according to the reference speed, the actual speed and the target speed Absolute value calculation A speed control signal; (c) providing a signal converter that calculates a speed drive signal based on the absolute values of the speed control signal, the actual speed and the target speed; wherein the speed drive signal includes an acceleration A driving signal and a deceleration driving signal; and (d), providing acceleration and deceleration control for the mobile platform according to the acceleration driving signal and the deceleration driving signal.
藉由所提出的馬達驅動移動平台之控制方法,能夠無須額外的煞車機構即可實現移動平台的減速,不僅可減少設備成本、維護成本,也降低控制的複雜度,並且採用對馬達速度的閉迴路控制,可達到自動地、即時地、準確地的速度調整與控制。 The proposed motor-driven mobile platform control method can realize the deceleration of the mobile platform without an additional braking mechanism, which can not only reduce equipment costs and maintenance costs, but also reduce the complexity of control, and adopt Loop control can achieve automatic, instant and accurate speed adjustment and control.
為了能更進一步瞭解本發明為達成預定目的所採取之技術、手段及功效,請參閱以下有關本發明之詳細說明與附圖,相信本發明之目的、特徵與特點,當可由此得一深入且具體之瞭解,然而所附圖式僅提供參考與說明用,並非用來對本發明加以限制者。 In order to further understand the technology, means and effects of the present invention to achieve the intended purpose, please refer to the following detailed description and drawings of the present invention. I believe the purpose, features and characteristics of the present invention can be obtained in depth and For specific understanding, the accompanying drawings are provided for reference and explanation only, and are not intended to limit the present invention.
10‧‧‧控制機制 10‧‧‧Control mechanism
12‧‧‧減法器 12‧‧‧Subtractor
14‧‧‧控制器 14‧‧‧Controller
16‧‧‧信號轉換器 16‧‧‧Signal converter
20‧‧‧移動平台 20‧‧‧Mobile platform
rk‧‧‧參考速度 r k ‧‧‧ reference speed
ek‧‧‧誤差速度 e k ‧‧‧ error speed
ck‧‧‧速度控制信號 c k ‧‧‧ speed control signal
dk‧‧‧速度驅動信號 d k ‧‧‧ speed drive signal
yk‧‧‧實際速度 y k ‧‧‧ actual speed
yk+1‧‧‧實際速度 y k+1 ‧‧‧ actual speed
|St|‧‧‧目標速度的絕對值 |S t |‧‧‧The absolute value of the target speed
S11~S14‧‧‧步驟 S11~S14‧‧‧Step
圖1係為本發明馬達驅動移動平台之控制系統之示意圖。 FIG. 1 is a schematic diagram of the control system of the motor-driven mobile platform of the present invention.
圖2係為本發明參考速度之示意波形圖。 2 is a schematic waveform diagram of the reference speed of the present invention.
圖3係為本發明馬達驅動移動平台之速度控制的示意波形圖。 3 is a schematic waveform diagram of speed control of a motor-driven mobile platform of the present invention.
圖4係為本發明馬達驅動移動平台之控制方法的流程圖。 4 is a flowchart of a control method of a motor-driven mobile platform of the present invention.
茲有關本發明之技術內容及詳細說明,配合圖式說明如下。 The technical content and detailed description of the present invention are explained below in conjunction with the drawings.
請參見圖1所示,其係為本發明馬達驅動移動平台之控制系統之示意圖。所述速度控制系統(以下簡稱系統)包含控制機制10與移動平台20,即所述控制機制10對移動平台20進行閉迴路(closed-loop)的速度控制,藉此使移動平台20的速度達到預期的目標速度。所述控制機制10包含減法器12、控制器14以及信號轉換器16。以速度控制為例,實際係為對移動平台20的左、右輪進行控制,因此移動平台20係為具有可移動且受控的左、右輪的移動平台20之簡稱。
Please refer to FIG. 1, which is a schematic diagram of the control system of the motor-driven mobile platform of the present invention. The speed control system (hereinafter referred to as the system) includes a
系統的輸出為移動平台20的實際速度yk,其中實際速度yk可透過速度感測器(圖未示)偵測得到,並且所偵測得到的實際速度yk傳送至減法器12。減法器12另外再接收參考速度rk,其中實際速度yk係追隨參考速度rk進行動態響應。具體地,減法器12接收參考速度rk與實際速度yk,並且將參考速度rk與實際速度yk進行減法運算得到誤差速度ek(即ek=rk-yk)。因此,若誤差速度ek為正值時,表示實際速度yk比參考速度rk慢,反之,若誤差速度ek為負值時,表示實際速度yk比參考速度rk快。故此,控制機制10根據誤差速度ek作為控制器14的輸入,並且配合信號轉換器16的動作(容後說明),使得實際速度yk加快或減慢,以達到追隨參考速度rk的動態響應。
The output of the system is the actual speed y k of the
以速度控制為例,控制器14係為一速度控制器,具體地,控制器14為比例-積分(PI)控制器、比例-積分-微分(PID)控制器、模糊(fuzzy)控制器、模糊比例-積分(fuzzy-PI)控制器、模糊比例-積分-微分(fuzzy-PID)控制器、可程式邏輯控制器(PLC)的其中一者。然不以此為限制,舉凡可提供馬達速度調控設計的控制器,皆可作為速度控制器之用。值得一提,由於比例-積分-微分(PID)控制器中的微分控制項對於輸入信號中的高頻信號特別靈敏,因此,在實際應用上,
通常為求在雜訊較大時仍能達到穩態時更加穩定,而省略微分控制項的使用,即以比例-積分(PI)控制器來實現。其中,比例-積分(PI)控制器的離散表示式為:
其中,ck為以誤差速度ek作為控制器14(比例-積分(PI)控制器)的輸入所計算得到的速度控制信號、T為取樣時間、KP為比例項參數、TI為積分項時間參數。 Where c k is the speed control signal calculated using the error speed e k as the input of the controller 14 (proportional-integral (PI) controller), T is the sampling time, K P is the proportional parameter, and T I is the integral Item time parameter.
因此,若將誤差速度ek、實際速度yk以及目標速度的絕對值|St|作為比例-積分(PI)控制器的輸入,透過比例-積分的運算即可求得速度控制信號ck。其中,當前次目標速度的絕對值與此次目標速度的絕對值不同時,則可根據當下的加、減速關係,調整KP、和ej等值。 Therefore, if the error speed e k , the actual speed y k and the absolute value of the target speed |S t | are used as the input of the proportional-integral (PI) controller, the speed control signal c k can be obtained through the proportional-integral operation . Among them, when the absolute value of the current target speed is different from the absolute value of the target speed this time, K P , with e j is equivalent.
在獲得控制器14輸出的速度控制信號ck後,以速度控制信號ck作為信號轉換器16的輸入,並且配合實際速度yk與目標速度的絕對值|St|的關係,以得到速度驅動信號dk,其中,速度驅動信號dk可以加速驅動信號PWMk與減速驅動信號BKk來實現。在本發明的實施例中,速度驅動信號dk的加速驅動信號PWMk與減速驅動信號BKk可定義為:
After the speed control signal c k output by the
一、當移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,即,yk |St|,並且假設取樣時間為T、最大責任週期(full duty)為Dfull、參數Cmax=1以及參數Cmin=-1。此外,為了實現當實際速度yk與目標速度的絕對值|St|的差異很小或者很大時,能夠精準地、即時地對速度進行控制,因此,進一步地定義煞車參數(brake standard)為BrakeStd,舉例來說,但不以此為限制:當滿足yk-|St|>×最大速度:BrakeStd=64;其中,最大速度為5850rpm; 當不滿足yk-|St|>×最大速度:BrakeStd=8;若將上揭速度值以正規化(normalization)表示,即最大速度(5850rpm)=1時,則:當滿足yk-|St|>:BrakeStd=64;當不滿足yk-|St|>:BrakeStd=8。 1. When the moving direction is the same and the actual speed is greater than or equal to the absolute value of the target speed, that is, y k |S t |, and assume that the sampling time is T, the full duty is D full , the parameter C max =1 and the parameter C min =-1. In addition, in order to realize that when the difference between the actual speed y k and the absolute value of the target speed |S t | is small or large, the speed can be accurately and instantly controlled. Therefore, the brake parameters are further defined (brake standard) For BrakeStd, for example, but not as a limitation: when y k -|S t |> ×Maximum speed: BrakeStd=64; Among them, the maximum speed is 5850rpm; When y k -|S t |> is not satisfied ×Maximum speed: BrakeStd=8; If the value of the top speed is normalized, that is, the maximum speed (5850rpm)=1, then: When y k -|S t |> : BrakeStd=64; when y k -|S t |> is not satisfied : BrakeStd=8.
因此,速度驅動信號dk的加速驅動信號PWMk與減速驅動信號BKk可根據速度控制信號ck不同的狀況予以定義:1、當Cmax<ck:PWMk=Dfull、BKk=0;2、當Cmax ck 0,可再分為三種狀況:(1)、ck-ck-1<Cmin:PWMk=0、BKk=T;(2)、Cmin ck-ck-1<:PWMk=0、BKk=T×; (3)、ck-ck-1 :PWMk=Dfull×、BKk=0;3、當0>ck Cmin:PWMk=0、BKk=T×;4、當Cmin>ck:PWMk=0、BKk=T。 Therefore, the acceleration drive signal PWM k and the deceleration drive signal BK k of the speed drive signal d k can be defined according to different conditions of the speed control signal c k : 1. When C max <c k : PWM k =D full , BK k = 0; 2. When C max c k 0, can be further divided into three situations: (1), c k -c k-1 <C min : PWM k =0, BK k =T; (2), C min c k -c k-1 < : PWM k =0, BK k =T× ; (3), c k -c k-1 : PWM k =D full × , BK k =0; 3, when 0>c k C min :PWM k =0, BK k =T× ; 4. When C min >c k : PWM k =0, BK k =T.
舉例來說,在移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,當Cmax<ck時,表示速度控制信號ck為完全加速的控制,因此,信號轉換器16所輸出速度驅動信號dk的加速驅動信號PWMk=Dfull,而減速驅動信號BKk=0,使得控制移動平台20在完全沒有煞車下,以最大的加速能力進行加速。舉例來說,在移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,當Cmax ck 0,且為ck-ck-1<Cmin時,表示速度控制信號ck為完全煞車減速的控制,因此,速度驅動信號dk的加速驅動信號PWMk=0,而減速驅動信號BKk=T,使得控制移動平台20在取樣時間T的時間長度(例如
40毫秒)皆為煞車減速的狀態。舉例來說,在移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,當Cmax ck 0,且為Cmin ck-ck-1<時,表示欲控制移動平台20為間歇性地煞車減速,且每一次煞車減速的時間長度則為取樣時間T的比例,其中所述比例為,亦即煞車減速的時間長度則依前、後兩次速度控制信號(即ck-1與ck)的差異決定。因此當前、後兩次速度控制信號的差異越大,則表示控制移動平台20煞車減速的時間長度越長。舉例來說,在移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,當Cmax ck 0,且為ck-ck-1 時,表示欲控制移動平台20以非以完全加速的方式進行加速,且加速的程度則為完全加速(最大責任週期為Dfull)的比例,其中所述比例為,亦即加速的程度則依速度控制信號ck決定。因此當速度控制信號ck越大,則表示控制移動平台20加速的程度越大。
For example, under the condition that the moving direction is the same and the actual speed is greater than or equal to the absolute value of the target speed, when C max <c k , it means that the speed control signal c k is a fully accelerated control. Therefore, the
舉例來說,在移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,當0>ck Cmin,表示欲控制移動平台20為間歇性地煞車減速,且每一次煞車減速的時間長度則為取樣時間T的比例,其中所述比例為,亦即煞車減速的時間長度則依速度控制信號ck決定。舉例來說,在移動方向相同,且實際速度大於或者等於目標速度的絕對值的條件下,當Cmin>ck,表示欲控制移動平台20為完全煞車減速,因此,速度驅動信號dk的加速驅動信號PWMk=0,而減速驅動信號BKk=T,使得控制移動平台20在取樣時間T的時間長度(例如40毫秒)皆為煞車減速的狀態。
For example, under the condition that the moving direction is the same and the actual speed is greater than or equal to the absolute value of the target speed, when 0>c k C min , which means that the
二、當移動方向相同,且實際速度小於目標速度的絕對值的條件下,即,yk<|St|,並且假設取樣時間為T、最大責任週期(full duty)為Dfull、參數Cmax=1、參數Cmin=-1以及煞車參數(brake standard)為BrakeStd。因此,速度驅動信 號dk的加速驅動信號PWMk與減速驅動信號BKk可根據速度控制信號ck不同的狀況予以定義:1、當Cmax<ck:PWMk=Dfull、BKk=0;2、當Cmax ck 0,可再分為三種狀況:(1)、ck-ck-1<Cmin:PWMk=0、BKk=0;(2)、Cmin ck-ck-1<:PWMk=0、BKk=0;(3)、ck-ck-1 :PWMk=Dfull×、BKk=0;3、當0>ck Cmin:PWMk=0、BKk=0;4、當Cmin>ck:PWMk=0、BKk=0。 2. When the movement direction is the same, and the actual speed is less than the absolute value of the target speed, that is, y k <|S t |, and the sampling time is assumed to be T, the full duty period is D full , and the parameter C max =1, parameter C min = -1 and brake parameter (brake standard) is BrakeStd. Therefore, the acceleration drive signal PWM k and the deceleration drive signal BK k of the speed drive signal d k can be defined according to different conditions of the speed control signal c k : 1. When C max <c k : PWM k =D full , BK k = 0; 2. When C max c k 0, can be divided into three conditions: (1), c k -c k-1 <C min : PWM k =0, BK k =0; (2), C min c k -c k-1 < : PWM k =0, BK k =0; (3), c k -c k-1 : PWM k =D full × , BK k =0; 3, when 0>c k C min : PWM k =0, BK k =0; 4. When C min >c k : PWM k =0, BK k =0.
由於第二種控制狀態與第一種控制狀態僅在於實際速度小於目標速度的絕對值的差異,因此詳細的說明不再贅述,可參見第一種控制狀態相應的記載,值得一提的是,在第二種控制狀態中,速度驅動信號dk的減速驅動信號BKk皆為0,而加速驅動信號PWMk則與第一種控制狀態相同。 Since the second control state differs from the first control state only in the difference between the actual speed and the absolute value of the target speed, the detailed description is not repeated here. Please refer to the corresponding records of the first control state. It is worth mentioning that, In the second control state, the deceleration drive signal BK k of the speed drive signal d k is all 0, and the acceleration drive signal PWM k is the same as the first control state.
綜上說明,透過加速驅動信號PWMk與減速驅動信號BKk二者的結合與調整,可達到移動平台20的前進與後退的加速與減速控制。其中,加速驅動信號PWMk的功能相當於油門的概念,而減速驅動信號BKk的功能相當於煞車的概念。若以控制無刷直流馬達(Brushless DC motor,BLDC motor)為應用,則可以加速驅動信號PWMk控制BLDC的馬達驅動板上的腳位(PWM pin)以及以減速驅動信號BKk控制BLDC的馬達驅動板上的腳位(Start/Brake pin)來實現對移動平台20的前進與後退的加速與減速控制,並且對於移動平台20承載不同負載而言,同樣可以自動調整控制的方式,達到平穩地加、減速控制。
In summary, through the combination and adjustment of the acceleration driving signal PWM k and the deceleration driving signal BK k , the acceleration and deceleration control of the forward and backward movement of the
再者,可依據不同硬體的運算處理能力,以無條件進位的方式將減速驅動信號BKk設計為可控制煞車時間(例如5毫秒)的倍數,達到可控制的煞車(brake)段數。此外,在前揭的速度控制中,若移動平台20的實際速度yk小於最低可控速度,且目標速度的絕對值|St|為零,則可直接設定加速驅動信號PWMk=0、減速驅動信號BKk=T。然後,將控制器14(例如比例-積分(PI)控制器)的控制機制重置(reset)作為控制方式。直到目標速度的絕對值|St|非為零,再重新啟動比例-積分(PI)控制器的控制機制,並且再透過信號轉換器16對速度控制信號ck加以轉換,而得到速度驅動信號dk的加速驅動信號PWMk與減速驅動信號BKk,進而驅動移動平台20,而得到速度控制系統的下一次實際速度yk+1。換言之,當輸入參考速度rk後,在取樣時間T到達時,直接取樣系統輸出的速度控制結果,即可得到實際速度yk+1。至終,透過閉迴路的速度控制,使移動平台20的速度達到預期的目標速度。
Furthermore, the decelerating drive signal BK k can be designed to be a multiple of the controllable braking time (for example, 5 milliseconds) in an unconditional carry manner according to the arithmetic processing capability of different hardware, to achieve a controllable number of brake segments. In addition, in the speed control disclosed above, if the actual speed y k of the
舉例來說,假設取樣時間T=40毫秒(可由選用的微控制器規格所決定),BLDC馬達的極數=14、BLDC馬達的最小平均速度參數=4,則BLDC馬達的最低可控速度則等於:×=428.57(rpm)。對應地,根據車輪的尺寸規格,例如車輪的直徑長度可計算出車輪最低可控速度為477.17(0.01cm/s)。 For example, assuming that the sampling time T = 40 milliseconds (which can be determined by the specifications of the selected microcontroller), the number of poles of the BLDC motor = 14, and the minimum average speed parameter of the BLDC motor = 4, the minimum controllable speed of the BLDC motor is equal: × = 428.57 (rpm). Correspondingly, the minimum controllable speed of the wheel is 477.17 (0.01 cm/s) according to the size of the wheel, such as the diameter and length of the wheel.
若是其他型態的馬達的驅動方式,具有與BLDC的馬達驅動板上相近或相同的PWM pin與Start/Brake pin,則同樣可透過設定加速驅動信號PWMk與減速驅動信號BKk對該馬達進行速度控制。舉例來說,以一般的有刷直流馬達為例,可在其外部增加電路去控制正負極短路,即可達到煞車的控制,而以PWM的控制,就可以實現加速(油門)的控制。再者,以步進馬達為例,可使用慢慢增加固定位置的時間進行煞車,而可對應為在固定位置的時間的長短實現加速(油門)的控制。 If it is another type of motor driving method, which has a PWM pin and Start/Brake pin similar to or the same as the BLDC motor drive board, you can also set the acceleration drive signal PWM k and deceleration drive signal BK k to the motor speed control. For example, taking a general brushed DC motor as an example, an external circuit can be added to control the short circuit of the positive and negative poles to achieve braking control, and PWM control can achieve acceleration (throttle) control. Furthermore, taking a stepping motor as an example, it is possible to brake with a time that slowly increases the fixed position, and the acceleration (throttle) control can be achieved corresponding to the length of time at the fixed position.
請參見圖2所示,其係為本發明參考速度之示意波形圖。圖2旨在於表示參考速度rk的示意,其中橫座標為時間,縱座標為速度值,以正規化表示,因此最大速度(例如5850rpm)=1。時間t0至時間t1表示移動平台20在空(無)載時的加速,而時間t1至時間t2表示移動平台20在加(有)載時的加速。其中,上揭加速時的加載係指移動平台20於時間t1時加入負載(承載)。換言之,在時間t1時若沒有加載,參考速度rk則仍以時間t0至時間t1的波形進行加速控制。值得一提,空載時參考速度rk每兩階之間速度改變的時間較加載時參考速度rk每兩階之間速度改變的時間來得短。在時間t2至時間t3期間,為控制移動平台20在目標速度下進行移動。時間t3至時間t4表示移動平台20在加載時的減速,而時間t4至時間t5表示移動平台20在無載時減速。其中,上揭減速時的空載係移動平台20於時間t4時卸下負載(承載)。換言之,在時間t4時若沒有卸載,參考速度rk則仍以時間t3至時間t4的波形進行減速控制。值得一提,空載時參考速度rk每兩階之間速度改變的時間較加載時參考速度rk每兩階之間速度改變的時間來得短。
Please refer to FIG. 2, which is a schematic waveform diagram of the reference speed of the present invention. FIG. 2 is intended to represent a schematic diagram of the reference speed r k , where the abscissa is time and the ordinate is speed value, which is expressed in a normalized manner, so the maximum speed (eg, 5850 rpm)=1. The time t0 to time t1 represents the acceleration of the
上述時間t0至時間t5所示的參考速度rk的變化,示意為相同方向的加、減速變化。相應地,若移動平台20從目標速度(時間t3)減速到零(時間t5)而停止,再反方向進行加速時,仍可以相近於圖2所示的參考速度之示意波形圖來表現移動平台20加、減速控制,在此不再贅述。
The change in the reference speed r k shown at the time t0 to the time t5 above is indicative of acceleration and deceleration changes in the same direction. Correspondingly, if the
請參見圖3所示,其係為本發明馬達驅動移動平台之速度控制的示意波形圖。圖3所示的三個波形分別為參考速度rk的波形C1、速度控制信號ck的波形C2以及實際速度yk的波形C3。配合圖1如前所述,參考速度rk提供了對移動平台20的速度控制需求,透過控制器14,例如比例-積分(PI)的運算產生速度控制信號ck,再透過信號轉換器16對速度控制信號ck進行轉換,以獲得對應的加速驅動信號PWMk與減速驅動信號BKk,進而對移動平台20進行閉迴路
(closed-loop)的速度控制,使得實際速度yk係追隨參考速度rk進行動態響應,藉此使移動平台20的速度達到預期的目標速度。
Please refer to FIG. 3, which is a schematic waveform diagram of the speed control of the motor-driven mobile platform of the present invention. The three waveforms shown in FIG. 3 are the waveform C1 of the reference speed r k , the waveform C2 of the speed control signal c k , and the waveform C3 of the actual speed y k . As described above with reference to FIG. 1, the reference speed r k provides the speed control requirement for the
請參見圖4所示,其係為本發明馬達驅動移動平台之控制方法的流程圖。所述控制方法的步驟包括:首先,提供參考速度rk、實際速度yk以及目標速度的絕對值|St|(S11)。其中,移動平台20的實際速度yk可透過速度感測器偵測得到,參考速度rk提供了對移動平台20的速度控制需求。
Please refer to FIG. 4, which is a flowchart of the control method of the motor-driven mobile platform of the present invention. The steps of the control method include: first, the reference speed r k , the actual speed y k and the absolute value of the target speed |S t |(S11). Among them, the actual speed y k of the
然後,提供控制器14,控制器14根據參考速度rk、實際速度yk以及目標速度的絕對值|St|計算速度控制信號ck(S12)。其中,控制器14可為比例-積分(PI)控制器、比例-積分-微分(PID)控制器、模糊(fuzzy)控制器、模糊比例-積分(fuzzy-PI)控制器、模糊比例-積分-微分(fuzzy-PID)控制器、可程式邏輯控制器(PLC)的其中一者,然不以此為限制。具體地,將參考速度rk與實際速度yk進行減法運算得到誤差速度ek(即ek=rk-yk),並且配合實際速度yk與目標速度的絕對值|St|作為控制器14的輸入,透過比例-積分的運算(以比例-積分(PI)控制器為例)即可計覦出速度控制信號ck。
Then, a
然後,提供信號轉換器16,信號轉換器16根據速度控制信號ck、實際速度yk以及目標速度的絕對值|St|計算速度驅動信號dk;其中,速度驅動信號dk包含加速驅動信號PWMk與減速驅動信號BKk(S13)。在獲得控制器14輸出的速度控制信號ck後,以速度控制信號ck作為信號轉換器16的輸入,並且配合實際速度yk與目標速度的絕對值|St|的關係,以得到速度驅動信號dk。最後,根據加速驅動信號PWMk與該減速驅動信號BKk對該移動平台20提供加、減速控制(S14)。所述加速驅動信號PWMk可調整為0、Dfull(最大責任週期)或者與Dfull成
比例的大小;所述減速驅動信號BKk可調整為0、T(取樣時間)或者與T成比例的大小,藉此對移動平台20提供精準的、即時的速度控制。
Then, a
綜上所述,本發明係具有以下之特徵與優點: In summary, the present invention has the following features and advantages:
1、無須額外的煞車機構即可實現移動平台的減速,不僅可減少設備成本、維護成本,也降低控制的複雜度。 1. Without additional braking mechanism, the speed of the mobile platform can be reduced, which can not only reduce the cost of equipment and maintenance, but also reduce the complexity of control.
2、採用對馬達速度的閉迴路控制,可達到自動地、即時地、準確地的速度調整與控制。 2. The closed-loop control of the motor speed can be used to achieve automatic, immediate and accurate speed adjustment and control.
以上所述,僅為本發明較佳具體實施例之詳細說明與圖式,惟本發明之特徵並不侷限於此,並非用以限制本發明,本發明之所有範圍應以下述之申請專利範圍為準,凡合於本發明申請專利範圍之精神與其類似變化之實施例,皆應包含於本發明之範疇中,任何熟悉該項技藝者在本發明之領域內,可輕易思及之變化或修飾皆可涵蓋在以下本案之專利範圍。 The above are only the detailed descriptions and drawings of the preferred embodiments of the present invention, but the features of the present invention are not limited to this, and are not intended to limit the present invention. All the scope of the present invention should be based on the following patent applications Subject to the spirit of the patent application scope of the present invention and the embodiments of similar changes should be included in the scope of the present invention, any person familiar with the art in the field of the present invention can easily think of changes or Modifications can be covered in the patent scope of the following case.
10‧‧‧控制機制 10‧‧‧Control mechanism
12‧‧‧減法器 12‧‧‧Subtractor
14‧‧‧控制器 14‧‧‧Controller
16‧‧‧信號轉換器 16‧‧‧Signal converter
20‧‧‧移動平台 20‧‧‧Mobile platform
rk‧‧‧參考速度 r k ‧‧‧ reference speed
ek‧‧‧誤差速度 e k ‧‧‧ error speed
ck‧‧‧速度控制信號 c k ‧‧‧ speed control signal
dk‧‧‧速度驅動信號 d k ‧‧‧ speed drive signal
yk‧‧‧實際速度 y k ‧‧‧ actual speed
yk+1‧‧‧實際速度 y k+1 ‧‧‧ actual speed
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108114465A TWI684319B (en) | 2019-04-25 | 2019-04-25 | Control system of motor-driven moveable platform and method of controlling the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108114465A TWI684319B (en) | 2019-04-25 | 2019-04-25 | Control system of motor-driven moveable platform and method of controlling the same |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI684319B true TWI684319B (en) | 2020-02-01 |
TW202040928A TW202040928A (en) | 2020-11-01 |
Family
ID=70413245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108114465A TWI684319B (en) | 2019-04-25 | 2019-04-25 | Control system of motor-driven moveable platform and method of controlling the same |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI684319B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114442617A (en) * | 2022-01-06 | 2022-05-06 | 东风柳州汽车有限公司 | AGV trolley control method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW435040B (en) * | 1997-02-27 | 2001-05-16 | Canon Kk | Image reading apparatus |
US20060125863A1 (en) * | 2004-05-27 | 2006-06-15 | Silverbrook Research Pty Ltd | Printer controller for controlling a printhead module based on thermal sensing |
US20060125858A1 (en) * | 2004-05-27 | 2006-06-15 | Silverbrook Research Pty Ltd | Printer controller for supplying data to a printhead module having one or more redundant nozzle rows |
US20070070834A1 (en) * | 2001-04-02 | 2007-03-29 | Naruhiro Masui | Signal processing method and signal processing apparatus |
CN103280209A (en) * | 2012-01-18 | 2013-09-04 | 雅马哈株式会社 | Musical instrument equipped with a pedal, and method therefor |
CN107148741A (en) * | 2014-12-22 | 2017-09-08 | 日本电产株式会社 | Location estimation method and position control |
-
2019
- 2019-04-25 TW TW108114465A patent/TWI684319B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW435040B (en) * | 1997-02-27 | 2001-05-16 | Canon Kk | Image reading apparatus |
US20070070834A1 (en) * | 2001-04-02 | 2007-03-29 | Naruhiro Masui | Signal processing method and signal processing apparatus |
US20060125863A1 (en) * | 2004-05-27 | 2006-06-15 | Silverbrook Research Pty Ltd | Printer controller for controlling a printhead module based on thermal sensing |
US20060125858A1 (en) * | 2004-05-27 | 2006-06-15 | Silverbrook Research Pty Ltd | Printer controller for supplying data to a printhead module having one or more redundant nozzle rows |
CN103280209A (en) * | 2012-01-18 | 2013-09-04 | 雅马哈株式会社 | Musical instrument equipped with a pedal, and method therefor |
CN107148741A (en) * | 2014-12-22 | 2017-09-08 | 日本电产株式会社 | Location estimation method and position control |
Also Published As
Publication number | Publication date |
---|---|
TW202040928A (en) | 2020-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW201633669A (en) | Servo motor system and operating method thereof | |
KR20030070772A (en) | Control method and controller for torque of inverter | |
WO2003031309A1 (en) | Brake controller of elevator | |
TWI684319B (en) | Control system of motor-driven moveable platform and method of controlling the same | |
KR101657020B1 (en) | Elevator control apparatus, and elevator control method | |
US9975531B2 (en) | Braking control device for vehicle | |
JP5219103B2 (en) | Travel control device | |
JP2007336687A (en) | Motor controller | |
CN111865173A (en) | Control system and control method for motor-driven mobile platform | |
CN113119751B (en) | Vehicle slope starting method and device, vehicle, electronic equipment and storage medium | |
JP2000341991A (en) | Controller for permanent magnet type synchronous motor | |
CN109305612B (en) | Elevator starting control device | |
CN111416561B (en) | Improved three-ring control method for motor | |
JPH11252994A (en) | Device and method for control of stepping motor | |
JP5796473B2 (en) | Brake control device for vehicle | |
JP2013115988A (en) | Vehicular braking control device | |
JP7184129B1 (en) | Elevator control device and elevator control method | |
JP2000261903A (en) | Electric rolling stock control apparatus | |
CN114929607A (en) | Drive system and method for controlling a drive system | |
JPH0569041U (en) | Motor brake controller | |
JP5895481B2 (en) | Brake control device for vehicle | |
JP6950786B1 (en) | Elevator control device and control method | |
CN114906765B (en) | Elevator band-type brake control method, device, equipment and storage medium | |
TW202248776A (en) | Method of speed control and motor drive system based on self-learning model of load torque and moment inertia | |
CN115987175A (en) | Method for operating an electric machine |