<<

Electromagnetic Actuator Modelling with the Extended Modelica Magnetic Library

Electromagnetic Actuator Modelling with the Extended Modelica Magnetic Library

Thomas Bödrich Dresden University of Technology, Institute of Electromechanical and Electronic Design 01062 Dresden, Germany [email protected]

Abstract fort needed for creation of rough magnetic network models and to the low computational effort for dy- Recently, an improved and extended version of a namic simulation compared to finite element tech- Modelica library for lumped network modelling of niques. electromagnetic devices has been released [1]. This A first realisation of a Modelica library for lumped library is intended for both rough design of the mag- network modelling of electromagnetic devices was netic circuit of those devices as well as for their sys- presented in [2]. This library was improved and ex- tem simulation. Improvements compared to a first tended and is now available [1]. Some of the impor- realisation of this library [2] will be discussed and tant improvements of the extended library compared utilization of the extended library for modelling of to the prior version are: electromagnetic actuators will be illustrated. To sup- • a more general approach for calculation of mag- port the work with this library, focus will be on netic reluctance forces (section 2), newly-implemented features and on peculiarities of • redesigned and extended components for represen- lumped network modelling of electromagnetic actua- tation of typical flux tube shapes (section 2), tors rather than on an introductory explanation of the • additional soft magnetic and permanent magnetic underlying concept of tubes. materials (section 3), Keywords: lumped magnetic network; electromag- • more accurate modelling of magnetic leakage netic/electrodynamic actuator; system design fields for dynamic simulation by splitting of the imposed by a coil into sepa- rate sources (section 4) and 1 Introduction • additional examples of different modelling depths. The well-established concept of magnetic flux tubes enables the modelling of magnetic fields with 2 Reluctance Force Calculation lumped networks. In the decades prior to the broad availability of software packages based on finite Generally, the thrust F developed by a translatory element techniques, this was the only efficient means electro-magneto-mechanical actuator (similar for the for model-based design of the of rotational case with torque and angular position) is electromagnetic devices such as transformers, motors equal to the change of magnetic co-energy W * with and electromagnetic or electrodynamic actuators. m armature position x according to The method of magnetic flux tubes, its utilization for ∂ ∂ the design of electromagnetic devices as well as F = Ψ di = W * ∫ m (1) derivation of the permeance of many flux tube ∂x (i) ∂x shapes are explained in-depth for example in [3], [4] and [5] and in condensed form in the documentation (Ψ flux linkage, i actuator current) [4]. In lumped of [1]. magnetic network models, the above equation sim- plifies to Even though finite element techniques allow for 1 nlinear dG more accurate calculation of magnetic fields, lumped 2 mi F = ∑ Vmag i (2) magnetic network models are still an efficient means 2 i=1 dx for initial rough design of electromagnetic devices and for simulation of their dynamic behaviour during where nlinear is the number of flux tube elements with system design. This is due to the relatively little ef- constant relative permeability that change their per-

The Modelica Association 221 Modelica 2008, March 3rd 4th, 2008 − T. B¨odrich

