0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Class-D.

Slides:



Advertisements
Similar presentations
Jordan Barry Victor Brzeski
Advertisements

Sensors Interfacing.
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Proximity Sensor Theremin Khoa Nguyen Walter Hudson Dennis Gilbert G. Hewage Thushara.
Abstract Conclusion PWM Modulating Signal Results Generation of DSP-based patterns to control three phase inverters substantially helped the development.
1 ADC – Analog to Digital Converter and PWM Waveform Generation with EZDSP2812 Professor: Chen, Pei-Chung 陳 沛 仲 Student: Thanh-Nhan Nguyen 阮 誠 仁 2008,
Analog System Lab Kit PRO MANUAL.
Introduction of Holtek HT-46 series MCU
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Audio.
By: Mark Bright and Mike Donaldson.  Project Goal  Applications of our system  System Block Diagram  Thermal Plant Overiew  Current Progress ◦ Engine.
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Infineon Technologies Corp. June 99 1 HOT167-1 Version 2.0 F PWMmax = x 50ns = 78 kHz Pulse Width Modulation Unit (PWM) (20 MHz)  4 independent.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Echo.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Amplitude.
POWER SUPPILES LECTURE 20.
Digital to Analog Converters
Wind Energy System By: Andy Brown, Basheer Qattum & Ali Gokal Advisors: Dr. Na & Dr. Huggins.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Group member: Zhaoxin Mamengduo Cfang Stanley The Implementation of Delta-Sigma Modulation in Digital-to-Analog Converter 1.
T IMERS - 2. O UTPUT U NIT Each capture/compare block contains an output unit. The output unit is used to generate output signals such as PWM signals.
D ESIGN AND I MPLEMENTATION OF THE D IGITAL C ONTROLLER FOR A F UEL C ELL DC-DC P OWER C ONVERTER SYSTEM O.A. A HMED, J.A.M. B LEIJS.
© The McGraw-Hill Companies, Inc McGraw-Hill 1 PRINCIPLES AND APPLICATIONS OF ELECTRICAL ENGINEERING THIRD EDITION G I O R G I O R I Z Z O N I 15.
DARPA Digital Audio Receiver, Processor and Amplifier Group Z James Cotton Bobak Nazer Ryan Verret.
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
Lecture 29: LM3S9B96 Microcontroller – Pulse Width Modulator (PWM)
ARM Timers.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 8.
AT91 Embedded Peripherals
Interrupt Controller for DSP-based Control of Multi-Rail DC-DC Converters with Non-Integer Switching Frequency Ratio James Mooney, Simon Effler, Mark Halton,
Power Management for Embedded Systems. Power requirement for Embedded Micro Systems Multiple supply voltages Small size in all components, L R C etc High.
Digital to Analogue Converter
Zetex Switching Audio Amplifiers
Technical Training. 1 Configuration: 2558 Analog Input Module 1. Select voltage or current input mode for each channel 3. Select digital filtering, offset.
Alex Apel Stephen Rashid Justin Robinson. Overview System Architecture PC Software Design Block Diagram GUI Design Digital Hardware Design Description.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Timers.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
CCP MODULES  The CCP module (Capture/Compare/PWM) is a peripheral which allows the user to time and control different events.  Capture Mode provides.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
Lecture 16: Digital to Analog Converter - PWM Implementation
The Cortex-M3 Embedded Systems: LM3S9B96 Microcontroller – Pulse Width Modulator (PWM) Refer to Chapter 21 in the reference book “Stellaris® LM3S9B96 Microcontroller.
Making the most of the Value Line MSP430 with the LaunchPad Explorer
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the Digital-to-Analog.
The pin of ADC  12-bit ADC core with built-in dual sample- and-hold  Simultaneous sampling or sequential sampling modes  Analog input: 0 V to 3 V.
By James Cockrell and Justin Loveless
Control Why do we need system control? 1. Produce PWM
Lab 3: ADC.
Timer 1 and 2 operation, PWM Principles. Timer 1 Operation.
2/June/2009LHCb Upgrade1 Single ended ADC Differential ADC –Convert single ended signal to differential (use AD8138 amp) –ASIC differential output ADC.
[Lab10] Output PWM  Output PWM Signal  Example  Exercise(Optional)
Seth Schwiethale James Crosetto James Ellison.  square pulse of ms, repeats every 20 ms  It is the same for both steering and acceleration 
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
Guide Presented by Mr.M Cheenya V.Abhinav Kumar 11E31A0422 Asst.Professor K.Shiva Kumar 11E31A0423 K.Rajashekhar 11E31A0424 K.Chaithanya Sree 11E31A0428.
By: Devon Schmidt & Kyle Da Rif Instructor: Stanislaw Legowski Senior Design 2012/2013.
A DSP based on on-line UPS R.Padamaja G.Mamatha Reddy EEE EEE S.V.C.E S.V.C.E BY.
Copyright 2011 controltrix corpwww. controltrix.com Digitally controlled power supply Perspective on Slope Compensation
Team 7 Chaofan Chen Dhruvmin Gandhi Larry Gerhardt Pulse-width Modulation with the TIVA C.
THE MOST SUCCESSFUL C2000 MCU
Application Case Study Christmas Lights Controller
Why are Timer Functions Important?
Switched-mode power supply charger
Timers and Event Counters
ECET 340 Competitive Success/snaptutorial.com
ECET 340 Education for Service-- snaptutorial.com.
Digital Acquisition of Analog Signals – A Practical Guide
Presentation transcript:

