11084 FOC Sensorless FOC for PMSM with dspic DSC

Size: px
Start display at page:

Download "11084 FOC Sensorless FOC for PMSM with dspic DSC"

Transcription

1 11084 FOC Sensorless FOC for PMSM with dspic DSC 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 1

2 Class Objectives When you finish this class, you will: Understand some of the latest motor control design solutions available Be aware of a new algorithm for sensorless Field Oriented Control (FOC) of Permanent Magnet Synchronous Motors (PMSMs) Know where to find more information on this algorithm 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 2

3 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 3

4 Hands-On Exercises LAB Sessions: Lab 1 Running Sensorless Demo Lab 2 Enabling Graphs Using DMCI Lab 3 Tuning PI Parameters Lab 4 Tuning Sensorless Parameters 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 4

5 Agenda PMSM Overview PMSM Applications PMSM v BLDC PMSM Construction PMSM Characteristics PMSM Operation 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 5

6 PMSM Applications High Efficiency & Reliability Designed for high-performance Servo Applications Runs with/without Position Encoders More compact, efficient and lighter than ACIM Coupled with FOC control produces optimal torque Smooth low and high speed performance Low Audible Noise & EMI 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 6

7 PMSM Applications Air Conditioner & Refrigerator (AC) compressors Direct-drive washing machines Precision Machining Tools Automotive Electrical power steering Traction control Data Storage 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 7

8 PMSM v BLDC History. the motors originated from different areas The fundamentals of Torque production are identical BLDC is a variant of the PM BDC PMSM describes a AC synchronous motor whose field excitation is provided by PMs Control Methods are different (Six Step v FOC) 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 8

9 Motor Classification 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 9

10 PMSM Construction Stator Stator Rotor Rotor Radial Axial 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 10

11 PMSM Construction 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 11

12 PMSM Construction Rotor Assembly possibilities 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 12

13 PMSM Construction PM Characteristics 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 13

14 PMSM Construction The PMSM is similar to the BLDC but the Back EMF signals are sinusoidal and trapezoidal respectively Mathematical treatment is different Designed to be driven with a sine wave Like a 3-phase ACIM but air gap flux is produced by rotor mounted magnets 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 14

15 PMSM Characteristics BLDC PMSM Stator Flux Linkage Back EMF 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 15

16 PMSM Characteristics eb ωt Wave shape is largely influenced by Stator design Number of slots per pole per phase is key Fractional slot, coil and pole motors enable wave shaping Waveform quality determined by manufacturing tolerances 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 16

17 PMSM Characteristics v ea eb ec ωt Back EMF shape of PMSM Brushless motor with sinusoidal Back EMF Synchronous AC motor BLAC PMSM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 17

18 PMSM Characteristics The Back EMF ideally contains no harmonics Leads to a reduction in audible noise And better efficiency reduction of parasitic energy that excites mechanical components in an uncontrolled way 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 18

19 PMSM Characteristics Torque Demagnetization limit VSI current limit Short time operation VSI voltage line T0 Continuous operation 0 ωr Speed 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 19

20 PMSM Operation PMSM Electric Model v i R L Motor e i s e s T = T ω i s Instantaneous power Torque x Speed = Back EMF x phase current 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 20

21 PMSM Operation Torque production Taking direction of F into account T=Fr sin θ 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 21

22 PMSM Operation S N S θ N S S Stator Field N S N Rotor Field N 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 22

23 PMSM Operation Stator field can be decomposed into components which are parallel and orthogonal to the rotor field Only the orthogonal (quadrature) field produces torque The parallel (direct) field produces force which compresses the bearings Phase current produces stator field and can be measured 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 23

24 PMSM Operation N S S N θ S Without FOC N S N N S Torque BEMF (V) θ Current (I) T = Fs*Rs*sinθ 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 24

25 PMSM Operation S N N S 90 S With FOC N S N N S Torque BEMF (V) θ Current (I) T = Fs*Rs*sinθ 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 25

26 PMSM Operation 90 π/2 0 -π/ Microchip Technology Incorporated. All Rights Reserved FOC Slide 26

27 PMSM with FOC Keep load 90 ahead of rotor position N S S Knowledge of rotor position required at all times N N 90 S S S Better torque production N N No torque ripple 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 27

28 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 28

29 Lab 1. Running Sensorless Demo 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 29

30 Objectives of Lab 1 Getting to know the hardware in front of you Where are the Labs located? C:\Masters\11084\Lab1\PMSM.mcw How to load the lab projects Programming the dspic DSC devices Running the program on dspic DSC 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 30

31 You should have. 1. MPLAB IDE v7.60 or higher installed 2. C30 Compiler 3. Complete MPLAB ICD 2 setup 4. dspicdem MC1 Board 5. Low Voltage Power Module 6. dspic30f6010a PIM 7. 24V power supply for the board 8. Hurst (NTDynamo) BLDC motor 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 31

32 What we will do: LAB 1 Configure board hardware connections Open a workspace in MPLAB IDE Compile or Build a simple first project in MPLAB IDE Follow a procedure to Program the dspic DSC using MPLAB ICD 2 Follow a procedure to Run the program using MPLAB ICD Microchip Technology Incorporated. All Rights Reserved FOC Slide 32

33 Instructions for Lab1: Lab1 On MC1 board, move DIP switch to ICD position Connect power to MC1 board Open MPLAB IDE by double clicking on the icon In MPLAB IDE, select File -> Open Workspace Browse to \Lab1\PMSM.mcw Select PMSM.mcw and open workspace Contd Microchip Technology Incorporated. All Rights Reserved FOC Slide 33

34 Lab1 (contd.) Instructions for Lab1 (contd): In MPLAB IDE, Select Project -> Build All IF NO errors then... In MPLAB IDE, Select Debugger -> Program to program dspic DSC On MC1 board, move DIP switch to Analog position Install wire jumper from AN2 to VR1 on J6 In MPLAB IDE, Select Debugger -> Run Pot VR1. Arrow should be at position Pot VR2 should be all the way to CW Press S4 on MC1 board and Motor will start spinning 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 34

35 Lab1 Results Follow Lab1 for programming and running software: Before programming dspic DSC, move DIP to ICD position Before running, move DIP to Analog position Each Lab has a already created workspace in the appropriate folder Use the created workspace for each lab 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 35

36 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 36

37 Agenda FOC for PMSM FOC Overview Signal processing FOC for PMSM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 37

38 FOC Overview Sinusoidal excitation with applied current space vector referenced to rotor position Stator current & rotor (magnet) flux interact to produce mutual torque and speed Electronic control required to keep phase at 90 degrees (quadrature) with respect to the rotor in order to optimize torque production T Current Space Vector 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 38

39 FOC Overview Improved Dynamic Response Reduced Torque Ripple Extended Speed Range Operation is possible Low Audible Noise & EMI 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 39