meance Gm i with armature position (index i), Vmag i pends on the design of the actuators magnetic circuit the magnetic voltage across each respective flux tube and on the definition of the armature coordinate x. and dGm i/dx the derivative of the respective per- To cover all possible conditions in a uniform way, meances with respect to armature position. Transi- the above derivative is calculated as follows for all tion from the general formula based on magnetic flux tubes with force generation of sub-package co-energy (Eq. (1)) to Eq. (2) is outlined in [4] for FluxTube.Force: the reciprocal of the permeance, i.e. for the magnetic dG dG dl reluctance. Compared to the reluctance force calcula- m = m . (4) tion with Maxwell’s formula used in [2], the dx dl dx newly-implemented approach according to Eq. (2) For the flux tubes defined in this package with their simplifies force calculation for air gaps different rather simple shapes, the derivative dGm /dl is given from a simple cylindrical or prismatic shape with analytically (Table 1). l is the flux tube dimension axial magnetic flux (see below). that changes with armature motion. dl /dx is an inte- The usability of Eq. (2) is not restricted solely to net- ger parameter that must be set to +1 or -1 according to the magnetic circuit and the definition of the ar- work models with constant relative permeabilities µr of the flux tubes. However, it is required that flux mature coordinate x of an actuator. For more com- tubes with a dependency of the permeability on the plex shapes and variations of dimensions with arma- flux density B such as ferromagnetic components ture motion, the derivative dGm /dl must be provided analytically during model development, prefer- with non-linear characteristics µr(B) do not change their shape with armature motion (e.g. portion of a ably by extending the partial model Flux- solenoid plunger where the magnetic flux passes Tube.Force.PartialForce. through in axial direction). This limitation is not a strong one, since the permeance of non-linear, high Table 1: Selected flux tube elements with reluctance permeable ferromagnetic flux tube elements and its force generation (subset of FluxTube.Force), change with armature position compared to that of permeance Gm and analytic derivative dGm /dl air gap flux tubes can be neglected in most cases. Because of this constraint, the dimensions of possi- (Hollow) cylinder with axial magnetic flux bly non-linear flux tube elements in sub-package µ µ A FluxTube.FixedShape are fixed, whereas the G = 0 r dimension l in direction of motion of the linear flux m l tube elements in sub-package FluxTube.Force dG µ µ A can vary during simulation. Elements with fixed m 0 r = − 2 shape are intended e.g. for modeling of transformer dl l cores or ferromagnetic sections of actuators. Force with A = π (r 2 − r 2 ) elements are to be used for modelling of working air o i gaps or for moving permanent magnets of actuators. Hollow cylinder with radial magnetic flux In order to fulfill Eq. (2) in a magnetic network model of a translatory actuator, the reluctance force µ µ 2π l F of each flux tube with force generation is calcu- G = 0 r m m ln r r lated in the respective element accordingly: ()o i 1 dG dG µ µ 2π 2 m . m = 0 r Fm = Vmag (3) 2 dx dl ln()ro ri

Vmag denotes the magnetic voltage across the flux tube and dGm /dx is the derivative of flux tubes per- Simple leakage flux tube around cylindrical or pris- meance Gm with respect to armature position x. matic poles Summation of all particular reluctance forces to the actuators net force F according to Eq. (2) is induced 2 µ0 t ⎛ π rleak ⎞ Gm = ln ⎜1+ ⎟ by connecting the translatory flange connectors of all π ⎝ 2 l ⎠ flux tube elements with force generation in an actua- dG µ t r tor model (see example in Figure 4b). m = − 0 leak dl ⎛ π r ⎞ In a particular actuator model, the derivative dGm /dx l 2 ⎜1+ leak ⎟ of the models flux tubes with force generation and ⎝ 2 l ⎠ hence the sign of the generated reluctance force de-

The Modelica Association 222 Modelica 2008, March 3rd 4th, 2008 − Electromagnetic Actuator Modelling with the Extended Modelica Magnetic Library

The leakage flux tube shown in Table 1 provides a of a device. It must be noted that a measured charac- simple but efficient means to account for leakage teristics µr(B) strongly depends on the shape, ma- around prismatic or cylindrical poles. In the latter chining state and heat treatment of a sample, and on case, depth t is equal to the circumference of a circle the measurement conditions. Hence, different char- given by the average radius of the flux tube. Due to acteristics are possible for similar materials as Figure the constant radius rleak of the leakage field, the 1 indicates. model is rather simple. In reality, rleak is approxi- mately constant for air gap lengths l greater than this M330-50A (machined, packeted) M350-50A (sheet sample) radius, but decreases with air gap lengths less than 8000

r M530-50A (sheet sample) rleak. This decrease for small air gaps is neglected in µ 7000 M700-100A (sheet sample) M940-50A (sheet sample) the model since the influence of the leakage flux 6000 tube compared to that of the enclosed main air gap 5000 (connected in parallel, see example in Figure 4b) 4000 decreases for decreasing air gap length l. 3000 The sub-package FluxTube.Leakage contains tive permeability 2000

flux tube shapes typical for leakage flux around Rela 1000 prismatic or cylindrical poles that do not change their 0 shape with armature motion. Hence, the permeance 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 of these flux tubes does not depend on armature po- Flux density B in T sition and these elements do not contribute to the Figure 1: Approximated magnetization characteris- thrust of a reluctance actuator. tics (solid lines) and original data points of included electric sheet materials (all valid for 50 Hz)

3 Modelling of Magnetic Materials Magnetization characteristics that are simulated with Eq. (5) are shown for an electric sheet as an example 3.1 Soft Magnetic Materials in the familiar form of flux density vs. field strength B(H) in Figure 2. The characteristics of the relative magnetic perme- ability versus flux density µr(B) of various steels, electric sheets (Figure 1) and high permeable materi- als are included in Material.SoftMagnetic. These characteristics are uniformly approximated with a function adapted from [6]:

