26.10.2013 Views

Digital Control

Digital Control

Digital Control

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Newest <strong>Digital</strong> Signal <strong>Control</strong>ler (DSC) for Energy<br />

Conversion and Motor <strong>Control</strong><br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


► Energy Conversion and Motor <strong>Control</strong><br />

• Motor Types, Application & Target Markets<br />

• Power Conversion Solutions<br />

• What Is <strong>Digital</strong> Power Conversion<br />

► What Is <strong>Digital</strong> <strong>Control</strong><br />

• <strong>Digital</strong> <strong>Control</strong> Theory<br />

• The Benefit of <strong>Digital</strong> <strong>Control</strong><br />

► DSP56800E <strong>Digital</strong> Signal <strong>Control</strong>ler Products<br />

• Product Roadmap<br />

• Product Overview<br />

► Peripherals Highlight<br />

• High Solution Pulse Width Modulation (PWM) and Its Applications<br />

• High Speed ADC<br />

• DMA <strong>Control</strong>ler, Comparators, and Inter-module Cross Bar<br />

► Applications and Enablement Tools<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 3<br />

Agenda<br />

TM


Energy Conversion and Motor <strong>Control</strong><br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 5<br />

Freescale Complete Power Conversion<br />

and Motor <strong>Control</strong> Solutions<br />

TM


DC Motor Brushless DC Motor<br />

(BLDC)<br />

AC Induction Motor (ACIM)<br />

Many Different Motor Types Are Supported<br />

Stepper Motor (full step)<br />

Permanent Magnet<br />

Synchronous Motor (PMSM)<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 6<br />

Stepper Motor (half step)<br />

Switched Reluctance Motor<br />

TM


►PWM<br />

►ADC<br />

• PWM signals < 20Khz<br />

• Dead time insertion<br />

• Commutation (mask-out)<br />

• ADC triggering<br />

• Fault control<br />

Typical Motor <strong>Control</strong> <strong>Control</strong>ler Peripheral Functions<br />

• Measure current, voltage and temp.<br />

►Delay block<br />

• Set ADC measurement at specific time<br />

►Position decoder<br />

• Quadrature decoder inputs if not sensorless<br />

►CMP<br />

• Faults detection and waveform shaping<br />

functions<br />

►Communication interfaces<br />

• Communication with external components<br />

Position<br />

decoder<br />

6 ch PWM<br />

timer<br />

Fault inputs<br />

Prog delay<br />

12 bit ADC<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

7<br />

TM


► Pumps and fans<br />

► HVAC<br />

• pool pumps, factory systems<br />

• heating fans, air-conditioners<br />

► Industrial drives<br />

• Manufacturing assembly, robotics, wind turbines, printing presses<br />

► Appliances<br />

• washers, dryers, power tools<br />

► Medical<br />

• scanners, pumps, diagnostic and therapy<br />

► Automotive Motor <strong>Control</strong> Trends<br />

• Fuel/Water pumps, HVAC Fan <strong>Control</strong>, Window lift<br />

• Increasing adoption of electric and hybrid vehicles continues to<br />

drive BLDC demand<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

Motor <strong>Control</strong> Target Applications<br />

8<br />

TM


FSL Solutions<br />

8/16/32 bit MCU and DSC<br />

Power MPU<br />

i.MX MPU<br />

RF/Wireless<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

Freescale Power Conversion Solutions<br />

9<br />

TM


Power (W)<br />

Up to<br />

100KW<br />

500<br />

250<br />

100<br />

75<br />

50<br />

Analog <strong>Control</strong><br />

+<br />

8bit MCU<br />

(Management)<br />

Hardware<br />

<strong>Digital</strong><br />

<strong>Control</strong><br />

Analog<br />

<strong>Control</strong><br />

Power Conversion Landscape<br />

<strong>Digital</strong><br />

Signal<br />

<strong>Control</strong>ler<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 10<br />

System Flexibility<br />

Isolated AC-DC<br />

Isolated AC-DC<br />

Isolated DC-DC<br />

Isolated AC-DC<br />

Isolated DC-DC & AC-DC<br />

Non-isolated DC-DC<br />

Isolated DC-DC<br />

Non-isolated DC-DC<br />

Power Density<br />

TM


The Trends of Power Conversion Technology<br />

► High Efficiency<br />

• Meet Energy Star, 80 plus specifications<br />

• High efficient from light load to full rated load range<br />

• Cost effective soft-switching techniques<br />

► High Power Density<br />

• Compact size: high watt per cubic inch<br />

► High Intelligent <strong>Control</strong><br />

• <strong>Digital</strong> controlled power conversion<br />

• Adaptive control algorithms – nonlinear loads and components drift<br />

• Fast transient response<br />

• Intelligent power management and communication<br />

► High Reliability<br />

• Less components usage<br />

• System monitoring and protection<br />

• Redundancy – load sharing<br />

► Quiet Operation<br />

• Low harmonics, radiated and conducted EMI<br />

► Innovative Power Distribution<br />

• New intermediate bus architecture – eliminate isolated DC/DC converter<br />

► Low Cost<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 11<br />

Energy<br />

TM


The Popular Technologies of Power Conversion<br />

► Zero-Voltage-Switching Phase-Shifted Full-Bridge Converter<br />

• Reduced switching losses – zero-voltage switching<br />

• Fixed frequency<br />

• Suit for isolated power converter<br />

► Resonant Converter (FSL-LLC)<br />

• Low switching losses<br />

Transistor turn-on occurs at zero voltage - Zero-voltage switching<br />

Transistor turn-off occurs at zero current – Zero-current switching<br />

• Reduce converter-generated EMI<br />

• Variable switching frequency which range can be very large<br />

• Not good for input voltage variation<br />

• Not good for filter design<br />

► Multiple-Phase DC/DC Buck Converter<br />

• Input/output ripple cancellation<br />

• Less input/output capacitance needed<br />

• Reduce power dissipation and improve efficiency<br />

► Interleaved PFC (Power Factor Correction)<br />

• Transition mode and continuous current mode<br />

• Inductor volume reduced<br />

• The ripple-current cancellation at the input of the power converter, reduced<br />

conductive loses due to current ripple<br />

• Alleviating electrical overstress on capacitor<br />

• Redundant phases can be shut down for efficient operation<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 12<br />

TM


The Challenges of Power Conversion Design<br />

Increased performance and cost pressures<br />

Pressure to increase performance while reducing cost to<br />

meet customer demands<br />

System complexity<br />

On the rise with the need for more features and<br />

Functionality in smaller form factors<br />

Time to market constraints<br />

Increasingly complex development environments and<br />

design cycle time-frames that are constantly shrinking<br />

Scalable & Compatible<br />

Easy migration from existing product with common<br />

core, IP and tools<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 13<br />

TM


What Is <strong>Digital</strong> <strong>Control</strong><br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


Where Is <strong>Digital</strong> Power Conversion Applied<br />

“<strong>Digital</strong> Power Conversion” is a power system that is controlled by<br />

digital circuits, in much the same way as would be with analog<br />

circuits, to monitor, supervise, communicate and control looping.<br />

A fully digitally controlled power system includes both<br />

“<strong>Digital</strong> <strong>Control</strong>” and “<strong>Digital</strong> Power Management”<br />

<strong>Digital</strong> <strong>Control</strong><br />

Power switch control feedback or feed<br />

forward loop,which is controlled by the<br />

digital circuit or programmable controller<br />

regulates the output of the power system<br />

by driving the power switch duty cycle<br />

using pulse width modulation techniques<br />

Advanced adaptive control system,the<br />

control circuits combine A/D conversion,<br />

pulse width modulation,communication<br />

interfaces, operating entirely or mostly in<br />

digital mode to gain excellent system<br />

performance<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 15<br />

<strong>Digital</strong> Power Management<br />

A digital circuit or programmable controller<br />

provides the functions of configuration,<br />

diagnosis, monitoring , protection, supply<br />

sequencing, and communication with the<br />

Environment.<br />

TM


DC Input<br />

Voltage<br />

Ramp<br />

Network<br />

R<br />

C<br />

Power<br />

Switch<br />

PWM<br />

Generator<br />

CLK<br />

C<br />

Shut<br />

Down<br />

Serial Interface<br />

Current<br />

Analog<br />

Compensator<br />

Network<br />

LC<br />

Filter<br />

GPIO<br />

Voltage<br />

Analog vs. <strong>Digital</strong> Power <strong>Control</strong> System<br />

DC Output<br />

REF<br />

Analog<br />

Compensator<br />

Network<br />

SCALE<br />

Voltage<br />

Fan<br />

Current<br />

Temperature<br />

Analog <strong>Control</strong> System With <strong>Digital</strong> Management<br />

DC Input<br />

Temperature<br />

Fan<br />

Power<br />

Switch<br />

<strong>Digital</strong><br />

PWM<br />

Generator<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 16<br />

GPIO<br />

LC<br />

Filter<br />

SCALE<br />

DC Output<br />

SCALE<br />

Current<br />

A to D Converter<br />

DSC <strong>Control</strong>ler<br />

Serial Interface<br />

MCU Both MCU and Analog PWM controller<br />

A to D Converter<br />

are replaced by one DSC<br />

Full <strong>Digital</strong> <strong>Control</strong> System<br />

Voltage<br />

TM


Analog vs. <strong>Digital</strong> <strong>Control</strong> Algorithm<br />

Linear compensation Power stage<br />

Vref 2 3 4<br />

Vout<br />

+ -<br />

K<br />

A<br />

B<br />

0<br />

0<br />

+ A S + A<br />

1<br />

1<br />

+ B S<br />

1<br />

2<br />

+ B<br />

2<br />

S<br />

S<br />

2<br />

+ A<br />

3<br />

+ B<br />

3<br />

S<br />

S<br />

3<br />

+ A<br />

4<br />

+ B<br />

4<br />

S<br />

S<br />

4<br />

κ ( 1+<br />

γS)<br />

1<br />

1+<br />

αS<br />

+ βS<br />

A typical control loop implemented by an analog circuit<br />

Nonlinear<br />

compensation<br />

Operation condition<br />

Adaptive compensation Power stage<br />

Vref<br />

2 3 4<br />

αα<br />

0 + αα<br />

1 S + αα<br />

2 S + αα<br />

3 S + αα<br />

4 S κ κ ( 1 + γγ<br />

S ) Vout<br />

κκ<br />

+<br />

- 2 3 4<br />

β0<br />

+ β1S<br />

+ β 2S<br />

+ β3S<br />

+ β 4S<br />

Software Implementation<br />

A digital control loop implemented by Digtal Signal <strong>Control</strong>ler<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 17<br />

1+<br />

αS<br />

Benefit of digital control:<br />

1) Advanced control algorithm implemented to control complex topologies<br />

2) Optimize feedback loop to meet application requirements<br />

3) Runtime changes to compensation parameters according to operating conditions<br />

1<br />

2<br />

+ βS<br />

2<br />

TM


Analog vs. <strong>Digital</strong> Power <strong>Control</strong> System Checklist<br />

Analog <strong>Control</strong> <strong>Digital</strong> <strong>Control</strong><br />

<strong>Control</strong> Circuit Complex, Bulky Simple, Programmable, Integrated<br />

IP Protection Bad Good<br />

PFA Record Bad Good<br />

Flexibility Bad Good<br />

Reliability Bad Good<br />

Design Continuity Bad Good<br />

On-the-fly Update No Yes<br />

Sample Mode Continuous Discrete<br />

Processing Continuous <strong>Control</strong> Delay<br />

Note: <strong>Digital</strong> Logic Shrinking Much Faster Than Analog Circuitry<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 18<br />

TM


Analog<br />

signal<br />

Input<br />

Slow Low Speed ADC<br />

Less Resolution<br />

And Speed<br />

High High Speed ADC<br />

High Resolution<br />

And Speed<br />

Quick High<br />

precision<br />

A/D<br />

convert<br />

quick<br />

real time<br />

Signal<br />

processing<br />

Signal Reconstruction<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 19<br />

Quantization Effects<br />

D/A<br />

convert<br />

Analog<br />

signal<br />

Output<br />

Higher Signal<br />

Distortion<br />

Lower Signal<br />

Distortion<br />

TM


*<br />

Vo<br />

- *<br />

Vf<br />

PID transfer<br />

function<br />

G VEA<br />

Transfer Function Of <strong>Control</strong> Loop<br />

Power Stage transfer<br />

function<br />

