CONTROL METHODS FOR SMOOTH OPERATION OF PERMANENT SYNCHRONOUS AC MOTORS

Greg Heins

A thesis for the degree of Doctor of Philosophy at the School of Engineering and Logistics Charles Darwin University, Australia

Submitted on March 31, 2008. ii Declaration

I hereby declare that the work herein, now submitted as a thesis for the degree of Doctor of Philosophy of the Charles Darwin University, is the result of my own inves- tigations, and all references to ideas and work of other researchers have been specifically acknowledged. I hereby certify that the work embodied in this thesis has not already been accepted in substance for any degree, and is not being currently submitted in candidature for any other degree. iv Abstract

Many applications require a motor capable of providing a smooth torque output. The use of control methods to ensure smooth operation is attractive because it minimises restrictions on motor design and manufacture. Programmed reference current wave- form (PRCW) methods are a commonly proposed control method as they have the ability to work at a range of speeds and load torques, however their experimental implementation to date has been inconclusive. This research compares three published PRCW methods with a standard sinusoidal current waveform. For the test motor considered, all PRCW methods tested are able to reduce the RMS pulsating torque to approximately 3−4% down from the 8−9% created when using a sinusoidal current. While this is a substantial reduction, no method was clearly superior. One method however, the time domain method, produced slightly better results. Further reduction in pulsating torque requires a greater accuracy in motor and controller parameter estimation. To achieve this further reduction, this thesis develops a ‘pulsating torque decoupling’ (PTD) method where the parameters are determined from the pulsating torque itself. The use of this technique allows calibration of the critical parameters and produces a further reduction of the pulsating torque to approximately 1%. As with the uncal- ibrated results, the difference between the different PRCW methods is minimal, with the time domain method producing only slightly less pulsating torque. These results suggest PRCW methods can be effective in producing a smooth torque output if the relevant parameters are estimated to a suitable accuracy. The use of the PTD method presented in this thesis can achieve this required accuracy.

v vi List of publications

As of the March 31, 2008, the following papers with contributions from the results presented in this thesis have been published, or are under review:

[36] Greg Heins, Friso de Boer, Jeroen Wouters, and Roel Bruns Experimental com- parison of reference current waveform techniques for pulsating torque minimiza- tion in PMAC motors. In International Electric Machines and Drives Conference (IEMDC ’07), volume 1, pages 1031–1035, Antalya, Turkey, 2007.

[35] Greg Heins, Friso De Boer, and Sina Vafi. Characterisation of the mechanical motor parameters for a PMSM using induced torque harmonics. In Australian Universities Power Electronics Conference, Perth, 2007.

[34] Greg Heins and Friso De Boer. Modeling of a synchronous to determine reference current waveforms. In Australian Universities Power Electronics Conference, Brisbane, 2004.

vii viii Acknowledgments

This thesis would not have happened without the guidance and patience of Friso de Boer and Nic Hannekum. It would certainly not be finished yet without the assistance of Charles Darwin University staff members: David Van Munster, Mark Thiele and Jim Mitroy and Eindhoven University of Technology students: Roel Bruns, Jeroen Wouters, Pieter Poels and Erik Grassens. I am also grateful for the support of L’institut Francais de Mecanique Avancee students: David Ahounou, Pascal Magnan, Gabriel Caroux, Ben Errard, Nick Ferriere and Florian Barnet, Ecole Superieure d’Ingenieurs student: Vincent Lafont and Charles Darwin University students: Jasveer Saini, James Canning and Charles Gammon. Towards the end, somewhere between listening to Up all night by The Waifs and the soundtrack to Mission Impossible, things inevitably went somewhat pear shaped. I was very grateful for the love and support from Kelly Mashford, my folks: Terry and Diana, and my sister Karen.

ix x .

To Gaz. I have always been a fan of enthusiasm. You have big mobs of it.

xi xii Contents

Declaration iii

Abstract v

List of publications vii

Acknowledgments ix

Table of Contents xvi

List of Figures xx

List of Tables xxi

List of Symbols xxviii

Abbreviations xxix

1 Introduction 1 1.1 Background ...... 2 1.2 Research goal ...... 7 1.3 Research approach ...... 7 1.4 Chapter overview ...... 8

2 Review: Programmed reference current waveform methods 9 2.1 PMAC mathematical model ...... 9 2.2 Fundamental control problem ...... 11 2.3 PRCW methods ...... 12

xiii CONTENTS

2.4 Goals and constraints ...... 13 2.5 Frequency domain method (FDM) ...... 13 2.6 Time domain method (TDM) ...... 19 2.7 ‘Park-like’ method (PLM) ...... 22 2.8 Experimental implementation ...... 24 2.9 Implementation challenges ...... 25 2.10 Summary of PRCW methods ...... 28

3 Review: determination of motor parameters 31 3.1 Back EMF ...... 31 3.2 Cogging torque ...... 33 3.3 Current ...... 39 3.4 Position ...... 40 3.5 Sensitivity analysis ...... 40 3.6 Summary of methods for determination of motor parameters ...... 41

4 Theoretical comparison of reviewed methods 43 4.1 Methodology ...... 43 4.2 Parameter and constraint variation ...... 44 4.3 Performance with different back EMFs (without cogging torque) .... 44 4.4 Comparison of cogging torque compensation ...... 49 4.5 Upper frequency limit constraint ...... 52 4.6 Summary of theoretical comparison of PRCW methods ...... 53

5 Pulsating torque decoupling approach to motor parameter determi- nation 55 5.1 Motor model overview ...... 56 5.2 Decoupling of pulsating torque: determination of current imbalance and cogging torque ...... 58 5.3 Modifications if only dynamic torque measurement is available ..... 62 5.4 System gain determination ...... 64 5.5 Sensitivity analysis ...... 66 5.6 Summary of PTD approach to motor parameter determination ..... 67

xiv CONTENTS

6 Experimental setup 69

6.1 Motor description ...... 69

6.2 Review of past implementation problems ...... 70

6.3 Mechanical design ...... 70

6.4 Current control design ...... 75

6.5 Data acquisition ...... 80

6.6 Experimental setup summary ...... 83

7 Results 85

7.1 Validity of assumptions ...... 85

7.2 Current controller ...... 91

7.3 Eddy current brake testing ...... 95

7.4 Parameter determination ...... 95

7.5 Parameter determination - PTD method ...... 103

7.6 Comparison of PRCW methods ...... 109

7.7 Sensitivity analysis ...... 113

7.8 Summary of results ...... 115

8 Discussion 119

8.1 Experimental setup ...... 119

8.2 Parameter estimation ...... 121

8.3 Comparison of PRCW methods ...... 122

9 Conclusion 127

9.1 Further work ...... 129

References 131

A Hardware design 141

A.1 Hardware overview ...... 141

A.2 Mechanical drawings ...... 142

A.3 Electrical Design ...... 154

xv CONTENTS

B Additional Calculations 159 B.1 Design and sizing of eddy current brake ...... 159 B.2 Modal analysis of experimental setup ...... 164

C Additional results 165 C.1 Theoretical sensitivity analysis ...... 165 C.2 Pulsating torque for PRCW methods ...... 166 C.3 Pulsating torque comparison within methods ...... 171

xvi List of Figures

2.1 Fundamental PMAC torque control scheme ...... 12 2.2 PRCW control scheme ...... 12

3.1 FBD for motor ...... 36 3.2 FBD for rotor ...... 37 3.3 FBD for ...... 37

4.1 Current and torque output for sinusoidal back EMF ...... 45 4.2 Current and torque output for trapezoidal back EMF ...... 46 4.3 Performance of different methods if one phase has a magnitude variation 48 4.4 Performance of different methods if one phase has a phase variation .. 49 4.5 Ability of each method to compensate 1Nm of cogging torque at different harmonics ...... 50 4.6 Comparison of currents with and without a star connection constraint . 51 4.7 Ability of each method to compensate 1Nm of cogging torque at different harmonics ...... 52

5.1 Block diagram of parameters to be determined ...... 57 5.2 Block diagram of parameters to be determined (simplified) ...... 58 5.3 Block diagram of parameters to be determined (simplified) ...... 62

5.4 ~α, β~, ~τcog variation leading to 1% RMS ~τmeas ...... 67

6.1 Stylised motor assembly cross section - full detail see A.2.2 ...... 73 6.2 CDU Experimental Setup (Magnet portion of the eddy current brake has been removed for clarity) ...... 75

xvii LIST OF FIGURES

6.3 Full bridge drive topology ...... 76 6.4 Star connected drive topology ...... 76 6.5 SimulinkTMmodel of current controller ...... 79 6.6 Screen shot of LabviewTMvirtual instrument ...... 83

7.1 External drive for measurement of back EMF ...... 86 7.2 Raw back EMF over the angular velocity range ...... 87 7.3 Mean normalised back EMF ...... 88 7.4 Percentage error of normalised back EMF over the angular velocity range 89 7.5 Proportionality of torque to current ...... 90 7.6 Bode plot of Plant ...... 92 7.7 Simulated step response of system ...... 92 7.8 Current controller performance ...... 94 7.9 Current error ...... 95 7.10 Harmonic content of back EMF ...... 98 7.11 Error from truncation of back EMF ...... 99 7.12 Dynamically measured cogging torque (one mechanical revolution) ... 100 7.13 Dynamically measured cogging torque (one electrical revolution) .... 101 7.14 Dynamically measured cogging torque error (one mechanical revolution) 101 7.15 Dynamically measured cogging torque error (one electrical revolution) . 102 7.16 Measured cogging torque harmonics ...... 103 7.17 System transfer function estimation ...... 104 7.18 System transfer function estimation (no multiple of 8 harmonics) .... 105 7.19 Decoupling the pulsating torque (time domain) - (‘rest’ is the remaining pulsating torque for which the source is unknown) ...... 107 7.20 Decoupling the pulsating torque (frequency domain) - (‘rest’ is the re- maining pulsating torque for which the source is unknown) ...... 107 7.21 Determined cogging torque for different set-points ...... 108 7.22 Cogging torque error for different set-points ...... 108 7.23 Comparison of PRCW methods (* refers to the use of the star connection constraint) ...... 110 7.24 Uncalibrated sin wave method ...... 111

xviii LIST OF FIGURES

7.25 TDM - without star connection constraint ...... 112 7.26 Comparison of PRCW current waveforms (* refers to the use of the star connection constraint) ...... 113 7.27 RMS current increase from PRCW methods (* refers to the use of the star connection constraint) ...... 114 7.28 Sensitivity of pulsating torque to a α error ...... 115 7.29 Sensitivity of pulsating torque to a β error ...... 116

∗ 7.30 Sensitivity of pulsating torque to a ~τcog error ...... 116 7.31 Sensitivity of pulsating torque to a  error ...... 117

8.1 Pulsating torque due to current controller error ...... 124

A.1 CDU motor test assembly ...... 142 A.2 Overview of electrical components ...... 154 A.3 Overview of current inverter ...... 155 A.4 Closeup of gate drive and MOSFET module ...... 155 A.5 Current sensor board with LEM LTS25NP ...... 156 A.6 Labview interface board ...... 156 A.7 DSP interface board ...... 157

B.1 Assembled eddy current brake ...... 160 B.2 Expected torque from eddy-current brake ...... 163 B.3 Results of modal analysis ...... 164

C.1 Sensitivity of pulsating torque to parameter variation ...... 166 C.2 FDM - without star constraint ...... 167 C.3 FDM - with star constraint ...... 167 C.4 TDM - without star constraint ...... 168 C.5 TDM - with star constraint ...... 168 C.6 SIN ...... 169 C.7 FDM - without star constraint ...... 169 C.8 FDM - with star constraint ...... 170 C.9 TDM - with star constraint ...... 170

xix LIST OF FIGURES

C.10 FDM (frequency domain) ...... 171 C.11 TDM (frequency domain) ...... 172

xx List of Tables

2.1 Back EMF and current harmonic combinations responsible for torque harmonics (including star connection constraints) ...... 17

4.1 Performance of PRCW methods with a sinusoidal back EMF ...... 45 4.2 Performance of PRCW methods with a trapezoidal back EMF ..... 47 4.3 Performance of PRCW methods with a modified trapezoidal back EMF 51

7.1 Induced scaling and offset errors and the found compensating values .. 109 7.2 Average total RMS current usage increase over operating range ..... 113

xxi LIST OF TABLES

xxii List of Symbols

 = overall system gain independent of ~α, β~ and ~τcog,

DSP Ki = DSP integral gain,

Ko = system gain,

Kp = controller gain,

DSP Kp = DSP controller gain,

λ = Lagrange multiplier,

νo = 63% rise time, op = current inverter offset for phase p,

∗ op = current inverter supply offset for phase p,

ω = mechanical angular velocity (rad/sec),

τo = delay time,

θ = mechanical rotor position (rad),

Θ = total number of encoder states,

θe = electrical rotor position (rad),

Ti = integral time constant, ts = sample time, up = torque transducer gain for phase p,

xxiii LIST OF SYMBOLS

∗ up = estimated torque transducer gain for phase p, wp = current inverter gain for phase p,

∗ wp = estimated current inverter gain for phase p, m = harmonic number of torque series, n = harmonic number of back EMF and current series,

P = number of pole pairs,

αp = current scaling error in phase p,

~α = 3 × 1 vector of current scaling error,

GAA(ω) = input auto spectrum,

GBB(ω) = output auto spectrum,

βp = current offset error in phase p,

β~ = 3 × 1 vector of current offset error,

C = Lagrange cost constraint,

γ2(ω) = coherence,

C1,θ = Lagrange cost constraint at angle θ,

∗ = matrix multiplication operator,

GAB(ω) = cross spectrum,

C2,θ = Lagrange cost constraint at angle θ,

Eθ,p = back EMF for phase p at angle θ (V s/rad),

Eθ,p = back EMF for phase p at encoder point θ (V s/rad),

÷ = element-wise division operator,

• = element-wise multiplication operator,

xxiv LIST OF SYMBOLS f = Lagrange minimization function at,

A(ω) = frequency input function, fθ = Lagrange minimisation function at angle θ,

B(ω) = frequency output function,

H(ω) = frequency response function,

H1(ω) = alternate frequency response function,

Icog = Θ × 3 matrix of the current required to compensate for torque (A),

Iˆn = current Fourier series coefficients,

I~τref = Θ × 3 matrix of the current required to achieve the reference torque (A),

I = Θ × 3 matrix of the current (A)(NOT the identity matrix),

Iref = Θ × 3 matrix of the reference current (A),

ref iθ,p = reference current for phase p at angle θ (A),

iθe,a = current in phase a at electrical angle θe (A), iθ,a , iθ,b , iθ,c = currents in three phase reference frame at at angle θ (A), iθ,d , iθ,q , iθ,0 = currents in rotating reference frame at at angle θ (A), iθ,p = current in phase p at angle θ (A),

~ Iˆ = ? × 1 vector of current coefficients,

~ip = Θ × 1 vector of the current in phase p (A),

Kˆn = normalised back EMF Fourier series coefficients,

K = Θ × 3 matrix of the back EMF (V s/rad),

Kˆ = ?×? matrix of the back EMF coefficients,

kθe,a = normalised back EMF for phase a at electrical angle θe (V s/rad),

xxv LIST OF SYMBOLS

kθ,a , kθ,b , kθ,c = normalised back EMFs in three phase reference frame at at angle θ (V s/rad), kθ,d , kθ,q , kθ,0 = normalised back EMFs in rotating reference frame at at angle θ (V s/rad), kθ,p = normalised back EMF for phase p at angle θ (V s/rad),

~kp = Θ × 1 vector of the normalised back EMF of phase p (V s/rad),

λ1,θ = Lagrange multiplier at angle θ,

λ2,θ = Lagrange multiplier at angle θ,

~λ = Θ × 1 vector of Lagrange multipliers,

L = limit chosen for the truncation of the back EMF series,

M = limit chosen for the torque harmonics to be canceled,

N = limit chosen for the truncation of the current series,

~ 1Θ×1 = Θ × 1 vector of ones,

Npole pair = number of pole pairs,

Nslot = number of stator slots,

~o = 3 × 1 vector of the current inverter offset,

~o∗ = 3 × 1 vector of the estimated current inverter offset,

1 = Θ × 3 matrix of ones,

+ = pseudo-inverse operator,

Q = Lagrange minimization objective,

Qθ = Lagrange minimization objective at angle θ,

τaverage = average torque output,

∗ ~τcog = Θ × 1 vector of the cogging torque estimate (Nm),

xxvi LIST OF SYMBOLS

cog τ = cogging torque at electrical angle θe (Nm), θe

cog τθ = cogging torque at angle θ (Nm),

cog∗ τθ = estimate of cogging torque at angle θ (Nm),

~τcog = Θ × 1 vector of the cogging torque (Nm),

em T = Θ × 3 matrix of the electromagnetic torque (Nm),

em τ = electromagnetic torque at electrical angle θe (Nm), θe

em τ = electromagnetic torque produced by phase a at electrical angle θe (Nm), θe,a

em τ = electromagnetic torque produced by phase p at electrical angle θe (Nm), θe,p

em τθ = electromagnetic torque at angle θ (Nm),

~τem = Θ × 1 vector of the electro-magnetic torque (Nm),

~τem,p = Θ × 1 vector of the electromagnetic torque produced by phase p (Nm),

Tˆm = total electromagnetic torque Fourier series coefficients,

Tˆm,a = electromagnetic torque Fourier series coefficients for phase a,

~ 13×1 = 3 × 1 vector of ones,

m τθ = motor torque at angle θ (Nm),

~τm = Θ × 1 vector of the motor torque (Nm),

meas τθ = measured torque at angle θ (Nm),

∗ ~τpulsating = Θ × 1 vector of the pulsating torque estimate (Nm),

~τpulsating = Θ × 1 vector of the pulsating torque (Nm),

~τmeas = Θ × 1 vector of the measured torque (Nm),

ref τ = reference torque at electrical angle θe (Nm), θe

ref τθ = reference torque at angle θ (Nm),

xxvii LIST OF SYMBOLS

~τref = Θ × 1 vector of the constant reference torque (Nm),

~ Tˆ = ? × 1 vector of torque coefficients,

~u = 3 × 1 vector of the torque transducer gain,

~u∗ = 3 × 1 vector of the estimated torque transducer gain,

~w = 3 × 1 vector of the current inverter gain,

~w∗ = 3 × 1 vector of the estimated current inverter gain,

∗ X = Θ × 6 matrix of torque and back EMF estimate,

X = Θ × 6 matrix of torque and back EMF,

~y = 9 × 1 vector of scaling and offset errors,

~0 = Θ × 1 vector of zeros,

~z = Θ × 1 vector of residuals,

xxviii Abbreviations

AC

BLDC Brushless DC machines

DC

EMF electro-motive force

FBD free body diagram FDM frequency domain method FEA finite element analysis

MC numerically controlled MCM ‘minimum current’ method

PLM Park-like method PMAC permanent magnet synchronous AC PRCW programmed reference current waveform PTD pulsating torque decoupling

RMS root mean squared

TDM time domain method

xxix Abbreviations

xxx Chapter 1

Introduction

Smooth torque output is desirable in many applications. Traditionally, for permanent magnet synchronous AC (PMAC) motors this smooth torque has been achieved using carefully designed motors that are manufactured to close tolerances[40].

The potential exists for a well designed control system to avoid these design and manufacture restrictions. One of the most popular control schemes proposed to achieve this goal is the use of programmed reference current waveforms (PRCW). These wave- forms are determined from prior knowledge of the motor parameters.

To date however, the experimental implementation of these methods has been inconclusive, mainly due to challenges in acquiring the prior knowledge of the motor parameters to a significant accuracy.

The goal of this research is to determine if, for motors requiring a smooth torque output, PRCW methods can be serious contenders to replace the current technology of careful motor design and manufacture.

To focus the discussion, smooth operation is defined and an overview of various motor types is provided. Justification for using control methods to achieve smooth operation is given and this research is focused on PRCW control methods. The tasks to be completed are listed along with an overview of the content of the following chapters.

1 CHAPTER 1. INTRODUCTION

1.1 Background

1.1.1 Smooth operation

Motors with a smooth output torque are essential for applications that require precise tracking. These applications include arc welding, laser cutting, numerically controlled (NC) machining and antenna tracking [1], [24]. The existence of pulsating torque can have a negative impact on processes. One such example is the impact of pulsating torque on the surface finish when using rotary machine tools [40]. Pulsating torque also has the potential to excite resonances in the mechanical drive-train of a system along with the production of acoustic noise [37], [78].

1.1.2 Synchronous alternating current machines

Electric machines are classified as either alternating current (AC) or direct current (DC) machines. AC machines can be further classified as asynchronous (induction), or synchronous.

• DC machines are simple to control, however they require regular maintenance due to the sliding contact of their brushes.

• AC asynchronous machines (induction machines) are the most widely used mo- tors due to their low cost, however they are less efficient and unable to be con- trolled as accurately as other types of machines.

• AC synchronous machines offer a level of control comparable with DC machines while avoiding the maintenance issues associated with brushes. Control however, is more difficult because of their requirement for a variable frequency drive with accurate position feedback.

• One category of AC synchronous machines with trapezoidal back EMF and rectangular current excitation are often referred to as Brushless DC machines (BLDC), because of the similar output characteristics.

2 1.1. BACKGROUND

Three-phase permanent magnet AC synchronous (PMAC) machines

AC synchronous machines can be further differentiated by the way that the rotating (rotor) magnetic field is generated. This can either be by electromagnets or by perma- nent . Machines that use electromagnets can create a higher power to weight ratio, however they are less efficient due to the losses associated with the current re- quired in the field windings. The use of electromagnets also requires brushes and slip rings to transfer the field current to the rotor. Synchronous PMAC machines are also classified by the number of independent windings, or phases. To achieve smooth torque production with evenly spaced phase  360o  windings phase offset = number of phases , at least 3 phases are required. The focus of this thesis is on the analysis and testing of three-phase synchronous permanent magnet AC machines. For the remainder of this thesis, the abbreviation ‘PMAC’ will refer this style of machines.

Rationale of studying PMAC machines

PMAC machines avoid the maintenance issues associated with DC motors and are superior to other AC motors in terms of controllability and efficiency. With the intro- duction of high performance rare-earth magnets, PMAC machines have been capable of improved dynamic performance and higher efficiency [25]. Due to the need for sophisticated controllers and in some cases, the cost of rare-earth magnets, PMAC machines have been a more expensive option. In the last few decades however, the price of power electronic components and rare earth magnets has decreased [62]. For smaller motor sizes (up 10 - 15kW) PMAC machines are increasingly the machine of choice for servo drives and vehicle applications [25].

1.1.3 Pulsating torque

PMAC machines generate torque by the interaction between the magnetic flux from the permanent magnets in the rotor and the magnetic flux from the electromagnets in the stator (stationary part of the motor). The term pulsating torque refers to any periodic variation in the torque output of a motor. It is created in two ways: cogging torque and torque ripple. Ambiguity exists

3 CHAPTER 1. INTRODUCTION for the description of pulsating torque mechanisms. However, this thesis will use the terms defined by Jahns and Soong in their 1996 paper: Pulsating torque minimisation techniques for permanent magnet AC motor drives - a review [40].

Cogging torque