40 Signal Processing Vector-Coordinate Systems b β q d a α c 3-Axis Stator Reference 2-Axis Stator Reference 2 -Axis Rotating Reference 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 40

41 Signal Processing 3-phase voltages to control the current space vector Transformations simplify equations and allows control of 3-Phase Motors with conventional techniques as in a DC motor 3-phase time variant into a 2-axis time invariant 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 41

42 Signal Processing b 3-Phase Coordinate System (Stator current space representation) is ib ic ia a c 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 42

43 Signal Processing Projected Onto 2-Phase System (Clarke Transformation) Real α and imaginary β components is = isα + jisβ. Transformation to an orthogonal, stationary system Microchip Technology Incorporated. All Rights Reserved FOC Slide 43

44 Signal Processing Projected Onto Rotating System (Park Transformation) q β d θ α Transformation from stationary to a rotating reference frame. Direct-axis and Quadrature-axis stator current representation 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 44

45 Signal Processing Projected Onto Rotating System (Park Transformation) Transformation from stationary to a rotating reference frame (turned at the rotor speed) 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 45

46 Signal Processing Vectors in the Rotating Reference Frame Properly phased winding currents will result in a current space vector which rotates with and is orthogonal to the rotor. Iq should be maximized and Id minimized for optimal control 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 46

47 Signal Processing Vectors in the Rotating Reference Frame q iq is id d Torque iq Flux id They are time-invariant and can be treated as DC parameters, which allows them to be controlled independently Microchip Technology Incorporated. All Rights Reserved FOC Slide 47

48 FOC for PMSM N ref Σ PI iq ref - - id ref Σ Σ PI PI Vq Vd d,q α,β Vα Vβ SVM 3-Phase Bridge - θ iq d,q iα α,β ia id α,β iβ a,b,c ib Speed and Position QEI A B Encoder Motor This allows optimal torque production Microchip Technology Incorporated. All Rights Reserved FOC Slide 48

49 FOC for PMSM PI Controllers operate in the d-q reference frame of the rotor, they are isolated from the sinusoidal variation of motor voltages and currents and so perform equally well at low and high motor speeds Iq is servoed to equal the Torque demand and Id is servoed to zero. This gives optimal torque production The PI Controller Outputs are transformed to produce three phase voltage signals to the bridge (inverse Park, inverse Clarke folded into SVM) 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 49

50 Without FOC N N S θ S S FOC for PMSM Torque N N With FOC S 90 S S θ N N S T = Fs*Rs*sinθ N N S S N S N BEMF (V) BEMF (V) Current (I) Current (I) 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 50

51 FOC for PMSM Phase Current Responses PI Speed Control PI Speed + FOC Control 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 51

52 FOC for PMSM Speed Responses PI Speed Control PI Speed + FOC Control 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 52

53 FOC for PMSM Field Weakening What happens when the Back EMF approaches the supply voltage? To enable more speed the rotor field must be weakened The stator d axis current is set to a negative value Torque reduces and speed increases with field weakening 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 53

54 FOC for PMSM FOC provides smooth control at low speeds as well as efficient control at high speeds Trapezoidal (BLDC) commutation can be efficient at high speed but introduces torque ripple at low speed and produces audible noise Sinusoidal drive produces smooth control at low speed but is inefficient at high speeds FOC provides the best of both worlds 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 54

55 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 55

56 Agenda Hands-On exercises Lab 2 Enabling Graphs Using DMCI Lab 3 Tuning PI Parameters 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 56

57 DMCI Data Monitor and Control Interface Smart Watch Window 9 Slider 35 Input Control 4 Graphs 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 57

58 Sliders Assigns control variables Suitable for PID control loop tuning Dynamic data control 9 Booleans available for flags 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 58

59 Input Controls Text box type Configurable increments Dynamic Data Input Hex, Decimal, Fractional and Enum List data types 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 59

60 Graphs Up to 4 plots Features include Zoom in/out Mark data points Print Export as data Dynamic Data View 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 60

61 Lab 2. Enabling Graphs Using DMCI 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 61

62 Objectives of Lab 2 Getting to use DMCI How to enable a graph using DMCI Plotting variables 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 62

63 Lab2 Instructions for Lab2: On MPLAB IDE, open DMCI, select Tools - > Data Monitor And Control Interface 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 63

64 Lab2 (contd.) Instructions for Lab2 (contd.): Select Dynamic Data View tab Check Graph 1 box 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 64

65 Lab2 (contd.) Instructions for Lab2 (contd.): Right click over Graph 1 area Select Configure Data Source 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 65

66 Lab2 (contd.) Instructions for Lab2 (contd.): Select SnapBuf1 for data source array Select Fractional for Display Format Click OK 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 66

67 Lab2 (contd.) Instructions for Lab2 (contd.): Assign SnapBuf2 and SnapBuf3 to Plots 2 and 3. Halt, Reset and Run application using MPLAB IDE Run motor by pressing S4 After letting the motor run for about 5 seconds, halt execution Data should be on Graph 1 plot. This data corresponds to estimated rotor angle Microchip Technology Incorporated. All Rights Reserved FOC Slide 67

68 Lab2 Results Estimated Theta Plot Usage of plots in DMCI Tool 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 68

69 Lab 3. Tuning PI Parameters 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 69

70 Objectives of Lab 3 Tuning PI Parameters for Currents and Speed Using Sliders on DMCI tool 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 70

71 Lab3 Instructions for Lab3: On MPLAB IDE, open DMCI, select Tools - > Data Monitor And Control Interface 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 71

72 Lab3 Instructions for Lab3: On DMCI, Click Open Icon, and select: Lab3\Lab3.dmci File Lab3.dmci 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 72

73 Lab3 (contd.) Instructions for Lab3 (contd.): Open Lab3 Project Program dspic DSC Run motor by pressing S4 By Pressing S6, Speed reference will be doubled Analyze transient response on Plots Tune Speed PI Parameters to reduce overshoot Tune Iq PI Parameters to achieve minimum oscillations on Speed 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 73

74 Lab3 Results PI Tuning Usage of Sliders in DMCI Tool 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 74

75 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 75

76 Agenda Sensorless Techniques Six step for BLDC FOC for PMSM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 76

77 Six step for BLDC Commutation is implemented in six discrete steps per electrical revolution Hall sensors can be used to indicate when commutation is required Back EMF can be used to provide the same information 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 77

78 Six step for BLDC BLDC Motor Back EMF DC+ A Back EMF DC- C B Phase A and C are energized Inactive Phase B has induced Back EMF Normally the phase which is not energized, is monitored for Back EMF 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 78

79 Six step for BLDC BLDC Back EMF Crossing Diagram 0 0 T30 T60 0 SECTOR Microchip Technology Incorporated. All Rights Reserved FOC Slide 79

