Skip to main content

Embedded System Design Lab

a
Course
Postgraduate
Semester
Sem. I
Subject Code
AVC851

Syllabus

Introduction to C: 'Hello World!' program, Fizz-buzz program, and Fizz-Buzz-Zazz program.

Micro controllers and DSP: Getting started with Code composer studio/ PSoC Creator: Architecture and review of Digital Signal Controllers/ microcontroller (PSoC), Architecture of PSoC-5 LP, PSoC Creator edit and debug modes, blinking of an LED with one second ON, half second OFF

Programing requirements for time critical control applications: Enabling of Hardware triggered interrupts, triggering Hardware interrupts with Timers and PWM, Program structure for time critical events, use of putty (Serial interface through USB) to turn on and off an LED, Modulation of LED brightness using PWM.

Fixed point operations: DAC initialization and updates, fixed point arithmetic basics and development of Macros for (a) addition 4.12 + 4.12, (b) multiplication 4.12 and 4.12 numbers, (c) number format casting - 4.12 to 8.24 and vice versa, integrators, signal generation of square wave with variable duty and frequency (fixed amplitude) upto 50 kHz, signal generator functions (sine, square, saw tooth, triangle generation with variable magnitude and variable frequency upto 500 Hz) frequency input to be given through UART interface.

Data Acquisition: ADC initialization, signal acquisition and setup, sensing signals using onboard ADC of PSoC5 - issues with sampling time and input frequency, find max, min, average, RMS of the input signal.

Filter implementation: Nth order IIR filter implementation, time constant relationship with sampling times, Nth order FIR filter implementation, memory requirements for filters, Sampling and quantization errors, outputs for different input signals.

Controllers (simulated plant): Implementation of a P controller, implementation of an I controller, implementation of a PI controller, implementation of a 2 DOF controller.

Controllers (physical plant): The plant is RC filter (physical) with a varying load resistance. RC filter is fed with PWM module. Implementation of a P controller, implementation of an I controller, implementation of a PI controller, implementation of a 2 DOF controller.

FPGAs: Hardware description language (HDL - VHDL), Program architecture (Functional and behavioral models), Simple combinational blocks and look-up tables, multiplexer, demultiplexer implementation, introduction to design of sequential logic circuits.

Course projects (Any one in groups of 2 or 3):

1. Auto volume leveler with microcontroller and audio source
2. A PWM module implemented with FPGA (Xilinx Spartan-3 series)
3. Electronic speed controller for BLDC - 1 axis reaction wheel system - control of orientation
4. Magnetic levitation with hardware building (2 students)

Text Books

Same as Reference

References

1. Power Electronics: Essentials and Applications by L.Umanand, Wiley international.

2. Application notes for C2000 processors by Texas Instruments.

3. Application noted for Programmable Systems on Chip (PSoC) by Infineon.

Course Outcomes (COs):
CO1: Understanding the architectures of microcontrollers and DSP controllers

CO2: Programming hardware interrupts and generating various signals

CO3: Designing filters and controllers

CO4: Understanding HDL and designing logic circuits