( S )<br />

( S )<br />

►V* o is the reference,V 0is the output,K vs is the feedback gain<br />

►<strong>Control</strong> loop includes:PID controller and power stage model<br />

►PID controller is the none static error regulator for DC component<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 20<br />

K<br />

vs<br />

G vh<br />

vo<br />

TM


<strong>Control</strong> Law Processor - PID controller<br />

(Proportional-Integral-Derivative)<br />

►Continuous ( Analog) Expression<br />

Command Xi(t)<br />

Feedback Xf(t) Output M(t)<br />

e(t) = Xi(t) – Xf(t)<br />

M(t) = Kp*e(t) + Ki*∫e(t)dt + Kd * ---- d e(t)<br />

dt<br />

►Difference ( digital ) Expression<br />

-<br />

+<br />

----- (1)<br />

----- (2)<br />

Where -- e(t): Error signal; Kp: Proportional Gain; Ki: Integral Gain; Derivative Gain<br />

n<br />

m(n) = Kp × e(n) + Ki × ∑ e(i) × ∆t + Kd × ---------------e(n)<br />

– e(n-1)<br />

i=0<br />

∆t<br />

- (3)<br />

m(n)= m(n-1) + Kp × [e(n)-e(n-1)] + Ki × e(n) × ∆t + Kd × [---------------e(n)<br />

– e(n-1)<br />

-<br />

∆t<br />

e(n-1) – e(n-2)<br />

------------------- ] - (4)<br />

∆t<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 21<br />

TM


Design Of <strong>Control</strong> Feedback Loop in <strong>Digital</strong> Domain<br />

-PID regulator loop<br />

Conversion To Z − Transformation<br />

z[<br />

e(<br />

n −1)]<br />

= z<br />

Where :<br />

*<br />

−1<br />

From Equation<br />

E(<br />

z)<br />

E(<br />

z)<br />

(4)<br />

&<br />

n E(<br />

z)<br />

z[<br />

∑ e(<br />

n)]<br />

=<br />

i = 1 1−<br />

z<br />

*<br />

M ( z)<br />

* iv *<br />

GVEA ( z)<br />

= = K pv + K<br />

−1<br />

id<br />

<strong>Digital</strong> PID <strong>Control</strong>ler<br />

E(z)<br />

e(n)<br />

K<br />

+<br />

1−<br />

z<br />

−1<br />

( 5)<br />

K pv = K p ; K Kiv<br />

= K Ki<br />

× ∆ t ; K Kid<br />

= K Kd<br />

÷ ∆ t<br />

K iv<br />

* pv<br />

K<br />

* −1<br />

( 1−<br />

z<br />

* −1<br />

Kid ( 1−<br />

z<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 22<br />

)<br />

)<br />

+<br />

( 1<br />

+<br />

+<br />

−<br />

z<br />

−1<br />

M (z)<br />

m(n)<br />

)<br />

−<br />

TM


►Proportional <strong>Control</strong><br />

• Error multiplied by constant<br />

• Deals with present behavior<br />

output = pGain * error<br />

►Integral <strong>Control</strong><br />

• Accumulates long-term precision<br />

• Takes longer to settle, but provides<br />

better precision<br />

• Deals with past behavior<br />

iState = iState + error<br />

output = iGain * iState<br />

►Differential <strong>Control</strong><br />

• Predicts behavior<br />

• Provides better stability<br />

output = dGain * (current_position – previous_position)<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 23<br />

PID <strong>Control</strong><br />

TM


z =<br />

*<br />

Vo<br />

sTs<br />

e<br />

-<br />

PID Parameter Design for Feedback Loop <strong>Control</strong><br />

GVEA (Z)<br />

G ( z)<br />

= G ( z)<br />

G ( z)<br />

K<br />

v−open<br />

v − open<br />

sT<br />

K vs<br />

VEA<br />

VEA<br />

Gvh (Z )<br />

vh<br />

G ( e s ) = G ( e s ) G ( e s ) K<br />

Measurement criteria for a stable closed loop system<br />

- Phase margin should be greater than 0°at open loop cross frequency<br />

∠Gv−open v−open<br />

- Gain margin should be greater than one at the frequency where the phase shift is -180°<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 24<br />

sT<br />

∆T<br />

vs<br />

vh<br />

jϖ<br />

cTs<br />

o o<br />

jϖ<br />

cTs<br />

( e ) > −180<br />

+ 0 at where G ( e ) = 1<br />

jϖ<br />

1 ( cTs<br />

jϖ<br />

) 1 ∠ ( cT<br />

G e at where G e s ) = −180<br />

v−open<br />

> v−open<br />

vo<br />

sT<br />

o<br />

vs<br />

TM


Examples of System Efficiency Benefit<br />

• Boost voltage variation upon boost PFC according to line voltage peak<br />

• Switching frequency variation upon boost PFC according to operation conditions<br />

• Dead time variation on Soft-Switching Phase-Shift Full-Bridge refer to line / loading.<br />

• PWM waveform and dead time variation upon synchronous rectifier according to<br />

loading.<br />

• A certain number of phases dropped upon multi-phases converter according to load<br />

• Gate voltage lowered for light load condition<br />

DSC<br />

Primary<br />

DSC<br />

Secondary<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 25<br />

Energy<br />

TM


Benefits of Using DSCs for Power Conversion<br />

Advanced Motor <strong>Control</strong>, <strong>Digital</strong> Power Supply, Lighting <strong>Control</strong><br />

► Eliminate the effects of component tolerance, parametric drift, aging, etc<br />

► Configurable feedback loop structure for specific application requirements<br />

► Adaptive control to meet changes in the operating conditions<br />

► Much greater product flexibility by adding new features without<br />

hardware changes<br />

► Store operational data for diagnostic and record keeping<br />

► Flexible communication capabilities<br />

► Reduced component count and cost due to the over all integration<br />

► Shorter R&D cycle, fewer turns of board prototyping<br />

► Project portability<br />

► Improved end system performance<br />

• Energy savings<br />

• Quieter operation<br />

• Improved EMI performance<br />

• System Cost savings<br />

• Enhanced Reliability<br />

► IP protection and technology differentiation<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 26<br />

TM


DSP56800E <strong>Digital</strong> Signal <strong>Control</strong>ler Products<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


What is <strong>Digital</strong> Signal <strong>Control</strong>ler<br />

► Specialized microprocessor whose architecture contains a core engine<br />

capable of competitively performing of both microcontroller and digital<br />

signal processor functionalities<br />

► Core processing capability applicable to many types of system solutions<br />

► Common basic features:<br />

> MAC, single instruction cycle allowing several memory accesses,<br />

address generation units, algorithms for efficient looping<br />

► Specialized Low cost, high performance on-board interfaces utilized in<br />

implementing embedded control applications :<br />

> PWM; multifunction timer; high speed ADCs; DACs; Comparators;<br />

SCIs (UART); SPIs; CANs and I2Cs, etc.<br />

► Embedded nonvolatile memory:<br />

> Flash memory, ROM or EEPROM<br />

► Easy use development tools<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 28<br />

TM


Traditional<br />

Microcontroller<br />

►Design for <strong>Control</strong>ler Code<br />

►Compact Code Size<br />

►Easy to Program<br />

►Inefficient Signal Processing<br />

56800/E Family Combining <strong>Digital</strong> Signal Processing<br />

and <strong>Control</strong>ler Functionality<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 29<br />

Traditional DSP<br />

Engine<br />

►Designed for DSP Processing<br />

►Designed for Matrix Operations<br />

►Complex Programming<br />

►Less Suitable for <strong>Control</strong><br />

► Instructions Optimized for <strong>Control</strong>ler Code, DSP, Matrix Operations<br />

► Compact Assembly and “C” Compiled Code Size<br />

► Easy to Program<br />

► Additional MIPS Headroom and extended addressing space<br />

TM


CPU MIPS<br />

DSP56800E<br />

Up to<br />

200MIPS<br />

# Interrupt<br />

Priorities<br />

56800/E MCU Functionality<br />

True Software<br />

Stack and Pointer<br />

16-bit Program Word<br />

20 Addressing Modes and Atomic<br />

Read-Modify-Write Instructions<br />

General Purpose Register Files and Orthogonal<br />

Instructions to Data and Address Register Files<br />

Full Set of Bit and Bitfield Manipulation<br />

Instructions and 16- and 32-bit Shifting<br />

Superfast Interrupt<br />

5<br />

Registers Data Types<br />

7 Data<br />

8 Address<br />

8-bit, 16-bit<br />

32-bit<br />

DSP56800E Core Features<br />

Program<br />

Memory<br />

Adr Space<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 30<br />

Data<br />

Memory<br />

Adr Space<br />

4 MB 32 MB<br />

Technology<br />

Fully<br />

Synthesizable<br />

and Scanable<br />

56800/E DSP Functionality<br />

Multiplier - Accumulator (MAC)<br />

Single And Dual Parallel Move Instructions<br />

No Overhead Hardware Looping<br />

Nested Looping Capability<br />

Modulo arithmetic (For Circular Buffers)<br />

Integer and Fractional Arithmetic Support<br />

Nested Interrupt with HW priority<br />

Fast Interrupt Support<br />

TM


PC<br />

LA<br />

LA2<br />

HWS<br />

FIRA<br />

FISR<br />

SR<br />

OMR<br />

LC<br />

LC2<br />

PROGRAM<br />

CONTROLLER<br />

BIT<br />

MANIPULATION<br />

UNIT<br />

EOnCE / JTAG<br />

TAP<br />

INSTRUCTION<br />

DECODER<br />

INTERRUPT<br />

UNIT<br />

LOOPING<br />

UNIT<br />

A<br />

B<br />

C<br />

D<br />

Y0<br />

Y1<br />

X0<br />

Mapping the Architecture to DSP Algorithms<br />

AGU<br />

M 01<br />

N 3<br />

MAC<br />

and ALU<br />

DATA<br />

ALU<br />

Multi-bit<br />

Shifter<br />

XAB1<br />

XAB2<br />

PAB<br />

Common Operation in DSP<br />

MAC X0, Y0, A X:( R4)+, Y1 X:( R3)+, C<br />

Arithmetic Op 1st Read 2nd Read<br />

Program<br />

Memory<br />

Data<br />

Memory<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 31<br />

PDB<br />

CDBW<br />

CDBR<br />

XDB2<br />

IP-Bus<br />

Interface<br />

External<br />

Bus<br />

Interface<br />

Operations Performed:<br />

• Multiply-Accumulate<br />

• 3 Memory Accesses<br />

• 2 Address Additions<br />

Instruction Fetch:<br />

PAB - 21 bits<br />

PDB - 16 bits<br />

1st Data Access:<br />

XAB1 - 24 bits<br />

CDBR - 32 bits<br />

2nd Data Access:<br />

XAB2 - 24 bits<br />

XDB2 - 16 bits<br />

TM


DSP56800E Version 3 Core Improvement<br />

(the differences between V2 core and V3 core)<br />

New Instructions<br />

►32 x 32 -> 32/64 Multiply and MAC Instructions<br />

IMAC32 - Integer Multiply-Accumulate 32 bits x 32 bits -> 32 bits<br />

IMPY32 - Integer Multiply 32 bits x 32 bits -> 32 bits<br />

IMPY64 - Integer Multiply 32 bits x 32 bits -> 64 bits<br />

IMPY64UU - Unsigned Integer Multiply 32 bits x 32 bits -> 64 bits<br />

MAC32 - Fractional Multiply-Accumulate 32 bits x 32 bits -> 32 bits<br />

MPY32 - Fractional Multiply 32 bits x 32 bits -> 32 bits<br />

MPY64 - Fractional Multiply 32 bits x 32 bits -> 64 bits<br />

►Multi-Bit Clear-Set instruction to improve flexibility of peripheral register<br />

handling.<br />

Other Features<br />

►Bit Reversed Address Mode For FFT algorithms.<br />

►Swap all address generation Unit Registers with Shadowed registers to<br />

reduce Interrupt context switch latency.<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 32<br />

TM


►Indirect<br />

• X:(Rn) No Update<br />

• X:(Rn)+ Post Increment<br />

• X:(Rn)- Post Decrement<br />

• X:(Rn)+N Post Update by Register<br />

►Indexed<br />

• X:(Rn+x) Indexed:3-bit Offset<br />

• X:(SP-xx) Indexed:6-bit Offset<br />

• X:(Rn+xxxx) Indexed:16-bit Offset<br />