In a PMAC machine, the electromagnets that make up the stator usually have steel cores. Copper windings fill the space between consecutive steel cores. Hanselman [31] [p111] describes cogging torque as “the torque created when the rotor permanent magnets attempt to align themselves with the maximum amount of ferromagnetic material”, i.e. the permanent magnets on the rotor have a much greater attraction to the steel cores than to the copper windings. Even without any current flowing in the motor, torque needs to be applied to ‘cog’ from where the magnets align to one set of cores to where the magnets align to the next set of cores.

Torque ripple

The interaction between the magnetic flux from the rotor and stator can be charac- terised by the shape of the voltage induced in each phase winding by motor motion (back EMF). Torque is created in PMAC machines through the interaction of the back EMF waveform in each phase and the current waveform in that phase. For a three phase machine, if the back EMF from the rotor is purely sinusoidal and the current in each of the three phases is also purely sinusoidal then the torque will be constant. Alternatively, a trapezoidal back EMF excited by a square wave current will also result in a constant torque. Torque ripple is the term applied to any periodic variation in torque created when either of these waveforms deviate from ideal waveforms.

1.1.4 Control methods for smooth operation

Torque ripple is minimised by optimising the interaction between the phase currents and the phase back EMF waveforms. This optimisation can be achieved by either mechanical means (altering the back EMF shape) or by electrical means (altering the current waveform) [40].

4 1.1. BACKGROUND

There are two major disadvantages of motor modification methods: design trade- offs and the accurate manufacturing process required.

Design trade-offs

Sometimes the modification of motor design to reduce cogging torque can have a nega- tive impact on torque ripple. In their 2002 paper Analysis of torque ripple in a BDCM [79](p1293), Zeroug, Boukais, and Sahraoui describe this effect for a brushless DC ma- chine. Efforts to reduce either cogging torque or torque ripple can also have a negative effect on average torque [29], [6].

Manufacturing tolerances

Jahns and Soong [40] noted that: “techniques which require a high accuracy of as- sembly, magnetisation, magnet placement or dimensions may prove to be impractical for low-cost, high volume production.” If pulsating torque is to be minimised by me- chanical means, high accuracy manufacture is required, limiting the practicality for low-cost, high volume production.

Control method benefits

In contrast to the motor design approach, the control based approach allows motors to be designed for maximum average torque and minimum manufacturing cost. Ripples can be removed that were created by a design that maximises average torque or by manufacturing inaccuracies. A control based approach can use feedback information from a torque transducer, however the associated cost and complexity is usually prohibitive. This research will focus on reducing pulsating torque using only current and position feedback informa- tion.

1.1.5 Programmed reference current waveform PRCW methods

Jahns and Soong [40], characterised control methods for minimising pulsating torque into five categories:

1. commutation torque minimisation;

5 CHAPTER 1. INTRODUCTION

2. speed loop disturbance rejection;

3. high speed current regulator saturation;

4. estimators and observers; and

5. programmed current waveform control.

Of these categories, commutation torque minimisation is only relevant to motors with a trapezoidal back EMF driven by a square wave current (120o electrical), high speed current regulator saturation is only relevant for high speed operation and speed loop disturbance rejection is only relevant for low speed operation. Most estimator and observer methods require a very high resolution position signal to be effective at low speed [59],[20]. They can also have difficulty coping with load fluctuations unless adaptive control is used [14]. Some research has been done on this problem by using adaptive control [29], [76], [52]. Control systems benefit most from adaptive control when parameters are time varying. This research only considers the implementation of programmed current wave- form methods under a set of operating conditions where the parameters are time invari- ant. Under different operating conditions, parameters may vary and adaptive control may be beneficial. This is a subject for further work (see section 9.1). Of the methods suggested, only PRCW control has the potential to work at all speeds and work independently of the applied load. As such, research focuses on these methods.

1.1.6 Previous implementation of PRCW methods

Despite the potential of PRCW methods in theory, Jahns and Soong [40] commented that: “experimental verification of the proposed harmonic injection techniques is gen- erally weak”. Since 1996, further work has been done on PRCW methods however no clear experimental verification has been published. In 2004, Bianchi and Cervaro [6] suggested that “The suppression of the torque ripple of SPM machines is a problem that is not completely solved”. The major challenges to the experimental implementation of these methods are:

6 1.2. RESEARCH GOAL

1. the determination of motor parameters to a suitable accuracy;

2. accurate torque measurement;

3. the provision of a smooth load to the motor; and

4. the presence of mechanical resonances in the experimental setup.

1.2 Research goal

In view of the limited experimental implementation and verification of PRCW methods, this research will use a motor with an inherently high pulsating torque and a well designed experimental setup to compare the different PRCW methods. In doing so, it will be determined if any of the methods can achieve a smooth torque comparable to that of a motor specifically designed for that goal. The rationale behind the use of a motor with high pulsating torque is to consider the extreme case. Methods that can reduce the pulsating torque of such a motor to an acceptable level should be applicable for machines with lower initial pulsating torque.

1.3 Research approach

Completion of the research goal involved the following tasks:

1. A literature review of:

• published PRCW methods for minimising pulsating torque; and

• existing methods for determination of motor parameters.

2. A theoretical comparison of the published methods to determine the conditions under which each is the preferred method;

3. A theoretical evaluation of alternative motor parameter determination methods;

4. Design of an experimental setup that overcomes the challenges described in sec- tion 1.1.6; and

5. Experimental comparison of:

7 CHAPTER 1. INTRODUCTION

• motor parameter determination techniques;

• different PRCW methods; and

• motor parameter sensitivities.

1.4 Chapter overview

To explain the tasks outlined above, chapter 2 discusses published PRCW methods and chapter 3 describes the parameter determination which is critical to the success of these methods. Chapter 4 theoretically compares the published PRCW methods based on various back EMF and cogging torque motor parameters. Chapter 5 proposes a ‘pulsating torque decoupling’ (PTD) approach for accurate motor parameter determination and theoretically analyses that method. Chapter 6 discusses the challenges and solutions involved in creating the experimen- tal setup and chapter 7 reports the results of the experiments. Results are discussed in chapter 8 and conclusions are made in chapter 9. The drawings and calculations for the detailed design of the test rig and computer controlled power supply are presented in the appendices along with additional results.

8 Chapter 2

Review: Programmed reference current waveform methods

The introduction presented the problem of pulsating torque in PMAC motors and focused this research on programmed reference current waveform (PRCW) methods. This chapter reviews past research into these control methods to provide a background for the theoretical comparison discussion in chapter 4, and for the experimental setup design described in chapter 6.

A mathematical model for a PMAC motor is presented and the general control problem is considered. Three published PRCW methods are discussed. To allow later comparison, each method has been explained in a common nomenclature which may differ slightly from the original published nomenclature.

The last section of the chapter reviews the experimental implementation of PRCW methods and discusses the challenges previous researchers have highlighted from their experimental work.

2.1 PMAC mathematical model

Control of PMAC motors relies on a mathematical model. This model is derived from a relationship between mechanical and electrical power and is based on several assumptions.

9 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

2.1.1 Assumptions and Constraints

1. Back EMF is proportional to angular velocity, and independent of current: Maxwell’s equation states that the back EMF across a phase is proportional to the speed of the machine [38].

2. Torque produced is proportional to phase currents: The Lorentz force equation states that the instantaneous torque produced by a particular phase winding is proportional to the phase currents [38].

3. DC bus voltage: For the purposes of this comparison, speed limits imposed by a finite voltage source are not considered.

2.1.2 General Model Equation

For a three phase , electrical power is given by the product of the current and voltage. Mechanical power is given by the product of the torque and the speed. Assuming an efficiency of 100%, the relationship between the mechanical and electrical power is given by [31](eq 8.1):

em X τθ ω = iθ,pEθ,p (2.1) p=a,b,c where:

θ = mechanical rotor position (rad) em τθ = electromagnetic torque at angle θ (Nm) ω = mechanical angular velocity (rad/sec)

iθ,p = current in phase p at angle θ (A)

Eθ,p = back EMF for phase p at encoder point θ (V s/rad).

This equation is simplified by assuming the back EMF is proportional to angular velocity, allowing En to be defined by a normalised waveform scaled by the mechanical Eθ,p rotor speed. ( ω = kθ,p). Equation 2.1 becomes: em X τθ = iθ,pkθ,p (2.2) p=a,b,c where:

10 2.2. FUNDAMENTAL CONTROL PROBLEM

kθ,p = normalised back EMF for phase p at angle θ (V s/rad).

If cogging torque is considered then the total torque is:

m em cog τθ = τθ + τθ (2.3) X cog = iθ,pkθ,p + τθ p=a,b,c

where:

m τθ = motor torque at angle θ (Nm) cog τθ = cogging torque at angle θ (Nm)

It should be noted that this equation is based on the mechanical position and mechanical angular velocity, however some of the methods below are based on the electrical position and angular velocity. In a complete mechanical revolution of the motor, there will be an electrical revolution for each pair of poles. Therefore:

θe = P θ (2.4)

where:

θe = electrical rotor position (rad) θ = mechanical rotor position (rad) P = number of pole pairs

2.2 Fundamental control problem

The most basic form of the control problem considered has three inputs to the con- troller, torque reference, current feedback and position feedback. The output of the controller is the EMF applied to the ends of each of the three phases. This control scheme is shown in figure 2.1.

11 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

Figure 2.1: Fundamental PMAC torque control scheme

2.3 PRCW methods

PRCW methods split the fundamental control problem into two parts. A current reference generator uses predetermined information about the back EMF and cogging torque to determine the current for a particular position. The current controller ensures that the actual current follows the current commanded by the current reference block. This scheme is shown in figure 2.2.

Figure 2.2: PRCW control scheme

Previous researchers have taken a number of different approaches, of which the most popular are:

1. Frequency domain method (FDM) where the normalised back EMF (k) is defined as a Fourier series which leads to a definition of the current reference (i) as a

12 2.4. GOALS AND CONSTRAINTS

Fourier series [43], [38], [32], [10], [9] and [6].

2. Time domain method (TDM) where k is defined as an array of values for each encoder value θ. This array is then used to determine i as an array [75].

3. ‘Park-like’ method (PLM) where a modification of field oriented control is used to determine i in a rotating reference frame [30], [46], [59],[12], [11] and [58].

2.4 Goals and constraints

The primary goal of each of these methods is to minimise pulsating torque. This may include the requirement to suppress cogging torque. For the FDM and the TDM there is an additional constraint to minimise RMS current. Depending on the topology of the motor there may be an additional ‘star connection’ constraint to ensure that the sum of all currents at any time is zero.

2.5 Frequency domain method (FDM)

This analysis follows that presented by Hung and Ding [38]. It is similar to that presented by Le-Huy [43], Hanselman [32] and Bianchi and Cervaro [6]. Chapman, Sudhoff and Whitcomb [10], [9] describe this method as the ‘minimum current no ripple’ method. They present a further addition to this method which they describe as the ‘minimum current minimum ripple’ method [10], [9]. This addition allows the designer to place more emphasis on either the ripple minimisation constraint or the current minimisation constraint. This modification however, adds considerable complexity to the analysis and studies have shown [10], [34] that there is negligible benefit to be gained by allowing more torque ripple in an attempt to further minimise the current.

2.5.1 Assumptions

This method requires several further assumptions to those outlined in section 2.1.1:

1. All phases have the same back EMF and current waveform shapes and are 120o out of phase.

13 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