80 Six step for BLDC The Back EMF zero crossing method in detail In every electrical cycle, there are periods when each phase is not being driven. During these regions one end of the inactive phase is referenced to the star point and the other is monitored. The monitored voltage will cross the 1/2 VDD point at 30 electrical degrees. Knowing the last zero crossing time we know the 60 electrical degree time (T60) T60 divided by 2 = T30 is loaded in TMR2. The ISR of TMR2 then commutes the next pair of windings at T30 seconds later 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 80

81 Six step for BLDC - Summary Six step control creates comparatively more torque ripple Phase currents are rectangular Less processing power required Rotor position is not accounted for between commutation points Starting ramp parameters must uncover Back EMF signal BLDC produces more Torque than PMSM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 81

82 Sensorless FOC for PMSM N ref Σ PI iq ref - - id ref Σ Σ PI PI Vq Vd d,q α,β Vα Vβ SVM 3-Phase Bridge - θ iq d,q iα α,β ia id α,β iβ a,b,c ib Position Speed Position and Speed Estimator Vα Vβ Motor 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 82

83 Sensorless FOC for PMSM es π/2 ωt -π/2 Position Estimation Rotor position is calculated with BEMF information 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 83

84 Sensorless FOC for PMSM i PMSM Electric Model R L e d v s = Ris + L is + dt e s v Motor d dt i s = R L i s + 1 L ( v e ) s s Position Estimation PMSM motor shares the same basic electric model as the Brushed DC (BDC), BLDC and AC Induction Motors 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 84