• X:(Rn+xxxxxx) Indexed:24-bit Offset<br />

• X:(Rn+N) Indexed: By a Register<br />

Supports 8, 16, 32-bits<br />

Supports Modulo Arithmetic<br />

Powerful Set of Addressing Modes<br />

►Immediate<br />

• #x 5-bit “Long” Constant<br />

• #xx 6-bit Loop Ct<br />

• #xx 7-bit Short<br />

• #xxxx 16-bit<br />

• #xxxxxxxx 32-bit<br />

►Absolute<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 33<br />

• X:aa 6-bit Absolute Short<br />

• X:


► Support of Compiler Data Types<br />

• Longs (32-bits)<br />

• Words (16-bits)<br />

• Bytes ( 8-bits)<br />

► Parameters:<br />

• 8, 16, or 32-bits<br />

• Read or Write Operation<br />

• Signed or Unsigned<br />

• Addressing Mode<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 34<br />

Data Movement on the DSP56800E<br />

==> See the Instruction Set Summary for a Complete Set of Move Tables<br />

TM


DATA ARITHMETIC LOGIC UNIT<br />

A<br />

B<br />

C<br />

D<br />

Y<br />

DATA REGISTERS<br />

35 32 31 16 15 0<br />

A2 A1 A0<br />

B2 B1 B0<br />

C2 C1 C0<br />

D2 D1 D0<br />

Y1<br />

Y0<br />

X0<br />

ADDRESS GENERATION UNIT<br />

23 0<br />

R0<br />

R1<br />

R2<br />

R3<br />

R4<br />

R5<br />

N<br />

SP<br />

POINTER REGISTERS<br />

DSP56800E General Purpose Registers<br />

=> 7 Data<br />

Registers<br />

=> 8 Address<br />

Registers<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 35<br />

PROGRAM CONTROL UNIT<br />

20 0<br />

PC<br />

PROGRAM COUNTER<br />

15 0<br />

OMR<br />

SR<br />

OPERATING MODE and STATUS<br />

TM


ADDRESS GENERATION UNIT<br />

23 0<br />

R0<br />

R1<br />

R2<br />

R3<br />

R4<br />

R5<br />

23 0<br />

N<br />

POINTER REGISTERS<br />

Shadows<br />

15 0<br />

15 0<br />

Registers with Dedicated Functionality<br />

M01<br />

MODIFIER REGISTERS<br />

SECONDARY OFFSET REGISTER<br />

=> HW Looping<br />

Nested 2 Deep<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

N3<br />

PROGRAM CONTROL UNIT<br />

=> Fast<br />

Interrupt<br />

36<br />

23 0<br />

LA<br />

LA2<br />

23<br />

LOOP ADDRESS<br />

HWS0<br />

HWS1<br />

0<br />

HARDWARE STACK<br />

15 0<br />

LC<br />

LC2<br />

LOOP COUNTER<br />

20 0<br />

FIRA<br />

FAST INTRPT RETURN ADDR<br />

12 0<br />

FISR<br />

FAST INTRPT STATUS REG<br />

TM


A<br />

B<br />

C<br />

D<br />

DATA ARITHMETIC LOGIC UNIT<br />

Y<br />

DATA REGISTERS<br />

35 32 31 16 15 0<br />

A2 A1 A0<br />

B2 B1 B0<br />

C2 C1 C0<br />

D2 D1 D0<br />

Y1<br />

Y0<br />

X0<br />

ADDRESS GENERATION UNIT<br />

23 0<br />

R0<br />

R1<br />

R2 R2<br />

R3 R3<br />

R4 R4<br />

R5<br />

N<br />

SP<br />

POINTER REGISTERS<br />

==> R0~R5, N, N3 and M01<br />

registers are shadowed<br />

15 0<br />

M01<br />

MODIFIER REGISTERS<br />

15 0<br />

N3 N3<br />

SECONDARY OFFSET REGISTER<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

DSP56800E Programming Model<br />

PROGRAM CONTROL UNIT<br />

37<br />

20 0<br />

PC<br />

PROGRAM COUNTER<br />

15 0<br />

LA<br />

LA2<br />

OMR<br />

SR<br />

OPERATING MODE and STATUS<br />

23 0<br />

LOOP ADDRESS<br />

23 0<br />

HWS0<br />

HWS1<br />

HARDWARE STACK<br />

15 0<br />

LC<br />

LC2<br />

LOOP COUNTER<br />

20 0<br />

FIRA<br />

FAST INTERRUPT RETURN ADDRESS<br />

12 0<br />

FISR<br />

FAST INTERRUPT STATUS REGISTER<br />

TM


Flash<br />

Size<br />


12K - 16KB<br />

Program Flash<br />

4kB<br />

Program/<br />

Data RAM<br />

56800E<br />

Core<br />

32MHz<br />

JTAG/EOnCE<br />

56F8011/56F8013/56F8014<br />

System Integration Up to 26 GPIOs<br />

Module (SIM) 1 x SCI<br />

Interrupt <strong>Control</strong>ler<br />

PLL<br />

Relaxation OSC<br />

Voltage Regulator<br />

COP<br />

Power-On-Reset<br />

Power Supervisor<br />

►Package: 32LQFP<br />

►In Production<br />

1 x SPI<br />

1x IIC<br />

3-4ch 12bit ADC<br />

3-4ch 12bit ADC<br />

Synch<br />

4Ch 16bit Timer<br />

6-ch PWM Output<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 39<br />

Cost Effective 56F8000 Solutions<br />

56F8011/56F8013/56F8014<br />

►32 MIPS Performance<br />

►12K -16 K Bytes Program FLASH<br />

►4 K Bytes Program/Data RAM<br />

►Tunable Internal Relaxation Oscillator<br />

►Software Programmable Phase Locked Loop<br />

►Up to 96 MHz Peripherals – Timers and PWMs<br />

►Up to 6-Output PWM Module with up to 4<br />

Programmable Fault Inputs<br />

►Selectable PWM frequency for each<br />

complementary PWM signal pair<br />

►Two 12-bit ADCs with up to 8 Inputs , 1.125us<br />

conversion rate<br />

►Synchronization between PWM and ADC<br />

►Four 16-bit General Purpose Programmable Timers<br />

►Computer Operating Properly Timer<br />

►Serial Ports: SCI, SPI, I2C<br />

►Up to 26 GPIOs – Versatile pin usage<br />

►Low Power Consumption – 59mA Max and<br />

.026mA Min<br />

►JTAG/EOnCE Debug Port<br />

►Industrial & Automotive temp<br />

►Cost Effective<br />

TM


56F8023/56F8025/56F8036/56F8037<br />

32KB - 64KB<br />

Program Flash<br />

4kB-8KB<br />

Program/<br />

Data RAM<br />

56800E<br />

Core<br />

32MHz<br />

JTAG/EOnCE<br />

System Integration<br />

Module (SIM)<br />

Interrupt <strong>Control</strong>ler<br />

PLL<br />

Relaxation OSC<br />

Crystal OSC<br />

Voltage Regulator<br />

COP<br />

Power-On-Reset<br />

Power Supervisor<br />

2 x 12 bit DAC<br />

56F8000 Family Expansion<br />

56F8023/56F8025/56F8036/56F8037 Features<br />

Up to 53 GPIOs<br />

2 x QSCI<br />

2 x QSPI<br />

1xIIC<br />

1x MSCAN<br />

3xPIT<br />

8ch 12bit ADC<br />

8ch 12bit ADC<br />

Package 32 LQFP, 44LQFP, 48LQFP, 64LQFP<br />

In Production<br />

Synch<br />

8Ch 16bit Timer<br />

6-ch PWM Output<br />

2 x Comparators<br />

►32 MHz/32 MIPS 56800E Core<br />

►3.0-3.6V Operation<br />

►32K-64K Bytes Program FLASH<br />

►4K-8K Bytes Program/Data RAM<br />

►Flash security<br />

►Tunable Internal Relaxation Oscillator<br />

►Software Programmable Phase Locked Loop<br />

►Up to 96 MHz Peripherals – Timers and PWMs<br />

►6 Output PWM Module with 4 Programmable Fault Inputs<br />

►Selectable PWM frequency for each complementary<br />

PWM signal pair<br />

►Two 12-bit ADCs with up to 16 Inputs , 1.125us<br />

conversion rate<br />

►Up to Two 12-bit <strong>Digital</strong> to Analog Converters<br />

►Two Analog Comparators<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 40<br />

►Synchronization between PWM and ADC<br />

►4 or 8 16-bit General Purpose Programmable Timers<br />

►1 or 3 Programmable Interval Timers (PIT)<br />

►Computer Operating Properly Timer<br />

►2-Queued Serial Communications Interface<br />

►2-Queued Serial Peripheral Interface<br />

►Optional MSCAN<br />

►I 2 C Communications Interface<br />

►Up to 53 GPIOs – Versatile pin usage<br />

►JTAG/EOnCE Debug Port<br />

►Lead Free “Green” Packages<br />

►Industrial & Automotive temp<br />

TM


12-16KB<br />

Program<br />

Flash<br />

2KB<br />

Program/<br />

Data RAM<br />

56800E<br />

Core<br />

32MHz<br />

JTAG/EOnCE<br />

System Integration<br />

Module (SIM)<br />

Interrupt <strong>Control</strong>ler<br />

PLL<br />

Relaxation OSC<br />

Ultra Low cost 56F8000 member: 56F8002, 56F8006<br />

56F8002, 56F8006<br />

Crystal OSC<br />

1 Period Int Timer<br />

Voltage Regulator<br />

COP<br />

Power-On-Reset<br />

Power Supervisor<br />

In Production<br />

Less than $2.00 in Volume<br />

Up to 40 GPIOs<br />

1 SCI<br />

1 SPI<br />

1 IIC<br />

2 x 16bit Timers<br />

3 x Analog<br />

Comparators<br />

2 x Programmable<br />

Gain Amplifiers<br />

12ch 12bit ADC<br />

12ch 12bit ADC<br />

Synch<br />

Programmable<br />

Delay Block<br />

6-ch PWM Output<br />

►28SOIC, 32SDIP , 32LQFP, 48 LQFP<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 41<br />

► 32 MHz/32 MIPS 56800E Core<br />

► 1.8-3.6V Operation<br />

► 12K - 16K Bytes Program FLASH with Flash security<br />

► 2K Bytes Program/Data RAM<br />

► Tunable Internal Relaxation Oscillator and 32KHz clock<br />

► Phase Locked Loop (PLL)<br />

► Up to 96 MHz Peripherals – Timers, PWM & Hi-SCI<br />

► 6 Output PWM Module with 4 Programmable Fault<br />

Inputs<br />

Programmable Dead timer insertion<br />

Programmable PWM generation for Power supply<br />

apps<br />

Multiple PWM Frequency outputs<br />

► Two Programmable Gain Amplifiers with x2, x4, x8,<br />

x16 gains (Clocked in order to cancel input offset)<br />

► Two 12-bit ADCs with up to 24 Inputs , 2.5us Per<br />

conversion<br />

► Programmable Delay Block provides precise control<br />

of ADC/PGA sample times relative to PWM reload<br />

cycles<br />

► Three High Speed Analog Comparators<br />

► 2 multiple function Programmable Timers<br />

► Computer Operating Properly Timer<br />

► One Periodic Interval Timer (PIT)<br />

► 1 High Speed Serial Communication Interface (Hi-SCI)<br />

► 1 Serial Peripheral Interface (SPI)<br />

► I 2 C Communications Interface<br />

► Up to 40 GPIOs – Versatile pin usage<br />

► JTAG/EOnCE Debug Port<br />

► Lead Free “Green” Packages<br />

► Industrial temp: -40C – 105C<br />

TM


56F8000 Series Feature Summary<br />

56F8002 56F8006 56F8011 56F8013 56F8014 56F8023/33 56F8025/35 56F8036 56F8027/37<br />

Performance 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs<br />

Temperature Range (V) -40C~105C -40C~105C -40C~125C -40C~125C -40C~125C -40C~105C -40C~105C -40C~105C -40C~105C<br />

Voltage Range 1.8V - 3.6V 1.8V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V<br />

Voltage Regulator On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip<br />

Program/Data Flash 12KB 16KB 12KB 16KB 16KB 32KB / 64KB 32KB / 64KB 64KB 32KB / 64KB<br />

