Voltecx 目前為測試版。macOS 版先推出,Windows 與 Linux 安裝包仍在測試中。測試版。macOS 版先推出,Windows 與 Linux 版仍在測試。⁠最新消息
文件

磁場轉矩 (magnetics.fieldTorque)

元件參考 · English

選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 背景工作,有進度與取消

預覽功能:在「編輯 › 偏好設定 › 模擬」開啟預覽功能,或執行 preview.set {"enabled":true}。回覆會帶有 preview: true 與說明。

以下參數與說明取自指令本身的定義,與 CLI、Python 及 MCP 讀到的文字相同,因此保留英文。

說明

Preview. Builds a permanent-magnet machine (surface magnets magnetized parallel to their centre line, north and south in turn, or interior magnets magnetized across their centre line; open sector slots), meshes the smallest sector the slot and pole numbers allow with its sides tied periodic or anti-periodic, and turns the rotor through an air-gap sliding band. At each angle: the torque on the rotor of the whole machine by Arkkio's stress-tensor average over the stator's ring of the air gap (N·m, anticlockwise positive), and each phase's flux linkage λ = L·turns·Σ±(∫A dS/S) over its coil sides. With speedRpm, the back-EMF e = ω dλ/dθ by central differences (wrapping around when the sweep is one whole period). Linear iron unless ironBh, magnets on their recoil line unless magnetDemagCurve; slot and magnet edges fall on the nearest mesh cell. A job: progress counts the angles, and cancel stops before the next one. Changes nothing.

