30
Testbed For Real-Time Control & Parameter Estimation NAECON 2019 Dayton, OH 10:00 am on 16 July 2019 Presenter:Yingda Tao University of Alabama

Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Testbed For Real-Time Control & Parameter Estimation

NAECON 2019 Dayton, OH10:00 am on 16 July 2019

Presenter:Yingda TaoUniversity of Alabama

Page 2: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Presentation Overview

❏ Project Summary❏ Background, Project Requirements

❏ Overview of System & Subsystems

❏ Subsystem Integration

❏ Integration/System Verification

❏ Concluding Remarks

2

Page 3: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Problem DefinitionThe electromagnetic constants of permanent magnet

synchronous motors used in vector control equations are typically determined during manufacturing for each individual motor. However these motor parameters are not actually constant, but have some small variance depending on the context of use.

Therefore, it is beneficial for motor control & power efficiency to have some way to accurately estimate and update these parameters in real-time, thus further optimizing motor performance.

3

Page 4: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Requirements ❏ Digital control system & testbed for an internal permanent magnet motor

❏ Design, fabrication, and assembly of all components necessary to integrate off-the-shelf subsystems (microcontroller, data acquisition system, power inverter, PC, dynamometer)❏ PWM Level Shifter PCB❏ Power & Data Cables❏ Motor-Dynamometer coupling, structural housing, stabilization.❏ Simulink Controller models

❏ Feedback data required by the controller from the motor:❏ Rotor frequency (speed, rpm), ωr

❏ Rotor angle(position, degrees), θr

❏ d-q domain stator current measurements & control voltages, id, iq, vd, vq

❏ Software Simulation of System (IPM motor, power electronics, & controller)❏ Parameter Estimation Algorithm implemented as Matlab Functional Blocks

❏ Solution must output estimated dq-domain stator inductance (Ld , Lq ) and stator resistance (Rs ) ❏ Estimates must be updated in real-time via recursion (update at resolution of system, 0.1 ms)

4

Page 5: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Deliverables

5

❏ Fully-functional experimental testbed for physical motor control and performance analysis in real-time

❏ Simulink models for closed-loop motor control and for software simulation of motor-power electronics system

❏ MATLAB/Simulink parameter estimation algorithm and functional blocks

Page 6: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

6

Page 7: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

7

Page 8: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Permanent Magnet Motor Features

8

❏ High torque and high efficiency ❏ When current flow into the Stator, create a

rotating magnetic field, it rotate at speed N.

❏ Consumes up to 40% less power compared to conventional induction motors.

❏ Since the permanent magnet is centrally embedded, mechanical safety is improved as the magnet will not detach due to centrifugal force.

Image source: Google

Page 9: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

IPM Motor Integration

9

❏ Four high-power banana cables were soldered to custom motor power cable and plug, for interfacing with IGBT Inverter via the data acquisition system.

❏ DC bus supply 230 dc voltage to Inverter which convert dc voltage to 230 ac voltage to IPM motor

❏ Motor encoder plug connect with dSPACE MicroLabBox which Generates six synchronous PWM signals for control of current to the motor

❏ IPM motor & dynamometer connected and stabilized with custom metal brackets and mounts, with both attached to a metal table.

Page 10: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Dynamometer

10

❏ Used to apply load (+/-) to IPM motor❏ Dynamometer has two test modes

❏ Speed mode❏ Torque mode

❏ From the speed mode, we can set speed direct value (in RPM), also we can start the motor in forward or reverse direction

❏ Through the torque mode, we can also set the torque value (in N-m) and monitor torque and frequency

❏ From the screen, we can monitor motor frequency and torque in real-time

Page 11: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Power Electronics Integration

11

❏ DC power source is MAGNA-Power Electronics, Input of 3-phase 200 VAC / 175 AAC and output up to 500 VDC/ 100 ADC.

❏ Inverter to change 230 VDC to 230 Vpk-pk AC

and ~5-15 Aac three-phase power to the motor

❏ Level shifter PCB is using TI CD4504B Voltage Level Shifter IC in order to amplify 5V PWM signal to 15V required by inverter

Page 12: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

IPM Motor Verification

12

❏ Used dSPACE on-board data acquisition system to determine parameter values by measuring time constant, τ, of rotor current transient from a step response as well as stator resistance Rs using ohm meter.

❏ Input τ and Rs to the equation Ld/q = (⅔) τd/qRs ,to get the numerical value of Ld and Lq in mH. Repeated multiple times to get a average value for both parameters. Additional parameters found in motor datasheet.

❏ dSPACE and Dynamometer were connected with IPM motor to verify speed and position measurements with digital feedback from motor encoder speed and position data.