Program/Data RAM 2KB 2KB 2KB 4KB 4KB 4KB / 8KB 4KB / 8KB 8KB 4KB /8KB<br />

Program Security Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />

On Chip Relaxation Osc. Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />

PLL Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />

COP (Watchdog) Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />

PWM (96 Mhz Clock) 1 x 6ch 1 x 6ch 1 x 6ch 1 x 6ch 1 x 5ch 1 x 6ch 1 x 6ch 1 x 6ch 1 x 6ch<br />

PWM Fault Inputs 4 4 4 4 3 4 4 4 4<br />

12-bit ADCs 2 x 8ch 2 x 12ch 2 x 3ch 2 x 3ch 2 x 4ch 2 x 3ch 2 x 4ch 2 x 5ch 2 x 8ch<br />

12-bit DACs 0 0 No No No 2 2 2 2 (Pinned out)<br />

Analog Comparator 3 3 No No No 2 2 2 2<br />

Prog Gain Amp 2 2 No No No No No No No<br />

16-bit Timers 3 3 4 4 4 4 4 4 8<br />

Prog. Interval Timers 1 (RTC) 1 (RTC) No No No 1 3 3 3<br />

GPIO (max) (+/-8mA) 23 40 26* 26* 26* 26* 35* 39* 53*<br />

IIC 1 1 1 1 1 1 1 1 1<br />

SCI (UART) / LIN Slave 1 - SCI 1 - SCI 1 - SCI 1 - SCI 1 - SCI 1 - QSCI 1 - QSCI 1 - QSCI 1 - QSCI<br />

SPI (Synchronous) 1 - SPI 1 - SPI 1 - SPI 1 - SPI 1 - SPI 1 - QSPI 1 - QSPI 1 - QSPI 1 - QSPI<br />

CAN No No No No No No No MSCAN MSCAN<br />

JTAG/EOnCE Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />

Power Consumption IDD = 45.6mA;IDDA = 4.5mA IDD = 42mA; IDDA = 13.5mA IDD = 48mA; IDDA = 18.8mA IDD = 48mA; IDDA = 18.8mA<br />

Package 32LQFP<br />

(.8p)<br />

28SOIC<br />

32LQFP<br />

32SDIP<br />

48LQFP<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

32LQFP 32LQFP 32LQFP 32LQFP 44LQFP 48LQFP 64LQFP<br />

* 5V tolerance I/O<br />

42<br />

TM


64KB<br />

Program Flash<br />

8kB<br />

Data RAM<br />

56800E<br />

Core<br />

60Mhz<br />

JTAG/EOnCE<br />

System Integration<br />

Module (SIM)<br />

Interrupt <strong>Control</strong>ler<br />

8ch 12bit ADCA<br />

Crystal Oscillator<br />

PLL<br />

Voltage Regulator<br />

COP<br />

POR<br />

Prog Gain Amp Ax1,2,4<br />

8ch 12bit ADCB Prog Gain Amp Bx1,2,4<br />

CRC<br />

Relaxation OSC<br />

LVI<br />

44LQFP, 48LQFP, 64 LQFP<br />

In Production<br />

8-ch High Res PWM<br />

1ch 12bit DAC<br />

3 5bit DAC<br />

3 Analog Comparators<br />

2 x High Speed QSCIs<br />

1 x QSPI<br />

2x IIC/SMbus<br />

1 x MSCAN<br />

8Ch 16bit Timer<br />

Inter-module Cross Bar<br />

Breakthrough Features:<br />

• New Generation High Speed PWM module<br />

• 520 ps duty cycle resolution<br />

•Flexible edge placement<br />

• High speed ADC with Programmable Gain Amplifiers<br />

• 800ns conversion rate<br />

• Support multi trigger source in one ADC scan<br />

• Inter-module Cross bar<br />

•Programmable inter module connection<br />

MC56F824x/MC56F825x<br />

► 60 MHz/60MIPS From 56800E Core<br />

► 2.7-3.6V Operation<br />

► 64K Bytes Program FLASH<br />

► 8K Bytes Program/Data RAM<br />

► Flash security<br />

► 8Mhz/100Khz Tunable Internal Relaxation Oscillator<br />

► Software Programmable Phase Locked Loop<br />

► Up to 60 MHz Peripherals – Timers and PWMs<br />

8 Output PWM Module<br />

520ps PWM and PFM resolution<br />

2-12-bit ADCs with total 16 Inputs<br />

600ns conversion rate<br />

built-in PGA with 1x, 2x, 4x, gains<br />

► 1 12-bit <strong>Digital</strong> to Analog Converter<br />

► 3 5bit <strong>Digital</strong> to Analog Converters<br />

► 3 - Analog Comparators<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 43<br />

► 8 16-bit Enhanced GPMultifunction Programmable<br />

QTimers<br />

► Cyclic Redundancy Check Generator (CRC)<br />

► Computer Operating Properly Timer<br />

► 2- High Speed Serial Communications Interface (SCI)<br />

► 1-Queued Serial Peripheral Interface (QSPI)<br />

► 1 MS-CAN Bus<br />

► 2 - I 2 C/SMbus Communications Interface<br />

► Up to 54 GPIOs<br />

► Inter Module cross-bar<br />

► JTAG/EOnCE Debug Port<br />

► Lead Free “Green” Packages<br />

► Industrial temperature:-40C to 105C with 60Mhz<br />

TM


Temperature Range (V)<br />

56F824x/5x Series Feature Summary<br />

56F8245 56F8246 56F8247 56F8255 56F8256 56F8257<br />

Performance 60MHz/MIPs 60MHz/MIPs 32MHz/MIPs 60MHz/MIPs 60MHz/MIPs 60MHz/MIPs<br />

-40C~105C -40C~105C -40C~105C -40C~105C -40C~105C -40C~105C<br />

Voltage Range 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V<br />

Voltage Regulator On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip<br />

Program/Data Flash 48KB 48KB 48KB 64KB 64KB 64KB<br />

Program/Data RAM 6KB 6KB 8KB 8KB 8KB 8KB<br />

Program Security Yes Yes Yes Yes Yes Yes<br />

OnChip Relaxation Osc Yes Yes Yes Yes Yes Yes<br />

PLL Yes Yes Yes Yes Yes Yes<br />

COP (Watchdog) Yes Yes Yes Yes Yes Yes<br />

eFlexPWM Channels 1 x 6ch 1 x 6ch 1 x 9ch 1 x 6ch 1 x 6ch 1 x 9ch<br />

HiRes PWM Channels<br />

6ch 6ch 6ch 6ch 6ch 6ch<br />

FlexPWM Channels<br />

3ch<br />

3ch<br />

PWM Fault Inputs 4 4 4 4 4 4<br />

12-bit ADCs /w PGA 2 x 3ch 2 x 3ch 2 x 4ch 2 x 3ch 2 x 4ch 2 x 5ch<br />

12-bit DACs 1<br />

1<br />

1<br />

1 1 1<br />

Analog Comparator /w 5bir DAC Ref 3<br />

3<br />

3<br />

3 3 3<br />

Crossbar Module Yes Yes Yes yes Yes Yes<br />

16-bit Timers 8 8 8 8 8 8<br />

Prog. Interval Timers No No No<br />

No No No<br />

GPIO (max) (+/-8mA) 35* 39* 54* 35* 39* 54*<br />

IIC /SMBus 2 2 2 2 2 2<br />

SCI (UART) / LIN Slave 2- QSCI 2 - QSCI 2 - QSCI 2 - QSCI 2 - QSCI 2 - QSCI<br />

SPI (Synchronous) 1 - QSPI 1 - QSPI 1 - QSPI 1 - QSPI 1 - QSPI 1 - QSPI<br />

CAN No No No MSCAN MSCAN MSCAN<br />

JTAG/EOnCE Yes Yes Yes Yes Yes Yes<br />

Package 44LQFP<br />

48LQFP 64LQFP<br />

44LQFP 48LQFP 64LQFP<br />

* 5V tolerance I/O<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 44<br />

TM


Core<br />

• 100 MHz/100MIPS 56800E V3 Core<br />

• 32bit Dual Harvard architecture<br />

• 32 x 32bit MAC and 32bit arithmetic operation and set-clear bit<br />

manipulation instructions.<br />

• Four 36bit accumulators<br />

• 2.7-3.6V Operation<br />

Memory<br />

• 256kB Program FLASH & 32kB Boot/Data Flash<br />

• 32kB Data/Program RAM or 16BK RAM + 2KB EEEPROM<br />

Integration<br />

• 3 HS-QSCI (8mbs) , 3xQSPI, 2xIIC/SMBus, 1x FlexCAN<br />

• Multi-purpose timers<br />

• 2 Periodic Timers with Real Time Interrupt Generation<br />

• 2 Programmable Delay Blocks<br />

• 8Ch multifunction timers<br />

• 8ch High Resolution PWM Channels<br />

• 100MHz clock, 5-Bit (MEP) rising and falling edge positioning<br />

• 312.5ps PWM and PFM resolution<br />

• 8ch PWM Channels with Input Capture<br />

• 8ch x 2 12-bit ADC converter with built-in PGA<br />

• 400ns/2.5MHz conversion time with 12bit resolution<br />

• 16ch 12bit SAR ADC with built-in temperature sensor<br />

• 2us conversion time.<br />

• 4 Analog Comparators with 6-bit reference DAC<br />

• 1 Quadrature Decoder<br />

• 1ch 12bit DAC with external outputs<br />

• DMA controller<br />

• Inter-Module Crossbar<br />

• On-chip voltage regulator (Single 3.3V Power Supply)<br />

• System Integration : Internal relaxation oscillator, PLL, COP, 32kHz<br />

auxiliary Internal clock<br />

• 5V tolerant I/O<br />

• Temperature Range: -40°C to +105°C<br />

New Generation 56F84xx Family<br />

256kB<br />

Program Flash<br />

32kB<br />

Program/Data RAM<br />

32kB Boot/Data<br />

Flash/EEPROM<br />

56800E<br />

V3 Core<br />

100MHz<br />

JTAG/EOnCE<br />

System Integration<br />

Module (SIM)<br />

Interrupt <strong>Control</strong>ler<br />

GPIO<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 45<br />

8ch 12bit ADCA<br />

Crystal Oscillators<br />

(8Mhz & 32.768KHz)<br />

PLL<br />

Relaxation OSC 8Mhz<br />

Voltage Regulator<br />

Prog Gain Amp Ax1,2,4<br />

8ch 12bit ADCB Prog Gain Amp Bx1,2,4<br />

CRC<br />

Internal 32KHz Clock<br />

2 x PIT (RTC)<br />

Inter-Module XBar<br />

COP<br />

POR<br />

LVI<br />

8-ch High Res PWM<br />

8-ch PWM /W Capture<br />

1 Quadrature Decoders<br />

1 12bit DAC<br />

4 6bit DAC<br />

4 Analog Comparators<br />

2 x PDB<br />

8Ch 16bit Quad Timer<br />

3x QSPI<br />

2x IIC/SMbus<br />

1 x FlexCAN<br />

3 x HS QSCI<br />

48 LQFP, 64 LQFP, 80LQFP, 100LQFP<br />

Sample available in Q4 2011<br />

Break Through Features<br />

• 32bit compatible DSC core<br />

• 100MHz flash based device<br />

• DMA controller<br />

• High Speed ADCs with 400ns Conversion time<br />

• High Resolution PWM with 312.5ps nano-edge<br />

16ch 12bit ADC /w Temp<br />

DMA <strong>Control</strong>ler<br />

TM


Clock<br />

System<br />

Vbus<br />

High System Clock<br />

System Clock<br />

Power Source<br />

Data/<strong>Control</strong> Signal<br />

High Speed<br />

DSP Core<br />

CPU:56800E<br />

Flash Memory<br />

EEPROM<br />

RAM<br />

PLL<br />

OSC<br />

Freescale Technology<br />

3.3V<br />

On-Chip<br />

Regulator<br />

HS_CLK<br />

Sys_CLK<br />

Sys_Bus<br />

Internal<br />

ROSC<br />

Freescale Single Chip Solution Strategy<br />

CANs<br />

COP<br />

• Single Power Supply<br />

• Advanced DSP Core<br />

Serial<br />

Peripherals <strong>Control</strong><br />

Peripherals<br />

I2Cs<br />

SPIs<br />

System<br />

SCIs<br />

SIM LVI POR<br />

PWMs<br />

12bit<br />

ADC<br />

• Scaleable product portfolio with full enablement<br />

