Presentation is loading. Please wait.

Presentation is loading. Please wait.

Learning objectives Review of Electromagnetic laws

Similar presentations


Presentation on theme: "Learning objectives Review of Electromagnetic laws"— Presentation transcript:

1 Sensored Field Oriented Control of a Permanent Magnet Synchronous Motor (PMSM)

2 Learning objectives Review of Electromagnetic laws
Rotating magnetic fields Structure of synchronous motors Features of synchronous motors BLDC and PMSM synchronous motor types BLDC and PMSM control overview Electro-mechanical parameters for a synchronous motor

3 Field generated by a current
B = k*n*I A conductor carrying a current produces a magnetic field around it. A conductor that is wound into a coil produces a magnetic field along the axis of the coil. The flux produced is proportional to the current through the coil and the number of turns in the coil. I

4 The Current in a Coil F1 d B1 I F2 B2
A coil carrying a current, placed in a magnetic field experiences a force that will cause it to rotate. This force is given as the vector cross product of the flux produced by the coil and the flux that is impressed by the external magnetic field. d B1 I F2 B2

5 Back EMF generation N a B e A S
Magnet flux N a B e A S Magnet rotating in front of winding “a” create an inductive voltage between A and B, e = VA-VB called Bemf (Back electromotive force) Magnetic flux seen by the winding is given by: Bemf is then equal to: Test d’insertion de commentaire

6 Pole pairs 1 pole pair 2 pole pairs N S N N S N S N
For a motor with p poles pairs we have is the electrical frequency (rad/s) is the mechanical frequency (rad/s) or simply the speed of the machine.

7 Three phases winding c ic S a ia ib b
For most three phase machines, the winding is stationery, and magnetic field is rotating Three phase machines have three stator windings, separated 120° apart physically Three phase stator windings produce three magnetic fields, which are spaced 120°in time

8 Application to Three Phases Machine Operation Fundamentals
Three stationary pulsating magnetic fields ia The three phase winding produces three magnetic fields, which are spaced 120° apart physically. When excited with three sine waves that are a 120° apart in phase, there are three pulsating magnetic fields. A` Fc C B Fa C` Fb B` A Phase currents The resultant of the three magnetic fields is a rotating magnetic field. ia ib ic

9 Synchronous operation
Three phase AC current Phase 1 Coil 1 Phase 2 Coil 2 Phase3 Coil 3 Three phase AC current Phase 1 Coil 1 Phase 2 Coil 2 Phase3 Coil 3 Three phase AC current Phase 1 Coil 1 Phase 2 Coil 2 Phase3 Coil 3 Three phase AC current Phase 1 Coil 1 Phase 2 Coil 2 Phase3 Coil 3 Three phase AC current Phase 1 Coil 1 Phase 2 Coil 2 Phase3 Coil 3 Three phase AC current Phase 1 Coil 1 Phase 2 Coil 2 Phase3 Coil 3

10 Theory of operation: Rotor field A` f C F Rotor is carrying a constant magnetic field created either by permanent magnets or current fed coils The interaction between the rotating stator flux, and the rotor flux produces a torque which will cause the motor to rotate. N B N S C` F S Stator field B` A The rotation of the rotor in this case will be at the same exact frequency as the applied excitation to the rotor. This is synchronous operation. In its simplest form, a synchronous machine can be considered as constant magnetic field (rotor) placed inside a rotating magnetic excitation (stator). The rotor will constantly align itself with the stator flux. Example: a 2 poles pair synchronous motor will run at 1500 r.pm for a 50Hz AC supply frequency

11 Electromechanical Parameters
V Es estator uL uL v I Simplified equivalent electrical scheme of a winding of a three phases synchronous motor Note: stator resistance neglected

12 Synchronous Motor Rotor Construction
non-salient rotor pole (p=1) non-salient rotor pole (p=2) salient rotor pole (p=2)

13 Synchronous machine classification: BLDC and PMSM
Both (typically) have permanent-magnet rotor and a wound stator BLDC (Brushless DC) motor is a permanent-magnet brushless motor with trapezoidal back EMF PMSM (Permanent-magnet synchronous motor) is a permanent-magnet brushless motor with sinusoidal back EMF C F N B C` S F B` A Back EMF of BLDC Motor Back EMF of PMSM 300 900 1500 2100 2700 3300 600 00 1200 1800 2400 3000 3600 Phase A Phase B Phase C ia ib ic e Ea Hall A Hall B Hall C ea eb ec Depending on the natural shape of the Bemf (motor structure and way of building it dependent) a BLDC or a PMSM control will be more appropriate I.e efficient. In lot of cases as it is quite hard to build a motor with a good trapezoidal Bemf shape, PMSM control will be prefered.