2. The back EMF waveform is identical for each electrical revolution (allowing the

analysis to be done in terms of θe instead of θ.

2.5.2 Parameter descriptions

Back EMF

For this method, the back EMF is converted into an exponential Fourier series (trigono- metric Fourier series in [10]). It should be noted that this analysis is done in electrical degrees rather than mechanical degrees.

∞ X ˆ jnθe kθe,a = Kne (2.5) n=−∞ where:

kθe,a = normalised back EMF for phase a at electrical angle θe (V s/rad)

θe = electrical rotor position (rad) n = harmonic number of back EMF and current series

Kˆn = normalised back EMF Fourier series coefficients

Further:

1 Z 2π ˆ −jnθe Kn = (kθe,a)e (2.6) 2π θe=0 ˆ ˆ It is worth noting that since kθe,a is real, Kn and K−n are complex conjugates.

Current

It is assumed that the current and electromagnetic torque can also be represented as a Fourier series.

∞ X ˆ jnθe iθe,a = Ine (2.7) n=−∞ where:

iθe,a = current in phase a at electrical angle θe (A)

Iˆn = current Fourier series coefficients

14 2.5. FREQUENCY DOMAIN METHOD (FDM)

k and i can be found by replacing θ with (θ − 2π ). k and i can be θe,b θe,b e e 3 θe,c θe,c 2π found by replacing θe with (θe + 3 ).

Electromagnetic torque in each phase

It is also assumed that the electromagnetic torque produced by each phase can be represented by a Fourier series. For phase a, the electromagnetic torque is then given by:

∞ em X jnθe τ = Tˆm,ae (2.8) θe,a m=−∞ where:

em τ = electromagnetic torque produced by phase a at electrical angle θe θe,a (Nm)

Tˆm,a = electromagnetic torque Fourier series coefficients for phase a m = harmonic number of torque series

The combination of the current and back EMF harmonics can be modeled as a convolution sum so:

∞ X Tˆm,a = Kˆm−nIˆn (2.9) n=−∞

Total electromagnetic torque

The total electo-magnetic torque produced will be a sum of the three phase torques.

∞ 2π 2π em X jmθe jm(θe− ) jm(θe+ ) τ = Tˆm,ae + Tˆm,be 3 + Tˆm,ce 3 (2.10) θe m=−∞ From the assumption that the back EMF and current harmonics are the same for all phases: Tˆm,a = Tˆm,b = Tˆm,c, equation 2.10 can be rewritten as:

∞  2π 2π  em X jmθe jm(θe− ) jm(θe+ ) τ = Tˆm,a e + e 3 + e 3 (2.11) θe m=−∞ Which can be simplified to:

15 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

∞   em X 2πm jmθe τ = Tˆm,a 1 + 2cos( ) e (2.12) θe 3 m=−∞  2π 2π  jm(− 3 ) jm(+ 3 ) 2πm By noting that : 1 + e + e = 1 + 2cos( 3 ), equations 2.12 and 2.9 can be combined to determine an expression for the coeffients of the total torque harmonics:

∞ X  2πm  Tˆ = Kˆ Iˆ 1 + 2cos( ) (2.13) m m−n n 3 n=−∞ Now:

2πm 1 + 2 cos = 3 n = ±3, ±6, ±9 ... (2.14) 3 2πm 1 + 2 cos = 0 n 6= ±3, ±6, ±9 ... (2.15) 3 So:

∞ X Tˆm = 3 Kˆm−nIˆn n = ±3, ±6, ±9 ... (2.16) n=−∞ As expected, consideration of equations 2.9 and 2.16 suggests that the total torque is three times the torque produced by each phase.

2.5.3 Torque ripple and RMS current minimisation

The relationship between back EMF, current and generated torque harmonics can be seen clearly in Table 2.1 which is a modification of Table 1 presented by Favre, Cardoletti and Jufer [23]. The ‘0’ harmonics are those responsible for average torque creation. Those marked with an x would create torque harmonics, however a star connection constraint ensures that there are no current harmonics that are multiples of three. It is worth noting not only which harmonics will combine to create torque ripple, but conversely, which harmonics must be present in order to cancel out particular cogging torque harmonics. For example if the back EMF is purely sinusoidal, the fifth and seventh current harmonics are required to cancel out a sixth harmonic in the cogging torque.

16 2.5. FREQUENCY DOMAIN METHOD (FDM)

Table 2.1: Back EMF and current harmonic combinations responsible for torque har- monics (including star connection constraints)

Kˆn 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 0 3 3 6 6 9 9 12 12 15 15 18 2 3 0 6 3 9 6 12 9 15 12 18 15 3 x x x x x 4 3 6 0 9 3 12 6 15 9 18 12 21 5 6 3 9 0 12 3 15 6 18 9 21 12 6 x x x x x 7 6 9 3 12 0 15 3 18 6 21 9 24 8 9 6 12 3 15 0 18 3 21 6 24 9

Iˆn 9 x x x x x 10 9 12 6 15 3 18 0 21 3 24 6 27 11 12 9 15 6 18 3 21 0 24 3 27 6 12 x x x x x 13 12 15 9 18 6 21 3 24 0 27 3 30 14 15 12 18 9 21 6 24 3 27 0 30 3 15 x x x x x 16 15 18 12 21 9 24 6 27 3 30 0 33 17 18 15 21 12 24 9 27 6 30 3 33 0

17 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

Limits of series

So far the limits of the Fourier series have been considered infinite. In practice, a limit needs to be chosen for each of the series. To ensure that equation 2.16 is not under-constrained, the limit of the current harmonics (N) must be greater or equal to the limit of the back EMF harmonics (L). N can be equal to L as long as L is not a multiple of three. The largest torque harmonic that can be cancelled is equal to the sum of the current and back EMF harmonics (M = N + L). This is particularly important to consider when cogging torque harmonics need to be cancelled.

Matrix representation

Equation 2.16 can be represented in matrix form by:

~ ~ Kˆ Iˆ = Tˆ (2.17)

where:

Kˆ = matrix of the back EMF coefficients ~ Iˆ = vector of current coefficients ~ Tˆ = vector of torque coefficients

As long as the system of equations defined in equation 2.17 is over-constrained, an additional constraint to ensure the current is minimised can be added. By using the minimum norm solution, the optimal current can be defined as:

~ˆ ˆ T ˆ ˆ T −1 ~ˆ Ioptimal = K (KK ) T (2.18)

2.5.4 Cogging torque suppression

~ If cogging torque suppression is required, the first element of Tˆ should be the average torque required and the remaining elements should be the negative of the cogging torque Fourier coefficients. In this way the torque ripple should cancel out the cogging torque.

18 2.6. TIME DOMAIN METHOD (TDM)

2.5.5 Star connection constraint

In the frequency domain, the addition of a star connection constraint requires that there are no current harmonics that are multiples of three. If this is required, the rows of Kˆ that correspond to these harmonics should be removed.

2.6 Time domain method (TDM)

2.6.1 Parameter descriptions

This method follows the analysis presented by Wu and Chapman [75]. The back EMF is defined as an array of values for each discrete value of θ. This array is then used directly in calculations to define the reference current.

2.6.2 Torque ripple and RMS current minimisation

The optimisation is done using the method of Lagrange multipliers where the objective Q is defined and subjected to a cost constraint C. The optimal solution is found by differentiating the resulting function with respect to i. Objective to be minimised (RMS current):

X 1 Q = (i )2 (2.19) θ 2 θ,p p=a,b,c em Cost constraint: deviation of electromagnetic torque from reference torque (τθ - ref τθ ):

  X ref C1,θ =  kθ,piθ,p − τθ (2.20) p=a,b,c Overall function:

fθ = Qθ + λ1,θC1,θ (2.21)

so:

  X 1 X f = (i )2 + λ k i − τ ref (2.22) θ 2 θ,p 1,θ  θ,p θ,p θ  p=a,b,c p=a,b,c

19 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

∂fθ This function will be minimised with respect to iθ,p when = 0. Taking this ∂iθ,p partial derivative of equation 2.22, expressions are found for optimal current:

iθ,p = −λ1,θkθ,p (2.23)

λ1,θ , however is still unknown. To find the optimal value of λ1,θ requires setting ∂f θ = 0, which gives: ∂λ1,θ

ref X τθ = kθ,piθ,p (2.24) p=a,b,c This implies that the cost function is satisfied.

To find an expression for λ1,θ that is independent of iθ,p , equation 2.23 needs to be substituted into equation 2.24, to give:

ref X 2 τθ = λ1,θ (kθ,p) (2.25) p=a,b,c

which when rearranged to solve for λ1,θ gives:

ref −τθ λ1,θ = P 2 (2.26) p=a,b,c(kθ,p) Now equation 2.26 can be substituted into equations 2.23 to find the optimal cur- rents:

! ref kθ,p iθ,p = τθ P 2 (2.27) p=a,b,c(kθ,p)

2.6.3 Cogging torque suppression

ref If cogging torque suppression is required, τθ should be defined as the average torque required minus the cogging torque. As in the FDM, this should ensure that the torque ripple will cancel out the cogging torque.

2.6.4 Star connection constraint

If a star connection constraint is to be considered, it can be written in matrix form as:

20 2.6. TIME DOMAIN METHOD (TDM)

X iθ,p = 0 (2.28) p=a,b,c This equation can be formulated as a Lagrange cost constraint:

X C2,θ = iθ,p (2.29) p=a,b,c Now there are two constraints in the Lagrange function which becomes:

    X 1 X X f = (i )2 + λ k i − τ ref + λ i (2.30) θ 2 θ,p 1,θ  θ,p θ,p θ 2,θ  θ,p p=a,b,c p=a,b,c p=a,b,c

∂fθ As before, the function will be minimised with respect to iθ,p when = 0. Tak- ∂iθ,p ing this partial derivative of equation 2.30, expressions are found for optimal current:

X iθ,p = (−λ1,θkθ,p − λ2,θ) (2.31) p=a,b,c

∂fθ To find the optimal value of λ2,θ requires setting = 0, which gives: ∂λ2,θ

X iθ,p = 0 (2.32) p=a,b,c Again, this implies that the cost function is minimised. Substituting equation 2.31 into equation 2.24 gives:

ref X τθ = kθ,p (−λ1,θkθ,p − λ2,θ) (2.33) p=a,b,c

ref X 2 X τθ = −λ1,θ kθ,p − λ2,θ kθ,p (2.34) p=a,b,c p=a,b,c

and substituting equation 2.31 into equation 2.32 gives:

X (−λ1,θkθ,p − λ2,θ) = 0 (2.35) p=a,b,c X −λ1,θ kθ,p − 3λ2,θ = 0 (2.36) p=a,b,c

21 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

λ1,θ and λ2,θ can be found from equations 2.33 and 2.35 to give:

−3τ ref λ = θ (2.37) 1,θ P 2 P 2 3 p=a,b,c kθ,p − ( p=a,b,c kθ,p)

ref P τ kθ,p λ = θ p=a,b,c (2.38) 2,θ P 2 P 2 3 p=a,b,c kθ,p − ( p=a,b,c kθ,p) Which can be substituted back into equation 2.31 to find an expression for the optimal current:

P ! 3kθ,p − kθ,p i = τ ref p=a,b,c (2.39) θ,p θ P 2 P 2 3 p=a,b,c kθ,p − ( p=a,b,c kθ,p)

2.7 ‘Park-like’ method (PLM)

The PLM is a variation on field oriented control where the current is described with reference to a rotating coordinate system. This discussion will follow the most recent implementation of this technique which was done by Park et al. in 2001 [58]. A similar technique was described by Grenier et al. [30] Lu et al. [46] and Chen and Sekiguchi [12][11].

2.7.1 Parameter descriptions

In this method, all the parameters are converted from their three phase coordinates (a, b, c) to a rotating reference frame (d, q).

    kθ,d kθ,a         kθ,q = C kθ,b (2.40)     kθ,0 kθ,c

where:

 2π 2π  sin(θ) sin(θ − 3 ) sin(θ + 3 ) 2   C =  2π 2π  (2.41) cos(θ) cos(θ − 3 ) cos(θ + 3 ) 3   0.5 0.5 0.5

22 2.7. ‘PARK-LIKE’ METHOD (PLM)

2.7.2 Torque ripple minimisation

In a rotating reference frame, the general torque equation stated in equation 2.2 can be rewritten as:

3 τ em = (k i + k i + k i ) (2.42) θ 2 θ,d θ,d θ,q θ,q θ,0 θ,0

The torque produced by id and i0 is assumed to be zero. Substituting this into equation 2.42 and rearranging gives the following expression for the iq current required to provided the desired reference torque:

em 2 τθ iθ,q = (2.43) 3 kθ,q

Obviously this will cause a problem if kθ,q is zero, however as long as kθ,a, kθ,b and kθ,c do not deviate drastically from sinusoids then this will not be the case. If it is desired to know the currents in the three phase reference frame then the current can be converted back by multiplying the d, q reference currents by C−1:

    iθ,a iθ,d       −1   iθ,b = C iθ,q (2.44)     iθ,c iθ,0

Unlike the other two methods, this method does not include a current minimisation constraint. Adding this constraint is not possible as an additional constraint was already added (namely assuming id is zero).

2.7.3 Cogging torque suppression

Like the other two methods, cogging torque suppression is done by defining a reference electromagnetic torque that is the negative of the cogging torque.

2.7.4 Star connection constraint

The PLM ensures that i0 = 0 so there will always be a star connection constraint.

23 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

2.8 Experimental implementation

As suggested in the introduction, experimental implementation of PRCW methods is limited. This is partly due to a lack of a quantitative measure of the remaining pulsating torque. If the torque is actually measured, most authors resort to presenting graphical results and commenting that the pulsating torque has been ‘significantly reduced’. This section will consider the goal for pulsating torque, and discuss the challenges faced by previous PRCW method researchers when implementing their methods ex- perimentally.

2.8.1 Pulsating torque goal

The goal for ‘smooth’ operation of a PMAC motor is not well defined. Jahns and Soong [40] stated that for motor modification methods such as skewing, about 1% of rated torque is the lowest achievable in practice. Grcar et al. [29] suggested that for high performance drives, a torque pulsation under 1-2% is typically considered as the desired objective. Liu et al. [45] discussed a power steering application with a peak-peak pulsating torque requirement of less than 2-5%. Specifications of commercially available ‘high performance’ motors also vary con- siderably. Trust Automation [3] claims a 0.3% ripple torque for their SE700 motors. For their BL series motors, Malivor [48] do not quote a pulsating torque however pro- vide data on reluctance torque (cogging torque) as 3.5-6%. Parker Motion [55] (p 154) quotes 5% ripple peak-peak for their ‘Dynaserv’ system and ThinGap [73] quotes 0.045% ripple. That value however, is not based on measurements but rather on the harmonic distortion of the back EMF. Additional confusion is created by multiple methods for calculating the percentage pulsating torque. Often the method is not quoted. When the method is quoted, it is usually the ratio of peak-peak torque to rated torque. Peak-peak torque however, can vary significantly between trails as it is only based on two data points. To avoid that issue, for this research, the RMS torque is used as suggested by Gieras and Wing [25] (p245). However, rather than divide the RMS torque by the average torque as they did, division is done by the maximum torque. The justification for this

24 2.9. IMPLEMENTATION CHALLENGES is that at low torque set points, the use of average torque creates distortion. This is because, for the motor used, a large proportion of the pulsating torque is related to cogging which does not scale with average torque.

RMS Terror Tpulsating = (2.45) Tmax While the RMS gives a lower pulsating torque than the peak-peak value, a rough comparison is to consider the relationship for a pure sine wave where the peak to peak √ value is 2 2 times larger than the RMS value. Assuming the figures given above for ‘high performance drives’ are peak-peak values then a RMS value of 1% would fit somewhere in the range of motors surveyed and so is the goal of this reaserch.

2.9 Implementation challenges

The most significant challenge facing the implementation of PCRW methods is the determination of motor parameters to a suitable accuracy [40]. This is discussed in detail in chapter 3. The other challenges, as outlined in the introduction are:

1. accurate torque measurement;

2. the provision of a smooth load to the motor, and

3. the presence of mechanical resonances in the experimental setup.

2.9.1 Torque measurement

In the absence of a suitable torque sensor, many PRCW method experimental set- ups rely on recreating the torque from the measured currents and back EMF wave- forms. Unfortunately, this neglects any cogging torque or pulsating torque created from parameter variations in the windings. These factors have the potential to have a significant impact on the effectiveness of programmed current waveform methods. When the torque is measured, one potential issue is achieving resolution. Li et al. [69] highlighted a problem with traditional methods of testing for torque ripple. A torque sensor with a large enough range to deal with the maximum load will not necessarily have the resolution to measure the torque ripple.

25 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

Another issue with torque measurement is adequate bandwidth. All the sensors used for PRCW research have been either strain gauge or surface acoustic wave tech- nology. The surface acoustic wave technology sensor used by Wu and Chapman [75] had a bandwidth up to 1 kHz. Aghili, Buehler and Hollerbach [2] used a Himmelstein strain gauge sensor which can have a bandwidth somewhere between 200 − 1000Hz depending on the signal type [17] and the signal conditioner used [18]. With band- widths in this range, the speed of the motor is limited if higher harmonics are to be measured.

Beccue et al. [4] suggest a piezoelectric polymer for use in PMAC motors in pref- erence to the the other methods discussed. Their justification however, was cost on the assumption that this type of sensor would be installed in all motor installations. As PRCW methods seek to avoid a torque sensor in all installations and only use a torque sensor for initial calibration and validation, cost is a less significant issue.

2.9.2 Load application

To apply a load, previous PRCW method researchers have either used: DC motors, hysteresis brakes, eddy current brakes, hydraulic motors or friction brakes.

DC generators

DC generators provide a load by operating as a generator and turning kinetic energy into electrical energy. The electrical energy then needs to be either fed back into the power supply for the test motor or dissipated in a resistor bank. The torque applied can be readily controlled by adjusting the current flowing out of the generator. Some issues can arise however, when this method is used in a setup for measuring pulsating torque. Qian, Panda and Xu [64] described how the pulsating torque from the DC generator interfered with the measurement of the pulsating torque from the ‘test’ motor. This can be minimised with careful choice of load generator however, the commutations will always create some pulsating torque.

26 2.9. IMPLEMENTATION CHALLENGES

Hysteresis

Hysteresis is a property of magnetic materials where the flux density is a function of previous field intensity across the material [31]. In a hysteresis brake, a disk made of magnetic material rotates between a series of magnetic poles. Poles previously induced in the disk interact with the stationary magnetic poles and torque is transmitted until the disk begins to slip. Once slipping, the poles in the disk move as the material is magnetised and demagnetised [16], [72] and [68]. Energy is dissipated due to the hysteresis of the material. Load torque is adjusted by varying the strength of the applied magnetic field. Hysteresis motors have the benefit that the torque applied is independent of speed so torque can be applied down to zero speed. This means however, that if speed is to be regulated then a control system is required to do so. Wu and Chapman [75] found that the controller from the commercially available hysteresis brake was not able to keep a constant low speed. Another problem associated with hysteresis brakes is the potential for residual cogging torque to be created if the brake is incorrectly shut down [47](p53). As hysteresis brakes are unable to drive the motor, another drive source is required to determine back EMF. Any pulsating torque from the drive motor is not an issue however, because the back EMF is normalised with velocity.

Eddy current

In an eddy current brake a highly conducting disk (such as copper or aluminium) rotates in a magnetic field. The magnetic field induces eddy currents in the disk. These eddy currents in turn create a magnetic field that opposes the original magnetic field. As the current produced is a function of the velocity the torque produced is a function of motor speed [68], [71]. This proportionality of torque to speed, limits the applicability of eddy current brakes as they cannot be used for zero speed testing (‘locked rotor’). Another issue is that due to their inherent damping they have a large mechanical time constant so are unsuitable for high frequency dynamic testing. They do however have the benefit that the torque applied is completely smooth.

27 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

Because eddy current brakes are unable to create motion, like hysteresis brakes, another drive motor is required when measuring the back EMF.

Hydraulic motors

Hydraulic motors can be used to apply a load in a similar way to a DC motor [2]. Instead of controlling the torque by the amount of current, the pressure is regulated. As with DC motors, if the motor is not chosen carefully it can create pulsating torque. Due to the peripheral equipment required, hydraulic motors are usually more complex and expensive than other options.

Prony friction brake

Another device used for research into PRCW methods is a ‘Prony’ brake test device which was used in [22]. This is a rudimentary device made of a drum immersed in cooling water with a belt running over it. Accurate control of this device is difficult and the authors noted that there was a significant once per revolution component due to the braking mechanism.

2.9.3 Mechanical resonance problems

In their 2005 paper [75], Wu and Chapman suggest that mechanical resonances in the experimental setup obscured the fluctuating torque that they were attempting to measure. Unless measures are taken to avoid this problem, other experimental setups would suffer from the same problem. The use of flexible couplings to connect in-line torque transducers is a particular concern as their flexibility creates additional system dynamics that are difficult to model.

2.10 Summary of PRCW methods

Three PRCW methods have been presented: the time domain method (TDM) the frequency domain method (FDM) and the Park-like method (PLM), each claiming to minimise pulsating torque. The FDM and the TDM also attempt to minimise RMS current. The performance of each of these methods is compared for various back EMF and cogging torque waveforms in chapter 4.

28 2.10. SUMMARY OF PRCW METHODS

Methods of describing pulsating torque were discussed and levels of torque in in- dustrial drives considered. This allowed a goal for smooth operation to be defined. The challenges facing successful experimental implementation were presented. The largest challenge facing all of these methods is the accuracy of the determination of the motor parameters. Published methods for determination of these parameters are discussed in chapter 3.

29 CHAPTER 2. REVIEW: PROGRAMMED REFERENCE CURRENT WAVEFORM METHODS

30 Chapter 3

Review: determination of motor parameters

Common to all of the programmed current waveform methods discussed in chapter 2 is the need for accurate information about motor parameters. If the back EMF, cogging torque, current flow and rotor position are known for a motor then it is theoretically possible to eliminate pulsating torque. Problems are created if these parameters are determined inaccurately. This chapter will review existing work done on the determination of motor param- eters to ensure that the experimental methods implemented are based on the most accurate motor information available. Consideration will be given to determination by calculation and by measurement. Explanation will also be given on how the variation of each property will affect the pulsating torque. The final part of the chapter will discuss the importance of sensitivity analysis and review relevant publications.

3.1 Back EMF

Back EMF is the induced EMF created by the interaction of rotor and stator magnetic fields when the motor is turned. It is normally measured with the phases open-circuit while the motor is being rotated by an external drive. Though measurement is reason- ably straightforward, a brief discussion is provided as to the likely harmonics present,

31 CHAPTER 3. REVIEW: DETERMINATION OF MOTOR PARAMETERS so that the credibility of the measured results can be checked.

3.1.1 Analytical determination

Generally the back EMF in a PMAC is a shape that is somewhere between a sinusoid and trapezoid [40]. Waveforms of this shape will be half wave symmetric [31] [p194], which implies the waveform in the second half of the period is the negative of the waveform in the first half of the period. Faraday’s law defines that the back EMF is the derivative with respect to angle of the flux linkage. The flux linkage itself is a function of air-gap flux density, wind- ing inductance, winding resistance, the number of slots, the number of magnets and geometrical factors. In his book, Brushless Permanent Magnet Motor Design [31], Hanselman provides a series of predicted back EMF shapes for various motor configu- rations. These can be used for a rough guide to check against experimental results.

3.1.2 Finite element analysis (FEA)

Much work has been done in determining the back EMF using finite element analysis mostly as part of the design process for new motors. As the motor design is beyond the scope of this research these methods will not be discussed in detail. Of interest however, is an analysis done by Patterson [61] on a very similar motor to the one used for the experimental part of this research. Results suggested an error of 1% between the back EMF calculated from FEA and the measured back EMF. Determination of back EMF using finite element analysis, while potentially accu- rate, usually assumes that the back EMF will be identical for each electrical revolution. Unless specifically catered for, manufacturing variation will lead to errors in the deter- mined waveform.

3.1.3 Measurement

Measurement of back EMF is generally straightforward. In their book Design of - less Permanent-Magnet Motors [41](p11-2) Hendershot and Miller describe it as: ‘per- haps the simplest and most useful test which can be performed on a brushless DC motor’. This statement can be extended to other types of PMAC mtors. An external

32 3.2. COGGING TORQUE drive is needed to provide rotation while the open circuit voltage is measured. As the final goal is the speed normalised back EMF, it is also critical that an accurate mea- surement of velocity is obtained. This is particularly important if there is any speed fluctuation during the measurement resulting from cogging torque.

3.1.4 Effect of error on pulsating torque

As long as the assumption holds that the back emf is proportional to velocity (see section 2.1.1), the shape of the back emf will remain constant. That allows the back EMF error to be divided into offset and scaling errors. In a similar way to the current errors discussed in section 3.3.2, an offset error will lead to a pulsating torque harmonic at the fundamental electrical frequency and a scaling error will lead to a pulsating harmonic at twice the electrical frequency.

Temperature

The research published about PRCW methods rarely considers the effects of tem- perature. Mattavelli, Tubiana and Zigliotto [49] suggested that the back EMF could possibly vary with motor temperature, but not significantly. However, the magnitude of the back EMF is a function of the magnetic flux [31] [eq 7.46], which is in turn a function of the remanence [31] [eq 2.21], which is dependant on temperature [31] [eq 2.20]. This dependence on temperature is often published for particular magnets. One company, Oemag, has data showing that for NdFeB magnets of the type used in this research, the remanence falls by about 0.12%/oC [57]. As the motor heats up to operating temperature, a significant reduction in back EMF could be expected.

3.2 Cogging torque

The formal definition of cogging torque is: ‘pulsating torque components generated by the interaction of the rotor magnetic flux and angular variations in the stator magnetic reluctance.’ [40]. For the purposes of PRCW methods, it is the component of pulsating torque that is independent of excitation current.

33 CHAPTER 3. REVIEW: DETERMINATION OF MOTOR PARAMETERS

Any current reference waveform method that seeks to remove pulsating torque must compensate for the cogging torque and so needs an accurate, time invariant description of this torque. In contrast to the back EMF, experimental determination of cogging torque is much more difficult, mainly because of the difficulty in decoupling the cogging toque from either the torque ripple or from dynamic effects resulting from the speed variation of the rotor.

3.2.1 Analytical determination

As with back EMF, it is worth considering which harmonics will be present in the cog- ging torque to provide a guide to the validity of any measurements. The fundamental cogging torque harmonic will be: [25][p247]

Nslot fcogging = (3.1) Npole pair where:

Nslot = number of stator slots

Npole pair = number of pole pairs

Detailed analytical calculations can be done to determine the actual waveform. The cogging waveform depends on the tooth Fourier series coefficients which are a function of the magnetic field distribution around each tooth, the air gap length and the size of the slot opening between teeth [31](p210). This detailed analysis is beyond the scope of this thesis.

3.2.2 FEA

As with back EMF, much work has been done on the calculation of cogging torque by FEA. It is generally done as an aid to motor design and so is beyond the scope of this research. Some research, such as that presented by Islam, Mir and Sebastian [39] and Shaotang, Namuduri and Mir [13] is relevant to this research because they use FEA to consider the effect of motor construction variation on pulsating torque.

34 3.2. COGGING TORQUE

3.2.3 Experimental

Experimental methods for determining cogging torque can be classified into static, quasi-static and dynamic methods.

Static

Some static measurements of cogging torque are only designed to determine the ab- solute magnitude. For instance, a method is described by Caricchi et al. [7] where a measurement was taken of the force applied to a lever arm sufficient to move the rotor from one equilibrium state to the next. The static method presented by Chandler [8] allows the determination of the actual waveform. The rotor was mounted in a rotary ‘dividing head’ from a milling machine. The stator was held in place by a beam with a strain gauge attached. By rotating the dividing head the force on the strain gauge could be noted. Problems were noted with this method however. For adequate sensitivity, the strain gauge was placed on a flexible beam. This flexibility made accurate measurements difficult, particularly when the motor was crossing from unstable position from one tooth to the next.

Quasi-static

A quasi-static method is described by Aghili, Buehler and Hollerbach [2] where the motor velocity is kept sufficiently low (1o/s), to ensure that the inertial torque does not interfere with the measurement. Their setup is driven by a hydraulic motor with the pressure set sufficiently high to ensure that the angular speed remained constant regardless of the test motor torque.

Dynamic

Most motor measurement equipment is configured for measurements while the motor is rotating. As such, it is attractive to attempt cogging torque measurement while the motor is rotating. This form of measurement is discussed by Holtz and Springob [37] and by Bianchi and Bolognani [5]. As an in-line torque sensor was used, both authors pointed out the need for keeping rotor speed constant during the measurements.

35 CHAPTER 3. REVIEW: DETERMINATION OF MOTOR PARAMETERS

Figure 3.1: FBD for motor

When measuring cogging torque dynamically, the location of the torque sensor is important. Figure 3.1 shows a free body diagram (FBD) for the motor. The two possibilities for the location of a torque sensor are:

1. In-line torque sensor which will measure the load torque in the shaft.

2. Reaction torque sensor which will measure the reaction torque on the back of the stator.

In the case of the in-line torque sensor, if a FBD is taken of just the rotor (see figure 3.2) then the sum of the moments in the axis of rotation gives:

Tmotor = Tload + Jα + bω (3.2)

On the other hand, with a reaction torque sensor (see FBD in figure 3.3) the sum of moments in the axis of rotation gives (assuming that the reaction torque sensor is suitably stiff):

Tmotor = Treaction (3.3)

Care must be taken when using an in-line torque sensor, as compensation has to be made for inertial torques due to acceleration. This issue is avoided by the use of a reaction torque sensor.

36 3.2. COGGING TORQUE

Figure 3.2: FBD for rotor

Figure 3.3: FBD for stator

37 CHAPTER 3. REVIEW: DETERMINATION OF MOTOR PARAMETERS

Many other published works ([60], [80], [42], [39], [77] and [44]) present data for ‘experimentally measured’ cogging torque but have limited information as to how these measurements were performed.

3.2.4 Effect of error on pulsating torque

As the pulsating torque is the sum of the torque ripple and the cogging torque, the pulsating torque will increase by the error in the estimate of the cogging toque. Errors can be classified into: manufacturing (magnet placement, eccentricity and material property variation), and operating point dependent (temperature and torque set point dependent). This classification is important as theoretical determination will not usu- ally account for manufacturing errors, whereas direct measurement will measure these errors. Variation that is operating point dependent will be difficult to determine by either method.

Material properties

Cogging torque is a function of the magnetic interaction between the permanent mag- nets and the steel in the stator. As such, any variation in the magnetic properties of either of these materials will cause variation in cogging torque. Morcos, Brown and Campbell [54] suggested that poor uniformity of the magnets can lead to high cogging torque.

Manufacturing tolerances

Islam, Mir and Sebastian [39] report that if a magnet is misplaced from its “perfect” position by 1 mechanical degree (in a 6 pole 27 slot motor), then the magnitude of the cogging torque can be increased by over three times. Obviously this result will vary with motor topology but the fact that accurate manufacturing is critical is still worth noting. It is suggested by Hartman and Lorimer [33] that other common defects are non-concentric and rotors (equivalent to misalignment in an axial flux motor such as that used for this research).

38 3.3. CURRENT

Temperature

As with the effect of temperature on back EMF, there has been very little published about the effect of temperature on cogging torque. Grcar et al. [29] claimed that the waveform of the cogging torque varies with the operating conditions (temperature), however they did not report the the extent of this variation. It was discussed earlier the the back EMF is a function of the magnetic flux so is likely to be temperature dependant. The cogging torque is also related to the magnetic flux [31] [eq 3.37], so will also be effected by as the motor warms up to operating temperature.

3.2.5 Variation with torque set-point

Although usually defined as being independent of current flow, Gieras and Wing [25][p247] suggest that cogging torque can be affected by saturation effects associ- ated with high current flow . Dai, Keyhani and Sebastian [19] discuss how an uneven tooth flux density can cause a current related component of the ‘cogging’ torque.

3.3 Current

Unlike the back EMF and cogging torque, the optimal current is calculated and so does not need to be ‘determined’. However, as current is used as the feedback variable in the controller, its measurement is critical. Any measurement errors, along with any errors in the controller itself will lead to pulsating torque.

3.3.1 Measurement

Current measurement is normally done by measuring the voltage across a shunt or by a Hall-Effect device. Chapter 6 contains a detailed discussion of current sensors including justification of the sensors chosen for this research.

3.3.2 Effect of error on pulsating torque

As long as the current waveform is within the bandwidth of the sensor, current mea- surement error is normally considered as a combination of an offset and a gain error

39 CHAPTER 3. REVIEW: DETERMINATION OF MOTOR PARAMETERS

(i.e. the assumption is made that the output remains linear). Analysis of current error has been discussed in several publications [65], [15], however the most detailed analysis is reported by Chen, Namuduri and Mir [13].

Offset error

The addition of an offset into the torque equation (equation 2.2) induces a torque ripple at the fundamental electrical frequency. Chen, Namuduri and Mir calculated that in the worst case, a 1% error in offset could lead to a 4% error in torque ripple.

Scaling error

The addition of a scaling error to the torque equation (equation 2.2) leads to a torque ripple of twice the fundamental electrical frequency. Chen, Namuduri and Mir sug- gested that in the worst case, a 1% scaling error between sensors in different phases could lead to a 2.3% torque ripple.

3.4 Rotor Position

3.4.1 Measurement

Normally rotor position is either measured by an encoder, where the position signal is a digital signal, or by a resolver where the signal is a sinusoidally varying analog signal. Detailed discussion of position sensors is presented in chapter 6.

3.4.2 Effect of error on pulsating torque

Analysis by Chen, Namuduri and Mir [13] suggests that for a low resolution encoder (10 electrical degrees/ count in their setup) the induced torque ripple can be up to 5%. This emphasises the need for a high resolution encoder when implementing PRCW methods.

3.5 Sensitivity analysis

Jahns and Soong [40] noted that there was minimal work published on sensitivity anal- ysis for PRCW methods. Since then there has not been much further work done on the

40 3.6. SUMMARY OF METHODS FOR DETERMINATION OF MOTOR PARAMETERS subject. Grcar et al. [28] stated that “Since motor parameters can considerably vary under a wide range of operating conditions (temperature, saturation, load variations), a sensitivity analysis must be included as a part of the design for every particular drive”. They do not however, report the results of their analysis.

3.6 Summary of methods for determination of motor parameters

This chapter discussed several methods for the determination of motor properties. In most cases, to account for manufacturing errors, experimental methods are preferred to theoretical methods. Theoretical methods are important as a guide to the credibility of the experimental results.

41 CHAPTER 3. REVIEW: DETERMINATION OF MOTOR PARAMETERS

42 Chapter 4

Theoretical comparison of reviewed methods

Chapter 2 discussed the mechanisms for the creation of pulsating torque, presented a mathematical model of PMAC machines and reviewed the published methods for pulsating torque minimisation.

This chapter theoretically compares the reviewed methods when applied to a gen- eralised motor model with a variety of back EMF and cogging torque waveforms.

Initially, pulsating torque minimisation is considered without cogging torque using various back EMF waveforms. Some of these variations break the assumptions imposed by some methods to determine the sensitivity of each method to those assumptions.

Next, consideration is given to the ability of each method to compensate for cogging torque harmonics.

4.1 Methodology

In this chapter, all calculations are done using the mathematical computer package MatlabTM. Optimal currents are calculated using one of the PRCW methods. By assuming that the current controller exactly follows the reference current, the torque produced can be determined using equation 2.3 for a given back EMF and cogging torque.

43 CHAPTER 4. THEORETICAL COMPARISON OF REVIEWED METHODS

4.2 Parameter and constraint variation

4.2.1 Baseline for comparison

Generally the goals of reference current waveforms methods are minimum pulsating torque using minimum current. One baseline for comparison was a pure sine wave (SIN) as that is what is most widely used. The other baseline was what is described in [10] as ‘minimum current’ method (MCM). This mode demonstrates that minimum current is used if the current is the same shape as the back EMF. The amount of current used is quoted as the percentage increase required over the MCM. The pulsating torque is quoted as the RMS variation as a percentage of full scale.

4.2.2 Scope of variation

The performance of the methods is primarily affected by the back EMF and cogging torque waveforms. It is also affected by whether a star connection constraint is applied.

4.3 Performance with different back EMFs (without cogging torque)

Generally the shape of the back EMF in a PMAC motor varies between sinusoidal and trapezoidal [40]. There are infinite possible variations between these extremes, so this analysis will only consider one sinusoidal waveform and one trapezoidal waveform. If a method appears superior for both cases, then it will be assumed it is superior for a back EMF waveform that is between a sinusoid and a trapezoid.

Another variation that may occur is that the back EMFs from each phase are unbalanced. This may occur in one of two ways, a magnitude variation or a phase variation. To test the magnitude variation, phase B was scaled to an error of ± 1%, 2% and 3% of the value of the other two phases and the effect on torque ripple was noted. To test the phase variation, phase B was shifted by 1, 2 and 3 degrees and the torque ripple noted.

44 4.3. PERFORMANCE WITH DIFFERENT BACK EMFS (WITHOUT COGGING TORQUE)

4.3.1 Sinusoidal back EMF

As a baseline, the three methods were compared for a sinusoidal back EMF. As ex- pected, all three determined that the best current shape would be a sinusoid and all were capable of completely removing pulsating torque. In figure 4.1 all the lines are on top of one another as all methods give the same results. Table 4.1) shows that all methods have no pulsating torque and use the same amount of current.