• Internal inter-module Connections<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 46<br />

Multi<br />

Function<br />

Timers<br />

ACMPs<br />

Tick<br />

Timers<br />

(PIT)<br />

DACs<br />

Cross Bar<br />

Interconnection<br />

TM


Total System Cost<br />

0.35u 0.25<br />

u<br />

•Component Usage<br />

•Manufacturing cost<br />

•Feature Integration<br />

•Operating Frequency<br />

•Technology Geometry<br />

•Power Consumption<br />

0.18u 90nm<br />

2000’s 2010’s<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 47<br />

Embedded System Trend<br />

65nm<br />

<strong>Control</strong>ler <strong>Control</strong>ler Cost<br />

TM


► Industrial motor control<br />

• Low cost digital control<br />

• Smart motor applications<br />

56F8000: Enabling Application Markets<br />

• High speed/performance 1.125 µsec/12-bit ADC can reconstruct signal digitally and<br />

also enables control more precisely<br />

► Appliance motor control<br />

• Low cost<br />

• Full Auto temp range and test coverage<br />

► Power supplies and line-interactive UPS<br />

• Cost/performance<br />

• Multiple analog PWM controllers replacement<br />

• Full digital control<br />

• Low engineering and inventory cost<br />

► Instrumentation<br />

• DACs to generate output waveforms<br />

• Integration of support and communication peripherals: SCI, SPI, CAN<br />

► Smart Sensing<br />

• Flash Security prevent unauthorized copy<br />

• Low cost, low power family 56F80xx<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 48<br />

TM


Peripherals Highlight<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


High Resolution PWM and It’s Applications<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


►The mcPWM<br />

architecture is<br />

configurable, up to 4<br />

sub-modules (shown)<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 51<br />

High Speed PWM Module<br />

TM


Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 52<br />

eFlexPWM Sub-Module Detail<br />

TM


VAL1 ($0100)<br />

VAL3<br />

VAL5<br />

($0000)<br />

VAL4<br />

VAL2<br />

INIT ($FF00)<br />

Ch0 a<br />

Ch0 b<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 53<br />

Center Aligned Example<br />

When the Init value is the signed negative of the Modulus value, the PWM module<br />

works in signed mode. Center-aligned operation is achieved when the turn-on and<br />

turn-off values are the same number, but just different signs.<br />

TM


VAL1 ($0100)<br />

VAL5<br />

INIT ($FF00)<br />

($0000)<br />

VAL3<br />

VAL2, VAL4 = $FF00<br />

CH0 CH0b CH0 a<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 54<br />

Edge Aligned Signed Mode Example<br />

All PWM-on values are set to the init value, and never changed again.<br />

Positive PWM-off values generate pulse widths above 50% duty cycle.<br />

Negative PWM-off values generate pulse widths below 50% duty cycle.<br />

This works well for bipolar waveform generation.<br />

TM


VAL1 ($0100)<br />

VAL5<br />

VAL3<br />

($0000)<br />

VAL4<br />

VAL2<br />

INIT ($FF00)<br />

CH0 a<br />

CH0 b<br />

In this example, both PWMs have the same duty-cycle.<br />

However, the edges are shifted relative to each other by<br />

simply biasing the compare values of one waveform<br />

relative to the other.<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 55<br />

Phase Shifted PWMs<br />

Alternatively, if the waveforms are<br />

generated by different sub-modules, the<br />

waveforms can be shifted by simply<br />

changing the Init value of one sub-module<br />

relative to the other.<br />

This is useful for reconstructing phase currents from a DC bus shunt<br />

when the amplitudes of the modulated signals are near zero.<br />

TM


PWMAx<br />

DBLPWM<br />

PWMBx<br />

0<br />

1<br />

DBLEN<br />

1<br />

0<br />

0<br />

rising<br />

edge<br />

detect<br />

start<br />

DTCNT0<br />

down<br />

counter<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 56<br />

1<br />

IPOL<br />

falling<br />

edge<br />

detect<br />

start<br />

down<br />

counter<br />

DTCNT1<br />

Dead Time Insertion<br />

1<br />

0<br />

0<br />

1<br />

INDEP<br />

PWMAx<br />

PWMBx<br />

TM


► Challenge:<br />

Challenge of <strong>Control</strong>ling Resonate Converter<br />

• Wide range of PWM switching frequency from 100KHz up to 1Mhz<br />

• Need to make a change to the PWM period without changing the duty cycle for up to 4 channels of<br />

PWM within one period of the existing PWM<br />

• PWM period change must be in a few nanosecond<br />

► Solution:<br />

• High speed digital PWM plus Analog edge delay<br />

• PWM duty cycles are calculated by high speed controller<br />

• Special circuit is used to automatically increment the PWM period by repositioning edges<br />

Original PWM<br />

Initial PWM period<br />

Modification to both PWM edges<br />

New PWM period<br />

New PWM<br />

PWM period requires small incremental adjustment<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 57<br />

TM


PWMAx<br />

DBLPWM<br />

PWMBx<br />

0<br />

1<br />

DBLEN<br />

1<br />

0<br />

0<br />

1<br />

IPOL<br />

INDEP=1: Fractional Delays A & B are separate<br />

rising<br />

edge<br />

detect<br />

falling<br />

edge<br />

detect<br />

eFlexPWM Detail Showing Inclusion of<br />

Fractional Delays<br />

start<br />

start<br />

DTCNT0<br />

down<br />

counter<br />

down<br />

counter<br />

DTCNT1<br />

INDEP=0 & IPOL=0: Delay B (dependent variable) = Inverse Delay A (controlling) => T FB = T RA AND T RB = T FA<br />

INDEP=0 & IPOL=1: Delay A (dependent variable) = Inverse Delay B (controlling) => T FA = T RB AND T RA = T FB<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 58<br />

1<br />

0<br />

0<br />

1<br />

INDEP<br />

Fractional<br />

Delay A<br />

Fractional<br />

Delay B<br />

TM


►Need to calculate the<br />

next edge position for<br />

rising and falling edges<br />

within very short period.<br />

►Software not fast<br />

enough so need<br />

hardware adder<br />

►Diagram shows 21 bit<br />

adder to control both<br />

edges automatically<br />

setting new comparator<br />

values after each edge<br />

has been triggered<br />

Ideal timing<br />

16 bits<br />

at IP Bus<br />

timing<br />

resolution<br />

5 bits<br />

NanoEdge<br />

timing<br />

resolution<br />

<strong>Digital</strong> Adder for Frequency <strong>Control</strong><br />

16 bit + 5 bit<br />

adder<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 59<br />

Actual timing Timer<br />

16 bits<br />

at IP Bus<br />

timing<br />

resolution<br />

5 bits<br />

NanoEdge<br />

timing<br />

resolution<br />

16 bits<br />

at IP Bus<br />

timing<br />

resolution<br />

5 bits<br />

NanoEdge<br />

timing<br />

resolution<br />

resolution resolution resolution<br />

PWM<br />

Period N<br />

PWM Period N-1<br />

5 bits from previous Nano Edge<br />

Placement calculation<br />

PWM<br />

Period N<br />

PWM reload times are restricted to 16-bit IP Bus timing<br />

(truncation of 21 bit value). Any residual left over from<br />

PWM period N-1 needs to be added back to period N.<br />

TM


Nano-Edge Placer<br />

►The Nano-Edge Placer allows us to control edge placement to subnanosecond<br />

resolution.<br />

►The actual block is based uses a dual-slope method to calibrate individual<br />

time slices to fractions of a digital clock period.<br />

►U.S. Patent # 7288977: High resolution pulse width modulator<br />

►<br />

►When using the nano-edge placer, delay values change from 16-bit<br />

resolution to 21-bit resolution or better:<br />

16-bit digital value<br />

16-bit digital value<br />

Include patent app from Roznov.<br />

5-bit nanoedge<br />

value<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 60<br />

TM


Single-phase Interleaved PFC<br />

1800 Iin 1800 1800 1800 1800 1800 1800 I 2<br />

I<br />

1<br />

T 1<br />

T 2<br />

D 2<br />

D 1<br />

I<br />

C<br />

PWM0A PWM0B ADC<br />

MC56F8000<br />

I 1<br />

PWM0A<br />

I 2<br />

PWM0B<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 61<br />

I in<br />

I<br />

Application Notes<br />

AN1919 - Design of Indirect Power Factor Correction Using DSP56F80X<br />

AN1965 - Design of Indirect Power factor Correction Using the 56F800/E<br />

AN3115 - Implementing a <strong>Digital</strong> AC/DC Switched-Mode Power Supply using a 56F8300<br />

<strong>Digital</strong> Signal <strong>Control</strong>ler<br />

AN3843 - Single Phase Two-Channel Interleaved PFC Converter Using MC56F8006<br />

Reference Design<br />

DRM069 - Online UPS using the 56F8300<br />

DRM074 - Design of a <strong>Digital</strong> AC/DC SMPS using the 56F8323 Device<br />

DRM098 - Direct PFC Using the MC56F8013<br />

Recommended Devices<br />

MC56F800x, MC56F80xx, MC56F82xx, MC56F83xx<br />

TM


MC56F8000<br />

Hi-RES RES PWM ADC CMP<br />

C 0<br />

T 1<br />

T 3<br />

T 5<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 62<br />

T 2<br />

T 4<br />

T 6<br />

Multi-phase DC/DC Buck Converter<br />

L 1<br />

L 2<br />

L 3<br />

C 1<br />

C 2<br />

C 3<br />

►Concentrated control multiple<br />

converters, reduce IC counts<br />

►Simplify system power management<br />

by one-chip architecture<br />

►Reduces the ripple current in the<br />

input bus capacitor, alleviating<br />

electrical overstress on capacitor<br />

►High-resolution and flexible PWM<br />

supports high switching frequency<br />

and interleaved parallel, suitable<br />

small volume applications<br />

►High-speed ADC and high- high-<br />

performance core support real-time<br />

control multiple converters in one<br />

chip<br />

Recommended Devices<br />

MC56F80xx, MC56F82xx, MC56F83xx<br />

TM


1<br />

2<br />

C<br />

+<br />

2<br />

2<br />

1<br />

T1<br />

3<br />

1<br />

T2<br />

3<br />

2<br />

2<br />

8 T<br />

5<br />

1<br />

T3<br />

3<br />

1<br />

T4<br />

3<br />

4<br />

1<br />

5<br />

1<br />

T<br />

Soft-switching Phase-shifted Full-bridge Converter<br />

T1 5<br />

8<br />

2<br />

T5<br />

3<br />

1<br />

T6<br />

3<br />

2<br />

1<br />

PWM0/1PWM2A/B<br />

1<br />

C +<br />

2<br />

SPI b / SCI<br />

L<br />

1 2<br />

R<br />

2 1<br />

C +<br />

1<br />

R<br />

R<br />

Vo<br />

T1<br />

T2<br />

T4<br />

T3<br />

V AB<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 63<br />

If2<br />

MC56F8000<br />

If1<br />

ADC<br />

Vf<br />

T5<br />

T6<br />

T1 ON T1 ON<br />

T2 ON T2 ON<br />

T4 ON T4 ON<br />

Soft switching operation<br />

Application Notes<br />

Recommended Devices<br />

MC56F80xx, MC56F82xx, MC56F83xx<br />

T3 ON T3 ON<br />

AN3115 - Implementing a <strong>Digital</strong> AC/DC Switched-Mode Power Supply using a<br />

56F8300 <strong>Digital</strong> Signal <strong>Control</strong>ler<br />

Reference Design<br />

DRM074 - Design of a <strong>Digital</strong> AC/DC SMPS using the 56F8323 Device<br />

TM


C 1<br />

8 T<br />

5<br />

T1 Cr T 2<br />

4<br />

1<br />

5<br />

1<br />

L r<br />

L m<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 64<br />

T 3<br />

T 4<br />

Hi-RES PWM CMP<br />

MC56F8000<br />

C 2<br />

ADC<br />

LLC Resonant Converter<br />

Recommended Devices<br />

MC56F80xx, MC56F82xx<br />

►High efficiency for wide<br />

operation range<br />

►Zero-voltage-switching and<br />

synchronous rectifier for<br />

improving system efficiency<br />

►Less energy storage<br />

capacitor to reduce cost and<br />

size for holdup time<br />

requirement<br />

►Flexible PWM with highresolution<br />

duty cycle and<br />

frequency makes variable<br />

frequency control and high<br />