0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Class-D Audio Amplifier

Slide 2 © 2007 Texas Instruments Inc, System Description Input Stage Protection Circuit Buffer DC shift TMS 320F2808 Analog to PCM Conversion PCM to PWM Conversion Output Stage (Amplifier) Switching Amplifier H-Bridge LPF Audio Source

Slide 3 © 2007 Texas Instruments Inc, Audio Source The System 5V Power Supply 12V Power Supply

Slide 4 © 2007 Texas Instruments Inc, Analog to Digital (PCM) Conversion

Slide 5 © 2007 Texas Instruments Inc, PCM to Duty Cycle Conversion PCM Value Duty Cycle Shift Right 2 bits

Slide 6 © 2007 Texas Instruments Inc, PCM  PWM

Slide 7 © 2007 Texas Instruments Inc, PWM  Analog

Slide 8 © 2007 Texas Instruments Inc, H-Bridge Power Topology

Slide 9 © 2007 Texas Instruments Inc, TMS 320F2808 Input Circuit Functionality Input Stage Audio Source Analog Signal Amplitude Scaling DC removal Limits DSP Input Voltage 0 – 3.3 V Protection Circuit Buffer DC shift VRef for ADC ADC Analog to Digital (PCM) Conversion: V  0-0xFFF

Slide 10 © 2007 Texas Instruments Inc, Input Circuit ReferenceVoltage 1.5 V Protection Circuit DC/DC Converter DC Removal +Volume Buffer+HPF To eZDSP-F2808 P8-1 GND

Slide 11 © 2007 Texas Instruments Inc, TMS 320F2808 Output Circuit Functionality Output Stage (Amplifier) Switching Amplifier H-Bridge LPF CPU EPWM PCM to PWM Conversion PWM Control

Slide 12 © 2007 Texas Instruments Inc, Output Circuit DriversProtection Full Bridge LPF EPWM1 - P8/9 EPWM2 - P8/11 PWM Inversion

Slide 13 © 2007 Texas Instruments Inc, Voltage Supply Input Stage eZDSP-F2808 Output Stage (Amplifier) 5 V 12 V DC/DC 3.3 V

Slide 14 © 2007 Texas Instruments Inc, Software Requirements TMS 320F2808 The input Signal in range 0~3V The Conversion Sequence starts on SOC signal Conversion Sequence capture 8 times the same channel with configuration: ADC Clock = 12.5 MHz S/H width = 320ns Generates Interrupt at the end of each Conversion Sequence At the Start: Initialize: CPU clock to 100MHz GPIO for PWM output Interrupt Vector (PIE) Set up ADC, PWM Enable HRPWM calibration Select Interrupt on ADC EOS Perform Endless Loop of HRPWM calibration PWM width is 1000 CPU clocks = 10us = 100KHz Timer in Up-count mode Values loaded at the end of PWM duty cycle When Timer is zero PWM is inactive When Timer = Value PWM is active Generate SOC signal at the start of each PWM duty cycle (Timer is zero) ADCCPUEPWM

Slide 15 © 2007 Texas Instruments Inc, Timer=CMP A Timer=zero CMPA Updated Timer=zero SOC is generated PWM Timer PWM1A Out SOC Impulse Interrupt Exit Interrupt Timing Diagram PWM2A Out PWM1A=Set PWM2A=Clea r ISR exit CMPA updated Analog to PCM Conversion ADC generates Interrupt End-of- Sequence PCM tp PWM Conversion CMPA Calculation PWM1A=Clea r PWM2A=Set

Slide 16 © 2007 Texas Instruments Inc, Simulink Model

Slide 17 © 2007 Texas Instruments Inc, Hardware Interrupt Module

Slide 18 © 2007 Texas Instruments Inc, ADC Configuration

Slide 19 © 2007 Texas Instruments Inc, ePWM1 Settings (1) Time-Base Settings: PWM Frequency 97.6 KHz (100 MHz/1024) with up-count mode timer

Slide 20 © 2007 Texas Instruments Inc, ePWM1 Settings (2) Counter-Compare: Load new Value at the start of PWM duty cycle Action-Qualifier: PWM= ‘1’ for TBCTR=0 PWM =‘0’ for TBCTR=CMPA

Slide 21 © 2007 Texas Instruments Inc, ePWM1 Settings (3) Event-Trigger: Generate SOC to module A at the start of PWM duty cycle

Slide 22 © 2007 Texas Instruments Inc, ePWM2 Settings (1) Time-Base Settings: PWM Frequency 97.6 KHz (100 MHz/1024) with up-count mode timer

Slide 23 © 2007 Texas Instruments Inc, ePWM2 Settings (2) Counter-Compare: Load new Value at the start of PWM duty cycle Action-Qualifier: PWM= ‘0’ for TBCTR=0 PWM =‘1’ for TBCTR=CMPA

Slide 24 © 2007 Texas Instruments Inc, ePWM2 Settings (3) Event-Trigger not activated