p Current − Phase A

3 FDM 2 TDM

A PLM SIN 1 MCM

0 0 20 40 60 80 100 120 140 160 180

Torque output

5.05 FDM TDM 5 PLM Nm SIN 4.95 MCM

4.9 0 20 40 60 80 100 120 140 160 180 electrical angle (degrees)

Figure 4.1: Current and torque output for sinusoidal back EMF

FDM TDM PLM SIN MCM % Pulsating Torque 0.0 0.0 0.0 0.0 0.0 % Current Increase 0.0 0.0 0.0 0.0 0.0

Table 4.1: Performance of PRCW methods with a sinusoidal back EMF

45 CHAPTER 4. THEORETICAL COMPARISON OF REVIEWED METHODS

4.3.2 Trapezoidal back EMF - adding odd harmonics

At the other end of the range of possible back EMFs is a trapezoidal back EMF. The trapezoidal shape assumed was a linear rise 0o to 30o, flat top, linear fall from 150o to 180o. For this analysis, an approximation of a trapezoidal back EMF was achieved by adding the appropriate odd harmonics up to a certain limit. That limit was determined by the number of harmonics required to reduce the truncation error between an ‘ideal’ trapezoid and the approximation to a RMS variation of less than 1%. This required harmonics up to the 17th.

As with the sinusoidal back EMF, each of the methods was able to eliminate pulsat- ing torque with a small increase in current (see figure 4.2 and Table 4.2). The increase in current required for the TMD and the PLM is 2.7% and the FDM is slightly higher at 3.5% above that required for the MCM.

Current − Phase A

3 FDM 2 TDM

A PLM SIN 1 MCM

0 0 20 40 60 80 100 120 140 160 180 Torque output 6 FDM 5.5 TDM PLM Nm 5 SIN MCM 4.5 0 20 40 60 80 100 120 140 160 180 electrical angle (degrees)

Figure 4.2: Current and torque output for trapezoidal back EMF

46 4.3. PERFORMANCE WITH DIFFERENT BACK EMFS (WITHOUT COGGING TORQUE)

FDM TDM PLM SIN MCM % Pulsating Torque 0.0 0.0 0.0 4.3 11.5 % Current Increase 3.6 2.7 2.7 2.5 0.0

Table 4.2: Performance of PRCW methods with a trapezoidal back EMF

4.3.3 Variation between phases

As noted in section 2.5.1, the FDM assumes that each of the back EMFs and currents are identical and spaced 120 electrical degrees apart. To test each of the methods sensitivity to violation of this assumption tests were done varying the magnitude and the phase of phase ’B’ relative to the others and the effect on pulsating torque noted.

Magnitude variation

It can be seen in figure 4.3 that while the TDM and the PLM were able to cope with this variation, the output from the FDM was affected. The effect on pulsating torque however is relatively minor, with a variation of 3% only creating a 0.5% RMS variation in the torque.

47 CHAPTER 4. THEORETICAL COMPARISON OF REVIEWED METHODS

Average torque variation 101 FDM

% 100 TDM PLM 99 97 98 99 100 101 102 103 Pulsating torque

0.4 FDM

% 0.2 TDM 0 PLM −0.2 97 98 99 100 101 102 103 Current requirement increase 6 FDM

% 4 TDM PLM 2 97 98 99 100 101 102 103 Phase B scaling (%)

Figure 4.3: Performance of different methods if one phase has a magnitude variation

Phase variation

Figure 4.4 shows that as with the magnitude variation, the TMD and the PLM still can eliminate pulsating torque if the back EMF has an offset variation. The impact of this change is has a much greater affect on the output of the FDM with an offset of 3 degrees creating a 6% RMS variation in the torque.

48 4.4. COMPARISON OF COGGING TORQUE COMPENSATION

Average torque variation 101 100 FDM

% 99 TDM 98 PLM −3 −2 −1 0 1 2 3 Pulsating torque 6 4 FDM

% 2 TDM 0 PLM −2 −3 −2 −1 0 1 2 3 Current requirement increase 10 FDM

% 5 TDM PLM 0 −3 −2 −1 0 1 2 3 Phase B offset (degrees)

Figure 4.4: Performance of different methods if one phase has a phase variation

4.4 Comparison of cogging torque compensation

To determine the capability of each method to cancel out cogging torque, they were tested with a simulated cogging torque containing only one harmonic. Figure 4.5 considers the pulsating torque output from each method for a cogging torque containing a harmonic from 1 to 40. Table 2.1 suggested that the FDM is not capable of compensating cogging torque harmonics that are not a multiple of three. Figure 4.5 clearly demonstrates that this was the case in the simulations. As the frequency to be compensated increased, the current required by the FDM increased considerably. This current increase was due to the small size of the higher back EMF harmonics. For example, consideration of table 2.1, shows that when using the FDM, a 30th harmonic can only be compensated by a combination of a 13th and 17th or 14th and 16th current and back EMF harmonics. As the trapezoidal back EMF only contained odd harmonics, compensation of the 30th harmonic depended on the the 13th and 17th back EMF harmonics. As these were

49 CHAPTER 4. THEORETICAL COMPARISON OF REVIEWED METHODS small, the matching current harmonics had to be very large. In addition, because the back EMF only had harmonics up to 17, the FDM could only compensate up to the 33rd harmonic. Both the TDM and the PLM could successfully compensate all harmonics with minimal increase in current.

Pulsating torque 15

10 FDM TDM 5 PLM % pulsating torque 0 0 5 10 15 20 25 30 35 40

4 x 10 Current requirement 10

FDM 5 TDM PLM

% current increase 0 0 5 10 15 20 25 30 35 40 cogging torque harmonic

Figure 4.5: Ability of each method to compensate 1Nm of cogging torque at different harmonics

4.4.1 Star connection constraint

The comparisons described so far were done with a star connection constraint, however the test motor is configured to allow the star constraint to be removed. This allowed a study of how the methods performed without a star constraint. Though there is no benefit from removing this constraint if the back EMF was sinusoidal, figure 4.6 and Table 4.3 show that the FDM and TDM benefited from the removal of this constraint by lowering the additional current required to 0.7%. There

50 4.4. COMPARISON OF COGGING TORQUE COMPENSATION is no change in the PLM as it always includes a star connection constraint.

FDM: Star connected currents FDM: Independent currents

A 2 2 B C 0 0 Total

−2 −2

0 100 200 300 0 100 200 300 TDM: Star connected currents TDM: Independent currents

2 2

0 0

−2 −2

0 100 200 300 0 100 200 300 PLM: Star connected currents PLM: Independent currents

2 2

0 0

−2 −2

0 100 200 300 0 100 200 300 Position (degrees) Position (degrees)

Figure 4.6: Comparison of currents with and without a star connection constraint

FDM TDM PLM % Current Increase (with star constraint) 3.6 2.7 2.7 % Current Increase (without star constraint) 0.7 0.7 2.7

Table 4.3: Performance of PRCW methods with a modified trapezoidal back EMF

51 CHAPTER 4. THEORETICAL COMPARISON OF REVIEWED METHODS

4.5 Upper frequency limit constraint

The analysis presented so far, suggests that the TDM is superior. It can always eliminate pulsating torque using the same or less current than the other methods. One consideration that could limit the effectiveness of the TDM is that an upper frequency limit is not prescribed for the desired current. The existence of high frequencies in the TDM current could be an argument for using the FDM. The prescribed frequency limit of the FDM limits the current controller bandwidth required. A current controller with a higher bandwidth usually requires a higher switching frequency resulting in increased switching losses.

To check the effect of current controller bandwidth on the TDM and the PLM, the frequency spectrum of all methods was determined for each of the comparisons described.

Figure 4.7 shows the current harmonics above the specified harmonic limit for the trapezoidal back EMF. The 17th harmonic shown is the highest in the frequency domain method. Though the TDM has a 19th harmonic, its magnitude is only about 0.1% of the fundamental, so is insignificant. If all harmonics above the harmonic limit are removed from the TDM method before the torque is calculated, there is still no noticeable pulsating torque.

Current harmonics

0.1 FDM TDM 0.05 PLM % of fundamental 0 16 18 20 22 24 26 28 30 32 34 harmonic number

Figure 4.7: Ability of each method to compensate 1Nm of cogging torque at different harmonics

52 4.6. SUMMARY OF THEORETICAL COMPARISON OF PRCW METHODS

4.6 Summary of theoretical comparison of PRCW methods

Comparisons between different PRCW methods for various back EMF waveforms and cogging torques show that regardless of the shape of the waveforms, the time domain method (TDM) is always the best method. This validates the approach of only consid- ering sinusoidal and trapezoidal back EMF shapes. As the TDM is superior for both these extreme back EMF shapes, it is reasonable to expect it will be superior for an intermediate waveform. If implementation is to be done in a rotating reference frame (such as space vector modulation) then the use of the Park-like method (PLM) may be beneficial. The frequency domain method (FDM), while unlikely to produce the best results, is useful for providing insight into pulsating torque production. A possible concern that the TDM’s success might require the injection of higher harmonics than the FDM (potentially beyond the bandwidth of a current controller) was checked and found to be unfounded.

53 CHAPTER 4. THEORETICAL COMPARISON OF REVIEWED METHODS

54 Chapter 5

Pulsating torque decoupling approach to motor parameter determination

Chapter 3 discussed the importance of obtaining accurate information on motor prop- erties to ensure minimum pulsating torque when using PRCW methods.

The task of parameter determination is a considerable challenge as any measure- ment usually involves a number of conversions or scaling factors. Previous implementa- tions of PRCW methods have either used datasheet values for this scaling or separate calibrations of each individual scaling factor. The limited success of these implemen- tations suggests that a more accurate method is required for parameter estimation. This chapter presents an approach to parameter determination using pulsating torque decoupling (PTD).

The proposed method uses a best guess at parameter values for an initial motor trial. Any inaccuracies in these parameter values will cause pulsating torque. By decoupling this resulting pulsating torque into components related motor parameters, inaccuracies can be quantified and compensated for in future operation. This process can be viewed as a method for calibrating the sensors and is far simpler than attempting calibration of each sensor individually.

Discussion begins by restating the equation responsible for torque creation in block

55 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION diagram form and highlighting sources of pulsating torque. The PTD method for decoupling the pulsating torque into the parameter errors responsible for its creation is then presented.

The special case where the torque sensor only measures dynamic torque is discussed. It is demonstrated that in that situation, the overall system gain is the only additional information required. A determination method for this gain is presented.

5.1 Motor model overview

Figure 5.1 is a block diagram of the experimental implementation of the general motor equation as expressed in equation 2.3.

To simplify this analysis, and allow the electrical transfer function to be replaced by a simple gain, it is assumed that the current controller is effective in following the reference current. The validity of this assumption is verified in section 7.2.3. This gain for each motor phase is designated wp, where p = a, b, c. Usually, in a practical implementation, there will also be an offset (op) associated with the current control hardware. This offset is due to the output of the current sensor being 2.5V for 0A.

This model assumes that the transfer function between motor torque and measured torque is only a gain (up). If there is a mechanical resonance in the system or if an indirect measurement is used (such as an observer) then this assumption may not hold.

For correct compensation, estimates of these three parameters are required: current ∗ ∗ control hardware gain estimate (wp), current control hardware offset estimate (op) and ∗ torque sensor gain estimate (up). Though an initial estimate is usually still required, this method allows compensation for errors in this initial estimate. The dotted black line in Figure 5.1 denotes the extremities of the hardware. The gain and offset blocks shown outside this box are software compensation for the hardware gains and offsets inside.

56 5.1. MOTOR MODEL OVERVIEW

Figure 5.1: Block diagram of parameters to be determined

5.1.1 ‘Known’ parameters

The PTD approach requires that some parameters are assumed to be accurate (shown in white in figure 5.1). Experiments (see chapter 7) determined that the back EMF ref ref (kθ,p) was accurate. The reference current (iθ,p ) and the torque measured (τθ ) are also known.

5.1.2 Block diagram simplification

Pulsating torque is created when one of the parameters in Figure 5.1 is inaccurately de- ∗ termined (for example, wp 6= wp). To assist the analysis, the parameters and estimates can be replaced by other parameters which represent the estimation error.

  wpup αp = ∗ ∗ (5.1) wpup   wpup ∗ βp = ∗ (op − op) (5.2) up cog∗ up cog τθ = ∗ τθ (5.3) up (5.4)

With these new variables, Figure 5.1 can be modified as shown in Figure 5.2.

57 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION

Figure 5.2: Block diagram of parameters to be determined (simplified)

5.2 Decoupling of pulsating torque: determination of current imbalance and cogging torque

If the assumptions made are valid for a particular motor, and if the ‘ideal’ currents have been correctly calculated by one of the methods presented in chapter 4, pulsating torque will only come from an error in either:

1. cogging torque; and/or

2. an unbalance in the current, caused by an offset or gain error in the current sensors.

These are shown in pink in Figures 5.1 and 5.2, and their determination will be the focus of this section.

By decoupling the pulsating torque into the components created from each of these errors, it is possible to determine where the errors lie and compensate accordingly. To do this, it is important to note that the cogging torque will be independent of current input.

The cogging torque is redefined as the residual resulting from a least squares min- imisation matching the electro-magnetic torque to the measured torque.

58 5.2. DECOUPLING OF PULSATING TORQUE: DETERMINATION OF CURRENT IMBALANCE AND COGGING TORQUE

5.2.1 General formula including scaling errors, offset errors and cogging torque

Rewriting Equation 2.3 with the current offset and scaling factors as shown in Figure 5.2:

meas X cog∗ τθ = (iθ,pαp + βp) kθ,p + τθ (5.5) p=a,b,c where:

meas τθ = measured torque at angle θ (Nm)

iθ,p = current in phase p at angle θ (A)

αp= current scaling error in phase p

βp= current offset error in phase p

kθ,p = normalised back EMF for phase p at angle θ (V s/rad) meas τθ = measured torque at angle θ (Nm)

or in matrix notation:

~ ∗ ~τmeas = (Iref •K)~α + (K)β + ~τcog (5.6)

where:

~τmeas = Θ × 1 vector of the measured torque (Nm)

Iref = Θ × 3 matrix of the reference current (A) ~α = 3 × 1 vector of current scaling error β~ = 3 × 1 vector of current offset error

K = Θ × 3 matrix of the back EMF (V s/rad) ∗ ~τcog = Θ × 1 vector of the cogging torque estimate (Nm) • = element-wise multiplication operator

if we concatenate the matrices to let:

  X = I•KK (5.7)

59 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION

and concatenate the vectors to let:   ~α ~y =   (5.8) β~

then:

∗ ~τmeas = X~y + ~τcog (5.9)

∗ where ~y and ~τcog are unknown. We previously defined cogging torque as the residual from a least squares min- imisation matching the electro-magnetic torque to the measured torque. The Moore- Penrose pseudo inverse is a convenient way of conducting a least squares minimisation ∗ [53][chapter 5, p13]. By using this inverse and assuming that ~τcog will be the residual, ~y can be found.

+ ~y = X ~τmeas (5.10)

where:

+= pseudo-inverse operator

∗ The residual (~τcog) can then be found by rearranging equation 5.9:

∗ ~τcog = ~τmeas − X~y (5.11)

∗ 5.2.2 Determination of ~y and ~τcog over operating range

The vector ~y is attributed to errors in the current sensor system, so regardless of speed ∗ and torque set-point it should remain constant. The cogging torque (~τcog) should also ∗ be independent of operating point. This method will only be valid if ~y and ~τcog are independent of speed and torque. One method to ensure that the same ~y is determined for all operating points is to combine all tests at different operating points into one long X. This matrix will have 6 columns and the number of rows will be Φ times the number of different operating points considered. Though this gives only one ~y for all trials, it does give a different

60 5.2. DECOUPLING OF PULSATING TORQUE: DETERMINATION OF CURRENT IMBALANCE AND COGGING TORQUE

∗ ~τcog for every trial. The validity of this method will be determined by the error ∗ between the determined residuals (~τcog).

~ 5.2.3 Compensation for ~α, β and ~τcog

~ ∗ Once ~α, β and ~τcog have been determined from an uncompensated set of measurements over the operating range, they can be used to pre-compensate Iref to cancel their effect for future operation.

First Iref is split up into the current required to achieve the reference torque (I~τref ) ∗ and the current required to compensate for ~τcog (Icog):

Iref = I~τref − Icog (5.12)

where:

I~τref = Θ × 3 matrix of the current required to achieve the reference torque(A)

Icog = Θ × 3 matrix of the current required to compensate for cogging torque (A)

A PRCW method is used to ensure that:

I~τref •K = ~τref (5.13)

and:

∗ Icog•K = ~τcog (5.14)

the reference current can be improved by compensating with the previously deter- mined ~α and β~

~ ~ I~τref − Icog − 1Θ×1 ∗β = (5.15) Iref ~ 1Θ×1 ∗~α where:

61 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION

~ 1Θ×1 = Θ × 1 vector of ones

If this modified reference current is used in equation 5.6:

   ~ ~T I~τref − Icog − 1Θ×1 ∗β ~τ = • ~α + ( )β~ + ~τ ∗ (5.16) meas  ~ T  K K cog 1Θ×1 ∗~α  T  ~ ~ ~ ∗ = I~τref − Icog − 1Θ×1 ∗β •K + (K)β + ~τcog (5.17)

 ∗ = I~τref − Icog •K + ~τcog (5.18)

∗ = I~τref •K − Icog•K + ~τcog (5.19)

∗ But from equations 5.13 and 5.14, I~τref •K = ~τref and Icog•K = ~τcog so:

∗ ∗ ~τmeas = ~τref − ~τcog + ~τcog (5.20)

~τmeas = ~τref (5.21)

5.3 Modifications if only dynamic torque measurement is available

For reasons explained in section 6.5.2, a dynamic torque sensor was used for this research which did not measure the average component of the torque. The block diagram to represent this variation is shown in Figure 5.2.

Figure 5.3: Block diagram of parameters to be determined (simplified)

62 5.3. MODIFICATIONS IF ONLY DYNAMIC TORQUE MEASUREMENT IS AVAILABLE

With measurement done in this way, equation 5.5 is modified to:

meas X cog∗ τθ = (iθ,pαp + βp) kθ,p + τθ − τaverage (5.22) p=a,b,c where:

τaverage = average torque output

Or in matrix form:

~ ∗ ~ ~τmeas = (Iref •K)~α + (K)β + ~τcog − τaverage(1Θ×1 ) (5.23)

where:

~ 1Θ×1 = Θ × 1 vector of ones

This equation presents τaverage as an additional unknown. This can be determined however, by noting that it is the component of the torque that is independent of the cog effects of α, β and τθ . As such it can be formulated as a gain multiplied by the ideal electromagnetic torque:

~ ~ τaverage(1Θ×1 ) = (Iref •K)∗13×1 (5.24)

where:

 = overall system gain independent of ~α, β~ and ~τcog ~ 13×1 = 3 × 1 vector of ones

Further analysis assumes that the overall gain of the system () can be found. Its determination is discussed in section 5.4 By substituting equation 5.24 into equation 5.23:

~ ∗ ~ ~τmeas = (Iref •K)~α + (K)β + ~τcog − (Iref •K)∗13×1 (5.25) ~ ~ ∗ = (Iref •K)(~α − (13×1 )) + (K)β + ~τcog (5.26)

63 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION

Now analysis can continue as previously described, however now the vector ~y is:

  ~ ~α − (13×1 ) ~y =   (5.27) β~

once ~y is determined using the least squares minimisation, a knowledge of  will allow determination of alpha.

5.4 System gain determination

The previous section demonstrated that if a dynamic torque sensor was used, compen- sation for the current imbalance and cogging torque is only possible if the overall gain of the system () is known. An underlying assumption is that the transfer function can be approximated by a simple gain. This section will present a method for checking if the relationship can be approxi- mated by a gain and for determining the magnitude of that gain. It can also be used to effectively ‘calibrate’ the torque sensors.

5.4.1 Transfer function determination overview

Transfer function determination is done by considering the response of the output to a known input. A frequency response function (H(ω)) is normally used [66](eq 7.10).

B(ω) H(ω) = (5.28) A(ω)

where:

H(ω) = frequency response function A(ω) = frequency input function B(ω) = frequency output function

Randall[66] suggests that if full control of the input is possible (as in this situa- tion) a better estimate of the transfer function can be by multiplying numerator and denominator of H(ω) by the complex conjugate of A(ω) which gives:

64 5.4. SYSTEM GAIN DETERMINATION

GAB(ω) H1(ω) = (5.29) GAA(ω)

where:

H1(ω) = alternate frequency response function

GAB(ω) = cross spectrum

GAA(ω) = input auto spectrum

5.4.2 Input and Output

To create the known input function requires the injection of harmonics over the fre- quency range. For the situation of interest, the ability of PCRW methods to cancel out unwanted harmonics can be extended to inject a range of electro-magnetic torque harmonics. By measuring the output harmonics in the measured torque signal the transfer function can be determined.

5.4.3 Transfer function

Once the input and output signals are determined, Equation 5.4.1 can be used to determine the transfer function. This can be done using the MatlabTM function tfes- timate. This function uses Welch’s averaged periodogram method [74]. If there are no mechanical resonances in the system, the response when plotted, should have the same magnitude over the frequency range and zero phase lag. It is possible that this analysis could be extended to situations where the transfer function is not a simple gain. As previously discussed, this could occur when mechan- ical resonances are present in the system or the measurement of the torque is indirect such as when using an observer. N’diaye, Espanet and Miraoui [56] presented an ex- perimental setup that could benefit from such analysis. They indirectly measured the pulsating torque using an accelerometer attached to the housing of the motor. In that situation, knowing how the accelerometer output related to motor torque would be beneficial.

