S/W Power Supply Control Loop, Fuzzy Logic and FIR filter Parts/Cost/Space reduction + Power/Efficiency increase PWM frequency = 250kHz with 8-bit DUTY_CYCLE.

Slides:



Advertisements
Similar presentations
Computer-System Structures Er.Harsimran Singh
Advertisements

MS DOS Device Drivers Sources of Information Device driver basics Structure and internal routines Sources of Information Device driver basics Structure.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
DSPs Vs General Purpose Microprocessors
Lecture 4 Introduction to Digital Signal Processors (DSPs) Dr. Konstantinos Tatas.
FIR Filter. C-Implementation (FIR filter) #include #include #include "coeff_ccs_16int.h" int in_buffer[300]; int out_buffer[300]; #define TRUE 1 /*Function.
1 ARM Movement Instructions u MOV Rd, ; updates N, Z, C Rd = u MVN Rd, ; Rd = 0xF..F EOR.
1 Homework Reading (linked from my web page) –S and S Extracts –National Semiconductor UART Data Sheet Machine Projects –mp2 due at start of class 12 Labs.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 5 Program Design and Analysis.
Computer Organization and Architecture
Computer Organization and Architecture
Software and Hardware Circular Buffer Operations First presented in ENCM There are 3 earlier lectures that are useful for midterm review. M. R.
Lecture 4 More Examples of Karnaugh Map. Logic Reduction Using Karnaugh Map Create an Equivalent Karnaugh Map Each circle must be around a power of two.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
File System Implementation
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
NACK Digital Equalizer Nguyen Craig Petersen Andrew Nguyen Kevin Wong Group 7 CPSC © 2000 Midterm Proposal.
Detailed look at the TigerSHARC pipeline Cycle counting for COMPUTE block versions of the DC_Removal algorithm.
Chapter 3.2 : Virtual Memory
Chapter 12 CPU Structure and Function. Example Register Organizations.
Non-blocking I/O int flags; int fd; /* file descripter */ void main() { fd = open(“myfile.txt”, R_ONLY); if ((flags = fcntl(fd, F_GETFL, 0)) < 0) /* first.
Robotics Research Laboratory Louisiana State University.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
5-Stage Pipelining Fetch Instruction (FI) Fetch Operand (FO) Decode Instruction (DI) Write Operand (WO) Execution Instruction (EI) S3S3 S4S4 S1S1 S2S2.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To be able to use the bitwise logical operators in programs ❏ To be able to use.
Lecture Set 9 MCS-51 Serial Port.
Team 6. Code Modules Codec Bluetooth Module Rotary Encoder Menu State Machine.
Joe Blubaugh Diana Mui David Sutherland Matthew Swallow.
1 Chapter 3.2 : Virtual Memory What is virtual memory? What is virtual memory? Virtual memory management schemes Virtual memory management schemes Paging.
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.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
1. Registers Used in Timer/Counter  TH0, TL0, TH1, TL1  TMOD (Timer mode register)  TCON (Timer control register) 2.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Memory: Relocation.
Robotics Research Laboratory Louisiana State University.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
Chapter 91 Logical Address in Paging  Page size always chosen as a power of 2.  Example: if 16 bit addresses are used and page size = 1K, we need 10.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 2: Computer-System Structures Computer System Architecture and Operation.
Industrial control system for a back-to-back multilevel NPC converter based on DSP and FPGA Marta Alonso, Francisco Huerta, Carlos Girón, Emilio Bueno,
SOFTWARE NARRATIVE PRESENTED BY: JUSTIN LINDLEY Team # 15: Acoustic Storm Interweaving the impressive visual power of electricity and the visceral emotion.
Structure and Role of a Processor
Microcontroller basics Embedded systems for mortals.
Transmitter Interrupts Review of Receiver Interrupts How to Handle Transmitter Interrupts? Critical Regions Text: Tanenbaum
How to check the ICREON working in Win ICREON.
Chip Config & Drivers – Required Drivers:
Study Report for Brushless DC (BLDC) Motors
Data Transfers, Addressing, and Arithmetic
Source: Serial Port Source:
Chip Configuration and Drivers – Status Report
doc.: IEEE <doc#>
SERIAL PORT PROGRAMMING
Lesson 1: Overview of Sequential Control and Data Acquisition
Introduction to Programming
Chapter 14 Bitwise Operators Objectives
Virtual Presence Vehicle Team 13
Advanced Computer Architecture
Transmitter Interrupts
how quickly work is done
Programmable Data Communication Blocks
AVR – ATmega103(ATMEL) Architecture & Summary
Robocon 2007 Electronics Quickstart!
how quickly work is done
Source: Serial Port Source:
Outline Device Management Device Manager Design Buffering
Serial Communication 19th Han Seung Uk.
Working with the Compute Block
EE 345S Real-Time Digital Signal Processing Lab Spring 2009
Presentation transcript:

S/W Power Supply Control Loop, Fuzzy Logic and FIR filter Parts/Cost/Space reduction + Power/Efficiency increase PWM frequency = 250kHz with 8-bit DUTY_CYCLE control ADC monitoring V_PWM is in FREE_RUN_MODE at 38.46kHz Allows 32X sampler for S/W 1200BAUD UART Rx and Tx drivers 1 conversion out of 256 is set aside for BIT Only 8-bits of 10-bit conversion result are used for computational SPEED Fuzzy Logic has 17 independent variables Displacement Break Point Velocity Break Point 15 = 3 X 5 Table Entries PWM(N) = SUM (Ak * PWM(N-k)) + Fuzzy(fV,fD) –Where: SUM… is FIR filter of previous PWM settings, Ak are coefficients Fuzzy(fV,fD) is 3X5 Matrix where fV and fD are “fuzzified” Velocity and Displacement –In order to compute FIR filter need: 16-bit MAC 16 byte circular buffer for PWM history and pointer

S/W Control Loop,…continued –In order to compute velocity with our 8-bit displacement we need: 4 byte circular buffer for displacement history and pointer V(T) = D(T) – D(T-4) ADC INTERRUPT ROUTINE EXECUTES (in order of precedence) –Low Level UART Tx and Rx drivers –BIT state machine –Velocity Displacement storage and pointer update Velocity calculation “Fuzzification” for matrix_row –Displacement “Fuzzification” for matrix_column –New PWM setting Use FIR filter result from previous INT and FUZZY_LUT entry Error checks PWM history and pointer update –PWM FIR recalculation –EXIT

.3Watt Startup at 12Volts,…mav8 filter

9Watt Startup from 12Volts,..mav8 filter

90Watt Startup from 12Volts,…mav8 filter

Mav16 filter,…PWM o/p dithering