Page 13: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Power Electronics Integration

13

❏ High-power banana cables help connect the inverter to the DC power supply and inverter power output to motor via the DAS.

❏ On the PCB, a 9-pin connector carries 6 PWM signals at 5V from the dSPACE to the level-shifter

❏ Six BNC cables carry the amplified (15V) PWM signals from the level sifter to the inverter

Page 14: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Power Electronics Verification

14

❏ Before PCB construction, schematic was simulated using PSpice

❏ The Level Shifter component was tested on the breadboard before PCB was designed and ordered

❏ Power supply, oscilloscope, and function generator were used to test the Level Shifter PCB.

❏ Testing showed it properly amplified PWM signal at high frequency (>20 KHz)

Page 15: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Control System Integration

15

❏ dSPACE MicroLabBox generates six PWM

signals for control of current motor.

PWM cable connects dSPACE to power

electronics.

❏ Data acquisition system measures current

from the motor to the dSPACE via three

banana plugs

❏ Speed and positioning data of motor sent

to dSPACE via encoder cable.

Page 16: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

IPM Testbed Control System Model – Simulink

16

Page 17: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Testbed Controller Diagram with Parameter Estimation

17

Page 18: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

ControlDesk Real-Time Interface for dSPACE

18

Page 19: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Simulink Simulation and Verification Model

19

Page 20: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

20

Simulation

vs.

Testbed

Page 21: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

21

Simulation vs. Testbed

Page 22: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Recursive Least Squares Parameter Estimation

22

Least Squares

LS Recursive Algorithm

Source: H. Neugebauer [1]

Estimated Parameters

Regression Equation

Page 23: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Parameter Estimation Block in Controller Diagram

23

Page 24: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

24

Estimation of IPM Stator Resistance, RsSimulation vs. Testbed

Page 25: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Estimation of IPM Stator d-axis Inductance, LdSimulation vs. Testbed

Testbed

25

Page 26: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

26

Estimation of IPM Stator q-axis Inductance, LqSimulation vs. Testbed

Page 27: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

External ImpactsProject motivation is for application in Electrical planes and electric vehicle

(EV) drives

❏ Electrical planes/Electrical vehicle: ❏ 5 Categories of Electric Planes: eVTOL, Flying Taxi, Passenger/Cargo Drone,

Passenger PlanesHybrid Aircrafts

❏ IPM have higher efficiency compared to combustion engine: ~90% v.s.

~20% energy efficiency

❏ Energy-saving and environmental protection, high efficiency and low energy

consumption, near zero emission, low noise and vibration leve

❏ Safety and reliability (no explosion and fuel leakage), simple structure, easy

operation and use, good maintenance/low cost

❏ Technic Constrains: Battery, CapacityDesign SpaceThermal, Management for

Motors (i.e. PMSM), Power Control Integration with FBW System

27

Need to increase the efficiency of the motorsAccurate the rotation of motors precisely Simplify the E-Power Control System

Page 28: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Aerospace ApplicationSolution

🞐🞐 Real-time detection of output efficiency🞐🞐 Collection🞐🞐 Resistance

🞐🞐 Ld/ Lq

🞐🞐 Current

🞐🞐 Voltage

🞐🞐 Flux

• PMSM is always operating in identical conditions to ensure that the parameters are not changing continuously. • One must determine the motor parameters in real-time and adapt the controller accordingly

28

Page 29: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Further Potential

❏ Make parameter estimation “closed-loop” Integrate

inductance control with PID control—— Close Loop Feedback

● To increase the flight stability by modifying instantly Rotating speed of

E-Motor-Propeller

❏ Combine the power control to FBW control

● To decrease the flight vibration by link-ageing the rotation status of

each motors with the real-time deflection of control surfaces

❏ Make system truly embedded and housed in single unit

❏ Enable estimation only during steady state operation

❏ Test & use in real dynamic load applications

29

Motors

InductanceControl

Feedback signal

Page 30: Testbed For Real-Time Control & Parameter Estimation · IPM have higher efficiency compared to combustion engine: ~90% v.s. ~20% energy efficiency Energy-saving and environmental

Acknowledgements & References

30

● Dr. Shuhui Li - Project Supervisor

● Yang Sun and Haoyang - Graduate Student

● ECE Department at University of Alabama

● NAECON 2019

[1]

H. Neugebauer, “Parameter Identification of a Permanent Magnet Synchronous Motor,”

Master’s, Chalmers University of Technology, Gothenburg, Sweden, 2012.

Note: All images came from google images or team members unless otherwise specified