65 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION

5.4.4 Coherence

To ensure that the estimated transfer function is accurate, the coherence was used. In his book Frequency Analysis [66], Randall states: “the coherence gives a measure of the degree of linear dependence between the two signals, as a function of frequency”. If there is poor linear dependence between the input and output signals then the determined transfer function is meaningless. The coherence is calculated from the two autospectra and the cross spectrum [66](eq 7.4).

|G (ω)|2 γ2(ω) = AB (5.30) GAA(ω)GBB(ω) where:

GAB(ω) = cross spectrum

GAA(ω) = input auto spectrum

GBB(ω) = output auto spectrum

A perfect linear relationship between input and output will give a coherence of one, suggesting that confidence can be placed in the determined transfer function.

5.5 Sensitivity analysis

~ ∗ To give an insight into the accuracy required for the determination of ~α, β and ~τcog, a sensitivity analysis was conducted. This was done using MatlabTM to calculate the expected pulsating torque as determined by Equation 5.5 when inaccurate inputs were used. This is based on work done by Poels [63].

To keep with the definition of ~α as the imbalance in the current gain, αa is increased

αa while αb and αc are decreased. The factor plotted is the ratio: . αb,c Figure 5.4 is an overview of how much of each error is allowed to vary for the RMS pulsating torque to remain within 1%. More detailed results for various magnitudes of error are shown in Section C.1. Using figure 5.4 it can be estimated that α needs to be accurate within 5%, β within 0.2Amps and the magnitude of ~τcog within 10%.

66 5.6. SUMMARY OF PTD APPROACH TO MOTOR PARAMETER DETERMINATION

Figure 5.4: ~α, β~, ~τcog variation leading to 1% RMS ~τmeas

5.6 Summary of PTD approach to motor parameter determination

This chapter has presented a new pulsating torque decoupling (PTD) approach to the determination of the motor parameters responsible for the creation of pulsating torque. It was shown that determination is possible from the pulsating torque itself by defining the cogging torque as the residual resulting from a least squares minimisation matching the electromagnetic torque to the measured torque. Some additional infor- mation is required about the system but it was demonstrated that this can be limited to knowledge of only the overall system gain. A theoretical sensitivity analysis was presented to provide a measure of the accuracy required for the determination of ~α, β~, and ~τcog. This PTD approach still requires a carefully designed experimental setup to achieve

67 CHAPTER 5. PULSATING TORQUE DECOUPLING APPROACH TO MOTOR PARAMETER DETERMINATION the required accuracy. The following chapter discusses how such a setup was imple- mented for this research.

68 Chapter 6

Experimental setup

Section 2.8 highlighted problems in past experimental implementations of PRCW methods.

This chapter will explain the Charles Darwin University experimental setup and describe how it has overcome or minimised the effect of these problems.

Following a discussion of the motor tested and a definition of the pulsating torque target, past PRCW implementation problems are reviewed. The operating range of the motor was defined by the mechanical design so this is presented first. With the operating range defined, the design of the current controller and data-logging are then presented. Each of these designs included both hardware and software.

6.1 Motor description

The test motor used was an axial flux motor originally developed as a high efficiency, high torque, direct-drive push-bike motor with a rated power of 200W , a rated torque of 14Nm and a rated voltage of 24V . It was particularly appropriate for this research as it has a non-sinusoidal back EMF and a relatively high cogging torque. If such a motor could be controlled to have low pulsating torque, it would broaden the range of motors able to produce smooth torque and considerably reduce the constraints on motor designers.

69 CHAPTER 6. EXPERIMENTAL SETUP

6.2 Review of past implementation problems

Section 2.8 discussed past experimental implementations and highlighted the following problems:

1. the determination of motor parameters to a suitable accuracy;

2. the availability and location of a suitable torque sensor;

3. the provision of a smooth load to the motor;

4. the presence of mechanical resonances in the experimental setup.

Determination of motor parameters was discussed in Chapters 3 and 5, the other three items were addressed by: mechanical design, design of the current controller and design of the data acquisition system.

6.3 Mechanical design

6.3.1 Design decisions

Several design decisions were made to overcome past implementation problems.

1. the motor and brake would be mounted on the same shaft and bearings;

2. a reaction torque sensor would be used;

3. all measurements would be taken at a motor velocity range well below any system natural frequencies;

4. the load would be applied using an eddy current brake.

Use of the same bearings

Wu and Chapman [75] discussed that the flexible coupling in their setup caused system dynamics that were difficult to model and compensate for. The best way to avoid a flexible coupling was to mount the motor and load on the same shaft.

70 6.3. MECHANICAL DESIGN

Use of a reaction torque sensor

Mounting the motor and load on the same shaft required the use of a reaction torque sensor rather than an in-line sensor. As discussed in section 3.2.3, using a reaction torque sensor also simplified the dynamic measurement of cogging torque. The com- pany Transducer Techniques [70], also suggests that the use of a reaction torque sensor is preferred because it avoids the complexity involved in acquiring signals from a ro- tating shaft.

Avoidance of natural frequencies

By ensuring that measurements were not affected by mechanical resonances, a linear relationship could be assumed between motor torque and measured torque. As this was desirable, it was decided that the range of motor velocities would be limited by the first natural frequency of the test setup. For this reason, one of the mechanical design goals was to make the first natural frequency as high as possible. The determination of natural frequencies is known as modal analysis.

Choice of an eddy current brake

As discussed in 2.9.2, for load application, previous PRCW method researchers have either used: DC motors, hysteresis brakes, eddy current brakes, hydraulic motors or friction brakes. As the primary goal of this research was pulsating torque minimisation, those methods with any potential to have their own torque variation (DC motors, hys- teresis brakes and friction brakes) were excluded. Hydraulic motors were too complex and expensive. Eddy current brakes were the only option remaining. The disadvantage of eddy current brakes is their inability to provide zero speed or high frequency loads. As this research was to focus on steady state operation, the high frequency issue was not a concern. It was decided if zero speed trials were required, a mechanical means of locking the rotor could be implemented. The proportionality of torque to speed was seen as an advantage in that it would allow self speed regulation, something that Wu and Chapman [75] had difficulty with when using their hysteresis brake. The use of an eddy current brake would require that an additional motor was able

71 CHAPTER 6. EXPERIMENTAL SETUP to be connected to measure the back EMF.

If an eddy current brake was to become a reality, a design had to be found that would allow a reasonable range of torque to be applied over the speed range specified by the first natural frequency. The brake also had to be adjustable to allow testing at a range of speeds and torques.

6.3.2 Design order

These decisions placed restrictions on the system that would define the operating range of the motor. The ability to achieve a high first natural frequency would define the range of motor velocities which would in turn, define the torque available from the eddy-current brake. As such the design needed to be done in a specific order.

Rotor axle

Design modification of the rotor and stator was beyond the scope of this research and as such, design started by considering these components. Mounting the motor and brake on one set of bearings required the rotor to be on the opposite side of the stator to the bearings (see Figure 6.1). The dimensions of the stator defined the length and diameter of the shaft supporting the rotor.

This shaft was the starting point for modal analysis (detailed analysis B.2). Even with the thickest, shortest axle possible, simulations showed the first natural frequency was at about 700Hz. Without modification of the rotor or stator, this defined the first natural frequency in the system.

72 6.3. MECHANICAL DESIGN

Figure 6.1: Stylised motor assembly cross section - full detail see A.2.2

Upper frequency limit (bandwidth)

With the first natural frequency defined, the upper frequency limit could be determined to ensure measurements were unaffected by resonance. In their book Vibration Testing: Theory and Practice [50](p166), McConnell and Varoto state that for a mass, spring, damper system such as this test setup, the assumption of a linear sensor gain is only valid at frequencies well below the natural frequency. They suggest if that by only measuring frequencies at least five times lower than the natural frequency of the system, the linearity error is less than 5%. For this reason an upper frequency limit of 140Hz was chosen.

Upper harmonic limit

To find the upper angular velocity limit from the upper frequency limit required the harmonic limit. Hung and Ding [38] suggested that for the FDM, the upper limit of the torque harmonics is the sum of the upper limits of the back EMF and current harmonics. The harmonic limit of the current is usually set as the same as the harmonic limit of the back EMF. Section 4.5 showed that for the TDM and PLM, if the back EMF has the same or less harmonics than a trapezoid, the current limit can be set as

73 CHAPTER 6. EXPERIMENTAL SETUP the same as that for the FDM. It follows that the harmonic limit of the torque is twice that of the back EMF. Back EMF measurements on the test motor (see section 7.4.2) showed that the significant back EMF harmonics were up to the 72nd (9th harmonic in electrical degrees). This indicated the 144th torque harmonic as the upper harmonic limit.

Upper angular velocity limit

Frequencies produced by the motor are the product of the motor velocity and the motor harmonics. Therefore, the upper angular velocity limit is the upper frequency limit divided by the harmonic limit.

upper frequency limit upper angular velocity limit = (6.1) upper harmonic limit 140 = (6.2) 144 = 0.97Hz (6.3)

So, to avoid mechanical resonance problems, the maximum angular velocity should be around 1Hz. It was decided that measurements should be taken over a range of angular velocities. The minimum velocity of this range would limit the ability of the eddy-current brake to provide a range of reference torques. In order to provide a reasonable velocity range, it was decided that the minimum of the velocity range must be at least as low as 0.5Hz.

Eddy-current disk

With the angular velocity range and first natural frequency defined, the eddy current disk and its axle could be designed. Detailed eddy current design is presented in appendix B.1. Because of uncertainties in the design process, the expected load torque was a range. The highest achievable torque to provide braking over the defined motor velocity range was between 3Nm and 9Nm. Though this would only use a portion of the rated torque of the motor, the benefits of the completely smooth torque output of an eddy current brake justified this limitation.

74 6.4. CURRENT CONTROL DESIGN

Mechanical design of housing, bearings and base

With the design of the axle and eddy-current brake finalised, the housing, bearings and base could be designed. Further modal analysis ensured that there were no natural frequencies below the previously defined 700Hz. Tapered roller bearings were chosen for maximum stiffness and contactless seals were used to minimise friction.

A final assembly drawing is provided in Section A.2.2 and a full set of part drawings in Section A.2.3.

Encoder Bearing Stator Housing

Eddy Current Rotor Brake

Piezoelectric sensors

Figure 6.2: CDU Experimental Setup (Magnet portion of the eddy current brake has been removed for clarity)

6.4 Current control design

As PRCW methods rely on accurate following of the reference current, accurate current control is critical. Current controller design was influenced by the decision to use a ‘full bridge’ topology and included: sensor selection, hardware design and software design.

75 CHAPTER 6. EXPERIMENTAL SETUP

6.4.1 Design decisions

Full bridge motor topology

To ensure the greatest flexibility of reference current waveforms, it was desired that the ‘star connection’ constraint be able to be imposed or removed. For this reason a ‘full bridge drive topology’ [31](Figure 8-5) was chosen. This has been previously implemented by Aghili, Buehler and Hollerbach [2], N’diaye, Espanet and Miraoui [56] and Mieno and Shinohara [51]. Independent current control loops allow inclusion of the ‘star constraint’ in software by ensuring the reference currents always sum to zero. Figure 6.3 shows a SimulinkTMblock diagram of this topology and figure 6.4 shows the star connected topology.

S1 S2 S5 S6 S9 S10

Supply voltage

S3 S4 S7 S8 S11 S12

Figure 6.3: Full bridge drive topology

S1 S2 S3

Supply voltage

S4 S5 S6

Figure 6.4: Star connected drive topology

76 6.4. CURRENT CONTROL DESIGN

6.4.2 Current Control Hardware

PRCW methods require a position sensor, to determine the reference current and a current sensor to ensure the actual current matches the reference current. In addition to sensors, a digital signal processor (DSP) was required to implement the control algorithms and a current inverter was required to create the desired current from the supply voltage.

Current sensor

The current sensor measurement range is defined by the rated torque of the motor and the magnitude of the back EMF. Using any of the PRCW methods for the original maximum possible torque of 9Nm required a current measurement range of about 45A. However, it later became clear as explained in section 7.3, that the maximum applied load torque was only 5Nm. This corresponded to a current measurement range of about 25A. As the accuracy desired of the system is a few percent, the accuracy of the current sensor over the measurement range should be considerably lower than this. Most current sensors either measure the voltage across a shunt or use a Hall-Effect device. The Hall-Effect devices such as the range manufactured by LEMTMare usually the most convenient as the signal is already isolated and amplified to a range compatible with the input of an analog to digital converter (ADC). The sensor chosen was a closed-loop type (LEM LTS-25 NP) which has an accuracy over the measuring range (±25A) of 0.7% and a bandwidth of 100kHz (−0.5dB). One potential issue with this sensor was the susceptibility of the analog voltage output to noise. To minimise this problem, the current sensors were mounted on a separate board with a separate power supply mounted away from the current inverter. The design of the sensor board is shown in section A.3.4.

Position sensor

PRCW methods require a much higher resolution encoder than traditional current control methods as they are effectively seeking to control much higher harmonics. The resolution of the sensor was defined from the need to control up the the 144th harmonic. For adequate control of a frequency range, the sampling frequency should be

77 CHAPTER 6. EXPERIMENTAL SETUP

5 to 10 times higher than the closed loop bandwidth [26](p357). Control of harmonics is somewhat analogous to control of frequencies. Instead of a requirement for the sampling frequency to be 10 times faster than the controlled frequency, the position information needs to be available 10 times faster. For the test motor, this specified that a sensor of at least 1440 pulses per mechanical revolution was required. The decision to mount the entire test setup on one set of bearings required the use of a hollow shaft encoder. To keep the system stiff enough, an encoder for a 30mm diameter axle was required. Modal analysis showed that a shaft of that diameter would keep the first natural frequency above 700Hz. The sensor chosen was a 12-bit (4096 states), gray code, absolute encoder (PCA ANHM-30RR-MAA1/4096). Using an absolute encoder had the added benefit of avoid- ing the need for an initialisation routine and the use of gray code ensured a more robust digital signal.

DSP selection

The most accurate current control would come from having the fastest possible control loop. This meant that the DSP needed to be as fast as possible. The decision to use a ‘full bridge drive topology’ required three independent current control loops running simultaneously. The chosen DSP needed to have at least six pairs of pulse width modulation (PWM) outputs and three ADC inputs. A Texas InstrumentsTMDSP was chosen (TMS320F2812) mounted on a Spectrum DigitalTMeZdspF2812 board. This decision was made as CDU staff had prior experi- ence with other TMS products. It was also an attractive option as MathworksTM had recently released a SimulinkTM toolbox for this chip. This allowed the programming of the DSP to be done in the block diagram language of SimulinkTM.

Voltage inverter

Consideration of figures 6.3 and 6.4 shows that the use of the ‘full bridge drive topology’ required 12 switches instead of the six required for a star connected topology. This requirement for twelve switches, excluded the use of a commercially available module as ‘off the shelf’ modules are only designed with six switching components.

78 6.4. CURRENT CONTROL DESIGN

The other requirements of the current control hardware were that it had to be designed for the rated bus voltage (24V ) and the phase currents (50A). The switching components chosen were MOSFETs from International RectifierTM (IRF2907). This decision was based on their current and voltage ratings, their low drain-source on resistance (RDS(on)), their low cost and availability. These were driven by IR2110 gate drivers from International RectifierTM. A photo of the current control hardware is shown in appendix A.

6.4.3 Current control software

The main challenge for the control software was to run the current control loop as fast as possible while still achieving suitable accuracy. The final controller is shown in Figure 6.5.

300

PWMbias W1 W2 C28x PWM W3

error Vy = Vu * 2^−5 PWM_hi I_ref 23 Qy = Qu >> 5 Ey = Eu Kp W1 Current reference P_shift generator W2 C28x PWM W3 Vy = Vu * 2^−12 327 Qy = Qu >> 12 PWM_lo Ey = Eu C28x ADC Ki I_shift

Ifb Memory

Figure 6.5: SimulinkTMmodel of current controller

Current feedback

The current feedback is the raw data from the ADC. As the DSP has a 12-bit ADC, the feedback current is represented as a number from 1 - 4096.

Current reference generator

The current reference generator uses position data from the encoder as an input to a lookup table for each phase. To speed up real time calculations and allow direct

79 CHAPTER 6. EXPERIMENTAL SETUP comparison with the feedback values, the lookup tables were converted to ADC values (1-4096) off-line.

Proportional - integral (PI) controller

The pink blocks in Figure 6.5 represent the implementation of the PI controller. This was chosen as an appropriate controller on the assumption that the motor was a ’first- order’ system. Derivative (D) control is normally added if additional bandwidth is desired, however it can lead to instability if noise is present in the system [26](p161). As it was anticipated that the bandwidth of the controller would be adequate, a PI controller was implemented instead of a PID controller. When implementing an integral controller, the error needs to be multiplied by the sampling time. In this implementation, to minimise calculation time, this was done by bit shifting. The actual multiplication done by the bit shift will not be exactly the same as multiplication by the sample time. This was compensated for by adjusting the value of the integral gain (Ki). Additional bit shifting was also used in both the proportional and integral sections to avoid quantisation issues resulting from fixed point arithmetic.

PWM outputs

The output of the controller was sent to the standard PWM blocks provided by the SimulinkTMlink library to the DSP.

6.5 Data acquisition

A data acquisition system was required to determine the effectiveness of the proposed methods. It was required to be able to measure the currents and motor torque and log them in a suitable form.

6.5.1 Design decisions

Data acquisition was based on a LabviewTMplatform due to software availability. To minimise data storage size, a position based logging system was chosen. This meant

80 6.5. DATA ACQUISITION that the torque and the currents were logged each time there was an change in encoder position. For every revolution, there would be 4096 measurements of each variable. This greatly simplified later order analysis.

6.5.2 Data acquisition hardware

Torque sensor

In their paper Measurement of torque ripple in PM brushless motors[69], Sun et al. suggested that a torque sensor with a range large enough to measure the average torque would have inadequate resolution to measure the pulsating torque. The best way to achieve adequate resolution for pulsating torque measurement was to use a sensor that only measures the dynamic torque. That way none of the range is used up measuring the zero frequency (DC) portion. The chosen setup needed a ‘dynamic’ reaction torque sensor capable of withstand- ing the maximum torque that could be applied by the eddy current brake (9Nm) and of measuring the range of the pulsating torque (expected to be ±2Nm). The sensor chosen needed a bandwidth capable of measuring the pulsating torque and of analysing the resonant frequencies in the system. Although the frequency range of measurement to avoid resonant frequencies was 140Hz, if possible, the bandwidth of the sensor should be substantially higher to allow analysis of the resonant frequencies and allow the potential for future testing of the motor at higher angular velocities. As described in section 3.2.3, to allow the simplification of the dynamic measure- ment of cogging torque, the reaction torque sensor must also be suitably stiff. The chosen configuration of a reaction torque sensor required the housing to be supported by four force sensors (see Figure 6.2). By knowing the distance between these sensors, the torque could be calculated. To ensure adequate sensor resolution, piezoelectric sensors (PCB 208C01) were chosen. These are dynamic sensors, so their range was chosen to suit only the expected magnitude of the pulsating torque. Their upper bandwidth is 36kHz, well beyond the required measurement range and their stiffness is 1kN/µm. These sensors were interfaced to the data acquisition card by a line powered signal conditioner (PCB 482A16).

81 CHAPTER 6. EXPERIMENTAL SETUP

Data acquisition card

The data acquisition card needed at least 12 digital inputs for the encoder and 7 analog inputs (3 currents and 4 forces). To ensure compatibility with LabviewTM, which is made by National InstrumentsTM, a National InstrumentsTMdata acquisition card was chosen (NI PCI-6259).

Interface PCB

A dedicated PCB was required to route the signals from the torque sensor signal conditioner, the encoder and the current sensor board to the data acquisition card.

The decision to log data when an encoder pulse changed was difficult to implement with the gray-code encoder. The least significant (highest frequency) bit in a gray-code encoder only changes every second state. If this were used, the sampling frequency would be half the encoder frequency. To overcome this, a series or exclusive or (XOR) gates were implemented in hardware to convert the gray-code to binary.

A photo of the interface PCB is shown in appendix cha:appendixA.

6.5.3 Data acquisition software

The data acquisition software implemented was implemented in LabviewTMusing a series of virtual instruments. Data was acquired in a batch which was then saved to a text file. Figure 6.6 shows a screen shot with current, torque and velocity logged.

82 6.6. EXPERIMENTAL SETUP SUMMARY

Figure 6.6: Screen shot of LabviewTMvirtual instrument

6.6 Experimental setup summary

This chapter discussed how the CDU experimental setup was realised, including com- ponent selection and design. This created a platform to overcome problems faced by previous researchers and was suitable for experimental comparison of PRCW methods (chapter 2) and methods of parameter estimation (chapters 3 and 5). The results of this testing are presented in the next chapter (chapter 7).

83 CHAPTER 6. EXPERIMENTAL SETUP

84 Chapter 7

Results

Chapters 2 and 4 discussed PRCW methods and chapters 3 and 5 considered the parameter determination so critical for their successful implementation. This chapter will present an experimental comparison of PRCW methods and meth- ods of parameter determination. To begin with, the assumptions made when developing the motor model discussed in section 2.1.1 are validated, and the performance of the current controller is checked. Motor parameters are estimated using analytical methods outlined in chapter 3 and then determined using experimental methods from that chapter. Results are then determined using the PTD method proposed in chapter 5 and an experimental comparison is shown between each of the published PRCW methods. Finally a sensitivity analysis is provided for the effect of motor parameter variation on pulsating torque. Though all analysis relating to these results has been done in mechanical degrees, presentation is in electrical degrees (or electrical harmonics) for clarity. As the focus of this research is on the pulsating, or dynamic torque, little emphasis is placed on the average component of the torque.

7.1 Validity of assumptions

Section 2.1.1 presented the three assumptions made when using PRCW methods:

1. Back EMF is proportional to angular velocity;

85 CHAPTER 7. RESULTS

Figure 7.1: External drive for measurement of back EMF

2. Torque produced is proportional to phase currents, and

3. Infinite DC bus voltage.

Another potential issue, discussed in sections 3.1.4 and 3.2.4 was the potential effect of temperature variation on the back EMF and cogging torque. To ensure that this was not an issue, the test motor was run for at least an hour before any testing was done to ensure that the temperature of the motor had reached steady state. The other assumptions were checked as follows:

7.1.1 Back EMF proportional to angular velocity

The back EMF was measured using an DC motor coupled to the test motor by two v-belt pulleys and a large o-ring. This was the simplest way to transfer torque in a smooth way with an appropriate gear ratio. The gear ratio was chosen such that the PMAC motor was turned in the defined speed range (0 − 5Hz) while the drive motor remained within its operating range. This setup is shown in Figure 7.1 Figure 7.2 shows the raw back EMF taken at different angular velocities. Close

86 7.1. VALIDITY OF ASSUMPTIONS

Raw back EMF data (phase A)

1

0.8

0.6

0.4 0.5Hz 0.2 0.6Hz 0.7Hz 0 0.8Hz −0.2 0.9Hz back EMF (V) 1.0Hz −0.4

−0.6

−0.8

−1 0 500 1000 1500 2000 2500 3000 3500 4000 encoder position