85 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 85 Sensorless FOC for PMSM ( ) ) ( ) ( 1 ) ( ) ( 1) ( n e n v L n i L R T n i n i s s s s s s + = + ( ) ) ( ) ( ) ( 1 1) ( n e n v L T n i L R T n i s s s s s s + = + Position Estimation

86 Sensorless FOC for PMSM Current Observer Hardware Slide-Mode Vs PMSM Is Controller - +K d dt i R = i L * * 1 s s + L * ( v e z) s s I*s + Sign (I*s Is) z -K * Estimated variable 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 86

87 Sensorless FOC for PMSM Current Plots 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 87

88 Sensorless FOC for PMSM Back EMF Estimation d dt i R L * * 1 s = is + L ( * v e z) s s e * s z LPF LPF e filtered * s e arctan e α β θ * * Estimated variable 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 88

89 Sensorless FOC for PMSM Back EMF Plots 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 89

90 Sensorless FOC for PMSM Position and Speed estimation e arctan e α β θ* ω* + + θ*comp 7 ω = i= 0 ( θ ( n) -θ ( n -1)) Kspeed LPF ω* filtered * Estimated variable 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 90

91 Sensorless FOC for PMSM Phase Compensation The inherent position filtering is compensated Speed range is divided into parts with compensation applied to each Spread sheet calculator supplied 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 91

92 Sensorless FOC for PMSM Hardware Vs PMSM Is Slide Mode Controller - -1 d dt i R = i L * * 1 s s + z LPF L * ( v e z) * Estimated variable s e * s s LPF e filtered * s e arctan e 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 92 α β I*s 7 ω = i= 0 θ* + ( θ ( n) -θ ( n -1)) K speed Sign (I*s Is) z ω* LPF +1 θ*comp + + ω* filtered

93 Encoder Rotor Position Sensorless FOC for PMSM Practical Results Estimated Rotor Position 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 93

94 Sensorless FOC for PMSM Initial Torque Demand iq ref id ref Σ - Σ PI PI Vq Vd d,q α,β Vα Vβ SVM 3-Phase Bridge - θ iq d,q iα α,β ia id α,β iβ a,b,c ib Motor Startup θ Motor t 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 94

95 Sensorless FOC for PMSM S4 Pressed Measure Winding Currents Convert Currents to Iq and Id Reset Initialize Variables and Peripherals Motor Stopped Initialize Variables for Running Motor Initialize PI Controller Parameters Enable Interrupts Read Reference Torque from VR1 Motor Running Start Up A/D Interrupt Open Loop FOC Set New Duty Cycles using SVM Execute PI Controllers for Iq and Id Increment Theta Based on Ramp Motor Stopped Stop Motor S4 Pressed or FAULT S4 Pressed or FAULT End of Start Up Ramp Motor Running Sensorless FOC A/D Interrupt Read Reference Speed from VR2 Main Software State Machine Set New Duty Cycles using SVM Sensorless FOC Measure Winding Currents Execute PI Controllers for Speed, Iq and Id Compensate Theta Based on Speed Calculate Speed Estimate Theta using SMC Convert Currents to Iq and Id 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 95

96 No Extra Cost Added 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 96

97 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 97

98 Agenda Hands on exercises Lab 4 Tuning Sensorless Parameters 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 98

99 Lab 4. Tuning Sensorless Parameters 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 99

100 Objectives of Lab 4 Tuning Sensorless Parameters for Open Loop. Lock Times and End Speed. Tuning Sensorless Parameter for Closed Loop. Slide Mode Controller Gain Microchip Technology Incorporated. All Rights Reserved FOC Slide 100

101 Lab4 Instructions for Lab4: On MPLAB IDE, open DMCI, select Tools - > Data Monitor And Control Interface 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 101

102 Lab4 Instructions for Lab4: On DMCI, Click Open Icon, and select: Lab4\Lab4.dmci File Lab4.dmci 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 102

103 Lab4 (contd.) Instructions for Lab4 (contd.): Open Lab4 Project Program dspic DSC Run motor by pressing S4 Motor will not transition to closed loop Halt and analyze Plots Set K slide to.9. Run and analyze Set K slide to.1. Run and analyze Change End Speed from Slide Bars. What happens to Estimated Current? What happens to Theta? 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 103

104 Lab4 K Slide = 0.9 / 500 RPM K Slide = 0.1 / 500 RPM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 104

105 Lab4 K Slide = 0.9 / 2000 RPM K Slide = 0.1 / 2000 RPM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 105

106 Lab4 Results K Slide tuning. Slide Mode Controller Gain should be high enough to track measured current. Gain should be low enough to keep Theta as clean as possible. Estimated current and measured current should be on the same scale. End Speed should be enough to get a clean Theta Microchip Technology Incorporated. All Rights Reserved FOC Slide 106

107 Agenda PMSM Overview Hands-On Exercise FOC for PMSM control Hands-On Exercises Sensorless techniques Hands-On Exercise Wrap up, Q&A 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 107

108 Agenda Wrap up, Q&A Summary Dev Tools used in this class Resources 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 108

109 Summary PMSM High efficiency and smooth torque are advantageous FOC Provides optimal torque control Can be run with or without Position Sensors Applicable for ACIM 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 109

110 Dev Tools used in this class dspicdem MC1 Motor Control Development Board (DM300020) dspicdem MC1L 3-Phase Low Voltage Power Module (DM300022) 3-Phase BLDC Low Voltage Motor 24V (AC300020) MPLAB ICD 2 In-Circuit Debugger/Programmer (DV164005) 2007 Microchip Technology Incorporated. All Rights Reserved FOC Slide 110

111 Resources For resources and information regarding designing motor-control applications, visit Microchip s motor-control design center at: Microchip Application Notes for Motor-Control Applications: PIC18CXXX/PIC16CXXX Servomotor Brushless DC Motor Control Made Easy Brushless DC (BLDC) Motor Fundamentals Brushless DC Motor Control Using PIC18FXX31 Using the dspic30f for Sensorless BLDC Control Using the dspic30f for Vector Control of an ACIM Sensored BLDC Motor Control Using dspic30f2010 Using the PIC18F2431 for Sensorless BLDC Motor Control An Introduction to ACIM Control Using the dspic30f Sensorless BLDC Motor Control Using dspic30f2010 Sinusoidal Control of PMSM Motors with dspic30f Sensorless Control of PMSM Motors Sensorless BLDC Control with Back EMF Filtering Getting started with the BLDC Motors and dspic30f Measuring speed and position with the QEI Module Driving ACIM with the dspic DSC MCPWM Module Using the dspic30f Sensorless Motor Tuning Interface AN696 AN857 AN885 AN899 AN901 AN908 AN957 AN970 AN984 AN992 AN1017 AN1078 AN1083 GS001 GS002 GS004 GS Microchip Technology Incorporated. All Rights Reserved FOC Slide 111

112 Thank You Note: The Microchip name and logo are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective companies Microchip Technology Incorporated. All Rights Reserved FOC Slide 112

113 Trademarks The Microchip name and logo, the Microchip logo, Accuron, dspic, KeeLoq, KeeLoq logo, microid, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, rfpic and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AmpLab, FilterLab, Linear Active Thermistor, Migratable Memory, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dspicdem, dspicdem.net, dspicworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzylab, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rflab, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies Microchip Technology Incorporated. All Rights Reserved FOC Slide 113

Sensorless Field Oriented Control (FOC) for Permanent Magnet Synchronous Motors (PMSM)

Sensorless Field Oriented Control (FOC) for Permanent Magnet Synchronous Motors (PMSM) ensorless Field Oriented Control (FOC) for Permanent Magnet ynchronous Motors (PMM) 2007 Microchip Technology Incorporated. All Rights Reserved. ensorless FOC for PMM lide 1 Welcome to the ensorless Field

More information

TCP/IP Networking: Web-Based Status Monitoring

TCP/IP Networking: Web-Based Status Monitoring TCP/IP Networking: Web-Based Status Monitoring Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Web-Based Status Monitoring Slide 1 Welcome to the first

More information

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc. 1 How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc. The territory of high-performance motor control has

More information

Touch Through Metal. mtouch Metal Over Capacitive Technology Part 1

Touch Through Metal. mtouch Metal Over Capacitive Technology Part 1 Touch Through Metal mtouch Metal Over Capacitive Technology Part 1 2010 Microchip Technology Incorporated. All Rights Reserved. Touch Through Metal Slide 1 Hello and welcome to Microchip s Touch Through

More information

PICmicro DC Motor Control Tips n Tricks

PICmicro DC Motor Control Tips n Tricks PICmicro DC Motor Control Tips n Tricks M Table of Contents Tips n Tricks Tips N Tricks Introduction TIP #1: Brushed DC Motor Drive Circuits...2 TIP #2: Brushless DC Motor Drive Circuits...5 TIP #3: Stepper

More information

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT Using the PIC MCU CTMU for Temperature Measurement Author: Padmaraja Yedamale Microchip Technology Inc. The Charge Time Measurement Unit (CTMU), introduced on the latest generation of PIC24F and PIC18F

More information

Analog-to-Digital Converters

Analog-to-Digital Converters Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters

More information

PICkit 3 Programmer/Debugger User s Guide

PICkit 3 Programmer/Debugger User s Guide PICkit 3 Programmer/Debugger User s Guide 2009 Microchip Technology Inc. DS51795A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD

WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD 2004 Microchip Technology Inc. DS51512A Note the following details of the code protection feature on Microchip devices: Microchip products meet

More information

AN1160. Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function SENSORED CONTROL VERSUS SENSORLESS CONTROL INTRODUCTION

AN1160. Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function SENSORED CONTROL VERSUS SENSORLESS CONTROL INTRODUCTION Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function Author: INTRODUCTION Adrian Lita and Mihai Cheles Microchip Technology Inc. This application note describes a sensorless Brushless

More information

AN1083. Sensorless BLDC Control With Back-EMF Filtering INTRODUCTION DEVELOPMENT BOARD DEVELOPMENT BOARD WITH ATTACHED POWER MODULE

AN1083. Sensorless BLDC Control With Back-EMF Filtering INTRODUCTION DEVELOPMENT BOARD DEVELOPMENT BOARD WITH ATTACHED POWER MODULE Sensorless BLDC Control With Back-EMF Filtering Author: Reston Condit Microchip Technology Inc. INTRODUCTION This application note describes a sensorless brushless DC (BLDC) motor control algorithm, implemented

More information

Timers: Timer0 Tutorial (Part 1)

Timers: Timer0 Tutorial (Part 1) Timers: Timer0 Tutorial (Part 1) 2007 Microchip Technology Inc. DS51682A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc.

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc. Brushed DC Motor Fundamentals AN905 Author: Reston Condit Microchip Technology Inc. INTRODUCTION Brushed DC motors are widely used in applications ranging from toys to push-button adjustable car seats.

More information

Motor Control Application Tuning (MCAT) Tool for 3-Phase PMSM

Motor Control Application Tuning (MCAT) Tool for 3-Phase PMSM Freescale Semiconductor Document Number:AN4642 Application Note Rev. 1, 01/2013 Motor Control Application Tuning (MCAT) Tool for 3-Phase PMSM by: Marek Stulrajter, Pavel Sustek 1 Introduction This application

More information

How To Use Microchip.Com

How To Use Microchip.Com PICkit 2 Programmer/Debugger User s Guide 2008 Microchip Technology Inc. DS51553E Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Introduction to SMPS Control Techniques

Introduction to SMPS Control Techniques Introduction to SMPS Control Techniques 2006 Microchip Technology Incorporated. All Rights Reserved. Introduction to SMPS Control Techniques Slide 1 Welcome to the Introduction to SMPS Control Techniques

More information

Principles of Adjustable Frequency Drives

Principles of Adjustable Frequency Drives What is an Adjustable Frequency Drive? An adjustable frequency drive is a system for controlling the speed of an AC motor by controlling the frequency of the power supplied to the motor. A basic adjustable

More information

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015 Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) The standard tuning values used in ADVANCED Motion Controls drives are conservative and work well in over 90%