switching frequency easier,<br />

and help reduce input/output<br />

ripple and system volume<br />

►High-speed ADC and highperformance<br />

core support<br />

fast control loop and improve<br />

system performance<br />

TM


High Speed ADC<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


► Once<br />

• The ADC starts to sample just one<br />

time whether you use the START bit<br />

or by a sync pulse. This mode must be<br />

re-armed by writing to the ADCR1<br />

register again if you want to go<br />

capture another scan<br />

► Triggered<br />

• Sampling begins with every<br />

recognized START command or sync<br />

pulse<br />

► Loop<br />

• The ADC continuously take samples<br />

as long as power is on and the STOP<br />

bit has not been set<br />

► Sequential Mode<br />

• Sequential will sample SampleN one<br />

after another. Channel ANAx are<br />

sampled by ADCA and Channel ANBx<br />

are sampled by ADCB<br />

► Parallel Mode<br />

• Simultaneous: Parallel can sample<br />

SampleN from Group1 and SampleN<br />

from Group 2 at the same time.<br />

• Independent:: ADCA and ADCB can<br />

operate independently. At end of scan<br />

of each ADC, they generate separate<br />

interrupt request.<br />

ANA0<br />

ANA1<br />

ANA2<br />

ANA3<br />

ANA4<br />

ANA5<br />

ANA6<br />

ANA7 MUX<br />

SYNC0<br />

SYNC1<br />

ANB0<br />

ANB1<br />

ANB2<br />

ANB3<br />

ANB4<br />

ANB5<br />

ANB6<br />

ANB7<br />

<strong>Control</strong>ler<br />

ADC Channel Scan Modes<br />

VRETH<br />

VREFLO<br />

S/H &<br />

Scaling<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

MUX<br />

S/H &<br />

Scaling<br />

Voltage<br />

Reference<br />

Circuit<br />

Cyclic Converter<br />

A 12<br />

Cyclic Converter<br />

B 12<br />

66<br />

Result Reg 0<br />

Result Reg 1<br />

Result Reg 2<br />

Result Reg 3<br />

Result Reg 8<br />

Result Reg 9<br />

Result Reg 10<br />

Result Reg 11<br />

Result Reg 4<br />

Result Reg 5<br />

Result Reg 6<br />

Result Reg 7<br />

Result Reg 12<br />

Result Reg 13<br />

Result Reg 14<br />

Result Reg 15<br />

TM


► Do you need more than 12bit if PGA is included?<br />

► Does 500ns conversion time meet power supplies<br />

needs?<br />

AN0<br />

AN1<br />

…<br />

ANx<br />

Vrefl<br />

MUX<br />

Gain Setting<br />

X1, x2, x4<br />

PGA<br />

V+<br />

V-<br />

12Bit<br />

ADC<br />

Channel Select<br />

RESULT RESULT MUX<br />

Single Ended or Differential<br />

HIGH<br />

LIMIT<br />

LOW<br />

LIMIT<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 67<br />

ADC Operation<br />

><br />

<<br />

Zero Crossing Logic<br />

ADC<br />

RESULT<br />

ADC<br />

OFFSET<br />

Above<br />

Below<br />

IRQ Logic<br />

IRQ<br />

TM


Sampled and<br />

Average Currents<br />

PWM 0<br />

PWM 1<br />

ADC trigger Signal<br />

calc.<br />

T1<br />

PWM Period<br />

Temp<br />

end of scan interrupt end of scan interrupt<br />

Calculation<br />

A/D Converters<br />

- PWM Synchronization Benefits<br />

Voltage<br />

ADC Sampling helps to filtering the measured current - antialiasing.<br />

Noise free ADC sampling when the power switch is not acting<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 68<br />

Inductor Current I 1<br />

Inductor Current I 2<br />

ADC sample is taken at middle of PWM pulse which is equal to average current<br />

TM


PWM 0<br />

PWM 1<br />

ADC trigger Signal<br />

end of scan interrupt<br />

calc.<br />

Temp<br />

Voltage<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 69<br />

A/D Converters<br />

-Example Irregular Triggers<br />

Inductor Current I 1<br />

T0 T1 T2 T0 T1 T2<br />

Calculation<br />

end of scan interrupt<br />

Inductor Current I 2<br />

Trigger 0 (T0) starts 1st conversion which ADC takes two conversions then wait next trigger<br />

Trigger 1 (T1) starts 2 nd conversion which ADC takes one conversion then wait next trigger<br />

Trigger 2 (T2) starts 3 rd conversion which ADC takes three conversions then generates INT<br />

TM


Comparators<br />

Timers<br />

<strong>Control</strong> Module<br />

Sample Disable Register<br />

Sample DISn … Sample DIS1 Sample DIS0<br />

ADC Scan <strong>Control</strong>ler<br />

Sample SCn … Sample SC1 Sample SC0<br />

ADC Scan <strong>Control</strong> register<br />

Channel List ( Select ) Registers<br />

Programmable<br />

Delay Module<br />

Trigger Selector<br />

PWM<br />

Sample Result<br />

Register Address<br />

ADC<br />

Conversion<br />

Result<br />

ADC trigger<br />

ADC<br />

Analog<br />

Input<br />

Multiplexer Select<br />

ADC<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 70<br />

ADC Irregular Triggers<br />

…<br />

…<br />

ADC Module<br />

Sample (0) Result<br />

Sample (1) Result<br />

Sample (2) Result<br />

Sample (n) Result<br />

ADC Start Signal T0, T1, T2, … INn<br />

…<br />

Sample n<br />

…<br />

Sample 1 Sample 0<br />

Transistor<br />

Power Stage<br />

Energy<br />

Source<br />

Motor or<br />

other Loads<br />

IN0<br />

IN2<br />

IN3<br />

TM


ADC Input<br />

125 Ohm<br />

ESD Resistor<br />

1 2 3<br />

channel mux<br />

equiv resistance<br />

100 Ohms<br />

Equivalent Circuit for A/D Loading<br />

(V REFHx - V REFLx) / 2<br />

1. Parasitic capacitance due to package, pin-to-pin and pin-to-package<br />

base coupling; 1.8pF<br />

2. Parasitic capacitance due to the chip bond pad, ESD protection devices<br />

and signal routing; 2.04pF<br />

3. 8 pF noise damping capacitor<br />

4. C1 = 1.4 pF<br />

5. S1 and S2 switch phases are non-overlapping and operate at the ADC<br />

clock frequency<br />

S1<br />

S2<br />

C1 : Singled Ended Mode<br />

2 X C1 : Differential Mode<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 71<br />

S1<br />

S1<br />

S2 S2<br />

C1<br />

C1<br />

S/H<br />

S1<br />

S1<br />

C1 : Singled Ended Mode<br />

2 X C1 : Differential Mode<br />

1<br />

6. Equivalent input impedance, when the input is selected =<br />

−12<br />

+ 100ohm<br />

+ 125ohm<br />

( ADC Clock Rate)<br />

×<br />

1.<br />

4×<br />

10<br />

TM


Less Than 3mA<br />

10nF -100nF<br />

VSSA<br />

Pad<br />

With<br />

ESD<br />

VDDA<br />

VSSA<br />

ADC Current Injection Circuit<br />

MUX<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 72<br />

To Other Mux<br />

ADC<br />

TM


DMA <strong>Control</strong>ler, Comparators, and Intermodule<br />

Cross Bar<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


5-bit<br />

VREF<br />

12-bit DAC output<br />

12-bit DAC output<br />

X4<br />

TB[3:0]<br />

X9<br />

PWMA[3:0]<br />

PWMB[3:0]<br />

PWMX[3]<br />

X3<br />

0<br />

1<br />

2<br />

3<br />

3<br />

0<br />

2<br />

1<br />

HSCMP<br />

Quad Timer B<br />

8-ch<br />

GHzPWM<br />

MC56F824x/5x Crossbar Inter-module Connection<br />

6<br />

OUT_TRIG0[2,0]<br />

OUT_TRIG1[2,0]<br />

14<br />

OR<br />

Functions<br />

2 OUT_TRIG0[3]<br />

OUT_TRIG1[3]<br />

EXTA[3:0]<br />

EXT_SYNC[3:0]<br />

EXT_FORCE<br />

EXT_CLK<br />

FAULT[3:0]<br />

Pin<br />

4<br />

3<br />

3<br />

Window /<br />

Sample[2:0]<br />

Crossbar<br />

Fabric<br />

Trigger[1:0]<br />

To comparators<br />

SYNC_IN<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 74<br />

4<br />

4<br />

X6<br />

X6<br />

I/O<br />

Muxing<br />

Dual<br />

12bit ADC<br />

DAC input for test only<br />

12-Bit<br />

DAC<br />

12-bit DAC Output<br />

peripheral<br />

functions<br />

Pin<br />

ADC_In<br />

Pin<br />

Pin<br />

I/O Module<br />

Pin<br />

I/O Module<br />

TM


XBAR_IN0<br />

XBAR_IN1<br />

XBAR_IN[N-1]<br />

XBSEL1 XBSEL0<br />

•<br />

•<br />

•<br />

•<br />

•<br />

•<br />

0<br />

1<br />

N-1<br />

XBSEL0<br />

0<br />

1<br />

XBAR_OUT0<br />

XBAR_OUT1<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 75<br />

•<br />

•<br />

•<br />

N-1<br />

XBSEL1<br />

•<br />

•<br />

•<br />

0<br />

1<br />

N-1<br />

XBSEL[M-1}<br />

XBAR_OUT[M-1}<br />

Crossbar Settings<br />

TM


Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 76<br />

Analog Comparator Interconnection<br />

TM


CMPA CMPB CMPC<br />

P0 VREF A VREF B VREF C<br />

P1 DACO DACO DACO<br />

P2 ANA0 ANB0 ANB2<br />

P3 cmpref cmpref cmpref<br />

M0 ANA1 ANB1 ANB3<br />

M1 ANA2 ANB6 ANB4<br />

M2 ANA3 ANB7 ANB5<br />

M3 DACO DACO DACO<br />

ADC PIN COMP COMP PIN<br />

ANA0 CMPA P2<br />

ANA1 CMPA M0<br />

ANA2 CMPA M1<br />

ANA3 CMPA M2<br />

ANB0 CMPB P2<br />

ANB1 CMPB M0<br />

ANB2 CMPC P2<br />

ANB3 CMPC M0<br />

ANB4 CMPC M1<br />

ANB5 CMPC M1<br />

ANB6 CMPB M1<br />

ANB7 CMPB M2<br />

12-bit<br />

DAC<br />

CMP_REF<br />

GPIOA0/ANA0<br />

GPIOA1/ANA1<br />

GPIOA2/ANA2<br />

GPIOA3/ANA3<br />

GPIOB0/ANB0<br />

GPIOB1/ANB1<br />

GPIOB6/ANB6<br />

GPIOB7/ANB7<br />

GPIOB2/ANB2<br />

GPIOB3/ANB3<br />

GPIOB4/ANB4<br />

GPIOB5/ANB5<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

5-bit<br />

REF A<br />

5-bit<br />

REF B<br />

5-bit<br />

REF C<br />

77<br />

Comparator Settings<br />

0<br />

1<br />

2<br />

3<br />

0<br />

1<br />

2<br />

3<br />

0<br />

1<br />

2<br />

3<br />

0<br />

1<br />

2<br />

3<br />

0<br />

1<br />

2<br />

3<br />

0<br />

1<br />

2<br />

3<br />

CMP A<br />

-<br />

+<br />

CMP B<br />

-<br />

+<br />

CMP C<br />

-<br />

+<br />

TM


Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 78<br />

56F84xx - 4 Channel DMA<br />

4 Independent DMA Channels<br />

Each have selectable peripheral<br />

(out of 10) source requests<br />

(DMAREQC register)<br />

Byte,word,longword,block(16bytes<br />

) transfers.<br />

Automatic channel linking<br />

Each channel can be used to<br />

initiate another channel transfer<br />

TM


Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 79<br />

56F84xx - Link<br />

TM


Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 80<br />

56F84xx - LinkCC example<br />

TM


eFlexPWM<br />

Timers<br />

A/D<br />

SCI<br />

I2C<br />

SPI<br />

Crossbar<br />

Peripherals<br />

56F84xx - Peripherals to trigger DMA transfers<br />

DMA<br />

transfers<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 81<br />

Triggers<br />

(initiate DMA transfers)<br />

Sources Destination<br />

TM