參數

  • slots: int (a multiple of 3, 3 to 360)
  • poles: int (even, 2 to 360)
  • rotor: "surface|interior|vShape"="surface" (surface: magnets on a solid iron rotor, magnetized radially, north and south in turn; interior: the flux-concentrating rotor of design.motor's rotor "interior", one magnet buried at each pole boundary between iron pole pieces on a non-magnetic hub, magnetized azimuthally so that each pair drives its pole piece north or south; vShape: two bar magnets per pole buried in the rotor iron in a V opening towards the air gap, magnetized across the bar into the pole between them, with iron ribs at the centre post and under the gap; its ribs short the magnets until they saturate, so give ironBh)
  • rotorRadiusMm: number (surface: outer radius of the rotor iron, under the magnets; interior: outer radius of the rotor, the pole pieces; vShape: outer radius of the rotor iron)
  • magnetThicknessMm: number (surface: radial thickness; interior: thickness along the magnetization at the rotor's outer radius, a wedge of the angle magnetThicknessMm/rotorRadiusMm, below the pole pitch there; vShape: a bar's width, along its magnetization)
  • magnetArc: number (surface: share of the pole pitch a magnet spans, above 0 to 1; vShape, required: share of the pole pitch between a pole's two bar centre lines at their outer ends, above 0 and below 1; not taken by interior)
  • magnetDepthMm: number (interior and vShape, required: the magnets' radial depth from the rotor's outer radius, below rotorRadiusMm; interior: the hub inside is non-magnetic; vShape: the V's bars run from that depth, at the d axis, out to ribMm under the gap)
  • ribMm: number (vShape only, required: the iron of the centre post between a pole's two bars and of the bridge between each bar and the air gap; each bar must stay ribMm/2 clear of the q axis)
  • barrierMm: number=0 (vShape only: an air pocket this long at the outer end of each bar, along the bar, between the magnet and the bridge, so only the bridge still carries the magnet's flux round its end; it takes that much of the bar's length from the magnet, and must leave some)
  • airGapMm: number (magnet surface to stator bore)
  • slotDepthMm: number
  • slotWidth: number (share of the slot pitch a slot spans, above 0 and below 1; slots are open sectors)
  • outerRadiusMm: number (stator outer radius, held at A = 0)
  • stackLengthMm: number
  • ironMuR: number (relative permeability of the rotor and stator iron, linear; not used by the solve when ironBh is given)
  • ironBh: [[H,B]]? (the rotor and stator iron's B-H table from its data sheet, A/m and T, from [0,0] with H and B both rising, 2 to 200 points; past the last point the slope is μ0. With it the iron saturates: each angle is solved by Newton's method on the tied sector)
  • magnetBrT: number (remanence, 0 to 3 T, from the magnet's data sheet)
  • magnetMuR: number (recoil permeability, from the data sheet)
  • magnetDemagCurve: [[H,B]]? (the magnet grade's normal demagnetization curve at its working temperature from the same data sheet, A/m and T, 2 to 200 points from [0, Br] with H and B both falling through the knee, its Br within 1 % of magnetBrT; the magnets then take the curve's Br and follow it for a reverse field along their magnetization, a forward or crosswise one staying on the recoil line at magnetMuR, and each angle is solved by Newton's method on the tied sector; reversible unless magnetIrreversible)
  • magnetIrreversible: bool=false (with magnetDemagCurve only: keep the irreversible loss, the angles solved in order and each magnet cell of the rotor recoiling at every later angle along a line of slope μ0·magnetMuR from the lowest point it has reached on the curve, with the reduced remanence Br' = B − μ0·magnetMuR·H there; the cell's two triangles take the lower point)
  • turns: number=1 (series turns of one coil side)
  • winding: "auto|distributed|concentrated"="auto" (distributed: a 60° phase belt per slot, single layer; concentrated: a coil around each tooth, double layer; auto: distributed when the slots per pole and phase are a whole number, else concentrated)
  • divisionsPerSlot: int=12 (cells per slot pitch on the stator, 2 to 200, even for a concentrated winding)
  • divisionsPerPole: int=24 (cells per pole pitch on the rotor, 2 to 200)
  • symmetry: "smallest|full"="smallest" (solve the smallest periodic or anti-periodic sector, or the whole cross-section)
  • startDeg: number=0 (first rotor angle, mechanical degrees, anticlockwise)
  • stopDeg: number? (default one cogging period, 360/lcm(slots, poles), at zero current, else one electrical period, 720/poles)
  • steps: int=24 (angles from startDeg in equal steps up to, not including, stopDeg; 1 to 720)
  • currents: {"A":A,"B":A,"C":A}? (constant phase currents; default none, the cogging torque)
  • speedRpm: number? (for the back-EMF; default none)

回覆

  • machine:{slots,poles,rotor:"surface"|"interior"|"vShape",winding,sector:{angleDeg,copies,antiPeriodic},coggingPeriodDeg,layout:[{slot,left,right}] (the coil side in each half slot, A+ to C−)}
  • points:[{angleDeg,torqueNm,fluxLinkageWb:{A,B,C},emfV?:{A,B,C},magnetReverseHAm? (with magnetDemagCurve: the largest reverse field along the magnetization in the magnets, A/m),magnetPastKneePct? (with magnetDemagCurve when it holds a knee: the share of the magnet area past it, %),magnetBrLossPct? (with magnetIrreversible: the area-weighted mean remanence the magnets have lost after this angle, % of Br),magnetMaxBrLossPct? (the most any magnet element has lost, %)}]
  • torque:{meanNm,minNm,maxNm,peakToPeakNm}
  • emfPeakV?:{A,B,C}
  • model:{nodes,elements,solverVersion,iron:"linear"|"bh",bhPoints?,magnets:"recoil"|"demagCurve",irreversible?:true (with magnetIrreversible),demagPoints?,magnetBrT (the remanence solved with: magnetBrT, or the curve's Br),iterations:[per angle] (conjugate-gradient iterations, over every Newton step with ironBh or magnetDemagCurve)}
  • warnings:[{code,message,messageZh,data}] (planarModel with the stack length as the depth in m; linearMaterial for the rotor and the stator iron at ironMuR, left out with ironBh; the magnets are on their recoil line or magnetDemagCurve and are not listed)
  • demagnetization?:{kneeHAm (where the curve's intrinsic J = B − μ0H falls to 0.9 Br, the data sheets' H_k; null when the curve ends before it),worstReverseHAm,worstAngleDeg,maxPastKneePct,anglesPastKnee,irreversible:bool,finalBrLossPct?,maxBrLossPct?,areaWithLossPct? (with magnetIrreversible: after the last angle, the mean and largest remanence lost, % of Br, and the share of the magnet area with any loss, %)} (with magnetDemagCurve; a demagnetization warning when any angle is past the knee)
  • notes:[{en,zh}]
  • preview
  • previewNote