µ −1+ c B B i a N with . µr = 1+ n BN = (5) 1+ cb BN + BN B µr =µmax This approach assures proper behaviour throughout the complete range of flux density. Overshoot and Figure 2: Simulated magnetic flux density vs. mag- extrapolation errors especially at high flux densities netic field strength B(H) of electric sheet M350-50A as possible with spline interpolation or with the Modelica Standard Library’s table interpolation with continuous derivative can not occur with properly 3.2 Hard Magnetic Materials chosen parameters. Two of the five parameters of Eq. (5) have a physical meaning, namely the initial For common permanent magnetic materials, typical relative permeability µi at B = 0 and the magnetic values for remanence Br ref and coercivity HcB ref at a flux density at maximum permeability B . Ad- reference temperature Tref and the temperature coef- µr =µmax dition of new soft magnetic materials requires de- ficient αBr of remanence are provided in sub-package termination of the function parameters with a non- Material.HardMagnetic (Figure 3). Records linear curve fit outside of the library. For the in- for additional materials can be defined as needed. cluded materials, attention was paid to accurate fits Linear demagnetization curves are modelled. The of µr for data points at high flux densities characteristic, temperature-dependent "knee" of (B > 0.8 T). This is because of the large influence of many permanent magnetic materials is not consid- saturated ferromagnetic materials on the behaviour ered, since proper design of permanent magnetic cir-

The Modelica Association 223 Modelica 2008, March 3rd 4th, 2008 − T. B¨odrich cuits should avoid operation of permanent magnets accuracy can be gained from an AdvancedSole- "below" that point due to partial demagnetization. As noidModel in which the coil-imposed magnetomo- a result, the temperature coefficient of coercivity is tive force (mmf) is split into two separate mmf not considered. Only the temperature coefficient of sources and the radial leakage flux between armature remanence αBr is accounted for, since this describes and yoke is accounted for with leakage permeance the dependency of the demagnetization curve on the GmLeakRad (Figure 4). This leakage affects the static temperature sufficiently for the region "above the force-stroke characteristic and the of an knee-point". Remanence Br and coercivity HcB that actuator and hence its dynamic behaviour especially are effective at a given operating temperature T are at large air gaps, as discussed below. calculated according to

Br = Br ref (1+α Br (T −Tref )), (6a)

HcB = HcB ref (1+α Br (T −Tref )) (6b) in the model Material.HardMagnetic.Per- manentMagnetBehaviour. Thus, the demag- netization curves shown in Figure 3 are shifted de- pending on the operating temperature T and the tem- perature coefficient of remanence αBr. Usage of the above-mentioned component and modelling of a per- manent magnet are demonstrated in the library in a) Examples.ElectrodynamicActutor.Mag- neticCircuitModel (Figure 9).

Remanence B in T Exemplary characteristics for 20°C r 1.4 NdFeB Sm2Co17 1.2 SmCo5 PlasticNdFeB 1.0 PlasticSmCo HardFerrite 0.8 PlasticHardFerrite 0.6

0.4

0.2

0.0 1000 900 800 700 600 500 400 300 200 100 0 Coercivity H in kA/m cB b)

Figure 3: Modelled demagnetization characteristics Figure 4: Magnetic network model of an exemplary of included common permanent magnetic materials solenoid actuator: a) Permeances superimposed on FEA field plot (half-section) for illustration; b) Com- plete actuator model including electrical subsystem 4 Modelling of Electromagnetic Simulation of lumped magnetic network models with Actuators multiple mmf sources is easily possible for the sta- tionary case where the coupling between the electri- As an example of a reluctance actuator, a simple axi- cal and the magnetic domain according to Faraday’s symmetric lifting magnet with planar end planes of law armature and pole is modelled in sub-package Ex- dΦ amples.ElectromagneticActuator of the u = −w (7) library. Two lumped magnetic network models of dt different modelling depth are included. In a Sim- (u voltage induced in a coil at change of magnetic pleSolenoidModel, radial leakage that is typical flux dΦ/dt, w number of turns) needs not to be con- for tubular reluctance actuators is neglected. Higher sidered. For dynamic simulation, however, split mmf

