1021 Spa
1021 Spa
1021 Spa
TM
External Use
Agenda
• Kinetis V family quick view
• DSC family update
• Freescale Motor Resource
• Sensorless FOC motor control Demo
TM
External Use 1
Kinetis V Family Quick View
TM
External Use 2
Typical Control System for Motor Control Applications
Gate B Motor
Driver
C
with Isolation
Current Speed/Position
Feedback Feedback
TM
External Use 3
Motor Control MCUs of Freescale
ARM based
Automotive
DSC
S08P
TM
External Use 4
Kinetis Key Pillars by Family
L E K X W M V
High
Extreme Integrated Motor and
5V Performance & Integrated RF
Low Power performance & metrology Power
Robustness Rich Connectivity
integration engine Conversion
Integration
Up to 50MHz Up to 200MHz,
48MHz Cortex Up to 48MHz Up to 180MHz Up to 400MHz Up to 48MHz
Cortex M4, Cortex M4,
M0+ Cortex M0+ Cortex M4 Cortex M-next Cortex M0+
Cortex M0+ Cortex M0+
8KB to 512kB 8KB to 128kB 32KB to 2MB 0KB to 16MB 32KB to 32KB to 16KB to 2MB
Flash Flash Flash Flash 512kB Flash 128kB Flash Flash
Leading Performance – Low Power – Scalability – Industrial Grade reliability & temp
Freescale Bundled IDE, RTOS & Middleware – Rapid Prototyping Platform – Broad ARM Ecosystem Support
TM
External Use 5
Kinetis V Series Target Applications
TM
External Use 6
Kinetis V-Series: 3 Phase Motor Control
High Multi
Integrated Scalable High Performance Multi Domain
Entry Level
Motor Mid Range Performance MC & Domain Motor
FOC Motor
Control Motor Motor extended Motor Control w/
Control
Solutions Control Control memory Control Comms
+ ENET KV7x
Baseline KV1x
External Use 7
V Series: Value Proposition
TM
External Use 8
Three-Phase PMSM Sensorless Vector Control on Kinetis
KVx MCUs
TM
External Use 9
DSC Series Update
TM
External Use 10
Freescale DSCs family Compatibility
TM
External Use 13
Motor Control Solutions
Resource
TM
External Use 14
Switched Reluctance Motor Control Solutions
• Advantages
− Reliable electronics
− High starting torque
− Removal of position sensor
• Applications
− Industrial machines
− Medical scanners
− Computers, office equipment
− Toys
− Food processors
− Vacuum cleaners
− Machine tools
− Large appliances
TM
External Use 15
BLDC Motor Control Solutions
• Advantages
− Enables bi-directional operation with
fast torque response
− Low noise, high efficiency
− Removes the position sensor
− Cost-effective control topology
− Speed and torque control
• Applications
− Industrial control
− Large appliances
− HVAC
− Compressors
− Blowers
− Toys
− Pumps
− Health care equipment
Reference Design
8-bit
DRM022 - 3-Phase BLDC Drive Control with Hall Sensors Reference Design
DRM028 - Sensorless BLDC Motor Control Using the MC68HC908MR32
DRM046 - Low Power BLDC Drive for Fans using the MC68HC908QY4 Recommended Devices
DRM048 - High-Voltage BLDC Drive for Domestic Appliances using the MC68HC908MR8
DRM056 - MC68HC908QT2 Brushless DC Fan for Personal Computers Design Reference Manual 8-bit MCU: 908MR, 908GB, 9RS08KA, 9S08QD, 9S08SF, 9S08SH,
DRM079 - DC Fan Control using MC9RS08KA2 9S08AC, 9S08MP
DRM086 - Sensorless BLDC Motor Control Using MC9S08AW60
DRM088 - Pulse Width Modulation Controlled Fans Using the M9S08QD4 Digital Signal Controller: MC56F80x, MC56F80xx, MC56F82xx,
DRM117 - 3-Phase Sensorless BLDC Motor Control Using MC9S08MP16 MC56F83xx
Digital Signal Controllers 32-bit MCU: MCF51AC, MCF51AG, K10, K20, MCF521x, MCF523x,
DRM025 - 3-Phase BLDC Motor Control with Hall Sensors Using 56F805 MPC56x, MPC560xP, MPC55xx, MCF5441x
DRM026 - 3-Phase BLDC Motor Control with Sensorless BACK-EMF ADC Zero Crossing Detection Using
Analog/Mixed-Signal Power ICs
56F805
Power Supply: MC34702, MC34717, MC33730, MC34923
DRM027 - 3-Phase Sensorless BLDC Motor Control with Back-EMF Zero Crossing Detection Using
Motor Driver: MC33927, MC33937, MC34923
56F805
DRM070 - Three-Phase BLDC Motor Sensorless Control Using MC56F8013
DRM077 - Design of PMSM and BLDC Sensorless Motor Control using the 56F8013 Device
DRM078 - 3-Phase BLDC Drive Using Variable DC Link Six-Step Inverter
DRM108 - BLDC Sensorless Reference Design Using MC56F8006
TM
External Use 16
BLDC Motor Control Solutions (cont’d)
Application Notes
8-bit
AN1627 - Low Cost High Efficiency Sensorless Drive for Brushless dc Motor Using MC68HC(7)05MC4
AN1702 - Brushless DC Motor Control Using the MC68HC705MC4
AN1858 - Sensorless Brushless dc Motor Using the MC68HC908MR32 Embedded Motion Control Development System
AN2355 - Sensorless BLDC Motor Control on MC68HC908MR32 Software Description
AN2687 - BLDC Fan Control using the MC68HC908QT2
AN2983 - LIN-Enabled BLDC Engine Fan
AN3832 - Sensorless BLDC Motor Control Using MC9S08AC16
AN4058 - BLDC Motor Control with Hall Effect Sensors Using the 9S08MP
AN4142 - MC9S08MP16 High Speed BLDC Sensorless Drive
Digital Signal Controller
AN1913 - 3-phase BLDC Motor Control with Sensorless Back-EMF ADC Zero Crossing Detection using DSP 56F80x
AN1914 - 3-Phase BLDC Motor Control with Sensorless Back EMF Zero Crossing Detection Using DSP56F80x
AN1915 - 3-Phase BLDC Motor Control with Quadrature Encoder using DSP56F80x
AN1916 - 3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers
AN1961 - 3-Phase BLDC Motor Control with Quadrature Encoder Using the 56F800/E
32-bit
AN2892 - 3-Phase BLDC Motor with Speed Closed Loop, driven by eTPU on MCF523x
AN2948 - Three 3-Phase BLDC Motors with Speed Closed Loop, driven by eTPU on MCF523x
AN2954 - BLDC Motor with Speed Closed Loop and DC-Bus Break Controller, driven by eTPU on MCF523x
AN2957 - BLDC Motor with Quadrature Encoder and Speed Closed Loop, Driven by eTPU on MCF523x
AN3005 - BLDC Motor with Quadrature Encoder and Speed Closed Loop, driven by eTPU on MPC5554
AN3006 - BLDC Motor with Hall Sensors and Speed Closed Loop, driven by eTPU on MPC5554
AN3007 - BLDC Motor with Speed Closed Loop and DC-Bus Break Controller, driven by eTPU on MPC5554
TM
External Use 17
Permanent Magnet Synchronous Motor Control Solutions
• Advantages
− Low-noise operation
− High drive efficiency
− High-precision speed/torque control
− Suitable for drives with high dynamic
requirements
− Removal of speed sensor
• Applications
− Robotics
− Elevators
− Servo drivers
− Traction systems
− Industrial motion control
− Automotive
− Appliances
− HVAC
Reference Design − Compressors
− Blowers
8-bit
DRM036 - Sine Voltage Powered 3-Phase Permanent Magnet Synchronous Motor with Hall
Sensors Recommended Devices
Digital Signal Controller Digital Signal Controller: MC56F80x, MC56F80xx, MC56F82xx,
DRM018 - 3-Phase PM Synchronous Motor Torque Vector Control Using 56F805 MC56F83xx
DRM029 - 3-Phase PM Synchronous Motor Control with Quadrature Encoder Using 56F805
DRM063 - 3-Phase PMSM Vector Control 32-bit MCU: MCF51AC, MCF51AG, K10, K20, K30, K40, K60, MCF521x,
DRM077 - Design of PMSM and BLDC Sensorless Motor Control using the 56F8013 Device MCF523x, MPC56x, MPC560xP, MPC55xx, MCF5441x
DRM099 - Sensorless PMSM Vector Control with a Sliding Mode Observer for Compressors
Using MC56F8013 Analog/Mixed-Signal Power ICs
DRM102 - PMSM Vector Control with Single-Shunt Current-Sensing Using MC56F8013/23 Power Supply: MC34702, MC34717, MC33730, MC34923
DRM110 - Sensorless PMSM Control for an H-Axis Washing Machine Motor Driver: MC33927, MC33937, MC34923
32-bit
DRM105 - 3-phase PMSM Vector Control using Quadrature Encoder on MCF51AC256
DRM109 - Sensorless PMSM Vector Control on MCF51AC256
TM
External Use 18
Permanent Magnet Synchronous Motor Control Solutions
(cont’d)
Application Notes
8-bit
AN2357 - Sine Voltage Powered 3-Phase Permanent Magnet Motor with Hall Sensor
Digital Signal Controller
AN1917 - 3-Phase PM Synchronous Motor Control with Quadrature Encoder Using DSP56F80x
AN1931 - 3-Phase PM Synchronous Motor Vector Control
AN1999 - 56F8300 Hybrid Controller Used in Control of Electro-Mechanical Brake
AN3301 - Design of a PMSM Servo System using the 56F8357 Device
32-bit
AN2972 - Using the PMSM Vector Control eTPU Function
AN3002 - Permanent Magnet Synchronous Motor Vector Control, Driven by eTPU on MCF523x
AN3206 - Permanent Magnet Synchronous Motor Vector Control, Driven by eTPU on MPC5500
AN3729 - Using FlexTimer in ACIM/PMSM Motor Control Applications
TM
External Use 19
PMSM Sensorless Motor Control Using MC56F80xx
• MC56F80xx digital signal controller
• 3-phase AC/BLDC high voltage
power stage board
• 1-phase line input 110/230VAC @
50/60Hz
• Appliance PM motor
• Initial rotor position detection
• Full torque at motor start-up
• Field weakening
• Application based on C-callable
library functions (GFLIB, GDFLIB,
MCLIB, ACLIB)
• Current control loop execution time:
55us
• Speed control loop with field
weakening execution time : 17us
• Flash: ~ 6KB, RAM ~ 1.5KB
• Reference design manual
TM
External Use 20
PMSM Sensorless Drive for Dishwasher Pump
Target Devices/Platforms:
• MC56F8006
• Motor Control Applications
• PM Synchronous Motor
• Sensorless Control
• Motor Control S/W Library
Applications Usage:
• Appliance (dishwasher pump, dryer drive)
• Industrial (pumps, compressors, fans, HVAC)
• Industrial Drives
Application Features:
• Sensorless control of Permanent Magnet Synchronous motor using
Back-EMF Observer
• One board solution - processor and power electronic on one board
• Supply Voltage (110-230Vac +10%-15%)/50-60Hz
• Output power approximately 200W for 230Vac input
• Rotor speed - one direction, up to 3500rpm
• Rotor alignment method will be used
• Over-current protection and Over-voltage protection
• Power module over-temperature protection
• RS232 communication with PC
• Header with GPIO for external start/stop switch
• Header for encoder for development purposes
TM
External Use 21
Refrigerator Compressor Control Solution
TM
External Use 22
Refrigerator Compressor Control Solution(Cont.)
TM
External Use 23
3-in-1 (2 PMSM +1 PFC) Design Hardware Block
Application
Control
Application S/W
MC56F84xx
TM
External Use 24
3-in-1 Typical Requirements
• Motor 1 & 2
− 2x 6-channel PWM modules
− Parallel sampling 9-channel ADC
− 2x dc bus current fault to PWM
modules
• PFC
− 2-channel high-precision PWM
− 2-channel ADC with DMA
− Timer
− PDB
PCI Daughter
− PFC current and dc bus over-voltage fault (comparators) Board
Connectors
• Application
− 3-channelADC for temperature measurement
− UART with DMA for communication
• Inter-peripheral cross-bar unit – signals interconnection
TM
External Use 25
MC56F84789 CPU usage for 3-in-1
• Motor 1 MC56F84789
− 6-ch. High-Res PWM
Core System Communication
− 4-ch. HS ADC (currents)
56800Ev3 4-ch. DMA 3x UART
− Cross Bar (PWM to ADC)
100 MHz
Memory Resource 3x SPI
• Motor 2 Protection Unit
− 6-ch. PWM CAN
Memory
Quadrature Decoder
− 4-ch. HS ADC (currents) 2x SMBus IIC
256 kB Flash
CRC
− Cross Bar (PWM to ADC)
FlexMemory Debug
• PFC Voltage Regulator
32 kB Flash or
JTAG
− 2-ch. High-Res PWM 2 kB EEPROM Internal Watchdog
− 3-ch. SAR ADC (Vin, Ipfc, Vdcb) 32 kB SRAM External Watchdog Clocks and Timer
− 2x CMP (faults)
− 2x DMA (ADC read and config) Inter-Module Cross Bar
− Cross Bar (TMR to PDB to ADC)
− Cross Bar (CMP to PWM fault) High-Res 4x Analog 2x HS ADC
DAC PWM SAR ADC
PWM CMP 8-ch./12-bit Timers
− 1x Timer 1-ch./12-bit 8-ch. 16-ch./16-bit
8-ch. + 6-bit DAC With PGA
− 1x PDB
• Application
− 1x UART
− 1x DMA (UART Tx)
− 3-ch. HS ADC (temperature)
TM
External Use 26
3-in-1 Application Demo
Fan
Compressor
TM
External Use 27
2 PMSM With Encoder Using Kinetis K Series 100MHz
Base On Tower Board
TM
External Use 28
Three-Phase BLDC Ceiling Fan Solution
D-current
Control
idref =0
Target Devices/Platforms:
ud
De-
uddec Inverse
Park
d, q
u
DC Bus
u com SVPWM
pwm
Inverter
• PMSM/BLDC Motor
u ripple
Ramp iqref couple ,
ref uq elimination
u com
uqdec
• MC56F800x
Speed Q-current
Control Control
estim
• Motor Control Applications id Park i Clarke
• Ceiling fan
Application Features:
• High power density BLDC together with FOC algorithm improves system
efficiency (only 30 watts power consumption at maximum load) and reduces noise
(quite operation)
• Targeting MC56F8006 which is a low cost chip in DSC series
• Sensorless control by using software observer to estimate rotor’s position which
is crucial to the algorithm
• Fan can be started even if the blades are still rotating freely due to inertia or
breeze
• Time of switching from counter clockwise (CCW) maximal speed to clockwise
(CW) maximal speed can be optimized to be as short as possible (45 seconds,
better than competitors)
• Fan won’t stop but will be able to work properly when AC input voltage is down
for a couple of seconds
• Over-voltage, under-voltage, over-current protection and lock of rotor detection
TM
External Use 29
Three-Phase Industrial Blower Drive Solution
Target Devices/Platforms:
• PMSM/BLDC Motor
• MC56F800x/MC56F827xxx
• Motor Control Applications
• Sensorless Vector Control
Applications Usage:
• Industrial blower/fan
• Home appliance blower/fan
Application Features:
• Vector control of three-phase PM synchronous motor
• Position and speed detection using dq back-EMF observer and tracking
observer
• Closed-loop speed control
• Unidirectional rotation
• Closed-loop current control
• Independent control of flux and of torque
• Very quiet startup with alignment
• Three-phase motor currents measured in each phase leg
• FreeMASTER control interface
TM
External Use 30
Three-Phase AC Induction Motor Control Solutions
• Advantages
− Enables bi-directional operation with
fast torque response
− Very high-precision speed/torque
control
− Suitable for drives with high dynamic
requirements
− High efficiency
− Removal of position sensor
• Applications
− Large appliances
− HVAC
− Blowers, fans
Recommended Devices
− Pumps
8-bit MCU: 908MR, 9S08GB, 9S08QD, 9S08SH, 9S08AC, 9S08MP
− Lifts, cranes, elevators
Digital Signal Controller: MC56F80x, MC56F80xx, MC56F82xx, MC56F83xx, MC56F84xx
− Conveyors
32-bit MCU: MCF51AC, MCF51AG, K10, K20, K30, K40, K60, MCF521x, MCF523x, MPC56x,
MPC560xP, MPC55xx, MCF5441x − Frequency inverters
Analog/Mixed-Signal Power ICs − Industrial controls
Power Supply: MC34702, MC34717, MC33730, MC34923
Motor Driver: MC33927, MC33937, MC34923 − Industrial compressors
− Treadmills
− Industrial compressors
− Universal inverters
− Construction machinery
TM
External Use 31
Three-Phase AC Induction Motor Control Solutions
(cont’d)
Application Notes
8-bit
AN1664 - Low Cost 3-Phase ac Motor Control System Based on MC68HC908MR24
AN1857 - A 3-Phase ac Induction Motor Control System Based on the MC68HC908MR32
AN2154 - Low-Cost, 3-Phase, AC Motor Control System with Power Factor Correction Based on MC68HC908MR32
32-bit
AN1524 - AC Motor Drive Using Integrated Power Stage
AN1310 - Using the MC68332 Microcontroller of AC Induction Motor Control
AN2971 - Using the ACIM Volts per Hertz (ACIMVHZ) eTPU Function
AN2973 - Using the ACIM Vector Control eTPU Function
AN2968 - Using the AC Motor Control eTPU Function Set (set4)
AN2969 - Using the AC Motor Control PWM eTPU Functions
AN3000 - AC Induction Motor Volts per Hertz Control, Driven by eTPU on MCF523x
AN3001 - AC Induction Motor Vector Control, Driven by eTPU on MPC5500
AN3205 - AC Induction Motor Volts per Hertz Control with Speed Closed Loop, Driven by eTPU on MPC5500
AN3729 - Using FlexTimer in ACIM/PMSM Motor Control Applications
Reference Design
8-bit
DRM019 - 3-Phase AC Induction Motor Drive with Dead Time Distortion Correction Using the MC68HC908MR32
DRM020 - 3-Phase AC Induction Motor Drive with Tachogenerator Using MC68HD908MR32
DRM115 - 3-Phase AC Induction Motor Control with PFC Using MC9S08MP16
32-bit
DRM006 - General-Purpose 3-Phase AC Industrial Motor Controller Designer Reference Manual
TM
External Use 32
ACIM Scalar Control with PFC
Target Devices/Platforms:
• MC9S08MP16
• MC9S08JS16
• Motor Control Applications
• AC Induction Motor
• V/Hz Control
• Embedded Control Library
Applications Usage:
• Washing machines
• Compressors
• Air conditioning units
• Fans
• Industrial drives
• Appliances
Application Features:
• Three-phase ACIM V/Hz control using tacho generator as a rotary transducer
o Controlled acceleration and deceleration
o Speed in the range of 0 to 2400 rpm for 4-pole motor
o The drive can run clockwise or counterclockwise.
o Speed is sensed by a tachometer/generator.
o PWM frequency is 16 kHz.
o Operation in FreeMASTER or demo operating mode
o Overvoltage and overcurrent protection
• Power Factor Correction (PFC)
o Automatic input voltage detection 110 V/60 Hz and 230 V/50 Hz
o dc-bus voltage regulation: 390VDC, 5% ripple for Pout = 300W
o Overvoltage protection
o Power factor: > 0.94 @ 230VAC
• Freescale MC9S08MP16 microcontroller
• Three-phase high voltage (230/115 V) power board
TM
External Use 33
Enablement Tools for Motor
Control
TM
External Use 34
Freescale Embedded Software Libraries
Deliverables:
• General Function Library (GFLIB) contains math, trigonometric, look-up
table and control functions. These software modules are basic building
blocks.
• Motor Control Library (MCLIB) contains vector modulation,
transformation and specific motor related functions to build digitally
controlled motor drives.
• General Digital Filter Library (GDFLIB) contains filter functions for signal
conditioning.
• Advanced Control Library (ACLIB) will contain functions to enable
building the variable speed AC motor drive systems with field oriented
control techniques without position or speed transducer.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FSLESL&fsrch=1
TM
External Use 35
Freescale Embedded Software Libraries
User APPLICATION
Target Devices/Platforms: Application SW
• Digital Signal Controllers
Application SW
Processor
• Kinetis K Series
• ColdFire MCF51xx
MCLIB
ACLIB
GDFLIB
Documentation
• Qorriva MPC560xP
• PX Series (Power Architecture) Libraries
GFLIB On-Chip Driver
Range of Applications:
• Digital Control Systems
FSLESL On-Chip
• Motor Control (BLDC, PMSM, AC) Peripherals
Deliverables:
• General Function Library (GFLIB) contains math, trigonometric, look-up table and control functions. These software
modules are basic building blocks.
• Motor Control Library (MCLIB) contains vector modulation, transformation and specific motor related functions to
build digitally controlled motor drives.
• General Digital Filter Library (GDFLIB) contains filter functions for signal conditioning.
• Advanced Control Library (ACLIB) will contain functions to enable building the variable speed AC motor drive
systems with field oriented control techniques without position or speed transducer (will be available soon).
TM
External Use 36
What is ?
• As a Real-time Monitor Highlights:
FreeMASTER helps developers to debug
• Graphical Control Panel
or tune their applications.
• Demonstration Platform &
Replaces debugger in situations when the
Selling Tool
processor core can not be simply stopped
(e.g. motor control).
TM
External Use 37
FreeMaster Monitoring Tool
http://www.freescale.com/files/microcontrollers/doc/fact_sheet/FREEMASTERFS.pdf
Real-time operation
monitor
Supports:
- 56F8000, 56F8100 and 56F8300 JTAG
- SCI driver (FMASTERSCIDRV) for all
platforms
www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER
TM
External Use 38
Find Solutions Fast @ freescale.com/motorcontrol
• 39
Application Summary
Pages for each motor type
TM
External Use 39
Demonstration:
Carcassonne EVB and
FreeMaster
TM
External Use 40
TM
www.Freescale.com