More information

PICkit 2 Microcontroller Programmer USER S GUIDE

PICkit 2 Microcontroller Programmer USER S GUIDE PICkit 2 Microcontroller Programmer USER S GUIDE 2007 Microchip Technology Inc. DS51553D Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN1142. USB Mass Storage Class on an Embedded Host INTRODUCTION. USB Mass Storage Class. Overview

AN1142. USB Mass Storage Class on an Embedded Host INTRODUCTION. USB Mass Storage Class. Overview USB Mass Storage Class on an Embedded Host Author: INTRODUCTION With the introduction of Microchip's microcontrollers with the USB OTG peripheral, microcontroller applications can easily support USB Embedded

More information

THIS paper reports some results of a research, which aims to investigate the

THIS paper reports some results of a research, which aims to investigate the FACTA UNIVERSITATIS (NIŠ) SER.: ELEC. ENERG. vol. 22, no. 2, August 2009, 227-234 Determination of Rotor Slot Number of an Induction Motor Using an External Search Coil Ozan Keysan and H. Bülent Ertan

More information

Motor Fundamentals. DC Motor

Motor Fundamentals. DC Motor Motor Fundamentals Before we can examine the function of a drive, we must understand the basic operation of the motor. It is used to convert the electrical energy, supplied by the controller, to mechanical

More information

dspic30f3012/3013 dspic30f3012/3013 Rev. B0 Silicon Errata dspic30f3012/3013 (Rev. B0) Silicon Errata Silicon Errata Summary

dspic30f3012/3013 dspic30f3012/3013 Rev. B0 Silicon Errata dspic30f3012/3013 (Rev. B0) Silicon Errata Silicon Errata Summary dspic30f3012/3013 Rev. B0 Silicon Errata dspic30f3012/3013 (Rev. B0) Silicon Errata The dspic30f3012/3013 (Rev. B0) samples you have received were found to conform to the specifications and functionality

More information

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1:

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1: Precision Temperature-Sensing With RTD Circuits Author: INTRODUCTION Bonnie C. Baker Microchip Technology Inc. The most widely measured phenomena in the process control environment is temperature. Common

More information

Introduction to the dspic DSC SMPS (Part 1)

Introduction to the dspic DSC SMPS (Part 1) Introduction to the dspic DSC SMPS (Part 1) 2008 Microchip Technology Incorporated. All Rights Reserved. Introduction to dspic DSC SMPS Slide 1 Welcome to part 1 of the Introduction to the dspic DSC SMPS

More information

Digital Control of Acim Using dspic

Digital Control of Acim Using dspic Digital Control of Acim Using dspic P.Santhosh, M.Muthazhagi, D.Karthik Assistant Professor, Karpagam College of Engineering, Coimbatore, India Assistant Professor, Karpagam College of Engineering, Coimbatore,

More information

An Introduction to MPLAB Integrated Development Environment

An Introduction to MPLAB Integrated Development Environment An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to

More information

Application Information

Application Information Moog Components Group manufactures a comprehensive line of brush-type and brushless motors, as well as brushless controllers. The purpose of this document is to provide a guide for the selection and application

More information

AN1307 FULL STEP MODE PHASE VOLTAGE AND PHASE CURRENT MICROSTEPPING WITH 1/4 STEP SIZE

AN1307 FULL STEP MODE PHASE VOLTAGE AND PHASE CURRENT MICROSTEPPING WITH 1/4 STEP SIZE Stepper Motor Control with dspic DSCs AN1307 Author: INTRODUCTION Sorin Manea Microchip Technology Inc. This application note describes how to drive a stepper motor with a dspic33f motor control family

More information

ZENA Wireless Network Analyzer User s Guide

ZENA Wireless Network Analyzer User s Guide ZENA Wireless Network Analyzer User s Guide 2007 Microchip Technology Inc. DS51606B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Real-Time Data Monitor User s Guide

Real-Time Data Monitor User s Guide Real-Time Data Monitor User s Guide 2008 Microchip Technology Inc. DS70567A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

Motors and Generators

Motors and Generators Motors and Generators Electro-mechanical devices: convert electrical energy to mechanical motion/work and vice versa Operate on the coupling between currentcarrying conductors and magnetic fields Governed

More information

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications By Shaun Milano Vibration motors are used in a variety of applications including mobile phone

More information

Active Vibration Isolation of an Unbalanced Machine Spindle

Active Vibration Isolation of an Unbalanced Machine Spindle UCRL-CONF-206108 Active Vibration Isolation of an Unbalanced Machine Spindle D. J. Hopkins, P. Geraghty August 18, 2004 American Society of Precision Engineering Annual Conference Orlando, FL, United States

More information

AN1156. Battery Fuel Measurement Using Delta-Sigma ADC Devices INTRODUCTION REVIEW OF BATTERY CHARGING AND DISCHARGING CHARACTERISTICS

AN1156. Battery Fuel Measurement Using Delta-Sigma ADC Devices INTRODUCTION REVIEW OF BATTERY CHARGING AND DISCHARGING CHARACTERISTICS Battery Fuel Measurement Using Delta-Sigma ADC Devices Author: INTRODUCTION Youbok Lee, Ph.D. Microchip Technology Inc. The battery fuel status indicator is a common feature of the battery-supported handheld

More information

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc.

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc. Brushed DC Motor Fundamentals AN905 Author: Reston Condit Microchip Technology Inc. INTRODUCTION Brushed DC motors are widely used in applications ranging from toys to push-button adjustable car seats.

More information

AN1199. 1-Wire Communication with PIC Microcontroller INTRODUCTION. OVERVIEW OF THE 1-Wire BUS. 1-Wire Protocol. Prerequisites

AN1199. 1-Wire Communication with PIC Microcontroller INTRODUCTION. OVERVIEW OF THE 1-Wire BUS. 1-Wire Protocol. Prerequisites 1-Wire Communication with PIC Microcontroller Author: INTRODUCTION This application note introduces the user to the 1-Wire communication protocol and describes how a 1-Wire device can be interfaced to

More information

PICkit TM 2 Microcontroller Programmer USER S GUIDE

PICkit TM 2 Microcontroller Programmer USER S GUIDE PICkit TM 2 Microcontroller Programmer USER S GUIDE 2006 Microchip Technology Inc. DS51553B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore. Power Electronics Prof. K. Gopakumar Centre for Electronics Design and Technology Indian Institute of Science, Bangalore Lecture - 1 Electric Drive Today, we will start with the topic on industrial drive