The Modelica Association 224 Modelica 2008, March 3rd 4th, 2008 − Electromagnetic Actuator Modelling with the Extended Modelica Magnetic Library sources are challenging due to the strong interactions radial leakage between armature and yoke and the between the electrical and magnetic domain given by more accurate FEA-based model of Figure 5 is com- Faraday’s law (Eq. (7)) and Ampere’s law pared. All curves were derived from a quasi-static V = i w (8) forced movement of the models armature at a given, mag constant voltage. The negative sign of the actuator (Vmag magnetic voltage across mmf source, i current). force is due to the definition of the armature coordi- Eq. (7) and Eq. (8) are implemented in the electro- nate x which is equal to the length of the working air magnetic converters coil1 and coil2 of Figure 4b. gap.

The parasitic capacitances cpar1 and cpar2 are required The static force-stroke characteristics F(x)|i = const of to ensure definite voltages across both halves of the all three models are similar. However, differences coil. The values of the auxiliary resistors Rpar1 and between both network models can be observed for Rpar2 have been chosen so that simulation is numeri- the magnetic flux through the armature and for the cally stable and fast. static inductance Lstat = ψ / I, especially at large air In order to evaluate the accuracy in static and dy- gaps where the leakage permeance GmLeakRad is large namic behaviour to be achieved with the above-men- compared to the net permeance GmAirWork + GmLeakWork tioned lumped network models, a dynamic model of of the air gap region. The differences in static induc- the example actuator based on more accurate finite tance between both network models will result in element analysis (FEA) has been created as a refer- different dynamic behaviour of both models, as ence (Figure 5). In this model, one of several possi- Figure 7 indicates. bilities to describe an electromagnetic actuator’s dy- namic behaviour with look-up tables obtained from stationary FEA is implemented. Here, the actuator ] N F force F(x, I) and the flux linkage ψ(x, I) were calcu- [ e c lated for different fixed armature positions x and sta- r tionary currents I with FEA. The derived tabular Fo function ψ(x, I) was inverted to I(x, ψ) as required in the model. The voltage across the current source iCoil is according to Kirchhoff’s voltage law for the actuator’s electrical subsystem, which is given by b] W [ dΨ (x,i) x

u = iRcoil + (9) u dt fl re u (u voltage across coil terminals p and n, i current, t ma r (saturation) Rcoil coil resistance). A

different behaviour ] of network models [H t a

st at large air gap L

e c n a t c u d in ic t a t S

Armature position x [m] Figure 6: Comparison of stationary behaviour of a simple lumped magnetic network model without ra- dial leakage, the network model of Figure 4b with Figure 5: Dynamic model of sample actuator based radial leakage and the FEA-based model of Figure 5 on look-up tables obtained from stationary FEA Differences in model behaviour during a simulated In Figure 6, the accuracy in stationary behaviour to pull-in stroke of the armature are shown in Figure 7. be achieved between the network model of Figure 4, At time t = 0, a voltage step is applied to both lumped the above-mentioned simple network model without network models and to the FEA-based model of the

The Modelica Association 225 Modelica 2008, March 3rd 4th, 2008 − T. B¨odrich actuator. The characteristic current drop during density of the permanent magnetic field were calcu- pull-in is due to the motion-induced emf and to the lated with FEA as a reference (Figure 8b, half-sect- increase of the inductance with decreasing air gap. ion). Figure 9 shows a Modelica model of that actua- One can see that the simulated current rise of the tor intended for dimensioning of the actuator’s mag- network model with radial leakage is closer to that of netic circuit and winding and for subsequent dy- the FEA-based reference model than the current rise namic simulation at the system level. This example of the simple network model without radial leakage. is included as MagneticCircuitModel in pack- As a result, the magnetic force of latter model shows age Examples.ElectrodynamicActuator of the fastest rise and simulated armature motion is the library. faster than that of the FEA-based model.

RmFeBot RmFeOut RmPM leakage

S ] A

i N [ t

n (non-exponential rise e r r due to non-linear material) Cu differences in current rise due to radial leakage

RmFeCore RmAir xmin xmax x ferromagnetic permanent concentric coil stator magnet ring = armature ]

m a) b) [ x

on Figure 8: Translatory electrodynamic actuator: i

sit a) Structure; b) FEA field plot of permanent mag- po e

r netic field and partitioning into flux tubes u t a (bouncing at stopper) m Ar

time t [s] Figure 7: Comparison of the models dynamic behav- iour with a simulated pull-in stroke (voltage step ap- plied at time t = 0)

5 Modelling of Electrodynamic Actuators