14 BLDC vs. PMSM BLDC PMSM Synchronous machine Fed with direct currents
Trapezoidal BEMF Stator Flux position commutation each 60 degrees Only two phases ON at the same time Torque ripple at commutations PMSM Synchronous machine Fed with sinusoidal currents Sinusoidal BEMF Continuous stator flux position variation Possible to have three phases ON at the same time No torque ripple at commutations

15 Conclusion Synchronous motors use magnetic interaction to convert electrical energy to mechanical. Rotor must be synchronized with the rotating stator magnetic field in order to produce torque Pole pair numbers and excitation frequency determine the mechanical rotation speed Synchronous motors are classified in two categories: BLDC and PMSM Each type require an appropriate control

16 PMSM Control Synchronous Motors such as PM motors and SynRMs are getting more popular because of their high power density and high efficiency PM Assisted SynRM uses advantages of both PM and Reluctance motor The vector control strategy is far more complicated than control of a DC motor requiring use of multiple control loops

17 Control System Block-Diagram

18 Using the DMC Library id_ref =0 Speed setpoint _IQ PWM1A ref FC_PWM
DRV Q0 / HW PID _IQ Uout ref 3-Phase Inverter PID _IQ Uout Ipark_D Ipark_d Vq Ta mfunc_c1 PWM1B fb PARKI _IQ SV_GEN DQ _IQ fb theta Tb mfunc_c2 PWM2A id_ref =0 ref PID _IQ Uout Ipark_Q Ipark_q Vd Tc mfunc_c3 PWM2B fb mfunc_p PWM3A PWM3B park_D park_d clark_d clark_a Ia_out LEG_A PARK _IQ CLARK _IQ ILEG2 DRV _IQ theta clark_b Ib_out LEG_B park_Q park_q clark_q clark_c Q15 Ia_gain Ib_gain Q13 Ia_offset Ib_offset QEP speed_frq shft_angle theta_elec QEP_A PMSM SPEED FRQ _IQ QEP THETA DRV _IQ theta_mech QEP_A Motor speed_rpm direction dir_QEP QEP_index index_sync_flg

19 The Equivalent Simulink® Model
PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 vqs* Ta iqs* vas* PWM Driver Voltage Source Inverter PI Inv. Park Space Vector Gen. PI Tb ids* vds* vds* vbs* Tc PI qlr Ileg2_ Bus Driver ADCIN1 ids ias ias Park Clarke ADCIN2 iqs ibs ibs ADCIN3 the variables with superscript * are the reference values. I believe that this is easier to read with the variable description which is given in the following slide (the students can see both, the schematic and the description on the student’s guide) SMOSPD speed estimation Encoder qlr PMSM QEP_A Ramp Gen. QEP driver wr qm QEP_B dir QEP_inc TMS320F28x controller

20 Variable Descriptions
ias = Phase-a stator current ibs = Phase-b stator current ias = Stationary a-axis stator current ibs = Stationary b-axis stator current ids = Synchronously rotating d-axis stator current iqs = Synchronously rotating q-axis stator current vas = Stationary a-axis stator voltage vbs = Stationary b-axis stator voltage vds = Synchronously rotating d-axis stator voltage vqs = Synchronously rotating q-axis stator voltage vdc = DC-bus voltage qlr = Rotor flux angle qm = Mechanical angle dir = Rotor direction wr = Rotor speed Ta = Phase-a duty cycle ratio of PWM signal Tb = Phase-b duty cycle ratio of PWM signal Tc = Phase-c duty cycle ratio of PWM signal This slide and the two following are for the student’s guide only. You should include use them while presenting the global schematic of PMSM3-1

21 Building Blocks Inv. Park Park vds vds vqs vas vbs qlr vas vbs vqs qlr
ias ibs Clarke vqs vds Park vas vbs qlr vas vbs vqs vds qlr Inv. Park Variable transformation from phase ab-axis to stationary ab-axis Variable transformation from stationary ab-axis to synchronously rotating dq-axis Variable transformation from synchronously rotating dq-axis to stationary ab-axis Ta vas Space Vector Gen. Tb vbs Tc Space-vector generator producing the duty cycle ratio of PWM signals

22 Building Blocks (cont.)
PI vqs* iqs* iqs Proportional-Integral controller SMOSPD speed estimation dir wr qm Speed estimation from rotor position and rotor direction QEP_A dir qlr QEP_B QEP_inc qm Ramp Gen. QEP driver QEP driver and shaft position and rotor direction Ta ias Vdc ibs Ileg2_ Bus Driver ADCIN1 ADCIN2 ADCIN3 PWM1 PWM Driver PWM2 Tb PWM3 PWM4 Tc PWM5 PWM6 PWM generation ADC driver for two line currents and DC-bus voltage measurement