More information

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors Applied and Computational Mechanics 3 (2009) 331 338 Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors M. Mikhov a, a Faculty of Automatics,

More information

AN956. Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software OVERVIEW INTRODUCTION. Microchip Technology Inc.

AN956. Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software OVERVIEW INTRODUCTION. Microchip Technology Inc. Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software Author: INTRODUCTION Rawin Rojvanit Microchip Technology Inc. The RS-232 serial interface is no longer a common port found

More information

The following document contains information on Cypress products.

The following document contains information on Cypress products. The following document contains information on Cypress products. Colophon The products described in this document are designed, developed and manufactured as contemplated for general use, including without

More information

Chen. Vibration Motor. Application note

Chen. Vibration Motor. Application note Vibration Motor Application note Yangyi Chen April 4 th, 2013 1 Table of Contents Pages Executive Summary ---------------------------------------------------------------------------------------- 1 1. Table

More information

AN1106. Power Factor Correction in Power Conversion Applications Using the dspic DSC INTRODUCTION

AN1106. Power Factor Correction in Power Conversion Applications Using the dspic DSC INTRODUCTION Power Factor Correction in Power Conversion Applications Using the dspic DSC Author: INTRODUCTION Vinaya Skanda Microchip Technology Inc. Most of the power conversion applications consist of an AC-to-DC

More information

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN Water-Resistant Capacitive Sensing AN1286 Author: INTRODUCTION Thomas Perme Steven Lin Microchip Technology Inc. This application note describes a new hardware sensing method which is resilient to water

More information

Application Note AN-1187

Application Note AN-1187 Application Note AN-1187 IR3230 Sensorless BLDC Motor Drive By Alex Lollio Table of Contents Application Note AN-1234... 1 Introduction... 2 Basic Working Principle... 3 Motor Control... 4 Motor Control

More information

MCP1701A. 2 µa Low-Dropout Positive Voltage Regulator. Features. General Description. Applications. Package Types

MCP1701A. 2 µa Low-Dropout Positive Voltage Regulator. Features. General Description. Applications. Package Types 2 µa Low-Dropout Positive Voltage Regulator Features 2.0 µa Typical Quiescent Current Input Operating Voltage Range up to 10.0V Low-Dropout Voltage (LDO): - 120 mv (typical) @ 100 ma - 380 mv (typical)

More information

Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Field Weakening (FW)

Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Field Weakening (FW) Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Field Weakening (FW) Author: INTRODUCTION Mihai Cheles Microchip Technology Inc. Current

More information

AN1162. Sensorless Field Oriented Control (FOC) of an AC Induction Motor (ACIM) INTRODUCTION OVERVIEW. Control Strategy. AC Induction Motor

AN1162. Sensorless Field Oriented Control (FOC) of an AC Induction Motor (ACIM) INTRODUCTION OVERVIEW. Control Strategy. AC Induction Motor Sensorless Field Oriented Control (FOC) of an AC Induction Motor (ACIM) Author: Mihai Cheles Microchip Technology Inc. CoAuthor: Dr.Ing. Hafedh Sammoud APPCON Technologies SUARL INTRODUCTION The requirement

More information

Universal Programming Module 2

Universal Programming Module 2 Universal Programming Module OVERVIEW The Universal Programming Module (UPM) is a handy, low-cost board that supports the programming of Microchip devices using MPLAB in-circuit emulators and debuggers.

More information

PIC10F200/202/204/206

PIC10F200/202/204/206 Memory Programming Specification This document includes the programming specifications for the following devices: PIC10F200 PIC10F202 PIC10F204 PIC10F206 1.0 PROGRAMMING THE PIC10F200/202/204/206 The PIC10F200/202/204/206

More information

Setup for PWM Tests of BLDC Motor

Setup for PWM Tests of BLDC Motor Setup for PWM Tests of BLDC Motor Author: Arber Nicaj Date: 11/11/13 Abstract This application note examines BLDC motor control and offers a solution for setting up a BLDC motor for PWM testing using Texas

More information

Getting Started with dspic30f Digital Signal Controllers User s Guide

Getting Started with dspic30f Digital Signal Controllers User s Guide Getting Started with dspic30f Digital Signal Controllers User s Guide 2005 Microchip Technology Inc. DS70151A Note the following details of the code protection feature on Microchip devices: Microchip products

More information

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA Speed Control Methods of Various Types of Speed Control Motors Kazuya SHIRAHATA Oriental Motor Co., Ltd. offers a wide variety of speed control motors. Our speed control motor packages include the motor,

More information

MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE

MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE DS52081A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

MPLAB IDE QUICK START GUIDE

MPLAB IDE QUICK START GUIDE MPLAB IDE QUICK START GUIDE 2004 Microchip Technology Inc. DS51281D Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in

More information

Technical Guide No. 100. High Performance Drives -- speed and torque regulation

Technical Guide No. 100. High Performance Drives -- speed and torque regulation Technical Guide No. 100 High Performance Drives -- speed and torque regulation Process Regulator Speed Regulator Torque Regulator Process Technical Guide: The illustrations, charts and examples given in

More information

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP Software Real-Time Clock and Calendar Using PIC16F1827 Author: INTRODUCTION Cristian Toma Microchip Technology Inc. This application note describes the implementation of software Real-Time Clock and Calendar

More information

LIN Serial Analyzer User s Guide Rev2.0

LIN Serial Analyzer User s Guide Rev2.0 LIN Serial Analyzer User s Guide Rev2.0 2008 Microchip Technology Inc. DS51675B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

DIRECT CURRENT GENERATORS

DIRECT CURRENT GENERATORS DIRECT CURRENT GENERATORS Revision 12:50 14 Nov 05 INTRODUCTION A generator is a machine that converts mechanical energy into electrical energy by using the principle of magnetic induction. This principle

More information

DRV8312-C2-KIT How to Run Guide

DRV8312-C2-KIT How to Run Guide DRV8312-C2-KIT How to Run Guide Version 1.1 October 2011 C2000 Systems and Applications Team This Guide explains the steps needed to run the DRV8312-C2-KIT with the software supplied through controlsuite.

More information

ZENA Wireless Network Analyzer User s Guide

ZENA Wireless Network Analyzer User s Guide ZENA Wireless Network Analyzer User s Guide 2008 Microchip Technology Inc. DS51606C Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

MPLAB IDE USER S GUIDE

MPLAB IDE USER S GUIDE MPLAB IDE USER S GUIDE 2005 Microchip Technology Inc. DS51519A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their

More information

Lab 8: DC generators: shunt, series, and compounded.

Lab 8: DC generators: shunt, series, and compounded. Lab 8: DC generators: shunt, series, and compounded. Objective: to study the properties of DC generators under no-load and full-load conditions; to learn how to connect these generators; to obtain their

More information

AC generator theory. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

