pub struct FieldWeakening {
pub pole_pairs: f64,
pub d_inductance: f64,
}Expand description
effects.field_weakening: the permanent-magnet synchronous motor in d-q axes. The one winding is the q axis, scaled as
the module comment says (current the RMS phase current, voltage three times the RMS phase voltage); the d axis is
scaled alike, so that R, L and the voltage limit are the winding’s and the flux linkage is ke / pole pairs. With the
electrical speed w = pole pairs * shaft speed:
u_q = R i_q + L_q di_q/dt + ke speed + w L_d i_d, u_d = R i_d - w L_q i_q, u_q^2 + u_d^2 <= U^2,
torque = kt i_q + pole pairs (L_d - L_q) i_d i_q.
Above base speed the drive sets a negative d current, the least that brings the voltage within the circle
(DriveParams::d_current_for); i_q^2 + i_d^2 is the RMS phase current squared.
Fields§
§pole_pairs: f64§d_inductance: f64d-axis inductance as the winding has it (three times the phase value); the q axis’s is DriveParams::inductance.
Trait Implementations§
Source§impl Clone for FieldWeakening
impl Clone for FieldWeakening
Source§fn clone(&self) -> FieldWeakening
fn clone(&self) -> FieldWeakening
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FieldWeakening
Source§impl Debug for FieldWeakening
impl Debug for FieldWeakening
Source§impl<'de> Deserialize<'de> for FieldWeakening
impl<'de> Deserialize<'de> for FieldWeakening
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for FieldWeakening
impl PartialEq for FieldWeakening
Source§fn eq(&self, other: &FieldWeakening) -> bool
fn eq(&self, other: &FieldWeakening) -> bool
self and other values to be equal, and is used by ==.