23 Permanent Magnet Synchronous Motor
Hardware Setup analog I/O P6 Power Supply 5V Encoder Parallel Port Permanent Magnet Synchronous Motor eZdsp 2812 DMC 550 P7 P3 P4 P5 Motor phases Power Supply 24 Volts 4 Amps 220V + - Encoder signal Check that the system is correctly connected There is 2 power sources. The first one (5 Volts) is only powering the eZdsp, this solution will be used only during the first build level. The other one will apply 24 Volts to the power stage and will be used to run effectively the motor. Ask the students to read the student’s guide which contains a step by step system check-up. Check with each group of students that the board is correctly connected 2 Power inputs: 5V PSU for the DSP board only (software debug) 0 - 24V PSU for the power stage

24 Synchronous Reluctance Motor
Two pole doubly salient Switched RM Two pole singly salient SynRM

25 Background d-q axes voltage and flux equations: Torque equation:

26 Output Torque in MASynRM

27 The PMS Motor Model

28 Model-Based Design of a PMSM
Build Level 1 – Space vector generation Build Level 2 - Currents/DC-bus voltage measurement verification Build Level 3 - Tuning of dq-axis current closed loops Build Level 4 – Encoder verification Build Level 5 – Speed closed loop

29 Space vector generation - Simulation

30 Space vector generation – Real Time
vas* vbs* Inv. Park Space Vector Gen. PWM Driver Ta Tb Tc Vq_testing vds* rmp_out Vd_testing PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 speed_ref Ramp control key modules under test Voltage Source Inverter Vqs and Vds are fixed and we stimulate the Inverse Park block with a ramp generator which is simulating the electric (flux) angle. The output frequency of the PWMs waveform (not the carrier frequency) can be modified via Speed_ref. PMSM TMS320F28x controller

31 Currents/DC-bus voltage measurement verification - Simulation

32 Currents/DC-bus voltage measurement verification – Real Time
vas* vbs* Inv. Park Space Vector Gen. PWM Driver Ta Tb Tc Voltage Source Inverter PMSM ia ib Ileg2_ Bus ADCIN1 ADCIN2 ADCIN3 ibs Clarke ias Vq_testing vds* iqs Encoder PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 ids Ramp Speed_ref control qe rmp_out TMS320F28x controller

33 Tuning of dq-axis current closed loops - Simulation

34 Tuning of dq-axis current closed loops – Real Time
key module under test Ramp Gen. Speed_ref control Iq_ref vas* vbs* Inv. Park Space Vector PWM Driver Ta Tb Tc Voltage Source Inverter PMSM ia ib Ileg2_ Bus ADCIN1 ADCIN2 ADCIN3 ibs Clarke ias ids* PI rmp_out iqs Encoder PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 ids Id_ref vqs* vds* TMS320F28x controller

35 Encoder verification - Simulation

36 Encoder verification – Real Time
vas* vbs* Inv. Park Space Vector Gen. PWM Driver Ta Tb Tc Voltage Source Inverter PMSM ia ib Ileg2_ Bus ADCIN1 ADCIN2 ADCIN3 ibs Clarke ias QEP_A dir vqs* vds* PI rmp_out Theta_elec iqs Encoder QEP_B QEP_inc qm PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 ids Ramp QEP driver Speed_ref control Iq_ref Id_ref TMS320F28x controller

37 Speed closed loop - Simulation

38 Speed closed loop – Real Time
vas* vbs* Inv. Park Space Vector Gen. PWM Driver Ta Tb Tc Voltage Source Inverter PMSM ias ibs Ileg2_ Bus ADCIN1 ADCIN2 ADCIN3 Clarke QEP_A SMOSPD speed estimation dir vqs* vds* PI iqs* qlr wr iqs Encoder QEP_B QEP_inc qm PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 ids ids* Ramp QEP driver TMS320F28x controller

39 ADC gains/offsets Settings
+3 -3 Iphase(A) +0.15 -0.15 Vshunt(V) Iphase PWM1 PWM2 + DC_BUS Shunt 0.05 Ohm A Vshunt

40 ADC gains/offsets Settings
+3 +1.5 IADC(V) VADCmax(V) VADCOffset(V) +0.15 -0.15 Vshunt(V) JP3 R15 R6 Vshunt(V) IADC(V) + - 3.3V VOffset(V)


Download ppt "Learning objectives Review of Electromagnetic laws"

Similar presentations


Ads by Google