1 / 34

Reducing Noise and System Costs by Managing Switching Power Supplies as Real-Time Processes

Learn how to optimize energy usage in embedded systems using efficient switching power supplies and real-time scheduling techniques. Explore challenges, solutions, and evaluation methods in noise reduction and energy optimization.

mammied
Download Presentation

Reducing Noise and System Costs by Managing Switching Power Supplies as Real-Time Processes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reducing Noise and System Costs by Managing Switching Power Supplies as Real-Time Processes Subash Sachidananda & Dr. Alex Dean Dept. of ECE - NC State University

  2. EMI- and Energy-Aware Scheduling of Switching Power Supplies in Hard Real-Time Embedded Systems Subash Sachidananda & Dr. Alex Dean Dept. of ECE - NC State University RTAS 2011

  3. Overview Real-Time Systems • Goal • Switch mode power supplies (SMPS) • Real-time scheduling • Our work Energy Optimization Embedded Systems Energy Optimization Switching Power Supplies

  4. Application Domain - Embedded Systems

  5. Goal • Reduce power and energy used by embedded computing systems in a cost-effective way • Basics • Two parts: Static and dynamic • P = SPVCC2 + CPVCC2fClock • Power aV2 • Energy is power * time • Competing pressures for energy optimization • Shut off unused subsystems • When running, run as fast as possible to minimize static power (must raise supply voltage to speed up clock) • When running, use minimum voltage which supports logic’s clock frequency

  6. Switching Power Converters • Function • Efficient conversion of voltage up (boost) or down (buck), or both (buck-boost) • Benefits • Can run circuitry at lowest feasible voltage • Can scale voltage dynamically as needed to support changing clock speed • Battery voltage variations across discharge curve do not affect operating point of circuit

  7. SMPS Extends Battery Life

  8. Boost Converter Operation • Switch (transistor) S turns on • Current starts flowing through inductor L and S • Switch S turns off • Current flowing through L now goes through diode to charge C and power load

  9. Switching Converter Challenges • Low-frequency “noise” at switching frequency. • Easy to remove with capacitors • High-frequency “noise” at harmonics of switching frequency. • Reaches circuit in three ways: conducted, reflected, radiated • Very sensitive to PCB layout: trace length, capacitor placement • Can be 100 mV

  10. More on Harmonics • “Unconscionable amounts of bypass capacitors, ferrite beads, shields, Mu-metal and aspirin have been expended in attempts to ameliorate noise-induced effects.” [Jim Williams, Linear Technology Application Note 70]

  11. Reducing Harmonics • Methods • Redesign PCB and test. Repeat until acceptable • Use high-quality (expensive) capacitors • Limit slew rate of switches, use sinusoidal drive • Change to balanced topology • Insert inverse of harmonic • Drawbacks • More complex hardware design raises cost, size, mass • Some methods reduce efficiency

  12. System Schedule and Noise

  13. Real-Time System Analysis • Problem statement • We have a system of periodic software tasks running on a processor • How do we make sure all tasks meet their deadlines (are schedulable)? • Approaches • Use response-time analysis • When does the last task finish in the worst case? • Use a utilization-based test • How much of the processor’s time could we use?

  14. Real-Time System Model • Assumptions • Single CPU • TContextSwitch = 0 • tasks are periodic with period ti • Deadline Di = periodti • No data dependencies between tasks • Constant process execution time Ti Burns & Welling

  15. Scheduling Approaches • Dimensions to task scheduling • Static vs. dynamic task ordering • Preemptive vs. non-preemptive • Prioritized vs. non-prioritized • Fixed vs. dynamic priority • Common scheduling approaches for real-time systems • Dynamic task ordering • Preemption among tasks • Priority assigned based on • Task frequency (“rate monotonic”, RM), or • Deadline frequency (“deadline monotonic” DMS), or • Earliest deadline first (EDF)

  16. Utilization-Based Schedulability Tests • Utilization: Fraction of time processor is busy • Easy for EDF: Schedulable if U < 100% • Harder for RMS/DMS • Schedulable if utilization U < Umax

  17. Our Contributions • Goal • Ensure that noisy SMPS will not switch while a noise-sensitive task is running • Make-and-Take Approach • Put the SMPS under control of the task scheduler • Enhance the real-time scheduling model math to include SMPS activity

  18. Task Scheduler Controls SMPS Get ready task Ti Stop SMPS, measure Vsupply Restart SMPS Is Vsupply > VThreshold,i? Yes No Yes Is task Tirivalrouswith SMPS? Wait until Vsupply> VThreshold,i No Stop SMPS Run task Ti

  19. Real-time Model Updated • Start with execution time Ti for each task i • Add in time if needed to run power supply to charge capacitor • For non-rivalrous tasks, Ti* = Ti • For rivalrous tasks, Ti* = Ti + TSMPS,i • Simple yet remarkably powerful

  20. Experimental Evaluation • Build a system and see … Does it work?

  21. Hardware • QSK62P MCU board • 16-bit, 24 MHz, 32K SRAM, 64K ROM • 3-5V operation • Boost converter • Dirt-Cheap Value-engineered • 450 kHz switching freq. • 3.7 V input (Lithium cell) • Spec: 3.8 V to 4.8 V Vsupply

  22. Application Software • Tasks t1-t3 sample analog values (pressure, temperature, audio) and are sensitive to SMPS noise • Add in corresponding SMPS active time requirement • Task t4 transmits data out UART, is not sensitive

  23. Schedulability Analysis • Use rate-monotonic priority ordering, preemptive fixed-priority scheduling • Utilization test • Initial task set: U = 0.050 • After adding SMPS: U* = 0.128 • Utilization bound for RMS = 0.766 • So system is schedulable and will never miss a deadline

  24. Mutual Exclusion Enforced • T1* ready to run after T3*, but Vsupplyis too low • So SMPS runs first, then T1 runs • Vsupplyis low, so scheduler turns it on and can also run T4

  25. Task Released While SMPS On • T2* ready to run, but SMPS is running • Scheduler measures Vsupply decides it is high enough to shut off SMPS and run T2* to completion

  26. SMPS Idle When Not Needed • Scheduler runs when task T3* is released • Determines Vsupply high enough to run T3* without SMPS

  27. Future Work • Tighten up utilization bound • Enable more overlap of SMPS operation with noise-insensitive tasks • Enhance scheduler • Tighten up schedulability model • Support buck conversion • Support multiple voltage domains

  28. Conclusions • Practical to use real-time scheduling to enable use of noisy power converters in noise-sensitive applications without adding hardware

  29. Thank you! • alex_dean@ncsu.edu • http://www.cesr.ncsu.edu/agdean

  30. Appendix

  31. 1 - Task Scheduler Controls SMPS

  32. Flowchart of task scheduler

  33. SMPS Allows Low-Voltage Operation • Different Minimum Voltages

  34. Supporting Preemptive vs. Non-preemptive

More Related