eFlexPWM<br />

COMPARATOR<br />

PWM<br />

Timer<br />

I/O<br />

RTC<br />

PDB<br />

56F84xx - Crossbar to trigger DMA transfers<br />

Crossbar<br />

Interrupt Request<br />

DMA<br />

transfers<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 82<br />

Triggers<br />

(initiate DMA transfers)<br />

Sources Destination<br />

TM


eFlexPWM<br />

HS-CMP<br />

Timer<br />

Q_Decoder<br />

I/O<br />

PDB<br />

16<br />

4<br />

8<br />

4<br />

10<br />

4<br />

Crossbar B<br />

AND-OR-INV Logic<br />

AND-OR-INV Logic<br />

AND-OR-INT Logic<br />

AND-OR-INV Logic<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 83<br />

56F84xx - Crossbar Module<br />

Crossbar A<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n6<br />

n<br />

n<br />

n<br />

n<br />

DAM Req<br />

INT<br />

eFlexPWM<br />

HS-CMP<br />

Timer<br />

Q_Decoder<br />

I/O<br />

PDB<br />

TM


►AND-OR-INT Output =<br />

56F84xx - AND-OR-INVERT Module<br />

► (0,A,~A,1) & (0,B,~B,1) & (0,C,~C,1) & (0,D,~D,1) // product term 0<br />

►| (0,A,~A,1) & (0,B,~B,1) & (0,C,~C,1) & (0,D,~D,1) // product term 1<br />

►| (0,A,~A,1) & (0,B,~B,1) & (0,C,~C,1) & (0,D,~D,1) // product term 2<br />

►| (0,A,~A,1) & (0,B,~B,1) & (0,C,~C,1) & (0,D,~D,1) // product term 3<br />

•AOI Input Mux Configuration Register<br />

•Boolean Function Evaluation Configuration Register<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 84<br />

TM


56F84xx - Configuration Examples for the Boolean Function<br />

Evaluation<br />

AND-OR-INT Output =<br />

(PT0_AC[0] & A | PT0_AC[1] & ~A) & (PT0_BC[0] & B | PTO_BC[1] & ~B)<br />

& (PT0_CC[0] & C | PTO_CC[1] & ~C)& (PT0_DC[0] & D | PTO_DC[1] & ~D) // product term 0<br />

| (PT1_AC[0] & A | PT1_AC[1] & ~A) & (PT1_BC[0] & B | PT1_BC[1] & ~B)<br />

& (PT1_CC[0] & C | PT1_CC[1] & ~C)& (PT1_DC[0] & D | PT1_DC[1] & ~D) // product term 1<br />

| (PT2_AC[0] & A | PT2_AC[1] & ~A) & (PT2_BC[0] & B | PT2_BC[1] & ~B)<br />

& (PT2_CC[0] & C | PT2_CC[1] & ~C)& (PT2_DC[0] & D | PT2_DC[1] & ~D) // product term 2<br />

| (PT3_AC[0] & A | PT3_AC[1] & ~A) & (PT3_BC[0] & B | PT3_BC[1] & ~B)<br />

& (PT3_CC[0] & C | PT3_CC[1] & ~C)& (PT3_DC[0] & D | PT3_DC[1] & ~D) // product term 3<br />

Event Output Expression PT0 PT1 PT2 PT3<br />

A & B A & B 0 0 0<br />

A & B & C A & B & C 0 0 0<br />

(A & B & C) + D A & B & C D 0 0<br />

A + B + C + D A B C D<br />

(A & ~B) + (~A & B) A & ~B ~A & B 0 0<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 85<br />

TM


Applications and Enablement Tools<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

TM


Target Devices/Platforms:<br />

• <strong>Digital</strong> Signal <strong>Control</strong>ler<br />

• MC56F8013<br />

• MC56F8023<br />

• Motor <strong>Control</strong> Applications<br />

• AC Induction Motor<br />

• Washing Machine<br />

Applications Usage:<br />

• Horizontal/vertical washing machine applications<br />

• High voltage three phase AC induction motors<br />

• Consumer/industrial market applications<br />

Application Features:<br />

• Three-Phase AC Induction Drive for Washing Machine<br />

• Target MC56F8013/23<br />

• Direct vector control algorithm<br />

• Speed range 0 - 20000 rpm (motor speed), 0 - 2000 rpm (drum<br />

speed)<br />

• Reconstruction of three-phase currents from DC-bus shunt resistor<br />

• Cost-efficient tachogenerator on motor shaft for speed sensing<br />

• Non-recuperative braking and deceleration control<br />

• Independently control motor torque and flux<br />

• Over-current, over-voltage and under-voltage protection<br />

• Washer algorithms implementation:<br />

o Out-of-balance detection for spin dry<br />

o Tumble - wash<br />

o Spin - dry<br />

• Serial RS232 control interface<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 87<br />

3ph. ACIM Vector <strong>Control</strong> Demo<br />

TM


Target Devices/Platforms:<br />

• <strong>Digital</strong> Signal <strong>Control</strong>ler<br />

• MC56F8006<br />

• Motor <strong>Control</strong> Applications<br />

• BLDC Motor<br />

• Sensorless <strong>Control</strong><br />

• GF library<br />

Applications Usage:<br />

• Washing machines<br />

• Compressors<br />

• Air conditioning units<br />

• Pumps<br />

• Fans<br />

• Industrial drives<br />

• Appliances<br />

Application Features:<br />

• Sensorless control with Back-EMF zero crossing sensing<br />

• Closed-loop speed control with automatic current regulation and limitation<br />

• Back-EMF multisampling method, 6us sampling during PWM on-time<br />

• Rotation in both directions<br />

• Unipolar PWM method<br />

• Starting with alignment, open-loop start-up<br />

• FreeMASTER <strong>Control</strong> interface<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 88<br />

BLDC Sensorless Drive – MC56F8006<br />

TM


Target Devices/Platforms:<br />

• MC56F8013 Hybrid <strong>Control</strong>ler<br />

• MC56F8013 Evaluation Board<br />

• Brushless DC Motor<br />

Applications Usage:<br />

• Compressors<br />

• Fans<br />

• Pumps<br />

• Washing Machines<br />

• Automotive Drives<br />

• Industrial Drives<br />

• Air conditioning units<br />

• Appliances<br />

Application Features:<br />

• 3-phase Brushless DC motor sensorless drive<br />

• Designed to fit into fan, pump and compressor applications<br />

• Using MC56F8013 32MIPS hybrid controller<br />

• Available for two power stages and two motors<br />

• Input power supply voltage +12Vdc for power stages<br />

• <strong>Control</strong> technique incorporates:<br />

o Sensorless, trapezodial control of 3-phase Brushless DC motor with Back-EMF<br />

sensing<br />

o Using A / D converter Zero Cross sensing for sensorless control<br />

o Speed & current closed loop with PI controller<br />

• Speed Range 200 – 2000 and 500 – 5000 RPM (according to the motor used)<br />

• Manual interface (Run / Stop switch, Up / Down pushbuttons)<br />

• FreeMASTER interface for monitoring, control and tuning<br />

• Fault protection (DC-Bus over-current, DC-Bus under-voltage, DC-Bus overvoltage)<br />

• Automatic calibration of phase Back-EMF measurements<br />

• Easy to tune for different power stages and motors<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 89<br />

BLDC Sensorless Drive – MC56F8013<br />

TM


►Description<br />

Pancake PMSM Sinusoidal Sensorless Demo<br />

Key Features<br />

►Presented demo of sensorless control maintains the electric drive performance and requires no<br />

mechanical position or speed sensor. Application of this sensorless control allows generation<br />

throughout motor whole speed range starting from zero up to the nominal speed and even motor<br />

reversal is achievable. The control of PM motor is based on field oriented control with implemented<br />

speed control loop. This includes inner current control loop with implemented decoupling of crosscoupled<br />

variables achieving good torque control performance. Application is a single chip solution<br />

based on MC56F80xx digital signal controller series without any additional supportive circuitry.<br />

The demo consists of the pancake PMSM and motor load, control board based on MC56F8013/23<br />

and high voltage power stage.<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 90<br />

► Sensorless Vector <strong>Control</strong> of Panckake Permanent Magnet Synchronous Motor in whole<br />

speed range<br />

► Application based on MC56F80XX digital signal controller<br />

► 3-phase AC/BLDC High Voltage Power Stage with 1-ph. line input 110/230VAC @ 50/60Hz<br />

► Pancake Permanent Magnet Synchronous Motor with AC Induction motor as a brake<br />

► Initial position detection using high frequency injection<br />

► standstill torque generation<br />

► low speed operation using high frequency injection<br />

► nominal speed operation using back-EMF observer<br />

► Application based on C-callable library functions (GFLIB, GDFLIB, MCLIB, ACLIB)<br />

► FreeMASTER based control pages<br />

► Fault Protection<br />

Featured Products<br />

• MC56F80xx<br />

Key Markets<br />

• Appliance<br />

• V-axis washing machine<br />

• Industrial Drives<br />

TM


► Target Devices/Platforms:<br />

• MC56F8006<br />

• Motor <strong>Control</strong> Applications<br />

• PM Synchronous Motor<br />

• Sensorless <strong>Control</strong><br />

• Motor <strong>Control</strong> S/W Library<br />

► Applications Usage:<br />

• Appliance (dishwasher pump, dryer drive)<br />

• Industrial (pumps, compressors, fans, HVAC)<br />

• Industrial Drives<br />

► Application Features:<br />

• Sensorless control of Permanent Magnet Synchronous motor<br />

using Back-EMF Observer<br />

• One board solution - processor and power electronic on one<br />

board<br />

• Supply Voltage (110-230Vac +10%-15%)/50-60Hz<br />

• Output power approximately 200W for 230Vac input<br />

• Rotor speed - one direction, up to 3500rpm<br />

• Rotor alignment method will be used<br />

• Over-current protection and Over-voltage protection<br />

• Power module over-temperature protection<br />

• RS232 communication with PC<br />

• Header with GPIO for external start/stop switch<br />

• Header for encoder for development purposes<br />

PMSM Sensorless Drive for Dishwasher Pump<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 91<br />

TM


► Target Devices/Platforms:<br />

• MC56F8013/23/25<br />

• Motor <strong>Control</strong> Applications<br />

• PM Synchronous Motor<br />

• Sensorless <strong>Control</strong><br />

• AC library<br />

► Applications Usage:<br />

• Washing machines<br />

• Compressors<br />

• Air conditioning units<br />

• Pumps<br />

• Fans<br />

• Industrial drives<br />

• Appliances<br />

► Application Features:<br />

• Vector control of three-phase PM synchronous motor<br />

• Position and speed detection using dq back-EMF observer and tracking observer<br />

• Closed-loop speed control<br />

• Speed range extended using field weakening<br />

• Unidirectional rotation<br />

• Closed-loop current control<br />

• Independent control of flux and of torque<br />

• Startup with alignment<br />

• Three-phase motor currents measured in each phase leg<br />

• 100 µs sampling period on MC56F8023<br />

• FreeMASTER <strong>Control</strong> interface<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 92<br />

PMSM Sensorless Speed <strong>Control</strong><br />

TM


► Target Devices/Platforms:<br />

• Permanent Magnet Synchronous Motors<br />

• MC56F83xx<br />

• Motor <strong>Control</strong> Applications<br />

• Vector <strong>Control</strong><br />

► Applications Usage:<br />

• Servo drives<br />

• Washing machines<br />

• Compressors<br />

• Air conditioning units<br />

• Pumps<br />

• Fans<br />

• Automotive drives<br />

• Industrial drives<br />

• Appliances<br />

► Application Features:<br />

• Vector control of PMSM using the quadrature encoder and/or resolver as a position sensor<br />

• Targeted for MC56F8346 <strong>Control</strong>ler Board<br />

• Running on 3-phase PM Synchronous Motor <strong>Control</strong> Development Platform at 12V<br />

• Vector control with speed closed loop<br />

• Rotation in both directions<br />

• Motoring and generator mode<br />

• Start from any motor position with rotor alignment in case of the encoder<br />

• Manual interface (start/stop switch, up/down push button control, LED indicator)<br />

• FreeMASTER software control interface (graphical web page control and monitoring<br />

interface)<br />

• Over-voltage, under-voltage, over-current fault protection<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 93<br />

PMSM Vector <strong>Control</strong> with Encoder<br />

TM


► Target Devices/Platforms:<br />