Figure 7.2: Raw back EMF over the angular velocity range

inspection suggests that the shape of the waveform varies. This however is due to angular velocity variations resulting from the cogging torque. The normalised back EMF was determined for each speed by dividing the back EMF waveform by the corresponding instantaneous velocity. The average normalised back EMF across all speeds was then determined and is shown in Figure 7.3. Figure 7.4 shows that following normalisation, the error between the back EMFs from different angular velocities was less than 0.2%, validating the assumption that back EMF is proportional to angular velocity is valid.

7.1.2 Torque proportional to current

Aghili, Buehler and Hollerbach [2] present a method for checking the proportionality of current to torque at three torque harmonics. For this research, the proportionality was checked over the entire range by injecting all harmonics as described in Section 5.4.2. Figure 7.5 shows that when the current magnitude is increased five times the torque output remains proportional.

87 CHAPTER 7. RESULTS

Mean normalised back EMF

0.15

0.1

0.05

phase A 0 phase B phase C

−0.05

normalised back EMF (V.s/rad) −0.1

−0.15

0 500 1000 1500 2000 2500 3000 3500 4000 encoder position

Figure 7.3: Mean normalised back EMF

88 7.1. VALIDITY OF ASSUMPTIONS

% error over speed range − Phase A 0.5 0.5Hz 0.6Hz 0.7Hz 0 0.8Hz % error 0.9Hz 1.0Hz −0.5 0 500 1000 1500 2000 2500 3000 3500 4000

% error over speed range − Phase B 0.5 0.5Hz 0.6Hz 0.7Hz 0 0.8Hz % error 0.9Hz 1.0Hz −0.5 0 500 1000 1500 2000 2500 3000 3500 4000

% error over speed range − Phase C 0.5 0.5Hz 0.6Hz 0.7Hz 0 0.8Hz % error 0.9Hz 1.0Hz −0.5 0 500 1000 1500 2000 2500 3000 3500 4000 encoder position

Figure 7.4: Percentage error of normalised back EMF over the angular velocity range

89 CHAPTER 7. RESULTS

0.05

0.04 y = 0.82*x − 0.00047

0.03

0.02

0.01 data 1

size of output harmonics linear 0 0 0.01 0.02 0.03 0.04 0.05 0.06 size of input harmonics x 10−3 1

0.5

0 residual −0.5

−1 0 0.01 0.02 0.03 0.04 0.05 0.06 size of input harmonics

Figure 7.5: Proportionality of torque to current

90 7.2. CURRENT CONTROLLER

7.1.3 Infinite DC bus voltage

The assumption that the DC bus voltage is infinite is valid as long as the PWM signal from the current control loop is not saturated. This situation will usually arise when the motor is running at high angular velocities and the differential between the bus voltage and the back EMF is small. As all of the testing has been done as low angular velocities, this was not an issue. To ensure that the PWM signal was not saturated, the signal was checked during each measurement. The pulse width did not exceed 50% for any trial, so the system was not close to saturating. Hence it was valid to make the ‘infinte DC bus voltage’ assumption for motor modelling.

7.2 Current controller

Accurate current control is critical for PRCW methods. To do this, an accurate model of the system was required.

7.2.1 System characterisation

Section 6.4.3 explained the choice of a PI controller. This choice was based on the assumption that the system was ‘first-order’. To determine the transfer function of the windings, voltage waveforms were induced into the system at different frequencies and the resulting current logged. Figure 7.6 shows the results of this testing along with a fitted ‘first-order’ system. Fitting was done using the MatlabTM tfestimate function which is based on Welch’s averaged periodogram method [74]. Analysis of the phase indicated that there was a delay in the system. Fitting suggested that this was 3 sample times.

7.2.2 PI controller determination

Controller design was done based on the system model determined. For a first order system with a delay, a standard way of designing a PI controller is to use the Zeigler- Nichols reaction curve method [26](p167). This is based on the gain of the system and the ratio of the delay to the 63% rise time. The delay was already determined. The 63% rise time was found by simulating

91 CHAPTER 7. RESULTS

PLANT: open loop curve fit From: u1 To: y1 40

30

20

10 Magnitude (dB) 0

−100

−200

−400 experimental approx (no delay) Phase (deg) −600 approx (1T delay) approx (2T delay) approx (3T delay)

3 4 5 10 10 10 Frequency (rad/sec)

Figure 7.6: Bode plot of Plant

Simulated plant step resonse 45

40

35

30

25

20 current (A)

15

10

5

0 0 1 2 3 4 5 6 7 −3 time (sec) x 10

Figure 7.7: Simulated step response of system

92 7.2. CURRENT CONTROLLER a step response to the determined transfer function in MatlabTM. This is shown in Figure 7.7. From this figure, the PI controller parameters were determined as:

Ko = 46.3 (7.1)

−5 τo = 3.0 × 10 (7.2)

−3 νo = 1.1 × 10 (7.3)

where:

Ko = system gain

τo = delay time

νo = 63% rise time

For a PI controller [26](p168):

0.9νo Kp = (7.4) Koτo = 0.72 (7.5)

and

Ti = 3τo (7.6)

= 9 × 10−5 (7.7)

where:

Kp = controller gain

Ti = integral time constant

Implementation into the fixed-point DSP controller, as presented in Figure 6.5, required some scaling:

93 CHAPTER 7. RESULTS

DSP 5 Kp = Kp × 2 (7.8) = 23 (7.9)

and

DSP Kp 12 Ki = × 2 × ts (7.10) Ti = 327 (7.11)

7.2.3 Verification

To demonstrate the accuracy of the controller, the reference and feedback currents were compared. Figure 7.8 shows that the feedback current and the reference current for one operating condition. Figure 7.9 shows the percentage error. Thought the actual current closely follows the reference current, it can be seen that there is still up to about a 4% error.

Current Controller Performance (one electrical revolution)

I ref 15 I fb

10

5

0 current (A) −5

−10

−15

0 50 100 150 200 250 300 350 400 450 500 encoder position

Figure 7.8: Current controller performance

94 7.3. EDDY CURRENT BRAKE TESTING

Current Controller Error (one electrical revolution) 4

3

2

1

0

−1 % error

−2

−3

−4

−5

0 50 100 150 200 250 300 350 400 450 500 encoder position

Figure 7.9: Current error

7.3 Eddy current brake testing

Section 6.3.2 explained that due to uncertainties in material properties and magnetic flux density, the strength of the eddy current brake at the slowest measurement speed (0.5Hz) could only be determined to be between 3Nm and 9Nm. Once the current controller was functioning, the brake could be tested. It was found that the maximum torque that could be applied at 0.5Hz was 5Nm. Though this meant that only about a third of the rated torque (14Nm) of the motor would be used, measurements could still be taken over a reasonable range (1 − 5Nm).

7.4 Parameter determination

As mentioned in Chapter 3 the critical motor parameters for PRCW methods are: back EMF, cogging torque and current flow. To ensure that these are determined correctly also required a knowledge of the gain and offset of the current inverter and the gain of the torque sensor. This section will discuss parameter determination by datasheet values and ‘traditional’ methods. The next section will discuss parameter

95 CHAPTER 7. RESULTS determination using the PTD method presented in Chapter 5.

7.4.1 Scaling factors

The scaling factors were initially determined using datasheet values.

Power supply gain

The current reference is converted to ADC values off-line to maximise controller speed. The power supply gain therefore, relates current in ADC values to current in amps. It is more intuitive to initially analyse the gain starting at the current sensor and then take the inverse. The current sensor (LEM LTS25NP) converts the phase current to a voltage:

V 0.625V sensor = (7.12) Iphase 25A A voltage divider is then used to ensure that the signal is suitable for the 3.3V DSP. The output is centred at 2.5V so even with the low gain presented above, there is a potential for the output to be above 3.3V

V 2V divider = (7.13) Vsensor 3V This signal is then fed into the ADC:

N 4096counts ADC counts = (7.14) Vdivider 3V Therefore the total gain is:

V V N 0.625V 2V 4096counts sensor divider ADC counts = (7.15) Iphase Vsensor Vdivider 25A 3V 3V N ADC counts = 22.8ADC counts/A (7.16) Iphase The gain from ADC counts to current in amps is the inverse:

I phase = 0.0439A/ADC count (7.17) NADC counts ∗ = wp (7.18)

96 7.4. PARAMETER DETERMINATION

where:

∗ wp = estimated current inverter gain for phase p

Power supply offset

Figure 5.1 showed that in addition to a power supply gain, there was also an offset. In this experimental setup this was due to the sensor using a 2.5V reference for 0 Amps. From the previous section it can be determined that 2.5 V olt is equivalent to 2276 ADC counts, so:

∗ op = 2276 ADC counts (7.19)

where:

∗ op = estimated current inverter offset for phase p

Torque sensor gain

From the torque sensor calibration certificate, the output of the piezoelectric sensor (PCB 208C01) is:

V sensor = 0.109V/N (7.20) F This is acting on a moment arm on the housing base of 120mm so:

V sensor = 0.109/0.12V/Nm (7.21) τ meas = 0.933V/Nm (7.22)

So by taking the inverse:

τ meas = 1.10Nm/V (7.23) Vsensor ∗ = up (7.24)

where:

∗ up = estimated torque transducer gain for phase p

97 CHAPTER 7. RESULTS

Harmonic content of back EMF 1 phase A 0.9 phase B phase C 0.8

0.7

0.6

0.5

0.4 relative magnitude 0.3

0.2

0.1

0 0 2 4 6 8 10 12 14 16 18 20 electrical harmonics

Figure 7.10: Harmonic content of back EMF

7.4.2 Back EMF

Section 7.1.1 showed that back EMF of the test motor is proportional to angular velocity. For PRCW methods, in particular the FDM, the harmonic limit of the back EMF is also important.

Back EMF harmonic analysis

Figure 7.10 shows that the dominant harmonics in the back EMF of the test motor are the odd harmonics. Based on Section 3.1.1, that result was expected for a back EMF between a sine wave and a trapezoid.

The magnitude of the harmonics decreases rapidly. The FDM requires a harmonic limit to be chosen. To determine this harmonic limit, consideration was given to the percentage error induced by truncating the back emf at different harmonics. These results are shown in figure 7.11.

After the inclusion of the 9th harmonic, the error remaining was about 0.2% which is smaller than the accuracy of the current sensor (0.7%). For this reason, control was attempted up to the 9th electrical hamonic (72nd mechanical harmonic).

98 7.4. PARAMETER DETERMINATION

Error from truncation of back EMF 10 phase A 9 phase B phase C 8

7

6

5 % error 4

3

2

1

0 0 2 4 6 8 10 12 14 16 18 20 harmonic limit

Figure 7.11: Error from truncation of back EMF

99 CHAPTER 7. RESULTS

Measured Cogging Torque (one mechanical revolution)

0.6

0.4

0.2

0 Torque (Nm) −0.2

−0.4

−0.6

0 500 1000 1500 2000 2500 3000 3500 4000 Encoder position φ

Figure 7.12: Dynamically measured cogging torque (one mechanical revolution)

7.4.3 Cogging torque

Section 3.2 discussed that cogging torque can be measured either statically or dynam- ically. The decision to use a reaction torque sensor, allowed dynamic measurements without the need to compensate for inertial forces. This assumption holds as the piezoelectric sensors are suitably stiff (see section 6.5.2). Measurements were taken at the same time the back EMF was measured, while the test motor was being rotated by another motor. Data was at for a series of speeds over the target speed range (0.5 − 1Hz). The average resulting cogging torque is shown for one mechanical revolution in figure 7.12 and for one electrical revolution in for Figure 7.13. The maximum error between this average cogging torque and the cogging torque for each speed was 2.5%. This is shown for one mechanical revolution in Figure 7.14 and for one electrical revolution in for Figure 7.15. Section 3.2.1 explained that the dominant cogging torque harmonic would be de- fined by the number of stator slots divided by the number of pole pairs. For the test 48 motor this will be: 8 or the 6th electrical harmonic (48th mechanical harmonic). Figure 7.16 shows the cogging torque harmonics. As expected, the dominant har-

100 7.4. PARAMETER DETERMINATION

Measured Cogging Torque (one electrical revolution)

0.6

0.4

0.2

0 Torque (Nm) −0.2

−0.4

−0.6

0 50 100 150 200 250 300 350 400 450 500 Encoder position φ

Figure 7.13: Dynamically measured cogging torque (one electrical revolution)

Percentage error of the averaged Cogging Torque 2.5 0.5 Hz 2 0.6 Hz 0.7 Hz 1.5 0.8 Hz 0.9 Hz 1 1.0 Hz

0.5

0 % Error −0.5

−1

−1.5

−2

−2.5 0 500 1000 1500 2000 2500 3000 3500 4000 Encoder position φ

Figure 7.14: Dynamically measured cogging torque error (one mechanical revolution)

101 CHAPTER 7. RESULTS

Percentage error of the averaged Cogging Torque (one electrical revolution) 2.5 0.5 Hz 2 0.6 Hz 0.7 Hz 1.5 0.8 Hz 0.9 Hz 1 1.0 Hz

0.5

0 % Error −0.5

−1

−1.5

−2

−2.5 0 50 100 150 200 250 300 350 400 450 500 Encoder position φ

Figure 7.15: Dynamically measured cogging torque error (one electrical revolution)

102 7.5. PARAMETER DETERMINATION - PTD METHOD

Measured cogging torque harmoincs 1

0.9

0.8

0.7

0.6

0.5

0.4 relative magnitude 0.3

0.2

0.1

0 0 5 10 15 20 25 30 electrical harmonics

Figure 7.16: Measured cogging torque harmonics

monics are multiples of the 6th electrical harmonic. There are also smaller harmonics at multiples of the 2nd. It should be noted that the Zero harmonic was not measured.

7.5 Parameter determination - PTD method

7.5.1 Scaling factors

Overall system transfer function

As only the dynamic torque was measured, the magnitude of the overall system trans- fer function needed to be determined. This determination follows analysis done by Grassens[27]. As explained in section 5.4, this procedure effectively ‘calibrates’ the torque sensors. Section 5.4 presented a method for calculating the overall system transfer function  B(ω) τ meas(ω) in the frequency domain H(ω) = = . Initially datasheet values A(ω) τ em(ω) were used to determine the gain. Harmonics were induced into the electro-magnetic torque and the response of the measured torque recorded. The result of these mea- surements would determine any error in the datasheet values. Figure 7.17 shows the results of this method over the operating range. It should

103 CHAPTER 7. RESULTS

H = T /T p em 10

5 Magnitude 0 0 20 40 60 80 100 120 140

100 0 Phase −100

0 20 40 60 80 100 120 140

1

0.5 Coherence 0 0 20 40 60 80 100 120 140 Frequency

Figure 7.17: System transfer function estimation

be noted that these are mechanical harmonics. To demonstrate the linear dependence of the input and output signals, the coherence was determined. The bottom portion of Figure 7.17 shows that the coherence is very close to 1 over the harmonic range indicating a strong linear dependence, as discussed in section 5.4.4.

Though the system response is generally a straight line, there are some obvious peaks. These are caused by pulsating torque harmonics due to current imbalance or cogging torque (i.e. a lot more torque comes out of the system than was induced into the system). To overcome this issue, all harmonics that were multiples of 8 (electrical harmonics) were removed. The resulting response is shown in Figure 7.18.

The important point to note from Figure 7.18 is that the magnitude is relatively constant over the harmonic range and the phase lag is close to zero. This confirms that there are no resonant frequencies in the operating range and that the transfer function can be approximated by a gain for further analysis.

104 7.5. PARAMETER DETERMINATION - PTD METHOD

H & Least Squares selected 1.5

1

0.5 Magnitude 0 0 20 40 60 80 100 120 140

100 0 Phase −100

0 20 40 60 80 100 120 140

1

0.5 Coherence 0 0 50 100 150 Frequency

Figure 7.18: System transfer function estimation (no multiple of 8 harmonics)

105 CHAPTER 7. RESULTS

Overall system scaling

Figure 7.18 showed that the magnitude of the overall system () was about 0.8. Con- sideration of how the accuracy of this parameter estimation effects the pulsating torque is considered in figure 7.31.

This value could now be used to determine the current imbalance and cogging torque as in equation 5.27.

7.5.2 Current imbalance and cogging torque

Once the overall system gain was determined, current imbalance and cogging torque could be found by decoupling the pulsating torque as described in Section 5.2.

To do this required an initial series of measurements to be taken over the operating range (0.5−1.0Hz, 1−5Nm) without compensation. The pulsating torque from these measurements was decoupled to determine the cause.

Figure 7.19 demonstrates how the torque was decoupled for one set-point. The top part of the figure is the measured torque. In the second part of the figure, the torque has been split up into the electromagnetic torque X~y and the residual (designated here as ~z) . This residual should be the cogging torque, however figure 7.16 demonstrated that the cogging torque only contained harmonics that were multiples of the 2nd electrical harmonic. For this reason, these harmonics were taken from ~z and assumed to be the cogging torque. This left a component (described in the figure as ‘rest’) for which the source was unknown.

This decoupling process can also be shown as harmonics (figure 7.20).

Section 5.2.2 discussed that the vector ~y, which describes the current imbalance, ∗ could be forced to be the same over the entire operating range. ~τcog however, would be determined independently for each set-point. A measure of the validity of the PTD ∗ method is the variation of the ~τcog determined for each set-point.

∗ Figure 7.21 shows ~τcog determined for all set-points. Figure 7.22 shows the per- centage error of each of these determined waveforms away from the average.

106 7.5. PARAMETER DETERMINATION - PTD METHOD

Decoupling of pulsating torque (time domain)

3.5 3 2.5 torque (Nm) 0 50 100 150 200 250 300 350 400 450 500

3 Xy 2 z 1

torque (Nm) 0 0 50 100 150 200 250 300 350 400 450 500

0.5 Tc rest 0

torque (Nm) −0.5 0 50 100 150 200 250 300 350 400 450 500 encoder position

Figure 7.19: Decoupling the pulsating torque (time domain) - (‘rest’ is the remaining pulsating torque for which the source is unknown)

Decoupling of pulsating torque (frequency domain)

0.2

0.1 torque (Nm) 0 0 2 4 6 8 10 12 14 16 18 20 0.3 Xy 0.2 z 0.1 torque (Nm) 0 0 2 4 6 8 10 12 14 16 18 20 0.3 Tc 0.2 rest 0.1 torque (Nm) 0 0 2 4 6 8 10 12 14 16 18 20 harmonic number

Figure 7.20: Decoupling the pulsating torque (frequency domain) - (‘rest’ is the re- maining pulsating torque for which the source is unknown)

107 CHAPTER 7. RESULTS

Determined cogging torque for different set−points 0.6

0.4

0.2

0 (Nm)

−0.2

−0.4

−0.6 0 50 100 150 200 250 300 350 400 450 500 encoder position

Figure 7.21: Determined cogging torque for different set-points

Cogging torque error for different setpoints

6

4

2

0 % error

−2

−4

−6

0 50 100 150 200 250 300 350 400 450 500 encoder position

Figure 7.22: Cogging torque error for different set-points

108 7.6. COMPARISON OF PRCW METHODS

Verification of determination of current imbalance

To ensure that the decoupling of the pulsating torque was working effectively, a set of trials were taken with an induced current offset error and another set of trials with an induced scaling error. Table 7.1 shows the determination errors. The values calculated were generally a good estimate of the induced value, and the third column shows the error. In some cases, this error was reasonably high (24% for βc), however as the fourth column shows, the resulting pulsating torque expected if the incorrect estimate was used was always less than 0.5%.

Induced value Calculated value Error Resulting pulsating torque if estimate used (%RMS)

αa = 0.8000 αa = 0.7717 −3.5% 0.54%

αb = 1.1180 αb = 1.1035 −1.3% 0.27%

αc = 1.1180 αc = 1.0884 −2.6% 0.54%

βa = 1.0 βa = 0.9994 0.1% 0.002%

βb = −0.5 βb = −0.5078 1.6% 0.028%

βc = −0.5 βc = −0.6205 24.1% 0.439%

Table 7.1: Induced scaling and offset errors and the found compensating values

7.6 Comparison of PRCW methods

7.6.1 Pulsating torque comparison

Once the current errors and estimate of the cogging torque had been determined, it was possible to compare the different PRCW methods using both traditional and PTD compensation for these parameters. Figure 7.23 shows a summary of the results. The red circles on the left show the ’uncalibrated results’ and the green crosses on the right are the results when the PTD method was used to create calibrated results. Each of the data points in figure 7.23 is the mean of a series of experiments taken

109 CHAPTER 7. RESULTS

Comparison of methods for pulsating torqe minimisation 10 uncalibrated 9 calibrated 8

7

6

5

4

3

RMS of pulsating torque (Nm) 2

1

0

SIN SIN FDM TDM PLM FDM TDM PLM FDM* TDM* FDM* TDM*

Figure 7.23: Comparison of PRCW methods (* refers to the use of the star connection constraint)

over the entire torque and velocity range. Figures 7.24 and 7.25 show the original baseline and the best result as achieved by the compensated time domain method. All of the other detailed results are presented in appendix C. Also in appendix C is a harmonic analysis of each method showing which harmonics were removed during calibration. As discussed in section 2.8.1, to numerically compare results, the pulsating torque will be defined as the ratio of RMS pulsating torque to maximum torque.

Baseline - sine wave

As expected, the sine wave shaped current used as a baseline has the most pulsating torque (≈ 8 − 9%). The use of calibration did not have a significant effect.

Uncalibrated PRCW methods

For the ‘uncalibrated’ PRCW methods, datasheet values were used for the system gains and independently determined cogging torque data was used. This approach, as proposed by previous researchers, reduced the pulsating torque to about (≈ 3 − 4%).

110 7.6. COMPARISON OF PRCW METHODS

RMS of pulsating torque: SIN

8

6

4

2

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure 7.24: Uncalibrated sin wave method

There was minimal difference between each of the methods with the only obvious variation an increase in pulsating torque when the additional star connection constraint was applied.

PTD calibration

Each of the methods was then tested over the operating range using the current im- balance and cogging torque determined from the PTD parameter determination. As with the uncalibrated results, the difference between PRCW methods was min- imal. The TDM did have slightly lower pulsating torque as suggested in simulations (section 4.6). Far more significant was the improvement possible for all methods by the use of PTD calibration. Using this method to compensate for current imbalance and cogging torque, the pulsating torque was reduced to about (≈ 1%).

7.6.2 Current use comparison

In addition to considering the pulsating torque, it is worth considering the current waveforms, which are shown in Figure 7.26. It can be seen that each PRCW method produces a distinctly different waveform.

111 CHAPTER 7. RESULTS

RMS of pulsating torque: TDM

1.2 1 0.8 0.6 0.4 0.2

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure 7.25: TDM - without star connection constraint

112 7.7. SENSITIVITY ANALYSIS

Phase A current for different methods 15 SIN FDM FDM* 10 TDM TDM* PLM 5

0 current (A)

−5

−10

0 50 100 150 200 250 300 350 400 450 500 encoder position

Figure 7.26: Comparison of PRCW current waveforms (* refers to the use of the star connection constraint)

SIN FDM TDM PLM % Current Increase (without star constraint) 0 4.7 2.8 3.6 % Current Increase (with star constraint) 0 6.4 3.4 3.6

Table 7.2: Average total RMS current usage increase over operating range