AC generator theory. Resources and methods for learning about these subjects (list a few here, in preparation for your research): AC generator theory This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,

More information

SPEED CONTROL OF INDUCTION MACHINE WITH REDUCTION IN TORQUE RIPPLE USING ROBUST SPACE-VECTOR MODULATION DTC SCHEME

SPEED CONTROL OF INDUCTION MACHINE WITH REDUCTION IN TORQUE RIPPLE USING ROBUST SPACE-VECTOR MODULATION DTC SCHEME International Journal of Advanced Research in Engineering and Technology (IJARET) Volume 7, Issue 2, March-April 2016, pp. 78 90, Article ID: IJARET_07_02_008 Available online at http://www.iaeme.com/ijaret/issues.asp?jtype=ijaret&vtype=7&itype=2

More information

CNC Machine Control Unit

CNC Machine Control Unit NC Hardware a NC Hardware CNC Machine Control Unit Servo Drive Control Hydraulic Servo Drive Hydraulic power supply unit Servo valve Servo amplifiers Hydraulic motor Hydraulic Servo Valve Hydraulic Servo

More information

Bootloader for dspic30f/33f and PIC24F/24H Devices

Bootloader for dspic30f/33f and PIC24F/24H Devices Bootloader for dspic30f/33f and PIC24F/24H Devices Author: Leonard Elevich and Veena Kudva Microchip Technology, Inc INTRODUCTION The bootloader for dspic30f/33f and PIC24H/24F devices is used to load

More information

Dually Fed Permanent Magnet Synchronous Generator Condition Monitoring Using Stator Current

Dually Fed Permanent Magnet Synchronous Generator Condition Monitoring Using Stator Current Summary Dually Fed Permanent Magnet Synchronous Generator Condition Monitoring Using Stator Current Joachim Härsjö, Massimo Bongiorno and Ola Carlson Chalmers University of Technology Energi och Miljö,

More information

Digital Signal Controller (DSC) Development Tools

Digital Signal Controller (DSC) Development Tools Page 1 Microchip Technology Inc. Digital Signal Controller (C) Development Tools 2004 Microchip Technology Inc Development Tools Slide 1 Welcome to the dspic Development Tools web seminar. My name is Darrel

More information

MATHEMATICAL MODELING OF BLDC MOTOR WITH CLOSED LOOP SPEED CONTROL USING PID CONTROLLER UNDER VARIOUS LOADING CONDITIONS

MATHEMATICAL MODELING OF BLDC MOTOR WITH CLOSED LOOP SPEED CONTROL USING PID CONTROLLER UNDER VARIOUS LOADING CONDITIONS VOL. 7, NO., OCTOBER ISSN 89-668 6- Asian Research Publishing Network (ARPN). All rights reserved. MATHEMATICAL MODELING OF BLDC MOTOR WITH CLOSED LOOP SPEED CONTROL USING PID CONTROLLER UNDER VARIOUS

More information

AN1305. Sensorless 3-Phase Brushless Motor Control with the PIC16FXXX TYPICAL MOTOR CONNECTION OVERVIEW DRIVE AND CONTROL CIRCUITRY

AN1305. Sensorless 3-Phase Brushless Motor Control with the PIC16FXXX TYPICAL MOTOR CONNECTION OVERVIEW DRIVE AND CONTROL CIRCUITRY Sensorless 3-Phase Brushless Motor Control with the PIC16FXXX Author: OVERVIEW Ward Brown Microchip Technology Inc. In 2002, I wrote my first application note on brushless motor control, AN857, which described

More information

How To Measure Power Of A Permanent Magnet Synchronous Motor

How To Measure Power Of A Permanent Magnet Synchronous Motor Freescale Semiconductor Document Number:AN4680 Application Note Rev. 0, 02/2013 PMSM Electrical Parameters Measurement by: Viktor Bobek 1 Introduction The vector control, also known as the field-oriented

More information

AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family

AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family AC/DC Power Supply Reference Design Advanced SMPS Applications using the dspic DSC SMPS Family dspic30f SMPS Family Excellent for Digital Power Conversion Internal hi-res PWM Internal high speed ADC Internal

More information

dspic30f4012 Microcontroller

dspic30f4012 Microcontroller dspic30f4012 Microcontroller dspic30f4012 is manufactured by Microchip, and is about $6 Specifications: 28-pin, 16-bit microcontroller 24-bit wide instructions 16-bit wide data path 48 Kbytes on-chip flash

More information

MODELLING AND SIMULATION OF SVPWM INVERTER FED PERMANENT MAGNET BRUSHLESS DC MOTOR DRIVE

MODELLING AND SIMULATION OF SVPWM INVERTER FED PERMANENT MAGNET BRUSHLESS DC MOTOR DRIVE MODELLING AND SIMULATION OF SVPWM INVERTER FED PERMANENT MAGNET BRUSHLESS DC MOTOR DRIVE Devisree Sasi 1, Jisha Kuruvilla P Final Year M.Tech, Dept. of EEE, Mar Athanasius College of Engineering, Kothamangalam,

More information

Stepper motor I/O. Application Note DK9222-0410-0014 Motion Control. A General information on stepper motors

Stepper motor I/O. Application Note DK9222-0410-0014 Motion Control. A General information on stepper motors Stepper motor Keywords Stepper motor Fieldbus Microstepping Encoder Phase current Travel distance control Speed interface KL2531 KL2541 Part A of this Application Example provides general information on

More information

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers Freescale Semiconductor Application Note AN1916 Rev. 2.0, 11/2005 3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers Leonard N. Elevich Contents 1. Application Benefits...1

More information

DC GENERATOR THEORY. LIST the three conditions necessary to induce a voltage into a conductor.

DC GENERATOR THEORY. LIST the three conditions necessary to induce a voltage into a conductor. DC Generators DC generators are widely used to produce a DC voltage. The amount of voltage produced depends on a variety of factors. EO 1.5 LIST the three conditions necessary to induce a voltage into

More information

TABLE 1: BUCK REGULATOR

TABLE 1: BUCK REGULATOR A Digital Constant Current Power LED Driver Author: INTRODUCTION Stephen Bowling Microchip Technology Inc. This document describes a power LED driver solution using the PIC12HV615 microcontroller (MCU).

More information

AN1212. Using USB Keyboard with an Embedded Host INTRODUCTION. USB Keyboard Overview. USB Keyboard with an Embedded Host USB KEYBOARD OUTPUT REPORT

AN1212. Using USB Keyboard with an Embedded Host INTRODUCTION. USB Keyboard Overview. USB Keyboard with an Embedded Host USB KEYBOARD OUTPUT REPORT Using USB Keyboard with an Embedded Host Author: INTRODUCTION Amardeep Gupta Microchip Technology Inc. Microcontroller applications can easily support USB embedded host functionality with the introduction