Similar to the well-known behavioural model of a rotational DC-Machine, the electro-mechanical con- version process of translatory electrodynamic actua- tors (either moving coil or moving magnet type) can be described with a motor constant cm: Figure 9: Dynamic model of the electrodynamic FL = cm i , (10a) actuator of Figure 8 with lumped magnetic network ui = cm v . (10b) for determination of motor constant and inductance

FL denotes the electrodynamic or Lorentz force, i the current, ui the induced back-emf and v the velocity of Although the formula for estimation of the total the armature. During design of such actuators, the Rm tot perceived by the coil is motor constant as well as the motor inductance can rather simple in this model, comparison with FEA be determined by means of a lumped magnetic net- showed that it is well-suited for initial rough design work model of an actuator’s magnetic circuit. and system simulation of the actuator. The relative As an example, Figure 8a shows the principal struc- difference of the inductance 2 ture of an axisymmetric translatory electrodynamic Lcoil = w Rm tot (11) actuator with moving coil. The flux lines and the flux

The Modelica Association 226 Modelica 2008, March 3rd 4th, 2008 − Electromagnetic Actuator Modelling with the Extended Modelica Magnetic Library

(w number of turns) compared to more accurate FEA tube elements can be extended so that hysteresis is is -12% for the armature in mid-position. For useful considered. operating currents, the relative differences of the air It is planned to include the developed library into the gap flux density and the resulting Lorentz force to Modelica Standard Library after an evaluation pe- the values obtained with FEA are within -5% to -8%. riod. This accuracy is sufficient for both initial actuator design and system simulation. References

6 Summary and Outlook [1] Bödrich, T.: Modelica_Magnetic library. http://www.modelica.org/libraries/ (Oct 11, New features and improvements of a Modelica li- 2007) brary for lumped network modelling of electromag- [2] Bödrich, T.; Roschke, T.: A Magnetic Library netic devices [1] were presented. Two examples, an for Modelica. Proc. of 4th International Mod- electromagnetic and an electrodynamic translatory elica Conference, Hamburg, March 7-8, 2005, actuator showed that magnetic network models can pp. 559-565 be used efficiently for the rough design of such de- [3] Roters, H.: Electromagnetic Devices. New vices. These examples are included in the respective York: John Wiley & Sons 1941 sub-packages of the library and can thus be exam- [4] Kallenbach, E.; Eick, R.; Quendt, P.; Ströhla, ined in depth. T.; Feindt, K.; Kallenbach, M.: Elektromag- Despite the simplicity of the presented models, their nete: Grundlagen, Berechnung, Entwurf und accuracy is sufficient for preliminary design, as com- Anwendung. 2nd ed. Wiesbaden: B.G. Teub- parisons with more accurate FEA revealed. The di- ner 2003 mensions, cross-sections and winding parameters [5] Hendershot, J.R. Jr.; Miller, T.J.E.: Design of found with magnetic network models can be input Brushless Permanent-Magnet Motors. Magna data to a subsequent detailed design with FEA or Physics Publishing and Oxford University similar techniques, if necessary. Press 1994 A suitable approach for lumped network modelling [6] Roschke, T.: Entwurf geregelter elektromag- of leakage fields for dynamic simulation was dis- netischer Antriebe für Luftschütze. Fortschr.- cussed in detail. Insertion of appropriate leakage per- Ber. VDI Reihe 21 Nr. 293. Düsseldorf: VDI meances into a magnetic network model requires Verlag 2000 splitting of a devices coil into separate mmf sources. This is challenging due to the multiple couplings between the electrical and the magnetic domain in such a model. For some electromagnetic devices, lumped network modelling is not possible or reasonable due to dis- tinct leakage fields, complex pole shapes or - with certain actuators - flux tubes and network structures that vary considerably with armature motion. Exam- ples of such devices are inductors without a closed core or proportional solenoids. In this case, dynamic models for system simulation can be created with look-up tables obtained from stationary FEA or simi- lar techniques. One of several possible structures of such a model is shown in section 4. At present, network modelling of translatory actua- tors is supported by the library. If needed, the pro- vided model components can be adapted to network modelling of rotational devices. Hysteresis of ferro- magnetic materials is currently neglected, since the intention of the library is to support the rough design of electromagnetic devices where a limited accuracy is often sufficient. If necessary, the provided flux

The Modelica Association 227 Modelica 2008, March 3rd 4th, 2008 −