Figure 7.27 compares the current usage increase of each method to the current used for a sinusoidal waveform. The percentage increase is much larger at the smaller set points as the PRCW methods are using current to compensate for the cogging torque regardless of set point. Table 7.2 compares the increase in average RMS current used by each method over the entire operating range.

7.7 Sensitivity analysis

Jahns and Soong[40] stated that: “motor parameter sensitivity of these algorithms has received little attention in the literature to date”.

To ensure a thorough analysis, the estimations of α, β, ~τcog and  were varied.

113 CHAPTER 7. RESULTS

Total RMS current increase for different methods 18 SIN 16 FDM FDM* 14 TDM TDM* PLM 12

10

8 RMS current (A) 6

4

2

0 1 1.5 2 2.5 3 3.5 4 4.5 5 torque setpoint (Nm)

Figure 7.27: RMS current increase from PRCW methods (* refers to the use of the star connection constraint)

114 7.8. SUMMARY OF RESULTS

rms due to change in α error a 4.5 Measurements 1 9 4 Fit on measurement 1−4 Fit on measurement 6−9 Theoretical rms 3.5 error 2 3 8

2.5 3 error 7

rms 2

1.5 4 6 5 1

0.5

0 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 α a

Figure 7.28: Sensitivity of pulsating torque to a α error

This analysis is based on work done by Poels[63].

The sensitivity of pulsating torque to α, β and ~τcog was discussed in Section 5.5. The experimental results have been plotted against these results and show a close match. Two points are of particular interest;

1. For all the analysis, even when the parameters are accurately determined, the pulsating torque always remains at least 1%.

2. The sensitivity of the overall system gain is low. Variation of up to 20% in the estimate will only produce a small increase in puslating torque.

7.8 Summary of results

This chapter validated the assumptions made when developing both the PRCW meth- ods and the PTD method for parameter determination. The parameters determined using ‘traditional’ methods and the parameters determined using the PTD method were presented. Finally, a comparison was made between different PRCW methods

115 CHAPTER 7. RESULTS

rms due to change in β error a 4.5 1 Measurements 4 Fit on measurement 1−5 11 2 Fit on measurement 7−11 Theoretical rms 3.5 error 10 3 3 9 2.5 error 4 rms 2 8 1.5 5 7 6 1

0.5

0 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 β a

Figure 7.29: Sensitivity of pulsating torque to a β error

rms due to change in τ error cog 3 1 Measurements 2 Fit on measurement 1−8 2.5 Fit on measurement 10−15 15 3 Theoretical rms error 14 4 2 13 5 12

error 1.5 6

rms 11 7 8 9 10 1

0.5

0 0.7 0.8 0.9 1 1.1 1.2 1.3 factor of τ cog

∗ Figure 7.30: Sensitivity of pulsating torque to a ~τcog error

116 7.8. SUMMARY OF RESULTS

rms due to change in ε error 1.4

1.2

1

0.8 error

rms 0.6

0.4

0.2

0 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 ε

Figure 7.31: Sensitivity of pulsating torque to a  error

117 CHAPTER 7. RESULTS for each method of parameter determination. The significance of these results will be discussed in Chapter 8.

118 Chapter 8

Discussion

As stated in the introduction, the goal of this research was to compare published PRCW methods with a well designed experimental setup and determine if any of these methods could provide a smooth torque output. To achieve a smooth torque output using PRCW methods requires: a good exper- imental setup, an accurate estimate of motor parameters and the choice of the most appropriate methods. The discussion will consider each of these issues. A summary of this analysis is provided in Chapter 9 - Conclusions.

8.1 Experimental setup

Several parts of the experimental setup proved to be critical, the most important being:

1. the ability of the current control loop to follow the reference current;

2. an easily modelled relationship between electro-magnetic torque and measured torque; and

3. the ability to apply a smooth torque with a regulated speed.

8.1.1 Current control loop

For PRCW methods, the sole focus of the is current control. Infor- mation is used from the position and current sensors to ensure that the actual current

119 CHAPTER 8. DISCUSSION follows the reference current. Without accurate tracking, it is impossible for any of the proposed methods to work.

The current control hardware utilised a closed loop Hall-Effect sensor with an accuracy of 0.7% and a bandwidth of 100kHz (−0.5dB).

The current control software implemented for this research was a very high speed PI controller (loop speed 100kHz) which was tuned using the Zeigler-Nichols ‘reaction curve’ tuning rules [26](p167). This tuning method was chosen after it was determined that the system was a first order system with a time delay. Analysis of the current error showed that while the controller was performing well, there was still up to a 4% error between the reference and freedback currents. The accuracy of the current is clearly dependent on the accuracy of the current feedback.

8.1.2 Transfer function between electro-magnetic torque and measured torque

The control system is judged by the measured torque but it is the electro-magnetic torque that is controlled. Without a thorough understanding of how electro-magnetic torque affects the measured torque, it will be impossible to minimise pulsating torque.

For example, cogging torque should be compensated by creating an ‘equal and opposite’ torque ripple in the electro-magnetic torque. Without understanding the relationship between the ‘measured’ cogging torque and the ‘induced’ electro-magnetic torque ripple it is impossible to make them ‘equal and opposite’.

The ideal scenario is if this transfer function is a simple gain. Difficulties are created when mechanical resonances or inertia forces create a more complex transfer function that is not so easily modelled.

In this research, potential problems were avoided by careful design of the test setup to avoid mechanical resonances and by the use of a reaction torque sensor to avoid the measurement of inertia forces.

By injecting a spectrum of induced harmonics in the electromagnetic torque over the range of interest, it was demonstrated that the response magnitude of the measured torque remained constant and that the phase lag was minimal (see figure 7.18).

120 8.2. PARAMETER ESTIMATION

8.1.3 Smooth load application

The final critical element of a good setup for testing PRCW methods is a means of applying a smooth torque. Any pulsating torque from the load has a detrimental effect on the measurement of actual motor torque. In addition, as PRCW methods are ‘torque controlled’ methods, the load also needs to be able to accurately regulate speed to ensure that the measurements take place in a ‘steady state’ environment.

For this research, an eddy current brake was chosen to ensure a completely smooth load and an inherently self-regulated speed.

8.2 Parameter estimation

The biggest challenge for the implementation of PRCW methods is the accurate deter- mination of motor parameters. Initial examination of the published methods suggests that only the back EMF and cogging torque are required. In addition, it is important to determine any current offset or scaling errors.

Once the back EMF has been determined, the most accurate way of determining the cogging torque and current measurement errors is to use the PTD method developed in chapter 5. This is done by defining the cogging torque as the residual after a least squares approximation is done between the electro-magnetic torque and the measured torque at all torque set-points.

8.2.1 Effect of determination uncertainty

Figure 7.22 suggested an error of 8% in the determination of the cogging torque. The sensitivity analysis (figure 7.30) showed that this uncertaintly could lead to a pulsating torque of 1.5%. Table 7.1 showed the error in determination of the offset and scaling errors is only a few percent for α but was up to 24% for β (0.12A). Consideration of the sensitivity analysis however (figure 7.29), suggested that this uncertainty would lead to a pulsating torque of less than 1%.

121 CHAPTER 8. DISCUSSION

8.2.2 Potential parameter estimation in mass production

One of the stated advantages of PRCW methods was that they are able to reduce restrictions on the design and manufacturing processes. If the main goal is to reduce restrictions on the design process, for instance to allow the motor designer to focus on achieving maximum average torque, parameter estimation can be done once for that design. Problems arise however if the goal was to reduce the restrictions on the manufac- turing process. This would usually be done by relaxing tolerances on either physical dimensions or material properties which would lead to variations in motor parameters between individual motors. To overcome this problem would require a brief test run of the motor on a torque test bench to determine the unique motor parameters. This could be done as part of the final testing of each motor which is a normal part of the manufacture of high perfor- mance drives. This small amount of motor parameter data would be then downloaded into the motor controller.

8.3 Comparison of PRCW methods

8.3.1 Pulsating torque

Theoretical comparison

When compared theoretically, using a sinusoidal and a trapezoidal waveform with a star constraint imposed, all methods were capable of eliminating pulsating torque. The FDM required slightly more current to do this than the TDM and the PLM. If any imbalance between phases was present, the FDM could no longer completely eliminate pulsating torque. When the star constraint was removed, the current required by the FDM and the TDM reduced, however as the PLM has an inherent star constraint, the current it used was unchanged. When the ability of each method to compensate for cogging torque was checked, it was demonstrated that the FDM was only able to do this for cogging torque harmonics that were multiples of three. In addition, it was shown that as the cogging torque

122 8.3. COMPARISON OF PRCW METHODS harmonics became higher, the current required for the FDM to compensate increased dramatically.

Experimental comparison

A summary of the experimental comparison was presented in figure 7.23. The baseline for experimental comparison was using a sine wave current shape with current scaling and offset values taken from datasheets. The RMS pulsating torque for this method was 8-9%. Published PRCW methods were compared to this baseline using the same current parameters and a cogging torque waveform determined using separate dynamic mea- surements. There was no significant difference between different methods and all were able to reduce the pulsating torque to 3-4% RMS. The difference between different PRCW methods may have been more pronounced if the back EMF or the cogging torque contravened the additional assumptions required for the FDM, which would have reduced its effectiveness. The final comparison was to use the PTD method developed in this thesis to calibrate the current scaling and offset and to estimate the cogging torque waveform. Using this calibration, all PRCW methods were capable of achieving around 1% RMS pulsating torque. As with the uncalibrated results there was still not a large difference between different PRCW methods, however the TDM was slightly better at minimising pulsating torque. These results suggest that if PRCW methods used with motor and controller pa- rameters accurately determined from the PTD method, they are worthy of considera- tion for the control of motors requiring a smooth torque output as defined in section 2.8.1.

Remaining pulsating torque

To determine the source of the remaining pulsating torque, it is worth considering the reconstructed torque which is found by multiplying the feedback current by the back EMF. Figure 8.1 shows the RMS reconstructed pulsating torque for the calibrated time domain method trial. Over the operating range, the RMS pulsating torque is about

123 CHAPTER 8. DISCUSSION

1% which is the same size as the measured pulsating torque (presented in figure 7.25). This indicates that the remaining pulsating torque could be attributed to inaccuracies in the current controller. If this were the case, to reduce the pulsating torque further would require a more accurate current controller.

Error of the Current Sensors and Control Loop

1.2 1 fb 0.8 of I 0.6 error 0.4 RMS 0.2 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 Torque [Nm] Speed [Hz]

Figure 8.1: Pulsating torque due to current controller error

8.3.2 Current usage

Figure 7.27 and Table 7.2 demonstrate that the TDM always used the least amount of current. The inclusion of a star constraint slightly increased the required current for both the FDM and the TDM. If a star connection constraint is imposed, the current required from the TDM and PLM was very similar.

8.3.3 Preferred method

In practice, the use of the TDM is recommended because of its superior results and ease of implementation. If implementation is to be done in a rotating reference frame

124 8.3. COMPARISON OF PRCW METHODS

(such as space vector modulation) then the use of the PLM may be beneficial. Though the FDM provides some useful insights into the production of pulsating torque there seems no practical situation where it would be the preferred method.

125 CHAPTER 8. DISCUSSION

126 Chapter 9

Conclusion

The goal of this research was to compare different programmed reference current wave- form (PRCW) methods and determine if any would be suitable to control a permanent magnet alternating current (PMAC) motor in an application requiring a smooth torque output. Three commonly reference PRCW methods were considered: the frequency domain method (FDM) where the analysis is done in the frequency domain, the time domain method (TDM) where the analysis is done in the time domain and the Park-like method (PLM) where the analysis is done in a rotating reference frame. To compare methods, the pulsating torque was defined as the percentage ratio of RMS pulsating torque to maximum torque. The theoretical analysis presented in Chapter 4 suggested that if the three phases were balanced and if the cogging torque contained only harmonics that were multiples of three then all three methods would give similar results. If these assumptions were violated, the TDM and the PLM remained effective, however the FDM method became less effective. It was also demonstrated that the removal of the star constraint (sum of currents in all phases equal to zero) slightly reduced the amount of current required. To compare the results experimentally, a setup was designed, addressing issues highlighted by previous PRCW researchers. Resonant frequencies in the operating range were avoided, dynamic reaction torque sensors were used and an eddy current brake was used to ensure a smooth load was applied. When the three methods were compared experimentally, the results supported the

127 CHAPTER 9. CONCLUSION theoretical analysis.

Initially, the PRCW methods were compared using datasheet values for the current scaling and offset and a cogging torque waveform determined off-line. Using these values, all PRCW methods were capable of reducing the cogging torque to 3−4% from the baseline of a pure sine wave which had a pulsating torque of about 8 − 9%. The difference in pulsating torque between methods was minimal with the TDM producing slightly better results. The TDM method also used slightly less current, hence had slightly lower copper losses.

To further reduce the pulsating torque, a more accurate estimation was required for both the current offset and scaling and the cogging torque waveform. This greater accuracy was achieved by using the pulsating torque decoupling (PTD) method devel- oped in this thesis (chapter 5).

In this method, parameter errors could be determined from the pulsating torque. This was done by redefining the cogging torque as the residual from a least squares minimisation between the electromagnetic torque and the measured torque.

Using this PTD method, the pulsating torque for all methods could be reduced to about 1%. Once again, the difference between methods was minimal with the TDM producing slightly better results.

A sensitivity analysis, both theoretical and experimental showed that to remain below 1% pulsting torque, the current scaling needed to be accurate to within 2-3%, the current offset to within 0.1A and the estimate of the cogging torque within 5% (see 7.7).

Within these ranges, all measurements showed about a 1% pulsating torque, even when the parameter estimation was highly accurate. In an attempt to find the source of this error, the torque was reconstructed from the meausured feedback current and the back EMF. This showed an error over the measurement range of about 1%, suggesting that the source of the remaining pulsating torque may be the inability of the current controller to follow the reference torque.

This research has demonstrated that if motor and controller parameters are ac- curately estimated, PRCW methods can be used to to control motors requiring a smooth torque output. To adequately determine these parameters, the PTD method

128 9.1. FURTHER WORK was developed and implemented. It is envisaged that in a high volume production environment, the PTD method could be used to determine motor and controller parameters. This could be done either once for a given motor design and then applied to all individual motors or if there was substantial manufacturing variation, the methods could be used as part of the final motor testing, from a brief test run.

9.1 Further work

This work highlighted several areas for further work:

1. Current controller accuracy

2. Varying operating conditions

3. Adaptive control

9.1.1 Current controller accuracy

It was discussed in section 8.3.1 that much of the remaining pulsating torque could be attributed to inaccurate following of the reference current. Though the current controller was designed and tested to a high accuracy, once the pulsating torque due to parameter estimation inaccuracies had been removed, the small amount of error in the current controller was the biggest remaining factor creating pulsating torque. As such, the development of a higher accuracy controller using more accurate current sensors is the next logical step to reducing pulsating torque further.

9.1.2 Operating conditions

This study was conducted under carefully controlled conditions. It is possible that these conditions may not be so favourable if:

1. the motor was operated in a speed range with natural frequencies present;

2. dynamic torque set-points were used, or

3. the operating temperature varied significantly.

129 CHAPTER 9. CONCLUSION

Those situations would most likely have a negative impact on the ability of PRCW methods to minimise pulsating torque. The ability of the methods proposed by this research to deal with these variations should be analysed.

9.1.3 Adaptive control

It was mentioned in the introduction that adaptive control is most beneficial if the operating conditions are varying. If this is the case, as discussed above, adaptive control or an alternative such as iterative learning control would be worth considering. Of particular interest is that this research has determined ways to find and compensate for errors in the estimation of motor parameters by measuring pulsating torque. If this pulsating torque could be determined on-line using an observer then the estimation of motor parameters could be updated while the motor is operating.

130 References

[1] F. Aghili, M. Buehler, and J.M. Hollerbach. Torque ripple minimization in direct-drive systems. In Intelligent Robots and Systems, 1998. Proceedings., 1998 IEEE/RSJ International Conference on, volume 2, pages 794–799 vol.2, 1998. TY - CONF.

[2] F. Aghili, M. Buehler, and J.M. Hollerbach. Experimental characterization and quadratic programming-based control of brushless-motors. Control Systems Tech- nology, IEEE Transactions on, 11(1):139–146, 2003. TY - JOUR.

[3] Trust Automation. Datasheet: Se700 series brushless medium interia servo motors. http: // trustautomation. com/ cm/ Standard_ Products/ Motors/ Brushless_ Medium_ Inertia. html , Accessed 30 March 2008 2008.

[4] P. Beccue, J. Neely, S. Pekarek, and D. Stutts. Utilization of a piezoelectric polymer to sense harmonics of electromagnetic torque. Power Electronics Letters, IEEE, 1(3):69–73, 2003. TY - JOUR.

[5] N. Bianchi and S. Bolognani. Design techniques for reducing the cogging torque in surface-mounted pm motors. Industry Applications, IEEE Transactions on, 38(5):1259–1265, 2002. TY - JOUR.

[6] N. Bianchi and S. Cervaro. Optimum current waveform for minimizing torque rip- ple of spm motors. Electric Power Components and Systems, Taylor and Francis, vol. 32(iss. 5):pp. 435–451 (17), 2004.

[7] F. Caricchi, F.G. Capponi, F. Crescimbini, and L. Solero. Experimental study on reducing cogging torque and core power loss in axial-flux permanent-magnet

131 REFERENCES

machines with slotted winding. In Industry Applications Conference, 2002. 37th IAS Annual Meeting. Conference Record of the, volume 2, pages 1295–1302 vol.2, 2002. TY - CONF.

[8] P. L. Chandler. 2D and 3D Electromagnetic and Material Loss Analysis of an Axial Flux Permanent Magnet Machine. Phd, Charles Darwin University, 2004.

[9] P.L. Chapman and S.D. Sudhoff. Optimal control of permanent-magnet ac ma- chine drives with a novel multiple reference frame estimator/regulator. In Industry Applications Conference, 1999. Thirty-Fourth IAS Annual Meeting. Conference Record of the 1999 IEEE, volume 4, pages 2567–2573 vol.4, 1999.

[10] P.L. Chapman, S.D. Sudhoff, and C.A. Whitcomb. Optimal current control strate- gies for surface-mounted permanent-magnet synchronous machine drives. Energy Conversion, IEEE Transactions on, 14(4):1043–1050, 1999.

[11] S.; Chen and T.; Sekiguchi. High efficiency and low torque ripple control of permanent magnet synchronous motor based on the current tracking vector of electromotive force. Transactions of the Institute of Electrical Engineers of Japan, Part D, 120-D(4):559–565, 2000.

[12] Shanzhong Chen, Anhua Song, and T. Sekiguchi. High efficiency and low torque ripple control of permanent magnet synchronous motor based on the current track- ing vector of electromotive force. In Industry Applications Conference, 2000. Con- ference Record of the 2000 IEEE, volume 3, pages 1725–1729 vol.3, 2000. TY - CONF.

[13] Shaotang Chen, C. Namuduri, and S. Mir. Controller-induced parasitic torque ripples in a pm synchronous motor. Industry Applications, IEEE Transactions on, 38(5):1273–1281, 2002. TY - JOUR.

[14] Kuang-Yao Cheng, Chih-Tsung Yao, and Ying-Yu Tzuo. Adaptive target po- sitioning control for permanent magnet synchronous motors with low-resolution shaft encoders. In Power Electronics and Drive Systems, 2003. PEDS 2003. The Fifth International Conference on, volume 1, pages 716–721 Vol.1, 2003. TY - CONF.

132 REFERENCES

[15] Dae-Woong Chung and Seung-Ki Sul. Analysis and compensation of current measurement error in vector-controlled drives. Industry Applications, IEEE Transactions on, 34(2):340–345, 1998. TY - JOUR.

[16] Ogura Clutch. How they work: Hysteresis powered brake. http: // www. ogura-clutch. com/ products/ industrial/ howtheywork/ hysteresis-powered-brake. html? PHPSESSID= 3fec3c219527d4259a53973d87a83b54 , Accessed 30 March 2008 2005.

[17] S. Himmelstein and Company. Bulletin 700e: Torque sensor survey. /www. himmelstein. com/ PDF_ Files/ B700E. pdf , Accessed 30 March 2008 2005.

[18] S. Himmelstein and Company. Bulletin 370f: Models 701 and 711 strain gage con- ditioners. www. himmelstein. com/ PDF_ Files/ B370F. pdf , Accessed 30 March 2008 2007.

[19] Min Dai, A. Keyhani, and T. Sebastian. Torque ripple analysis of a pm brushless using finite element method. Energy Conversion, IEEE Transactions on, 19(1):40–45, 2004. TY - JOUR.

[20] Xu Dianguo, Wang Hong, and Shi Jingzhuo. Pmsm servo system with speed and torque observer. In Power Electronics Specialist, 2003. PESC ’03. IEEE 34th Annual Conference on, volume 1, pages 241–245 vol.1, 2003. TY - CONF.

[21] NDT Education. Conductivity and resistivity values for aluminum and alloys. http: // www. ndt-ed. org/ GeneralResources/ MaterialProperties/ ET/ ET_ matlprop_ Aluminum. htm , Accessed 30 March 2008 2002.

[22] T.R. England. Unique surface-wound brushless servo with improved torque rip- ple characteristics. Industry Applications, IEEE Transactions on, 24(6):972–977, 1988. TY - JOUR.

[23] E. Favre, L. Cardoletti, and M. Jufer. Permanent-magnet synchronous motors: a comprehensive approach to cogging torque suppression. Industry Applications, IEEE Transactions on, 29(6):1141–1149, 1993. TY - JOUR.

133 REFERENCES

[24] G. Ferretti, G. Magnani, and P. Rocco. Force oscillations in contact motion of industrial robots: an experimental investigation. Mechatronics, IEEE/ASME Transactions on, 4(1):86–91, 1999. TY - JOUR.

[25] J. F. Gieras and M Wing. Permanent Magnet Motor Technology: Design and Applications. Marcel Dekker, Inc., New York, 2nd edition, 2002.

[26] G.C. Goodwin, S.F. Graebe, and M.E. Salgado. Control System Design. Prentice Hall, 2001.

[27] Erik Grassens. Transfer function determination for a permanent magnet syn- chronous ac motor. Technical Report DCT 2007.146, Technische Universiteit Eindhoven, December 2007 2007.

[28] B. Grcar, P. Cafuta, G. Stumberger, and A.M. Stankovic. Pulsating torque re- duction for permanent magnet ac motors. In Control Applications, 2001. (CCA ’01). Proceedings of the 2001 IEEE International Conference on, pages 288–293, 2001. TY - CONF.

[29] B. Grcar, P. Cafuta, G. Stumberger, and A.M. Stankovic. Control-based reduction of pulsating torque for pmac machines. Energy Conversion, IEEE Transactions on, 17(2):169–175, 2002. TY - JOUR.

[30] D. Grenier, L.-A. Dessaint, O. Akhrif, and J.-P. Louis. A park-like transformation for the study and the control of a nonsinusoidal brushless dc motor. In Industrial Electronics, Control, and Instrumentation, 1995., Proceedings of the 1995 IEEE IECON 21st International Conference on, volume 2, pages 836–843 vol.2, 1995. TY - CONF.

[31] D. Hanselman. Brushless Permanent Magnet Motor Design. The Writer’s Collec- tive, 2nd edition, 2003.

[32] D.C. Hanselman. Minimum torque ripple, maximum efficiency excitation of brush- less permanent magnet motors. Industrial Electronics, IEEE Transactions on, 41(3):292–300, 1994.