More information

Uninstalling Incorrect USB Device Drivers

Uninstalling Incorrect USB Device Drivers DEVELOPMENT SYSTEMS Uninstalling Incorrect USB Device Drivers RECOMMENDED UNINSTALL METHODS When using the Microchip development tools listed below, trouble may be experienced as a result of incorrect

More information

How To Develop A Microchip Device With Dspic Language Tools

How To Develop A Microchip Device With Dspic Language Tools dspic LANGUAGE TOOLS GETTING STARTED 2004 Microchip Technology Inc. DS70094C Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

MPLAB Starter Kit for dspic Digital Signal Controllers User s Guide

MPLAB Starter Kit for dspic Digital Signal Controllers User s Guide MPLAB Starter Kit for dspic Digital Signal Controllers User s Guide 2010 Microchip Technology Inc. DS51700B Note the following details of the code protection feature on Microchip devices: Microchip products

More information

AN885. Brushless DC (BLDC) Motor Fundamentals INTRODUCTION CONSTRUCTION AND OPERATING PRINCIPLE. Stator. Padmaraja Yedamale Microchip Technology Inc.

AN885. Brushless DC (BLDC) Motor Fundamentals INTRODUCTION CONSTRUCTION AND OPERATING PRINCIPLE. Stator. Padmaraja Yedamale Microchip Technology Inc. Brushless DC (BLDC) Motor Fundamentals AN885 Author: INTRODUCTION Padmaraja Yedamale Microchip Technology Inc. Brushless Direct Current (BLDC) motors are one of the motor types rapidly gaining popularity.

More information

Understanding the Alternator

Understanding the Alternator http://www.autoshop101.com THIS AUTOMOTIVE SERIES ON ALTERNATORS HAS BEEN DEVELOPED BY KEVIN R. SULLIVAN PROFESSOR OF AUTOMOTIVE TECHNOLOGY AT SKYLINE COLLEGE SAN BRUNO, CALIFORNIA ALL RIGHTS RESERVED

More information

In-Circuit Serial Programming (ICSP ) Guide

In-Circuit Serial Programming (ICSP ) Guide In-Circuit Serial Programming (ICSP ) Guide 2003 Microchip Technology Inc. May 2003 DS30277D te the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB Contents at a Glance 1. Introduction of MPLAB... 4 2. Development Tools... 5 3. Getting Started... 6 3.1. Create a Project... 8 3.2. Start MPLAB...

More information

AN1265. KEELOQ with AES Microcontroller-Based Code Hopping Encoder INTRODUCTION DUAL ENCODER OPERATION BACKGROUND FUNCTIONAL INPUTS AND

AN1265. KEELOQ with AES Microcontroller-Based Code Hopping Encoder INTRODUCTION DUAL ENCODER OPERATION BACKGROUND FUNCTIONAL INPUTS AND KEELOQ with AES Microcontroller-Based Code Hopping Encoder Authors: INTRODUCTION This application note describes the design of a microcontroller-based KEELOQ Hopping Encoder using the AES encryption algorithm.

More information

2. A conductor of length 2m moves at 4m/s at 30 to a uniform magnetic field of 0.1T. Which one of the following gives the e.m.f. generated?

2. A conductor of length 2m moves at 4m/s at 30 to a uniform magnetic field of 0.1T. Which one of the following gives the e.m.f. generated? Extra Questions - 2 1. A straight length of wire moves through a uniform magnetic field. The e.m.f. produced across the ends of the wire will be maximum if it moves: a) along the lines of magnetic flux

More information

How To Improve Electromagnetic Compatibility

How To Improve Electromagnetic Compatibility Introducing the EMC Newsletter What is EMC? Issue 1, November 2004 NOVEMBER 2004 Rodger Richey Senior Applications Manager Welcome to the first issue of the EMC Newsletter created by the Application Engineers

More information

Specifying a Variable Frequency Drive s

Specifying a Variable Frequency Drive s Specifying a Variable Frequency Drive s Put on by Bruce Reeves and Jeremy Gonzales Dykman Electrical Covering the Western US For all of your VFD and Soft Start and Motor Needs How To Specify a Variable

More information

Simulation of Electric Drives using the Machines Library and the SmartElectricDrives Library

Simulation of Electric Drives using the Machines Library and the SmartElectricDrives Library Simulation of Electric Drives using the Machines Library and the SmartElectricDrives Library J.V. Gragger, H. Giuliani, H. Kapeller, T. Bäuml arsenal research, Vienna 04.09.2006 1 Contents Chapter 1: The

More information

Synchronous motor. Type. Non-excited motors

Synchronous motor. Type. Non-excited motors Synchronous motor A synchronous electric motor is an AC motor in which the rotation rate of the shaft is synchronized with the frequency of the AC supply current; the rotation period is exactly equal to

More information

AN990. Analog Sensor Conditioning Circuits An Overview INTRODUCTION SENSOR APPLICATIONS. Target Audience. Goals. Description.

AN990. Analog Sensor Conditioning Circuits An Overview INTRODUCTION SENSOR APPLICATIONS. Target Audience. Goals. Description. Analog Conditioning Circuits An Overview Author: INTRODUCTION Target Audience This application note is intended for hardware design engineers that need to condition the output of common analog sensors.

More information

CONVENTIONALLY reduced order models are being

CONVENTIONALLY reduced order models are being Co-Simulation of an Electric Traction Drive Christoph Schulte and Joachim Böcker Abstract For the simulation of electrical drives, reducedorder models or simple look-up tables are often used in order to

More information

AN1275. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder KEY FEATURES OVERVIEW. Microchip Technology Inc.

AN1275. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder KEY FEATURES OVERVIEW. Microchip Technology Inc. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder Author: OVERVIEW Enrique Aleman Microchip Technology Inc. This application note describes a KEELOQ with AES code hopping decoder implemented

More information

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features. APPLICATION NOTE Features Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor Less than 5µs response time on Hall sensor output change Theoretical maximum of 1600k RPM Over-current sensing

More information

Renesas Inverter Agenda

Renesas Inverter Agenda Il Microcontrollore per controllo motore: applicazioni consumer ed industriali. Marco Vicini RENESAS Logo Azienda Bologna 26 Settembre 2007 pag 1/N Renesas Inverter Agenda Who Renesas is. Efficiency/Noise.

More information

Equipment: Power Supply, DAI, Synchronous motor (8241), Electrodynamometer (8960), Tachometer, Timing belt.

Equipment: Power Supply, DAI, Synchronous motor (8241), Electrodynamometer (8960), Tachometer, Timing belt. Lab 9: Synchronous motor. Objective: to examine the design of a 3-phase synchronous motor; to learn how to connect it; to obtain its starting characteristic; to determine the full-load characteristic of

More information