無刷直流馬達 (bldc)
反電動勢為梯形、並內建霍爾輸出的無刷直流馬達。
分類: 馬達 · 種類: {"kind":"machine","model":"bldc"}
何時使用
用於依霍爾訊號換相的六步驅動。反電動勢為正弦且採磁場導向驅動時,改用表面式永磁同步馬達。
接腳
| 接腳 | 訊號域 | 意義 |
|---|---|---|
a |
電氣 | 定子 a 相,作電動機時電流流入 |
b |
電氣 | 定子 b 相,作電動機時電流流入 |
c |
電氣 | 定子 c 相,作電動機時電流流入 |
n |
電氣 | 星形中性點,可不接 |
shaft |
機械 | 機械軸,轉速單位為 rad/s |
ha |
訊號 | 霍爾訊號 a,0 或 1 |
hb |
訊號 | 霍爾訊號 b,比 a 晚 120 度 |
hc |
訊號 | 霍爾訊號 c,比 a 晚 240 度 |
常用參數
ke: Voltage made per unit of speed (預設值: 0.05)rs: Stator winding resistance per phase (預設值: 0.3)ls: Inductance of each phase (預設值: 1m)poles: Number of poles of the machine (預設值: 8)j: How strongly the rotor resists speeding up (預設值: 1m)
參數
| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 |
|---|---|---|---|---|
rs |
Ω | 0.3 | Stator winding resistance per phase | |
ls |
H | 1m | Inductance of each phase | |
ke |
V·s/rad | 0.05 | Voltage made per unit of speed | |
flat |
° | 120 | Width of the flat part of the voltage | |
poles |
— | 8 | Number of poles of the machine | |
j |
kg·m² | 1m | How strongly the rotor resists speeding up | |
b |
N·m·s/rad | 0 | Friction that grows with speed | |
w0 |
rad/s | 0 | Shaft speed at the start | |
theta0 |
rad | 0 | Rotor position at the start | |
hall0 |
rad | 0.5236 | Angle where the first Hall signal rises |
參數說明在兩種語言中都是英文。
模型
每一相滿足 v = rs·i + ls·di/dt + e,其中 e = ke·f(θe - k·120 度)·ωm,轉矩為 Te = ke 乘以 f(θe - k·120 度)·ik 的總和。函數 f 是單位梯形,平頂寬度為 flat 電氣角度,各相之間不耦合。兩相在平頂區各通過電流 I 時,Te = 2·ke·I。霍爾訊號 ha 從 hall0 起維持 180 電氣角度為高電位,hb 與 hc 分別晚 120 與 240 度。正轉時 ha hb hc 依序為 101、100、110、010、011、001。馬達自己不會換相,必須由換流器切換各相。
常見錯誤
- ke 是單一相對中性點的平頂反電動勢,單位為每機械 rad/s。規格書的線對線常數是它的兩倍,所以要除以 2,而且兩相導通時的轉矩常數是 2·ke。
- 固定的三相正弦電源不會換相。請用控制方塊依 ha、hb、hc 選出導通的兩相,並讓 hall0 維持預設的 30 度,使霍爾邊緣落在換相時刻。
- ha、hb、hc 是 0 或 1 的訊號,不是電壓,而 poles 是極數,不是極對數。沒有導通的相需要換流器中的續流路徑,例如 MOSFET 的本體二極體。
規格書與來源
rs 與 ls 取線對線電阻與電感的一半,ke 取線對線反電動勢常數(單位 V·s/rad)的一半,兩相導通時它也等於轉矩常數(單位 N·m/A)的一半。poles 與 j 取規格書的值,hall0 取自霍爾相位圖。
範例
以指令 file.openExample 開啟範例,名稱為 demo:bldc.
由 cargo xtask reference 依使用說明文字與參數規格產生,請勿手動編輯。