Software Three Main Functions Records/Monitors Zero Detection Points Gives our PWM a starting point Data used to dynamically adjust carrier frequency Detects.

Slides:



Advertisements
Similar presentations
Switch code for Lab 4.2 switch (input) { /* input is a variable that we will test. */ case 'M': printf("The prefix is equal to 1E6.\n"); break; case 'k':
Advertisements

INVERTERS (DC-AC Converters).
More fun with Timer/Counters
Abstract Conclusion PWM Modulating Signal Results Generation of DSP-based patterns to control three phase inverters substantially helped the development.
3 Phase Wave Generation 3 Phase waveform generation using Timer/Counter1 and 3 on atmega128.
ECE Electric Drives Topic 7: Pulse Width Modulation
Lecture 9: D/A and A/D Converters
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
Analogue to Digital Conversion
Introduction of Holtek HT-46 series MCU
Tabor Electronics Ltd. Hands-on Training - ArbConnection By Moti Glazer.
Electrical and Computer Engineering iLights Nick Wittemen, EE Chris Merola, EE José Figueroa, EE Matt Ryder, EE Final Project Review.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Laser Tracking System (LTS) Son Nguyen Jassim Alshamali Aja ArmstrongMatt Aamold.
Single Phase Induction Motor Adjustable Speed Control Using DSP and Micro-Controller Jianming Yao ECE734 Project Fall 2000.
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
16-Bit Timer/Counter 1 and 3 Counter/Timer 1,3 (TCNT1, TCNT3) are identical in function. Three separate comparison registers exist. Thus, three separate.
Group Members: -Adam Lint -Chris Cockrell -Dan Hubbard Sponsors: -Dr. Herb Hess -Dr. Brian Johnson HydroFly: Fuel Cell Project.
1 Timing System Timing System Applications. 2 Timing System components Counting mechanisms Input capture mechanisms Output capture mechanisms.
Software Three Main Functions Records/Monitors Zero Detection Points Gives our PWM a starting point Data used to dynamically adjust carrier frequency Detects.
Waveform 2.1 Basic Digital Waveforms 2 Measurement Paul Godin Updated October 2009.
Control Building Fiber Preliminary Design Review December 5, 2001.
A.G.I.L.E Autonomously Guided Intelligent Lawn Equipment Team Members: Brad Ramsey Derek Rodriguez Dane Wielgopolan Project Advisors: Dr. Joel Schipper.
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
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)
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
ARM Timers.
Timers ELEC 330 Digital Systems Engineering Dr. Ron Hayne
Chapter 4 TIMER OPERATION
AT91 Embedded Peripherals
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
High-Frequency Link Inverter Based on Multiple-Carrier PWM Philip T. Krein, Xin Geng, Robert Balog University of Illinois March 2002.
PLC Counters. Introduction We use timers to measure the elapsed time between two events. With retentive timers the “run” signal can be turned on and off.
1 Lab 5: Controls and feedback. 2 Lab 5: Control and Feedback This embedded system uses the Photo sensor to detect the light intensity of the environment.
Lecture 11: TI MSP430 Timers Compare Modes
Chapter 7 LOOPING OPERATIONS: ITERATION. Chapter 7 The Flow of the while Loop.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Lecture 12 Multi-Function Timer Pulse Unit 2 (MTU2a)
The Cortex-M3 Embedded Systems: LM3S9B96 Microcontroller – Pulse Width Modulator (PWM) Refer to Chapter 21 in the reference book “Stellaris® LM3S9B96 Microcontroller.
June 9, s Massachusetts Institute of Technology 6.11s: Design of Motors, Generators and Drive Systems Switching Patterns and Simple Implementation.
Control Why do we need system control? 1. Produce PWM
PWM TECHNIQUES The output voltage of the inverter needs to be varied as per load requirement. Whenever the input DC varied, the output voltage can change.
Digital Oscillators. Everything is a Table A table is an indexed list of elements (or values) A digital oscillator or soundfile is no different.
#1 of 10 Tutorial Introduction PURPOSE -To explain how to configure and use the Timer Interface Module in common applications OBJECTIVES: -Identify the.
Digital Oscillators. Everything is a Table A table is an indexed list of elements (or values) A digital oscillator or soundfile is no different.
Timer 1 and 2 operation, PWM Principles. Timer 1 Operation.
C Examples 6. Download Links MPLAB IDE dsPIC30F4011/4012 Data Sheet dsPIC30F Family Reference Manual MikroC MikroC Manual MikroC Quick Reference.
TIMERS Used to carry out tasks which involve time delay and time counting. A timer circuit is specified by stating the interval to be timed and the conditions.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
A DSP Based On-line UPS. Role of UPS in daily life: As an auxiliary power source in case of line outage, particularly useful to sensitive loads. Maintains.
A DSP based on on-line UPS R.Padamaja G.Mamatha Reddy EEE EEE S.V.C.E S.V.C.E BY.
Why are Timer Functions Important?
AC Inlet & AC Input Filter
AVR Addressing Modes Subject: Microcontoller & Interfacing
Inverters Dr John Fletcher.
ITM 352 Flow-Control: Loops
8-bit Timer/Counter0 with PWM
Inverters Dr John Fletcher.
UNIT-8 INVERTERS 11/27/2018.
Interfacing Data Converters with FPGAs
UNIT 19 PWM 로봇 SW 교육원 조용수.
Input-Output-Process Demo
Lecture 12 Multi-Function Timer Pulse Unit 2 (MTU2a)
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Timer/Counter Timer/Counter 0 Timer/Counter 1 Timer/Counter 2 8 bit
Carrier Phase Tracking, Timing Synchronization, Equalization
Presentation transcript:

Software Three Main Functions Records/Monitors Zero Detection Points Gives our PWM a starting point Data used to dynamically adjust carrier frequency Detects possible faults situations and shuts off PWM accordingly Creates Sine-Triangle PWM Triangle wave carrier frequency (~ 6 kHz) Sine wave generated from sine lookup table Values passed into Compare Registers which control PWM outputs with specified dead-band time (4 us) Controls Power Flow Delta incrementally added over 100 cycles to generate Power Flow

Start System Initialization While (1) Switch State Case 1 Case 2 Case 3 Case 4 Case 5 Default Waiting for Pulse Waiting for Falling Edge Calculations Zero Crossing Analysis PWM State Yes No

Waiting for Pulse Waiting for Falling Edge Calculations Zero Crossing Analysis PWM State Start Phase 1 Falling? Pulse Detected and System Synced? System Synced Record Times/Reset Counters Yes No Set Next State PWM Calculations/ PWM Sync Check Break

Waiting for Pulse Waiting for Falling Edge Calculations Zero Crossing Analysis PWM State Start Pulse Ended? Increment Position/ Decrement Counter Record Times Yes No Set Next State PWM Calculations/ PWM Sync Check Break

Waiting for Pulse Waiting for Falling Edge Calculations Zero Crossing Analysis PWM State Start Half Period? Calculate Time Between Pulses Calculate Pulse Width Yes No Calculate Half Period PWM Calculations/ PWM Sync Check Break Set Next State

Waiting for Pulse Waiting for Falling Edge Calculations Zero Crossing Analysis PWM State Start Decrement Iteration Counter Calculate Actual Zero Crossing with Error Adjust PWM Calculations/ PWM Sync Check Break Set Next State Detect Fault? Yes No System Shutdown

Waiting for Pulse Waiting for Falling Edge Calculations Zero Crossing Analysis PWM State Start Triangle Wave Rising Edge? Convert to Q15 Format Calculate Phase Counts YesNo PWM Calculations/ PWM Sync Check Break Calculate Timings/Update Carrier Frequency Turn on PWM Output Calculate/Load Sin Positions in CMPR Registers Increment Counters