TWM601933U - Motor rotor position detecting device - Google Patents
Motor rotor position detecting device Download PDFInfo
- Publication number
- TWM601933U TWM601933U TW109207839U TW109207839U TWM601933U TW M601933 U TWM601933 U TW M601933U TW 109207839 U TW109207839 U TW 109207839U TW 109207839 U TW109207839 U TW 109207839U TW M601933 U TWM601933 U TW M601933U
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- position detection
- current
- initial position
- magnetic field
- Prior art date
Links
Images
Landscapes
- Control Of Ac Motors In General (AREA)
Abstract
本案提出一種馬達轉子位置偵測裝置包含磁場導向控制電路及初始位置檢測電路。磁場導向控制電路接收測試電流指令與預設角度,並根據測試電流指令與預設角度產生回授電流。初始位置檢測電路發送測試電流指令與預設角度給磁場導向控制電路。初始位置檢測電路包含電流產生器、角度產生器及處理電路。電流產生器輸出測試電流指令,角度產生器輸出預設角度,處理電路擷取回授電流的峰值,以形成一峰值陣列,並運算出峰值陣列中元素的最大值,以對應出其中之一為馬達轉子之初始角位置,且於馬達轉動前,發送初始角位置給磁場導向控制電路。This case proposes a motor rotor position detection device including a magnetic field guiding control circuit and an initial position detection circuit. The magnetic field guiding control circuit receives the test current command and the preset angle, and generates a feedback current according to the test current command and the preset angle. The initial position detection circuit sends a test current command and a preset angle to the magnetic field guide control circuit. The initial position detection circuit includes a current generator, an angle generator and a processing circuit. The current generator outputs the test current command, the angle generator outputs the preset angle, the processing circuit captures the peak value of the feedback current to form a peak value array, and calculates the maximum value of the elements in the peak value array to correspond to one of them The initial angular position of the motor rotor, and before the motor rotates, the initial angular position is sent to the magnetic field guide control circuit.
Description
本案是關於一種馬達轉子位置偵測裝置,特別是適於磁場導向控制架構下之馬達轉子初始角位置偵測裝置。This case is about a motor rotor position detection device, especially a motor rotor initial angular position detection device suitable for a magnetic field-oriented control architecture.
馬達已廣泛地應用於電子產品中,例如機器手臂、半導體製程及封裝相關設備、電梯、冷氣機、電動汽車、掃描器、印表機、光碟機等。為了控制馬達正常轉動,習知的馬達轉子位置偵測裝置中通常包含為硬體元件之轉子位置感測器,以在馬達轉動前偵測出馬達轉子的初始位置,以避免馬達在啟動上發生非預期的運轉狀況。Motors have been widely used in electronic products, such as robotic arms, semiconductor manufacturing and packaging related equipment, elevators, air conditioners, electric vehicles, scanners, printers, optical disc drives, etc. In order to control the normal rotation of the motor, the conventional motor rotor position detection device usually includes a rotor position sensor which is a hardware component to detect the initial position of the motor rotor before the motor rotates, so as to prevent the motor from being started. Unexpected operating conditions.
然而,額外使用前述之轉子位置感測器將使生產成本上升。若未使用轉子位置感測器又將造成前述馬達在啟動上發生非預期的運轉狀況。因此,為取代轉子位置感測器,現今發展出一些不同的馬達控制技術,然而大部分的馬達控制技術還是需要額外設置硬體電路,造成無法有效地降低生產成本,且其設計通常無法根據不同馬達或不同的馬達應用產品進行彈性的調整。However, the additional use of the aforementioned rotor position sensor will increase the production cost. If the rotor position sensor is not used, it will cause unexpected operating conditions of the aforementioned motor at startup. Therefore, in order to replace the rotor position sensor, some different motor control technologies have been developed today. However, most of the motor control technologies still require additional hardware circuits, which makes it impossible to effectively reduce the production cost, and the design usually cannot be based on different Motor or different motor application products can be adjusted flexibly.
在一實施例中,一種馬達轉子位置偵測裝置包含磁場導向控制電路及初始位置檢測電路。磁場導向控制電路於一預設時間區間內接收測試電流指令與預設角度,並根據測試電流指令與預設角度產生回授電流。初始位置檢測電路發送測試電流指令與預設角度給磁場導向控制電路。初始位置檢測電路包含電流產生器、角度產生器及處理電路。電流產生器輸出測試電流指令,角度產生器輸出預設角度,處理電路擷取回授電流的峰值,以形成一峰值陣列,並運算出峰值陣列中元素的一最大值,處理電路並根據前述最大值從預設角度中對應出其中之一形成馬達轉子之初始角位置,且於馬達轉動前,發送初始角位置給磁場導向控制電路,藉以控制馬達轉動。In one embodiment, a motor rotor position detection device includes a magnetic field guidance control circuit and an initial position detection circuit. The magnetic field guiding control circuit receives the test current command and the preset angle in a preset time interval, and generates a feedback current according to the test current command and the preset angle. The initial position detection circuit sends a test current command and a preset angle to the magnetic field guide control circuit. The initial position detection circuit includes a current generator, an angle generator and a processing circuit. The current generator outputs the test current command, the angle generator outputs the preset angle, the processing circuit captures the peak value of the feedback current to form a peak value array, and calculates a maximum value of the elements in the peak value array. The value corresponds to one of the preset angles to form the initial angular position of the motor rotor, and before the motor rotates, the initial angular position is sent to the magnetic field guide control circuit to control the motor to rotate.
圖1為根據本案之馬達轉子位置偵測裝置1以及其所控制之馬達2之一實施例之功能方塊圖。請參照圖1,馬達轉子位置偵測裝置1包含初始位置檢測電路11及磁場導向控制電路12。馬達轉子位置偵測裝置1可通過驅動電路3以控制馬達2轉動。馬達2係適於磁場導向控制(Field Oriented Control, FOC),馬達轉子位置偵測裝置1具有前述之磁場導向控制功能。在一實施例中,馬達2可為直流無刷馬達(Brushless DC Motor, BLDC)或永磁同步馬達(permanent-magnet synchronous motor, PMSM)。驅動電路3是馬達2的製造商所設計,其功能是將馬達轉子位置偵測裝置1傳送的驅動訊號轉成馬達2可讀的訊號,藉以驅動馬達3轉動。FIG. 1 is a functional block diagram of an embodiment of the motor rotor position detection device 1 and the
請繼續參考圖1。初始位置檢測電路11耦接磁場導向控制電路12,磁場導向控制電路12耦接馬達2。磁場導向控制電路12可決定前述控制馬達2之轉子(圖1未示)轉矩方向或是定子(圖1未示)產生之磁場方向。在馬達2之轉子轉動之前,初始位置檢測電路11可在一個使用者所設定的預設時間區間內將所有測試指令產生完成,預設時間區間一般是5~15毫秒(ms)。測試指令包含電流指令(具有複數直軸測試電流指令S1與複數個交軸測試電流指令S3),以及複數個預設角度θ2。直軸測試電流指令S1從輸出端P2發出,交軸測試電流指令S3從輸出端P1發出,預設角度θ2從輸出端P3發出,且此三個訊號(直軸測試電流指令S1、交軸測試電流指令S3與預設角度θ2)都具有相同的週期。Please continue to refer to Figure 1. The initial
請先參考圖3A-3D。其中,初始位置檢測電路11可產生六個直軸測試電流指令S1及六個不相同之預設角度θ2,另外,交軸測試電流指令S3在本實施例中都是0A(安培)。初始位置檢測電路11可在8毫秒(預設的時間區間)內發送完成所有測試指令。六個直軸測試電流指令S1分別占有六個週期時間(週期1至週期6),且週期1至週期6可都是1.3毫秒。Please refer to Figure 3A-3D first. Among them, the initial
另外,處在同一週期時間內的訊號是命名同一個序數,例如在週期1中的直軸測試電流指令S1係命名為「第一直軸測試電流指令」,而對應同在週期1中的之預設角度θ2係命名為「第二預設角度」;而在週期2中的直軸測試電流指令S1與預設角度θ2係分別命名為「第二直軸測試電流指令」與「第二預設角度」,依此類推。所謂對應指的是在同一週期中產生的,或是處理與生成的訊號都在同一週期。In addition, the signals in the same cycle time are named the same ordinal. For example, the direct axis test current command S1 in cycle 1 is named "the first direct axis test current command", and corresponds to the same number in cycle 1. The preset angle θ2 is named "the second preset angle"; and the direct axis test current command S1 and the preset angle θ2 in
後續請參考圖2,圖2為根據本案之適於馬達2之馬達轉子位置偵測方法之一實施例之流程圖。請一併參考圖1與圖3A-3D,初始位置檢測電路11係在馬達2轉動前之預設時間區間內,發送測試指令(步驟S01)至磁場導向控制電路12,磁場導向控制電路12在預設時間區間內接收測試指令,並根據測試指令產生可控制馬達2轉動之回授電流S2(步驟S02),並且,磁場導向控制電路12係根據測試指令中的每一直軸測試電流指令S1產生對應的一回授電流S2。於是,根據直軸測試電流指令S1、交軸測試電流指令S3及對應的不同預設角度θ2,磁場導向控制電路12產生具有不同電流峰值之複數回授電流S2。並且,因為磁場導向控制電路12產生每一個回授電流S2的響應時間(Response time)為100微秒(us)等級,其為可忽略之數量等級。也就是說,回授電流S2與直軸測試電流指令S1可幾乎稱為「同時產生」。Please refer to FIG. 2, which is a flowchart of an embodiment of the motor rotor position detection method suitable for the
接著,初始位置檢測電路11自磁場導向控制電路12接收複數回授電流S2(步驟S03),初始位置檢測電路11擷取每一回授電流S2的峰值,以形成一峰值陣列,並且比較複數回授電流S2之間的峰值,以算出峰值陣列中的最大值元素(步驟S04),當初始位置檢測電路11算出峰值陣列中的最大值元素(即判斷出其中一電流峰值為最大)時,初始位置檢測電路11就會根據回授電流S2中的最大值,在馬達2轉動之前,從多個預設角度θ2對應出其中之一,並且作為初始角位置θ1後輸出(步驟S05),以驅使磁場導向控制電路12據以控制馬達2之轉動。並且,因為初始位置檢測電路11運算生成初始角位置θ1所需要的執行時間(turnaround time)可為2~8微秒等級,其為可忽略之數量等級,換言之,初始位置檢測電路11可快速地計算出初始角位置θ1。Next, the initial
請參考圖1與圖3A-3D,磁場導向控制電路12根據六個直軸測試電流指令S1及六個預設角度θ2產生六個具有不同電流峰值之回授電流S2,後續初始位置檢測電路11中的處理電路113擷取六個回授電流S2(單位可為安培),而形成峰值陣列X={3,2,4,6,5,2},並算出峰值陣列X中的最大值元素(element)為6,接著,因為此最大值6是第四回授電流,屬於週期4,因此初始位置檢測電路11中的處理電路113就會「對應」出同在週期4的第四預設角度(即300度),並將此第四預設角度當成初始角位置θ1後輸出,以讓馬達2運轉後,磁場導向控制電路12係根據轉子初始角位置θ1為300度之馬達2進行後續轉動控制。1 and 3A-3D, the magnetic field guiding
因此,基於前述FOC控制架構在馬達2之轉子開始轉動之前先偵測轉子的初始角位置θ1,本案不需要為了偵測轉子初始角位置θ1,而在連接馬達2的驅動電流輸入線路上增加額外電流取樣電阻以及對應的放大器與數位類比轉換電路,因此可節省額外的硬體成本,且設計者可彈性地調整直軸測試電流指令S1與交軸測試電流指令S3的數量以及各預設角度θ2的角度值,以提升馬達轉子位置偵測裝置1判斷出轉子的初始角位置θ1的精確度,降低轉子的初始角位置θ1誤判之情形發生,進而避免馬達2在啟動上發生非預期的運轉狀況。Therefore, based on the aforementioned FOC control architecture, the initial angular position θ1 of the rotor is detected before the rotor of the
在一實施例中,直軸測試電流指令S1係為電流脈衝訊號,初始位置檢測電路11可根據馬達2的規格決定直軸測試電流指令S1與交軸測試電流指令S3的電流值,且初始位置檢測電路11可接收輸入之高位準時間T1與低位準時間T2,以調整直軸測試電流指令S1的週期與占空比(Duty Cycle)。舉例來說,以圖3A為例,初始位置檢測電路11可產生電流值皆為5安培的六個直軸測試電流指令S1,且如圖3A所示,六個直軸測試電流指令S1都具有相同的高位準時間T1與低位準時間T2,以讓六個直軸測試電流指令S1具有相同的週期與占空比。In one embodiment, the direct-axis test current command S1 is a current pulse signal, and the initial
基於上述,請參考圖2,在步驟S01中,初始位置檢測電路11可在每一週期中產生一個直軸測試電流指令S1,初始位置檢測電路11可在六個週期時間內產生六個直軸測試電流指令S1及六個預設角度θ2,即前述之預設時間區間係為六個週期時間的總和,使磁場導向控制電路12在六個週期中之各週期中根據各直軸測試電流指令S1輸出對應的回授電流S2。初始位置檢測電路11經過六個週期之後即判斷出轉子的初始角位置θ1。Based on the above, please refer to Fig. 2. In step S01, the initial
在一實施例中,為提升初始位置檢測電路11算出之轉子的初始角位置θ1之精確度,初始位置檢測電路11於相鄰兩個週期所發送的兩個預設角度θ2之間的角度差值,至少大於或等於一使用者設定之預設值,預設值可為大於或等於1度,且較佳地,此預設值為180度,如此可避免因測試指令中的兩個預設角度θ2之角度差值過小,而造成因磁滯而產生之不精確之回授電流S2,讓初始位置檢測電路11誤判回授電流S2的電流峰值而誤判轉子的初始角位置θ1。In one embodiment, in order to improve the accuracy of the initial angular position θ1 of the rotor calculated by the initial
詳細來看,請參考圖3B,以六個直軸測試電流指令S1所對應之第一預設角度至第六預設角度等六個預設角度θ2,依序為0度、180度、120度、300度、240度、60度,可知在相鄰兩個週期所發送的兩個預設角度θ2之間的差至少大於或等於為60度之預設值。較佳地,此預設值係為一個角度組合,即180度與60度,例如第一預設角度與第二預設角度之間的角度差值為180度,第二預設角度與第三預設角度之間的角度差值為60度,第三預設角度與第四預設角度之間的角度差值為180度,第四預設角度與第五預設角度之間的角度差值為60度,第五預設角度與第六預設角度之間的角度差值為180度。據此,可依不同時間產生的兩兩預設角度θ2之間盡可能地有較大的差值,以避免初始位置檢測電路11誤判轉子的初始角位置θ1。For details, please refer to Figure 3B. Six preset angles θ2 corresponding to the first preset angle to the sixth preset angle corresponding to the six direct-axis test current commands S1 are 0 degrees, 180 degrees, and 120 degrees. Degrees, 300 degrees, 240 degrees, 60 degrees, it can be seen that the difference between the two preset angles θ2 sent in two adjacent periods is at least greater than or equal to the preset value of 60 degrees. Preferably, the preset value is a combination of angles, namely 180 degrees and 60 degrees, for example, the angle difference between the first preset angle and the second preset angle is 180 degrees, and the second preset angle and the first The angle difference between the three preset angles is 60 degrees, the angle difference between the third preset angle and the fourth preset angle is 180 degrees, and the angle between the fourth preset angle and the fifth preset angle The difference is 60 degrees, and the angle difference between the fifth preset angle and the sixth preset angle is 180 degrees. Accordingly, there can be as large a difference as possible between the two preset angles θ2 generated at different times, so as to prevent the initial
如圖1所示,因控制馬達2轉動仍需要驅動電路3,驅動電路3耦接磁場導向控制電路12與馬達2。磁場導向控制電路12包含交軸電流合併電路121、直軸電流合併電路122、控制電路123、逆派克轉換(Inverse Park Transform)計算電路124、向量產生器125、克拉克轉換(Clarke Transform)計算電路126以及派克轉換(Park Transform)計算電路127。其中,交軸電流合併電路121、直軸電流合併電路122、逆派克轉換計算電路124及派克轉換計算電路127耦接初始位置檢測電路11。控制電路123、逆派克轉換計算電路124、向量產生器125依序耦接在交軸電流合併電路121與驅動電路3之間,且控制電路123、逆派克轉換計算電路124、向量產生器125耦接在直軸電流合併電路122與驅動電路3之間。克拉克轉換計算電路126耦接驅動電路3與馬達2。派克轉換計算電路127耦接在克拉克轉換計算電路126與交軸電流合併電路121之間,且耦接在克拉克轉換計算電路126與直軸電流合併電路122之間。初始位置檢測電路11包含輸出端P1、P2、P3、P4,輸出端P1耦接交軸電流合併電路121,輸出端P2耦接直軸電流合併電路122,輸出端P3耦接派克轉換計算電路127及逆派克轉換計算電路124。As shown in FIG. 1, a driving
後續請一併參考圖1至圖4。其中,在一個實施例中,於步驟S01中,初始位置檢測電路11的輸出端P1所輸出的交軸測試電流指令S3的電流值為0安培,並由初始位置檢測電路11的輸出端P2輸出直軸測試電流指令S1至磁場導向控制電路12,且初始位置檢測電路11的輸出端P3輸出複數預設角度θ2至逆派克轉換計算電路124及派克轉換計算電路127。接著,在步驟S02中,磁場導向控制電路12之交軸電流合併電路121自初始位置檢測電路11的輸出端P1接收交軸測試電流指令S3,且自派克轉換計算電路127接收交軸回授電流S4(在馬達2之轉子轉動之前,交軸回授電流S4之電流值可具有一個初始值,且前述之初始值可為零)(步驟S021),交軸電流合併電路121將交軸測試電流指令S3及交軸回授電流S4合併後輸出。並且,以圖3A-3D為例,直軸電流合併電路122在開發者指定的六個週期中,自初始位置檢測電路11的輸出端P2接收六個直軸測試電流指令S1,且自派克轉換計算電路127接收為直軸回授電流之回授電流S2(在馬達2之轉子轉動之前,回授電流S2之電流值可具有一初始值,且前述之初始值可為零)(步驟S021),直軸電流合併電路122將直軸測試電流指令S1及回授電流S2合併後輸出。Please refer to Figure 1 to Figure 4 in the follow-up. Wherein, in one embodiment, in step S01, the current value of the quadrature axis test current command S3 output by the output terminal P1 of the initial
控制電路123在六個週期中的每一個週期,基於交軸電流合併電路121之輸出訊號及直軸電流合併電路122之輸出訊號產生對應為直流信號的直軸電壓訊號Vd及交軸電壓訊號Vq(步驟S022)。逆派克轉換計算電路124再於六個週期中的每一個週期根據直軸電壓訊號Vd、交軸電壓訊號Vq及初始位置檢測電路11於六個週期中發送的六個預設角度θ2基於式1.1執行逆派克轉換(步驟S023),以計算出各週期中對應於兩相靜止座標軸的兩交流電壓訊號Vα、Vβ。接著,向量產生器125於六個週期中的每一週期將交流電壓訊號Vα、Vβ進行空間向量脈波寬度調變,以控制三相所需之工作週期而輸出開關切換訊號Ta、Tb、Tc至包含反相器之驅動電路3(步驟S024),使驅動電路3於六個週期中的每一週期基於開關切換訊號Ta、Tb、Tc產生對應於三相靜止座標軸之三相交流電流Ia、Ib、Ic,即馬達驅動電流(步驟S025)以驅動馬達2之轉子轉動。
……(1.1)
In each of the six cycles, the
在馬達2之轉子轉動的同時,磁場導向控制電路12會擷取三相交流電流Ia、Ib、Ic,並透過其中的克拉克轉換計算電路126在六個週期中的每一個週期基於式1.2執行克拉克轉換(步驟S026),以將三相交流電流Ia、Ib、Ic轉換為對應兩相靜止座標軸之兩交流電流Iα、Iβ。派克轉換計算電路127在六個週期中的每一週期再執行派克轉換(步驟S027),以將交流電流Iα、Iβ及預設角度θ2基於式1.3將交流電流Iα、Iβ轉換為對應同步旋轉座標軸且為直流電流之交軸回授電流S4及回授電流S2,初始位置檢測電路11在步驟S03中即自派克轉換計算電路127接收對應於同步旋轉座標軸之d軸之六個回授電流S2,以判斷派克轉換計算電路127於預設時間區間內產生的六個回授電流S2中的哪一者具有最大的電流峰值,以由輸出端P4輸出轉子的初始角位置θ1。
……(1.2)
……(1.3)
While the rotor of the
最後,初始位置檢測電路11算出初始角位置θ1後,可再傳送至其他元件,而其他元件可再發送初始角位置θ1、及運轉時所需的直軸輸入電流命令與交軸輸入電流命令至磁場導向控制電路12,使磁場導向控制電路12據以控制馬達2轉動,進而避免馬達2在開始轉動時發生非預期的運轉狀況。Finally, after the initial
直軸測試電流指令S1的數量與精確度有很大的關係。如圖3A所示,直軸測試電流指令S1的數量設定為六個時,代表將一個圓周(轉子軌跡)分成六定位點,定位點的精度是60度。在其他實施例中,直軸測試電流指令S1的數量範圍為二至三百六十個,較佳為二個至十二個,最佳為六個。舉例而言,直軸測試電流指令S1的數量設定為十個時,代表將一個圓周(轉子軌跡)分成十定位點,定位點的精度是36度,更為精確。馬達轉子位置偵測裝置1之設計者可依據欲得到的初始角位置θ1之精度,自行設計直軸測試電流指令S1與對應之預設角度θ2的數量。The number of direct-axis test current commands S1 has a great relationship with accuracy. As shown in Figure 3A, when the number of direct-axis test current commands S1 is set to six, it means that a circle (rotor track) is divided into six positioning points, and the accuracy of the positioning points is 60 degrees. In other embodiments, the number of the direct-axis test current commands S1 ranges from two to three hundred and sixty, preferably two to twelve, and most preferably six. For example, when the number of direct-axis test current commands S1 is set to ten, it means that a circle (rotor track) is divided into ten positioning points. The positioning point accuracy is 36 degrees, which is more accurate. The designer of the motor rotor position detection device 1 can design the number of the direct-axis test current command S1 and the corresponding preset angle θ2 according to the desired accuracy of the initial angular position θ1.
在一實施例中,驅動電路3包含之反相器之電路結構可參照圖5,由圖5可知,在驅動電路3中並不需要設置任何的電阻以取樣三相交流電流Ia、Ib、Ic,且不需要為了取樣三相交流電流Ia、Ib、Ic而額外設置連接於取樣電流用電阻之放大器或是數位類比轉換器(DAC),因此進一步節省設置額外的硬體成本與電路空間。In one embodiment, the circuit structure of the inverter included in the
在一實施例中,請合併參照圖1及圖6,初始位置檢測電路11更包含電流產生器111、角度產生器112及處理電路113,處理電路113耦接電流產生器111及角度產生器112。處理電路113可基於高位準時間T1及低位準時間T2控制電流產生器111在預設時間區間內之各週期輸出複數直軸測試電流指令S1,且處理電路113可控制角度產生器112在預設時間區間內之各週期輸出對應每一直軸測試電流指令S1之預設角度θ2。另外,處理電路113可自派克轉換計算電路127接收回授電流S2,並且判斷各週期中所接收之回授電流S2的電流峰值,以判斷預設時間區間內中哪一回授電流S2的電流峰值為最大,並輸出對應之初始角位置θ1。處理電路113可基於有限狀態機(FSM)實現控制電流產生器111、角度產生器112及執行初始角位置θ1之輸出。在一實施例中,控制電路123可為適用於直軸電流以及交軸電流的閉迴路控制器,例如PID控制器。In one embodiment, please refer to FIGS. 1 and 6 together. The initial
另外,初始角位置θ1與預設角度θ2所在的值域都是處在由初始位置電路11、逆派克轉換計算電路124與派克轉換計算電路127三者所共同定義出的之運算用的虛擬向量空間(virtual vector space)(此向量空間係稱為定義域)。因此,在實施例中,初始位置檢測電路11所輸出之初始角位置θ1可以輸出給逆派克轉換計算電路124進行馬達2正式運轉時的計算。在另一實施例中,使用者可將輸出端P4外接一個轉換電路(圖1未顯示),以將此虛擬向量空間轉換成實體位置空間(real space),讓初始角位置θ1轉換成實體空間中的三維座標後,再進行後續處理。In addition, the value range of the initial angular position θ1 and the preset angle θ2 are all virtual vectors for calculations defined by the
另外,初始位置檢測電路11及磁場導向控制電路12可以微控制器(MCU)或其他具有控制及資料運算能力之控制器來實現。設計者可使用圖1、圖5與圖6所揭露之架構製成晶片,或是利用圖2至圖4所揭露之控制方法,將之寫成程式碼後燒入廠商所提供的平台,以構成平台上的應用程式(Application),此應用程式即可即時獲得馬達(轉子)初始位置。因為一般既有平台僅能用於控制馬達轉速,若有得知馬達初始位置需求,則須在額外設置硬體電路。若在使用一般既有平台且不想額外設置裝置的狀況下想得知初始位置,只需使用或是利用圖2至圖4所揭露之控制方法所形成的應用程式再結合馬達轉子位置偵測裝置1即可得知馬達轉子初始位置,非常方便。In addition, the initial
綜上所述,根據本案之馬達轉子位置偵測裝置之一實施例,初始位置檢測電路可取代一般市售之轉子位置感測器,且初始位置檢測電路可良好地結合於磁場導向控制電路而偵測出馬達轉子的初始角位置,馬達轉子位置偵測裝置之設計者不需額外調整磁場導向控制電路,當以微控制器實現馬達轉子位置偵測裝置時,設計者不需修改磁場導向控制電路所執行之磁場導向控制之程式碼。To sum up, according to an embodiment of the motor rotor position detection device of the present invention, the initial position detection circuit can replace the general commercially available rotor position sensor, and the initial position detection circuit can be well combined with the magnetic field guidance control circuit. The initial angular position of the motor rotor is detected. The designer of the motor rotor position detection device does not need to adjust the magnetic field guidance control circuit. When the motor rotor position detection device is implemented by a microcontroller, the designer does not need to modify the magnetic field guidance control. The code of the magnetic field-oriented control executed by the circuit.
並且,設計者可彈性地調整測試電流指令的數量以及各預設角度的角度值,以降低轉子的初始角位置誤判之情形發生,且在馬達的總線電流輸入線路上不需額外增加電流取樣電阻以及對應的放大器與數位類比轉換電路,可進一步節省額外的硬體成本。In addition, the designer can flexibly adjust the number of test current commands and the angle value of each preset angle to reduce the misjudgment of the initial angular position of the rotor, and there is no need to add additional current sampling resistors on the motor bus current input line And the corresponding amplifier and digital-to-analog conversion circuit can further save additional hardware costs.
雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although this case has been disclosed by the examples above, it is not intended to limit the case. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the case. Therefore, the scope of protection of this case The scope of the patent application attached hereafter shall prevail.
1:馬達轉子位置偵測裝置 11:初始位置檢測電路 111:電流產生器 112:角度產生器 113:處理電路 12:磁場導向控制電路 121:交軸電流合併電路 122:直軸電流合併電路 123:控制電路 124:逆派克轉換計算電路 125:向量產生器 126:克拉克轉換計算電路 127:派克轉換計算電路 2:馬達 3:驅動電路 S1:直軸測試電流指令 S2:回授電流 S3:交軸測試電流指令 S4:交軸回授電流 Vd:直軸電壓訊號 Vq:交軸電壓訊號 Vα:交流電壓訊號 Vβ:交流電壓訊號 Ia:三相交流電流 Ib:三相交流電流 Ic:三相交流電流 Iα:交流電流 Iβ:交流電流 T1:高位準時間 T2:低位準時間 Ta:開關切換訊號 Tb:開關切換訊號 Tc:開關切換訊號 θ1:初始角位置 θ2:預設角度 P1~P4:輸出端 S01~S05:步驟 S021~S027:步驟 1: Motor rotor position detection device 11: Initial position detection circuit 111: current generator 112: Angle generator 113: Processing circuit 12: Magnetic field guide control circuit 121: Quadrature axis current combining circuit 122: Direct axis current combining circuit 123: control circuit 124: Reverse Parker conversion calculation circuit 125: Vector generator 126: Clark conversion calculation circuit 127: Parker conversion calculation circuit 2: motor 3: drive circuit S1: Direct axis test current command S2: Feedback current S3: Quadrature axis test current command S4: Quadrature axis feedback current Vd: Direct axis voltage signal Vq: Quadrature axis voltage signal Vα: AC voltage signal Vβ: AC voltage signal Ia: Three-phase AC current Ib: Three-phase AC current Ic: Three-phase AC current Iα: AC current Iβ: AC current T1: High level time T2: Low level time Ta: switch signal Tb: switch signal Tc: switch signal θ1: Initial angular position θ2: preset angle P1~P4: output terminal S01~S05: Step S021~S027: steps
[圖1] 為根據本案之馬達轉子位置偵測裝置以及馬達轉子位置偵測裝置所控制之馬達之一實施例之功能方塊圖。 [圖2] 為根據本案之適於馬達之馬達轉子位置偵測方法之一實施例之流程圖。 [圖3A-3D] 為圖1中之測試電流指令、預設角度、回授電流及初始角位置之一實施例之波形圖。 [圖4] 為圖2中之一步驟之一實施例之流程圖。 [圖5] 為圖1中之驅動電路之一實施例之電路圖。 [圖6] 為圖1中之初始位置檢測電路之一實施例之功能方塊圖。 [Figure 1] is a functional block diagram of an embodiment of the motor rotor position detection device and the motor controlled by the motor rotor position detection device according to the present invention. [Figure 2] is a flow chart of an embodiment of a motor rotor position detection method suitable for a motor according to the present application. [FIGS. 3A-3D] are waveform diagrams of one embodiment of test current command, preset angle, feedback current and initial angular position in FIG. 1. [Figure 4] is a flowchart of an embodiment of one of the steps in Figure 2. [Fig. 5] is a circuit diagram of an embodiment of the driving circuit in Fig. 1. [Fig. [Fig. 6] is a functional block diagram of an embodiment of the initial position detection circuit in Fig. 1.
1:馬達轉子位置偵測裝置 1: Motor rotor position detection device
11:初始位置檢測電路 11: Initial position detection circuit
12:磁場導向控制電路 12: Magnetic field guide control circuit
121:交軸電流合併電路 121: Quadrature axis current combining circuit
122:直軸電流合併電路 122: Direct axis current combining circuit
123:控制電路 123: control circuit
124:逆派克轉換計算電路 124: Reverse Parker conversion calculation circuit
125:向量產生器 125: Vector generator
126:克拉克轉換計算電路 126: Clark conversion calculation circuit
127:派克轉換計算電路 127: Parker conversion calculation circuit
2:馬達 2: motor
3:驅動電路 3: drive circuit
S1:直軸測試電流指令 S1: Direct axis test current command
S2:回授電流 S2: Feedback current
S3:交軸測試電流指令 S3: Quadrature axis test current command
S4:交軸回授電流 S4: Quadrature axis feedback current
Vd:直軸電壓訊號 Vd: Direct axis voltage signal
Vq:交軸電壓訊號 Vq: Quadrature axis voltage signal
Vα:交流電壓訊號 Vα: AC voltage signal
Vβ:交流電壓訊號 Vβ: AC voltage signal
Ia:三相交流電流 Ia: Three-phase AC current
Ib:三相交流電流 Ib: Three-phase AC current
Ic:三相交流電流 Ic: Three-phase AC current
Iα:交流電流 Iα: AC current
Iβ:交流電流 Iβ: AC current
T1:高位準時間 T1: High level time
T2:低位準時間 T2: Low level time
Ta:開關切換訊號 Ta: switch signal
Tb:開關切換訊號 Tb: switch signal
Tc:開關切換訊號 Tc: switch signal
θ1:初始角位置 θ1: Initial angular position
θ2:預設角度 θ2: preset angle
P1~P4:輸出端 P1~P4: output terminal
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109207839U TWM601933U (en) | 2020-06-19 | 2020-06-19 | Motor rotor position detecting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109207839U TWM601933U (en) | 2020-06-19 | 2020-06-19 | Motor rotor position detecting device |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM601933U true TWM601933U (en) | 2020-09-21 |
Family
ID=74094627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109207839U TWM601933U (en) | 2020-06-19 | 2020-06-19 | Motor rotor position detecting device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM601933U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI809550B (en) * | 2021-11-04 | 2023-07-21 | 晶豪科技股份有限公司 | Method for determining initial rotor position of permanent magnet synchronous motor and motor device |
-
2020
- 2020-06-19 TW TW109207839U patent/TWM601933U/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI809550B (en) * | 2021-11-04 | 2023-07-21 | 晶豪科技股份有限公司 | Method for determining initial rotor position of permanent magnet synchronous motor and motor device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8941339B2 (en) | Apparatus and method for measuring position deviation of rotor of permanent magnet synchronous motor | |
EP3040690B1 (en) | Angle error correction device and angle error correction method for position detector | |
US8223521B2 (en) | Inverter device | |
US6738718B2 (en) | Method and apparatus for measuring torque and flux current in a synchronous motor | |
JP2014518604A (en) | Method and system for evaluating electrical connection between a motor controller and a motor | |
US10063166B2 (en) | Motor driving system, motor driving device, multi-axis motor driving system, and multi-axis motor driving device | |
JP5637155B2 (en) | Motor control device and motor control method | |
JP2001204190A (en) | Device for estimating initial magnetic pole position and its error adjustment method | |
Vukosavic et al. | Sensorless induction motor drive with a single DC-link current sensor and instantaneous active and reactive power feedback | |
TWI743850B (en) | Rotor position detector and detection method thereof | |
JP2022028237A (en) | Motor control system | |
TWM601933U (en) | Motor rotor position detecting device | |
JP7422291B2 (en) | Machine learning device and motor control device connected to the machine learning device | |
Otava et al. | Permanent magnet synchronous motor stator winding fault detection | |
JP2003219693A (en) | Drive unit for stepping motor | |
US20200195176A1 (en) | Device and method for controlling rotary electric machine | |
CN112042101B (en) | Pulse pattern generating device | |
US11228271B2 (en) | Control device for three-phase synchronous motor and electric power steering device using the same | |
JP4061446B2 (en) | Resistance value identification method and control device for synchronous motor | |
JP4312993B2 (en) | Inverter control method and apparatus | |
Kim et al. | High-Performance Permanent Magnet Synchronous Motor Control With Electrical Angle Delayed Component Compensation | |
JP3576827B2 (en) | Rotor position estimation device for synchronous motor | |
US11398785B2 (en) | Position detection and monitoring | |
US20240162843A1 (en) | Motor drive control device and fan unit | |
Guo et al. | A Vector Control Method of PMSM Using Single Phase Current Sensor |