134 REFERENCES

[33] A. Hartman and W. Lorimer. Undriven vibrations in brushless dc motors. Mag- netics, IEEE Transactions on, 37(2):789–792, 2001. TY - JOUR.

[34] Greg Heins and Friso De Boer. Modeling of a synchronous permanent magnet motor to determine reference current waveforms. In Australian Universities Power Electronics Conference, Brisbane, 2004.

[35] Greg Heins, Friso De Boer, and Sina Vafi. Characterisation of the mechanical motor parameters for a pmsm using induced torque harmonics. In Australian Universities Power Electronics Conference, Perth, 2007.

[36] Greg Heins, Friso. de Boer, Jeroen. Wouters, and Roel. Bruns. Experimental com- parison of reference current waveform techniques for pulsating torque minimiza- tion in pmac motors. In International Electric Machines and Drives Conference (IEMDC ’07), volume 1, pages 1031–1035, Antalya, Turkey, 2007.

[37] J. Holtz and L. Springob. Identification and compensation of torque ripple in high- precision permanent magnet motor drives. Industrial Electronics, IEEE Transac- tions on, 43(2):309–320, 1996. TY - JOUR.

[38] J.Y. Hung and Z. Ding. Minimization of torque ripple in permanent magnet mo- tors: a closed form solution. In Industrial Electronics, Control, Instrumentation, and Automation, 1992. ’Power Electronics and Motion Control’., Proceedings of the 1992 International Conference on, pages 459–463 vol.1, 1992.

[39] M.S. Islam, S. Mir, and T. Sebastian. Issues in reducing the cogging torque of mass-produced permanent-magnet brushless dc motor. Industry Applications, IEEE Transactions on, 40(3):813–820, 2004. TY - JOUR.

[40] T.M. Jahns and W.L. Soong. Pulsating torque minimization techniques for perma- nent magnet ac motor drives-a review. Industrial Electronics, IEEE Transactions on, 43(2):321–330, 1996.

[41] Hendershot J.R. and T. J. E. Miller. Design of Brushless Permanent-Magnet Motors. Clarndon Press, Oxford, 1994.

135 REFERENCES

[42] T. Kikuchi and T. Kenjo. In-depth learning of cogging/detenting torque through experiments and simulations. Education, IEEE Transactions on, 41(4):16 pp., 1998. TY - JOUR.

[43] Hoang Le-Huy. Minimization of torque ripple in brushless dc motor drives. IEEE Transactions on Industrial Applications, 22(4):748–755, 1986.

[44] Touzhu Li and G. Slemon. Reduction of cogging torque in permanent magnet motors. Magnetics, IEEE Transactions on, 24(6):2901–2903, 1988. TY - JOUR.

[45] Guang Liu, A. Kurnia, R. De Larminat, P. Desmond, and T. O’Gorman. A low torque ripple pmsm drive for eps applications. In Applied Power Electronics Conference and Exposition, 2004. APEC ’04. Nineteenth Annual IEEE, volume 2, pages 1130–1136 vol.2, 2004. TY - CONF.

[46] C.W. Lu, B.J. Chalmers, A.C. Renfrew, and S. Huang. Novel approach to current profiling for ac permanent magnet motors. Energy Conversion, IEEE Transactions on, 14(4):1294–1299, 1999. TY - JOUR.

[47] Magtrol. Hysteresis dynamometer - user manual. http: // www. magtrol. com/ manuals/ hdmanual. pdf , Accessed 30 March 2008 2004.

[48] Malivor. Datasheet: Ac servo motors - bl 40/50/70 series. http: // www. mavilor. es/ pdf_ products/ bl40_ series_ sc. pdf , Accessed 30 March 2008 2001.

[49] P. Mattavelli, L. Tubiana, and M. Zigliotto. Torque-ripple reduction in pm syn- chronous motor drives using repetitive current control. Power Electronics, IEEE Transactions on, 20(6):1423–1431, 2005. TY - JOUR.

[50] Kenneth G. McConnell and Paulo S. Varoto. Vibration Testing: Theory and Practice. Wiley, 1995.

[51] Y. Mieno and K. Shinohara. Current waveforms for high torque to current ratio in surface mounted permanent magnet synchronous motors. In Power Electronics and Drive Systems, 1997. Proceedings., 1997 International Conference on, vol- ume 2, pages 542–547 vol.2, 1997. TY - CONF.

136 REFERENCES

[52] Yasser Abdel-Rady Ibrahim Mohamed and Ehab F. El-Saadany. A current control scheme with an adaptive internal model for robust current regulation and torque ripple minimization in pmsm vector drive. In Electric Machines and Drives Con- ference, 2007. IEMDC ’07. IEEE International, volume 1, pages 300–305, 2007. TY - CONF.

[53] Cleve Moler. Numerical Computing with MATLAB. Society for Industrial Math- ematics, 2004.

[54] A.C. Morcos, D.N. Brown, and P. Campbell. Ndfeb magnets for electric power steering (eps) applications. In Magnetics Conference, 2002. INTERMAG Europe 2002. Digest of Technical Papers. 2002 IEEE International, page FT3, 2002. TY - CONF.

[55] Parker Motion. Direct drive application note: Catalog 8000-4/usa. http: // www. parkermotion. com/ catalog_ 2002/ pgs153_ 186_ dynaserv. pdf , Accessed 30 March 2008 2008.

[56] A. N’diaye, C. Espanet, and A. Miraoui. Reduction of the torque ripples in brushless pm motors by optimization of the supply - theoretical method and ex- perimental implementation. In Industrial Electronics, 2004 IEEE International Symposium on, volume 2, pages 1345–1350 vol. 2, 2004. TY - CONF.

[57] Oemag. Oemag products - sintered ndfeb (neo). http: // www. oemag. com/ materials/ 01. htm , Accessed 30 October 2008 2008.

[58] Han-Woong Park, Sung-Jun Park, Yang-Woo Lee, Soon-Il Song, and Cheul-U Kim. Reference frame approach for torque ripple minimization of bldcm over wide speed range including cogging torque. In Industrial Electronics, 2001. Proceedings. ISIE 2001. IEEE International Symposium on, volume 1, pages 637–642 vol.1, 2001. TY - CONF.

[59] Sung-Jun Park, Han-Woong Park, Young-Jin Lee, Man-Hyung Lee, and Cheul-U Kim. A new approach for pulsating torque minimization of brushless pm motor. In Industrial Electronics Society, 2000. IECON 2000. 26th Annual Confjerence of the IEEE, volume 1, pages 76–82 vol.1, 2000. TY - CONF.

137 REFERENCES

[60] A. Parviainen, M. Niemela, and J. Pyrhonen. Modeling of axial flux permanent- magnet machines. Industry Applications, IEEE Transactions on, 40(5):1333–1340, 2004. TY - JOUR.

[61] D.J. Patterson. Contemporary finite element analysis techniques for permanent magnet brushless dc machines, with application to axial flux traction systems for electric vehicles. In Power Electronic Drives and Energy Systems for Industrial Growth, 1998. Proceedings. 1998 International Conference on, volume 2, pages 880–885 Vol. 2, 1998. TY - CONF.

[62] DJ Patterson. Chapter: Motor drives. In Muhammad H Rashid, editor, Power Electronics Handbook, pages 694–704. Academic Press, 2001.

[63] Pieter Poels. Cogging torque measurement, moment of inertia determination and sensitivity analysis of an axial flux permanent magnet ac motor’. Technical Report dct 2007.147, Technische Universiteit Eindhoven, December 2007 2007.

[64] Weizhe Qian, S.K. Panda, and J.X. Xu. Speed ripple minimization in pm syn- chronous motor using iterative learning control. Energy Conversion, IEEE Trans- actions on, 20(1):53–61, 2005. TY - JOUR.

[65] Weizhe Qian, J.X. Xu, and S.K. Panda. Periodic torque ripples minimization in pmsm using learning variable structure control based on a torque observer. In Industrial Electronics Society, 2003. IECON ’03. The 29th Annual Conference of the IEEE, volume 3, pages 2983–2988 Vol.3, 2003. TY - CONF.

[66] R.B. Randall. Frequency Analysis. Bruel and Kjaer, Glostrup, Denmark, 3rd edition, 1987.

[67] D. Schieber. Braking torque on rotating sheet in stationary magnetic field. IEE Proceedings, Vol.121(No.2):117–122., 1974.

[68] Howard Schwerdlin. Forum: Question about a hysteresis brake. www. eng-tips. com/ viewthread. cfm? qid= 101475&page= 1 , Sep 4, 2004 (Accessed 30 March 2008) 2004.

138 REFERENCES

[69] Li Sun, Hanying Gao, Qingliang Song, and Jianhong Nei. Measurement of torque ripple in pm brushless motors. In Industry Applications Conference, 2002. 37th IAS Annual Meeting. Conference Record of the, volume 4, pages 2567–2571 vol.4, 2002. TY - CONF.

[70] Transducer Techniques. Datasheet: General purpose flanged reaction torque sen- sor. www. transducertechniques. com/ TRS-Torque-Sensor. cfm , Accessed 30 March 2008 2008.

[71] Magnetic Technologies. Eddy current clutches. www. magnetictech. com/ prod_ eddy. htm , Accessed 30 March 2008 2008.

[72] Magnetic Technologies. Hysteresis brakes and clutches. http: // www. magnetictech. com/ prod_ hysteresis. htm , Accessed 30 March 2008 2008.

[73] ThinGap. Thingap torque ripple brief. http: // www. thingap. com/ pdf/ torquerippleeffect. pdf , Accessed 30 March 2008 2008.

[74] P. Welch. The use of fast fourier transform for the estimation of power spectra: A method based on time averaging over short, modified periodograms. Audio and Electroacoustics, IEEE Transactions on, 15(2):70–73, 1967. TY - JOUR.

[75] A.P. Wu and P.L. Chapman. Simple expressions for optimal current waveforms for permanent-magnet synchronous machine drives. Energy Conversion, IEEE Transactions on, 20(1):151–157, 2005. TY - JOUR.

[76] Dianguo Xu and Yang Gao. An approach to torque ripple compensation for high performance pmsm servo system. In Power Electronics Specialists Conference, 2004. PESC 04. 2004 IEEE 35th Annual, volume 5, pages 3256–3259 Vol.5, 2004. TY - CONF.

[77] Taeyong Yoon. Magnetically induced vibration in a permanent-magnet brushless dc motor with symmetric pole-slot configuration. Magnetics, IEEE Transactions on, 41(6):2173–2179, 2005. TY - JOUR.

[78] M. Yoshida, Y. Murai, and M. Takada. Noise reduction by torque ripple suppres- sion in brushless dc motor. In Power Electronics Specialists Conference, 1998.

139 REFERENCES

PESC 98 Record. 29th Annual IEEE, volume 2, pages 1397–1401 vol.2, 1998. TY - CONF.

[79] H. Zeroug, B. Boukais, and H. Sahraoui. Analysis of torque ripple in a bdcm. Magnetics, IEEE Transactions on, 38(2):1293–1296, 2002. TY - JOUR.

[80] Z.Q. Zhu, S. Ruangsinchaiwanich, and D. Howe. Synthesis of cogging torque waveform from analysis of a single stator slot. In Electric Machines and Drives, 2005 IEEE International Conference on, pages 125–130, 2005. TY - CONF.

140 Appendix A

Hardware design

A.1 Hardware overview

• Motor: Single sided, 16 pole, three-phase, axial flux motor (Patent pending, Fasco Pty Ltd) Rated voltage: 24V , Rated current: 30A, Rated torque: 8.5Nm

• Piezoelectric torque sensors: PCB Piezotronics - 208C01

• Encoder: PCA - ANHM30HSMAA1/04096

• Bearings: SKF 40x80 tapered roller bearings

• DSP: Texas Instruments TMS320F2812; programmed with SimulinkTM C2800 embedded coder

• Data logging: National instruments data acquisition cards (PCI-6259, PCI-6602) interfaced with LabVIEW.

141 APPENDIX A. HARDWARE DESIGN

A.2 Mechanical drawings

A.2.1 Overview

Encoder Bearing Stator Housing

Eddy Current Rotor Brake

Piezoelectric sensors

Figure A.1: CDU motor test assembly

A.2.2 Assembly drawing

142

APPENDIX A. HARDWARE DESIGN

A.2.3 Part drawings

1. Welding drawing of base

2. Machining drawing of base

3. Piezoelectric sensor spacer

4. Housing

5. Axle

6. Rotor disk

7. Eddy current disk

8. Seal

9. Nut spacer

144

APPENDIX A. HARDWARE DESIGN

A.3 Electrical Design

A.3.1 Overview

Figure A.2 shows an overview of the electrical components designed and built for this research. The following figures show a close up of each component.

Figure A.2: Overview of electrical components

154 A.3. ELECTRICAL DESIGN

A.3.2 Current inverter

Figure A.3: Overview of current inverter

A.3.3 Gate drive and MOSFET module

Figure A.4: Closeup of gate drive and MOSFET module

155 APPENDIX A. HARDWARE DESIGN

A.3.4 Current sensor board

Figure A.5: Current sensor board with LEM LTS25NP

A.3.5 Labview data acquisition board

Figure A.6: Labview interface board

156 A.3. ELECTRICAL DESIGN

A.3.6 DSP interface board

Figure A.7: DSP interface board

157 APPENDIX A. HARDWARE DESIGN

158 Appendix B

Additional Calculations

B.1 Design and sizing of eddy current brake

The eddy current brake was designed to provide a reasonable load at the minimum of the planned motor velocity range (0.5Hz). Eddy current brake design was done using the model presented by Schieber [67]. Due to space requirements, electromagnets were not possible. Instead, two rings of permanent magnets were designed with a mechanism to change the phase of these rings. The field strength would be maximum when the rings were aligned to opposite poles and minimum when they were aligned to like poles. The final assembled brake is shown in Figure B.1.

159 APPENDIX B. ADDITIONAL CALCULATIONS

Figure B.1: Assembled eddy current brake

160 B.1. DESIGN AND SIZING OF EDDY CURRENT BRAKE

B.1.1 Schieber’s model

Schieber’s model is for a rotating system and is valid for low speed only. It was chosen as the CDU eddy current brake would be low speed. Though it is for electro-magnets, it only uses the field strength so it should be valid for permanent magnets as well.

1  (r/a)2  T = σδωπr2m2B2 1 − (B.1) 2 z (1 − (m/a)2)2 Where:

σ = electrical conductivity of the rotating disk

δ = disk thickness

ω = angular velocity of the rotating disk

π = constant coefficient r = radius of the magnet m = distance of disk axis to pole face centre a = disk radius

Bz = z component of magnetic flux density, z-axis is the direction of the centre of the electromagnetic pole.

Electrical conductivity

The material chosen for the disk was 2024 grade aluminium due to its good machinabil- ity and availability. Data [21] for the electrical conductivity of 2024 grade aluminium varied between 1.734 × 107Siemens/m and 2.764 × 107Siemens/m.

Sheet thickness and radius

The disk thickness and radius was chosen by carefully balancing the torque requirement of the disk with the modal analysis. A width of 5mm was chosen. The disk drawing in Section A.2.3 shows that the disk was tapered for maximum stiffness where it was not running through the magnets.

161 APPENDIX B. ADDITIONAL CALCULATIONS

Electo-magnet radius

To maximise magnet coverage of the disk, rectangular magnets were chosen. This required a small modification to be made to the model as it was for circular magnets. This issue was resolved by determining the equivalent magnet radius to provide the same magnet area as the rectangular magnets chosen.

r l × w r = magnet magnet (B.2) equivalent π r0.05 × 0.03 = π = 0.022m

Distance of disk axis to pole face centre

This was defined by the magnet size and disk radius.

Magnetic flux density

The strongest magnets available with an appropriate geometry were N48 designation. The magnet supplier advised that for the proposed air gap we could expect and air gap flux density between 0.8T and 1.1T .

Summary of variable values

σ = 1.734e7Siemens/m - 2.764e7Siemens/m.

δ = 0.005m

ω = 0.5 × 2 × πrad/sec

π = π r = 0.022m m = 0.075m a = 0.1m

Bz = 0.8T - 1.1T

162 B.1. DESIGN AND SIZING OF EDDY CURRENT BRAKE

Use of multiple magnets

This model is for only one set of magnets. The assumption was made that by adding multiple poles the torque applied would also be multiplied by the same factor. The maximum number of magnets able to fit in the space available was ten.

B.1.2 Results

The uncertainly involved with the electrical conductivity and the flux density meant that the expected torque could only be provided as a range. Figure B.2 shows that for the range of flux densities and electrical conductivities expected, the applied torque ranged from 3Nm to 9Nm.

7 x 10 Torque possible from eddy−current brake 2.8 7 8 9 5 6 2.7

2.6

2.5 7 8 5 6 2.4

2.3

4 2.2 7 6 2.1 5

2 electrical conductivity (Siemens/m)

1.9 4 6 5 1.8 0.8 0.85 0.9 0.95 1 1.05 1.1 flux density (T)

Figure B.2: Expected torque from eddy-current brake

163 APPENDIX B. ADDITIONAL CALCULATIONS

B.2 Modal analysis of experimental setup

The CDU motor and load setup has been analyzed and redesigned using a finite element analysis package 1 to ensure that all resonant frequencies are higher than the expected range of fluctuating torque harmonics. Design involved a careful balance of weight and stiffness to ensure that each part had no natural frequencies below the target of 700Hz. Figure B.3 shows a representation of the first natural frequency for the entire assembly (756Hz).

Figure B.3: Results of modal analysis

1ProEngineer - Mechanica TM

164 Appendix C

Additional results

C.1 Theoretical sensitivity analysis

Figure 5.4 showed the amount of variation of α, β and ~τcog possible while still ensuring less than 1% pulsating torque. Figure C.1 shows the variation in thise parameters leading to a range of magnitudes of RMS pulsating torque.

165 APPENDIX C. ADDITIONAL RESULTS

Influence of an error in β and τ on the rms Influence of an error in β and τ on the rms Influence of an error in β and τ on the rms a cog error a cog error a cog error (α = 0.8) (α = 1) (α = 1.2) a a a

4 1.3 1.3 4 1.3 4.6 2 5.2 4.4 4.2 1.2 1.2 1.2 5 3 3.8 3.5 4.4 4.2 1.5 4.6 4 4

3.5 4.6 cog 1.1 cog 1.1 cog 1.1 τ τ τ

4.8

5

3.8 1 5 1 1

4.4 0.5 2.5 0.9 0.9 3 0.9 factor of 4.2 factor of 1 factor of 2.5 3.6 4.8 4.4 0.8 0.8 0.8 4.8 2 5 4.8 4.6 5.2 4 0.7 0.7 4 0.7 4 4.2 −1 −0.5 0 0.5 1 −1 −0.5 0 0.5 1 −1 −0.5 0 0.5 1 β β β a a a

Influence of an error in α and τ on the rms Influence of an error in α and τ on the rms Influence of an error in α and τ on the rms a cog error a cog error a cog error (β = −1) (β = 0) (β = 1) a a a 4.4 4 1.3 1.3 2 3.5 1.3 4.2 4.4 4 3 4.2 4.6 5.4 4.6 4.8 4 4.8 1.2 4 1.2 1.2 5.4 3.8 3.8 5

cog 1.1 cog 1.1 cog 1.1

τ τ 3 τ 5.2

5

4 1 5 1 1 2.5 5.2 0.5 4 0.9 0.9 1 2.5 0.9 4.6 5 factor of factor of factor of 4.8 4.8 4.2 4.6 3.5 0.8 0.8 1.5 2 0.8

4.2 4 3.5 4.4 0.7 4.4 0.7 0.7 0.8 0.9 1 1.1 1.2 0.8 0.9 1 1.1 1.2 0.8 0.9 1 1.1 1.2 α α α a a a

Influence of an error in α and β on the rms Influence of an error in α and β on the rms Influence of an error in α and β on the rms a a error a a error a a error (factor of τ = 0.65) (factor of τ = 1) (factor of τ = 1.35) cog cog cog 5 4 5 5 4.5 4 5 3.5 4.5 3 3.5 4 4.5 2.5 1.1 1.1 1.1 4.5 2 3 4 3

a a a 3 4 3

α 1 α 1 α 1 2.5 2.5 4 0.5 3.5 3.5 3.5 1 2 1.5 3.5 0.9 0.9 0.9 4.5 2.5 5 4 4.5 3 5 5 5 4.5 0.8 0.8 4 4 0.8 −1 −0.5 0 0.5 1 −1 −0.5 0 0.5 1 −1 −0.5 0 0.5 1 β β β a a a

Figure C.1: Sensitivity of pulsating torque to parameter variation

C.2 Pulsating torque for PRCW methods

The following plots are the detailed results that have been summarised in figure 7.23. Each mesh refers to a series of measurements taken over the entire torque and velocity range for a particular PRCW method.

166 C.2. PULSATING TORQUE FOR PRCW METHODS

C.2.1 Before Calibration

RMS of pulsating torque: FDM

4

3

2

1

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.2: FDM - without star constraint

RMS of pulsating torque: FDM*

5

4

3

2

1

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.3: FDM - with star constraint

167 APPENDIX C. ADDITIONAL RESULTS

RMS of pulsating torque: TDM

4

3

2

1

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.4: TDM - without star constraint

RMS of pulsating torque: TDM*

5

4

3

2

1

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.5: TDM - with star constraint

168 C.2. PULSATING TORQUE FOR PRCW METHODS

C.2.2 After calibration

RMS of pulsating torque: SIN

8

6

4

2

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.6: SIN

RMS of pulsating torque: FDM

1.5

1

0.5

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.7: FDM - without star constraint

169 APPENDIX C. ADDITIONAL RESULTS

RMS of pulsating torque: FDM*

1.5

1

0.5

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.8: FDM - with star constraint

RMS of pulsating torque: TDM*

1

0.5

RMS of pulsating torque (Nm) 0 5 4 1 0.9 3 0.8 2 0.7 0.6 1 0.5 torque setpoint (Nm) speed (Hz)

Figure C.9: TDM - with star constraint

170 C.3. PULSATING TORQUE COMPARISON WITHIN METHODS

Hamonic magnitude (FDM)

SIN − uncalibrated FDM − uncalibrated 0.25 FDM − calibrated FDM* − uncalibrated FDM* − calibrated 0.2

0.15 magnitude

0.1

0.05

0 0 2 4 6 8 10 12 14 16 18 20 harmonic number

Figure C.10: FDM (frequency domain)

C.3 Pulsating torque comparison within methods

The figures below show the effect of the calibration on the pulsating torque electrical harmonics. As expected when a sine wave current is used, there is a large 6th harmonic corresponding to the uncompensated cogging torque. The first and second harmonics are those resulting from the current scaling and offset errors. These are removed when the PTD method is used to calibrate the estimate of the motor parameters. The remaining 6th harmonic after calibration could be from incorrect determination of the cogging torque but could also be from the current not matching the back emf correctly. Both the cogging torque and the torque ripple produce a 6th harmonic.

171 APPENDIX C. ADDITIONAL RESULTS

Hamonic magnitude (TDM)

SIN − uncalibrated TDM − uncalibrated 0.25 TDM − calibrated TDM* − uncalibrated TDM* − calibrated 0.2

0.15 magnitude

0.1

0.05

0 0 2 4 6 8 10 12 14 16 18 20 harmonic number

Figure C.11: TDM (frequency domain)

172