• DSC controlled DC to AC Inverters<br />

• MC56F8025<br />

• Solar Energy Harvesting<br />

• UPS<br />

► Applications Usage:<br />

• As DEMO application for the solar energy to power line<br />

conversion<br />

• Small power line source for home usage<br />

• Functions as UPS when battery connected<br />

► Application Features:<br />

• DC to AC Inverter for solar panel is DSC controlled inverter<br />

with battery charger option<br />

• Nominal input voltage is 36V – it represents one 36V panel, or<br />

two 18V panels in series, or three lead-acid batteries in series<br />

– each of 12V<br />

• Output power is max 400VA / 230V AC / 50Hz<br />

• Can work as grid connected or no<br />

• The MPPT algorithm is implemented to maximize output<br />

power from the solar panel<br />

• High frequency power transformer is used to maintain isolation<br />

between solar panels and grid connected power line<br />

• The switching frequency is up to 50kHz<br />

• The DC-DC up-converter and full bridge topology is used for<br />

the AC voltage generation<br />

• Fault protection implemented – over-current, short-circuit and<br />

input under-voltage<br />

• Isolated serial link RS-485 used for connection to whole<br />

system<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 94<br />

Solar Panel Inverter Demo<br />

TM


► Target Devices/Platforms:<br />

• Switch Mode Power Supply<br />

• DSC:<br />

o MC56F80xx Family<br />

► Applications Usage:<br />

• As DEMO application for AC/DC conversion<br />

• Communication power supply<br />

• Server power supply<br />

• <strong>Digital</strong> power supply<br />

► Application Features:<br />

Specification and Performance of PFC converter:<br />

Input voltage:85 ~265VAC;<br />

Input frequency:45 ~65HZ;<br />

Rating output voltage : 380V;<br />

Rating output power:500W;<br />

Power factor > 99%<br />

Efficiency > 90%<br />

Specification and Performance of DC/DC converter:<br />

Input voltage:360~380VDC (Output by PFC);<br />

Output voltage:48V,<br />

Precision : 3%,ripple : 500mV;<br />

Output current:10A;<br />

Switch frequency:150K;<br />

Efficiency > 90%<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 95<br />

AC to DC SMPS Demo (1)<br />

TM


► Target Devices/Platforms:<br />

• Switch Mode Power Supply<br />

• DSC:<br />

o MC56F80xx Family<br />

o MC56F82xx Family<br />

► Applications Usage:<br />

• As DEMO application for AC/DC conversion<br />

• Communication power supply<br />

• Server power supply<br />

• <strong>Digital</strong> power supply<br />

► Application Features:<br />

• General:<br />

o 1-phase 500W SMPS with MC56F8013 and MC56F82xx<br />

• Input:<br />

o 45-65 Hz Operating Frequency Range<br />

o 85V - 265V Operating Voltage Range<br />

o Power factor at input > 0.9<br />

o Conversion efficiency > 90%<br />

o Total Harmonic Distortion < 10%<br />

• Output:<br />

o Output voltage 12V/41A<br />

o Output voltage 5V/25A<br />

• Communications:<br />

o serial communication (SCI) between controllers with opto-isolation<br />

o serial communication (SCI) of sec. side controller(MC56F82xx) with<br />

host PC with opto-isolation<br />

o serial communication (IIC) of sec. side controller(MC56F82xx) via<br />

PM Bus<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 96<br />

AC to DC SMPS Demo (2)<br />

TM


►Low Cost - High Value<br />

• Single Development Environment & License for:<br />

• HC08, S08, RS08, Coldfire V1 Core<br />

• 56800, 56800E Core<br />

• Coldfire V2-V4 Core<br />

• Power Architecture Core<br />

• Multi-tiered pricing structure<br />

Flexible low cost pricing based on memory usage<br />

• License prices include 1 year maintenance<br />

Provides free 24/7 CodeWarrior support<br />

• Processor Expert with Free drivers and libraries<br />

11 premium libraries are Free with object code<br />

• CodeWarrior USB Tap<br />

Low cost high performance Universal Serial Bus interface for OnCE debugging<br />

CodeWarrior Development Studio<br />

IDE with optimizing C compiler<br />

Sophisticated Project Manager<br />

Graphical source level debugger<br />

Editor and file/folder compare functions<br />

Instruction-set simulation<br />

A free Special Edition permanent license up to 64 KB<br />

code size!<br />

Intelligent software development kit – Processor Expert<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 97<br />

CodeWarrior Development Studio<br />

Software Development Tools<br />

… EVEN MORE VALUE<br />

56800QEDL<br />

QEDesign Lite Filter (FIR, IIR, etc ) emits code for the IDE<br />

• Extensive SW libraries built into IDE<br />

• Motor <strong>Control</strong><br />

• Mathematics<br />

• Signal Processing<br />

• Voice Processing<br />

• Modem<br />

• Encryption<br />

TM


Seamless integration with CodeWarrior IDE<br />

Quick Start Development Tool for DSC<br />

Metrowerks CodeWarrior IDE appconfig.h file<br />

Graphical Configuration Tool<br />

#include “appconfig.h”<br />

#defines used to initialize peripherals<br />

Features Peripheral Initialization Graphical Windows<br />

On-line calculations<br />

reflecting the actual<br />

settings<br />

Static interrupt configuration<br />

- association with user ISR<br />

- interrupt priority<br />

Ctrl+F10 invoked GCT<br />

opens the appconfig.h<br />

for a current project<br />

MC56F8006/2<br />

Beta Release<br />

Available<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 98<br />

Read & Write access to appconfig.h<br />

Features Detailed Documentation of Low-level Drivers<br />

and Processor Start-up Sequence<br />

TM


Application control<br />

and monitor<br />

Live graphs,<br />

variable watches,<br />

and graphical<br />

control page<br />

Real-time<br />

operation monitor<br />

Supports:<br />

- HCS08, HC12, HCS12 and HCS12X BDM<br />

- 56F8000, 56F8100 and 56F8300 JTAG<br />

- SCI driver (FMASTERSCIDRV) for all<br />

platforms<br />

Support<br />

Completed<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 99<br />

FreeMaster Tool<br />

www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER<br />

TM


SCI/CAN/USB Bootloader<br />

► Bootloader is developed to load and run a user’s application by<br />

parsing an S-Record file, then copying the parsed S-Record file into<br />

the appropriate Program and Data memory<br />

PC<br />

s-record file<br />

Target<br />

Bootloader<br />

Flash<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 100<br />

TM


The Tower System is a simple concept. Take basic<br />

hardware modules, connect them together and start<br />

designing. There are two types of hardware modules,<br />

MCU/MPU and peripheral (i.e. serial, memory, LCD,<br />

etc.), which plug into backplane "elevator" boards.<br />

Through the use of open software and a standardized<br />

form factor and signal list, we, along with our<br />

customers and our partners, can continually design<br />

new modules to meet your design requirements.<br />

These new modules can be used for future product<br />

development.<br />

Features:<br />

• Multiple modular boards provide easy-to-use, reconfigurable<br />

hardware<br />

• Interchangeable peripheral boards make it easy to customize<br />

your design<br />

• Open source hardware and software speeds development<br />

• Microcontroller modules include Open Source BDM debug<br />

hardware<br />

• Each microcontroller module is a standalone BDM debug tool<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 101<br />

Tower System for Demo<br />

TM


• Usage:<br />

3-ph BLDC/PMSM Low Voltage Motor <strong>Control</strong> Drive<br />

Kit being sold in Freescale website<br />

Motor <strong>Control</strong> Techniques Development<br />

Brushless DC Motor Drives<br />

Permanent Magnet Synchronous Drives<br />

High-End <strong>Control</strong> Algorithms Development and<br />

Demonstration<br />

• Board Features:<br />

Power supply voltage input 12–24 V DC, extended up to<br />

50 V<br />

Output current 4A(tested)<br />

3-phase bridge inverter (6 MOSFET’s)<br />

3-phase MOSFET gate driver(MC33927 or MC33937) • Daughter Boards<br />

3-phase MOSFET gate driver(MC33927 or MC33937)<br />

with over-current and under-voltage protection<br />

3-phase and DC-bus-current-sensing shunts<br />

DC-bus voltage and 3-phase back-EMF voltage-sensing<br />

circuitry<br />

Encoder/hall sensor sensing circuitry<br />

2 connectors for daughter board connection<br />

USB interface with MC9S08JM60<br />

User LED, power-on LED, 6 PWM LED diodes, and SCI<br />

activity LED diodes<br />

Up, down, toggle switches and Reset push-button<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 102<br />

MC9S08AC16<br />

MC9S08MP16<br />

MC56F8013/23<br />

MC56F8006<br />

MCF51AC256<br />

MC56F8257<br />

MCF51AG128<br />

MPC5604P<br />

Daughter<br />

Board<br />

Connectors<br />

TM


3-ph BLDC/PMSM High Voltage Motor <strong>Control</strong> Drive<br />

• Usage:<br />

Motor <strong>Control</strong> Techniques Development<br />

Brushless DC Motor Drives<br />

Permanent Magnet Synchronous Drives<br />

AC Induction Motor Drives<br />

SMPS applications<br />

High-End <strong>Control</strong> Algorithms Development and<br />

Demonstration<br />

• Board Features:<br />

Input Voltage 115-230Vac, 50/60Hz<br />

Optional Voltage doubler for input voltage 115Vac<br />

Output Power 1kW<br />

3-phase IGBT inverter bridge with over-current<br />

protection (Fairchild IGBT power module)<br />

3-phase motor current sensing<br />

DC-Bus current and voltage sensing<br />

Galvanic isolated SCI / USB interface<br />

User LED<br />

Power-on LED<br />

Encoder / Hall Sensor and tacho generator interface<br />

DC-Brake resistor switch with terminal<br />

BEMF sensing<br />

PFC control signal terminal<br />

PCI type of interface connector (separated analog and<br />

digital signals)<br />

• Daughter Boards<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 103<br />

MC9S08MP16<br />

MC56F8006/8013<br />

MC56F8257<br />

PCI Daughter<br />

Board<br />

Connectors<br />

TM


Low Cost BLDC Motor <strong>Control</strong> Board<br />

• Brushless motor, Maxon EC-200187, 6W 9V<br />

• Motor interface connector<br />

• Input power connector<br />

• Daughter card connector for connecting the<br />

56F8013 demonstration board<br />

• LED power indicator<br />

• Motor bus voltage sense logic<br />

• Motor bus current sense logic<br />

• Back EMF phase voltage sense logic<br />

• Zero-crossing logic<br />

• Hall-effect/zero-crossing selector<br />

• 3-phase H-bridge power stage<br />

• Power regulation logic<br />

• (Optional) Five on-board real-time user<br />

debugging LEDs<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.<br />

Order Number: APMOTOR56F8000<br />

104<br />

TM


Target Devices/Platforms:<br />

• MC56F8000<br />

Range of Applications:<br />

• <strong>Digital</strong> <strong>Control</strong> Systems<br />

• Motor <strong>Control</strong> (BLDC, PMSM, AC)<br />

Highlights/Description:<br />

• Software modules implemented in assembly<br />

• Optimized for speed<br />

• C-callable interface<br />

• Easy to use<br />

• Fully documented<br />

Public Deliverables:<br />

Freescale Embedded Software Libraries<br />

Documentation<br />

ACLIB<br />

User<br />

Application SW<br />

MCLIB<br />

GDFLIB<br />

GFLIB<br />

FSLESL<br />

On-Chip Drivers<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />

and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 105<br />

APPLICATION<br />

Application SW<br />

Libraries<br />

On-Chip Driver<br />

On-Chip<br />

Peripherals<br />

PINS<br />

System Infrastructure External HW<br />

FMaster*<br />

Support<br />

External App.*<br />

Support<br />

*Optional<br />

External<br />

Connections<br />

• General Function Library (GFLIB) contains math, trigonometric, look-up table and control functions. These software<br />

modules are basic building blocks.<br />

• Motor <strong>Control</strong> Library (MCLIB) contains vector modulation, transformation and specific motor related functions to build<br />

digitally controlled motor drives.<br />

• General <strong>Digital</strong> Filter Library (GDFLIB) contains filter functions for signal conditioning.<br />

• Advanced <strong>Control</strong> Library (ACLIB) will contain functions to enable building the variable speed AC motor drive systems<br />

with field oriented control techniques without position or speed transducer (will be available soon).<br />

Processor<br />

TM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!