Microprocessor based Design for Biomedical Applications MBE 3 – MDBA I : Introduction.

Slides:



Advertisements
Similar presentations
Developing an AVR Microcontroller System
Advertisements

MC68HC11 System Overview. System block diagram (A8 version)
7/23 CSE 325 Embedded Microprocessor System Design Fall 2010 Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
Microcontrollers Lecture L12.2 Section Microcontrollers Microcontrollers vs. Microprocessors Two standard architectures PIC microcontroller 68HC12.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Aztec PC Oscilloscope Michael Mason Jed Brown Josh Price Andrew Youngs.
AVR 8-bit RISC micro controllers by Atmel Seamk / ICT / Seppo Stenberg General features of AVR family Development tools - board, compiler, simulator etc.
ASPPRATECH.
GUJARAT TECHNOLOGICAL UNIVERSITY COURSEWARE FOR EVEN TERM SEMESTER POWER ELECTRONICS DEPARTMENT(024) L.E.COLLEGE, MORBI (031) 1.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
CALLISTO Double - Heterodyne - Frequency Agile - Radio - Spectrometer ERAC Symposium Heppenheim Sep 5/6/7th 2003 Meyer Hansueli ETH Zürich.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets.
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Training program: Mechanic - electrotechnician Program name: Digital processing - microprocessors III. class Microcontrollers Elaborated by: Vlastimil.
Oppenheimer Technologies Rick King Jonathan Creekmore.
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
Objectives How Microcontroller works
Embedded Bluetooth Stack Dean Camera Project Supervisor: John Devlin.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
Microprocssor Based Design for Biomedical Applications for BME (Fourth Year) Assistant Prof \ Fadhl M. Alakwaa.
Typical Microcontroller Purposes
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
Embedded System for Biomedical Applications for BME (Fourth Year) Term II Assistant Prof \ Fadhl M. Alakwaa.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Unconventional User Interface // // Mood Based Navigation Sheo // 1Haring, Naderer, Zachhuber Arduino  Open Source Project (HW u. SW)  Analog.
EA PROJETO EM ELETRÔNICA APLICADA Bruno Mourão Siqueira.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA XI : Project Outlooks.
Embedded System. What is an Embedded System? Computing systems embedded within electronic devices Hard to define – Nearly any computing system other than.
IT-AMS Applied Microcontroller Systems (5 ECTS , Q3, E/IKT/EP)
智慧電子應用設計導論(1/3) Arduino MEGA 2560
Lecture 7: Overview Microprocessors / microcontrollers.
ChibiOS/RT Demo A free embedded RTOS
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Components of a typical full-featured microcontroller.
Embedded Systems Overview Prepared by Nisha Sinsinbar Subject: Microcontoller & Interfacing Sub code: EC Department.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
By.  The main aim of this project is to get information about the condition of the baby, which is in ICU through blue tooth medium.  In earlier days,
TRANSMISSION LINE MULTIPLE FAULT DETECTION AND INDICATION TO EB
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Arduino.
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Getting Started with ATMEL Studio 6
Atmega32 Architectural Overview
SCADA for Remote Industrial Plant
The Arduino Microcontroller: Atmel AVR Atmega 328
Future Designs, Inc. Your Development Partner
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Journey: Introduction to Embedded Systems

Introduction to Arduino
Presentation transcript:

Microprocessor based Design for Biomedical Applications MBE 3 – MDBA I : Introduction

Today: ● Course Introduction and Administrative Information ● Survey of Student Skills ● Microcontrollers in Biomed Applications – Overview ● AVR Family Overview ● Outlook : The OpenEEG Project ● Start to assemble the Eval Boards ?

Semester Schedule: In September, we will meet ● on Mondays ( 16:10 – 18:35 ) Monday, Sept. 24th we will start later, at 16:55 ! ● on Thursdays ( 16:10 – 19:20 ) From October on, we will meet ● on Thursdays ( 16:10 – 19:20 ) Thursday, Nov. 1st there will be no lecture ! Room EDA B3.12 !! Check for updates of the Semesterplan on the CIS !!

Modes of evaluation: ● 40 % Project participation, Project reviews, solved programming tasks ● 30 % Review of a scientific paper Paper selection, workout and presentation Presentations will be on Nov. 22th and Nov. 29th ● 30 % Examination at the end of the term Theoretical Questions about the course topics ( without PC‘s or other material ) Programming task on paper, PC‘s allowed Exam will be on Dec., 12 th

Our goals for this term: ● Practical usage of Microcontrollers in the Biomedical Context ● Understanding, usage and modification of a biosignal (EEG-) acquisition system ● See examples of ongoing research in BME ● Implementation of project ideas

Course Topics ● Features of our hardware platform ● Firmware programming, solving programming tasks ● Data transfer and transmission Protocols ● Measurement of bioelectric signals and events ● Signal processing software and methods ● Biofeedback, Brain Computer Interfaces ● Standards for design and certification ● Design examples

heavens sake!... our EEG will have just 2 Channels …

Course Material HARDWARE : ● Atmel AVR microcontrollers ● Evaluation Boards with ATmega8 microcontroller ● OpenEEG hardware (MonolithEEG) ● Electrodes and Sensors ● Hardware extensions for projects

Course Material SOFTWARE : ● WinAVR Toolchain, AVR Studio DIE ● Programming tools, Bootloader ● PCB – Editor and Circuit Simulator ● Signal processing tools and Biosignal Software

The main hardware and software for our course are GPL‘d: ● GNU – The free software foundation ● GPL – GNU General Public License ● free sources, mention the authors ! Richard Stallman

Draft of a timeline First weeks: ● Prepare the Evaluation Boards and cabling ● Getting started with the IDE ● Gain some knowledge about AVR features and firmware programming until October: ● Solve programming tasks ● Data Transmission, A/D conversion, ● Interrupt handling

Draft of a timeline October - November: ● Understand the openEEG hardware ● Switch to the Monolith-EEG amplifier ● work with and modify the system firmware from Novemeber : ● use our knowledge in a practical project ● review research papers, prepare a presentation ● project reviews, debugging, final examination

Survey of your skills

Query the given skills.. to find out synergies and to adapt our timeline ( 0) Finished Bachelor for Biomedical Engineering ? (1) Concepts and usage of microcontrollers ? (2) AVR microcontrollers + Tools ? (3) Breadboard – circuits, Soldering, SMD ? (4) Analog electronics ( OpAmps, Filtering ) ? (5) Sampling and A/D Conversion ?

Query the given skills (6) C-Programming, GCC-Toolchain ? (7) Event-based firmware programming, interrupts ? (8) Data Transmission using UART/RS232 ? (9) Interfacing uC-firmware and PC (host-) software ? (10) Design of PCBs using a CAD-Tool ? (11) Usage of the Eagle-CAD Layout Editor ?

Query the given skills (12) Soldering and building up electronic circuits (13) Reading datasheets, studying new parts (14) Physiological basics of bioelectricity (15) Measurement of bioelectric events (16) Signal processing with Matlab / Filters What are your ideas / expectations for this course ?

Microcontrollers in embedded biomedical Applications

Microcontrollers in embedded biomedical Applications: We want to have systems that : ● are reliable ● are small and lightweight ● have a low power consumption These issues are critical when we deal with body implants

I: Introduction – Microcontrollers Some features / advantages of microcontrollers: ● they are small and flexible ● easy to use ( most of the time.. ) ● few external components and wires needed ● low and ultra low power designs possible (-> PSoC, ASIC ) ● wide range of different uCs available (memory, I/O, speed, busses, A/Ds ) ● data interchange using standard bus systems; -> various peripheral hardware accessible ● IDEs and toolchains for firmware programming / ● Simulation and high level languages -> 90% of the manufactured CPUs are not found in desktop PCs but in embedded systems, with growing areas of application: RFID, hidden "ubiquitous" computing, wearables, "smart environments", MEMS (micro electro-mechanical systems)

I: Introduction – Microcontrollers Some examples for uC-based biomed devices / applications: ● various sensors or meters: Body temperature, Blood Pressure, Blood Sugar Level, … ● Implants and prostetics ● Pacer makers (for heart, breathing,...) ● functional Electrostimulation ● Orthesis and artificial limbs ● Biosignal acquisition equipment Adam blood glucose meter

I: Introduction – Microcontrollers Some examples for uC-based biomed devices / applications: ● portable emergency equipment (defibrillator,..) ● Sports medicine ● Patient monitoring ● “Smart Homes", service robotics ● support of Communication for disabled persons ● wireless sensor networks / Body Area Network (BAN) ● Sensors and Actuators for stationary medical equipment Life-point defibrillator Spo2 Module

In a medical Context: Dependability and Fault Tolerance are major issues. ● Failsafe: safe state after failure ● Fault recovery: normal operation can be restored ● Gracefully Degradation: system continues (restricted) work MTBF Mean Time Between Failure Environment conditions / Materials Redundant Hardware / Software makes sense here !

System Design and Integration: ● Hardware Selection for Development / Production ● Hardware and Software Co - Development ● System Modelling and Simulation, UML The earlier a design bug is found, the better !

I: Introduction – The Atmel AVR family of microcontrollers AVR microcontrollers

I: Introduction – The Atmel AVR family of microcontrollers Why will we use an 8-bit AVR microcontroller in our course ? ● sufficient for many biomedical applications ● AVR Mega 8 features built-in A/D converters ● Fast and cheap ( < 3 € per unit ) ● needs less power than more sophisticated uCs ● good support on the development side: AVR-GCC (WinAVR Toolchain), AVR Studio ● widely used in OpenSource projects, huge knowledge base and reference designs ● OpenEEG project is based on AVRs

I: Introduction – The Atmel AVR family of microcontrollers Members of the AVR family, different packages: 90s, Mega- and Tiny variants

I: Introduction – The Atmel AVR family of microcontrollers AVR Product Families ● tinyAVR General purpose Microcontroller with up to 4K Bytes Flash program memory 128 Bytes SRAM and EEPROM. ● megaAVR Self programming memory enables remote reprogramming without additional circuitry. Up to 256K Bytes Flash, 4K Bytes EEPROM and SRAM. ● LCD AVR Integrated LCD driver, contrast control. power consumption at 32 kHz < 20 μA. ● CAN AVR Integrated CAN Controller

I: Introduction – The Atmel AVR family of microcontrollers AVR general features: ● RISC: most instructions need a single clock cycle ● Special Function Registers to access the built in peripherals ● Low power and sleep modes ● In-system- programmable Flash memory MegaAVR features: ● Self programming options ● Operating voltages from 1.8-volt to 5.5-volt ● 10-bit A/D converter with channel multiplexer ● USART, SPI and TWI (I2C) – Interfaces ● JTAG in >16KB megaAVRs

I: Introduction – The Atmel AVR family of microcontrollers Programming the AVR

I: Introduction – The Atmel AVR family of microcontrollers Programming the AVR 1.) Write source code in assembler or higher language Text editor, IDE 2.) Compile, Link (and locate) executable file WinAVR GCC, Make, IDE 3.) Use hardware link and programmer software to download firmware image to uC

I: Introduction – The Atmel AVR family of microcontrollers AVR programming options: Atmel AVR Quick Reference Guide Firmware security: locking via fuse-bits

I: Introduction – The Atmel AVR family of microcontrollers ISP: In system programming ● native Serial Peripheral Interface (SPI) 10-pin Kanda Dongle 6-pin Atmel (STK200) connector

I: Introduction – The Atmel AVR family of microcontrollers The AVR Studio IDE: Atmel AVR Quick Reference Guide

I: Introduction – The Atmel AVR family of microcontrollers AVR STK500 Evaluation Board Firmware download via RS232, using the STK500v2 protocol. The STK500 hardware platform transforms the RS232 commands to SPI commands Supported by all AVRs On-Board Leds, Keys, Cables

I: Introduction – The Atmel AVR family of microcontrollers AVR ISP : In-System Programmer The ISP- Programmer: An Adapter between PC / RS232 and the on-chip SPI programming interface

I: Introduction – The Atmel AVR family of microcontrollers AVR ISP mkII : In-System Programmer, USB-Version The ISP mkII - Programmer: An Adapter between PC / USB and the on-chip SPI programming interface

I: Introduction – The Atmel AVR family of microcontrollers Lots of ISP Clones: cheap remakes of the AVR ISP

I: Introduction – The Atmel AVR family of microcontrollers AVR Dragon Board Atmel's new low-cost generic programmer + debugger JTAG, DebugWire, ISP, USB. 53x105mm, price less than $100

I: Introduction – The Atmel AVR family of microcontrollers JTAG ICE / JTAG ICE mkII: Atmel AVR Quick Reference Guide

I: Introduction – The Atmel AVR family of microcontrollers ICE50 Emulator: Atmel AVR Quick Reference Guide

I: Introduction – The Atmel AVR family of microcontrollers AVR Application Notes regarding programming: AVR910AVR910 (PDF) "Low-cost" In-system programming (AVRISP) AVR911AVR911 (PDF) Open source serial programmer (AVROSP) AVR109AVR109 (PDF) Self-Programming with a Bootloader

I: Introduction – The Atmel AVR family of microcontrollers The most simple and cheap solution for AVR firmware programming: Parallel Port Cable + ISP Sofware

I: Introduction – The Atmel AVR family of microcontrollers Our Evaluation platform - the Pollin EvalBoard2 : Features: ISP / JTAG connectors, RS232 level converter, 2 Leds, 3 Buttons, buzzer, 40Pin extension header. Price: €

I: Introduction – The Atmel AVR family of microcontrollers EvalBoard2 top view: Sockets for Attiny2313/21/15, Atmega8/16/32/8535

I: Introduction – The Atmel AVR family of microcontrollers EvalBoard2 jumper settings

I: Introduction – Outlook: The OpenEEG Project Outlook: the OpenEEG project ● Online since 1999 ● Project aims: development of a lost cost, high quality EEG amplifier development of Open Source firmware / PC-software sharing of knowledge the area of EEG / biosignal - instrumentation and application ● Major Hardware Designs : ModularEEG (6 Chn, non-SMD, Kit) MonolithEEG (2 Chn, SMD, USB) SoundcardEEG (FM/AM - Modulation

I: Introduction – Outlook: The OpenEEG Project Outlook: the OpenEEG project ● Available Software: different firmware implementations PC host software in JAVA, C++ Client/Server architecture for biosignal sharing Software for filter design and application Experimental BCI-software ● Hardware overview ModularEEG: AVR-Atmega8 Microcontroller Resolution: 10bit / 0.5 uV Samplingrate: 1kHz up to 6 Channels DRL (driven right leg) – circuit CMRR < -94dB ModularEEG, digital + analog boards. Author: Jörg Hansmann,

I: Introduction – Outlook: The OpenEEG Project Outlook: Monolith EEG ● Small and leightweight SMD ● USB-powered ● one double-sided board with extension plug MonolithEEG amplifier. Author: Reiner Münch,

I: Introduction – Outlook: The OpenEEG Project Outlook: BrainBay ● Windows software for Biosignal Processing and Biofeedback ● Real time graphical configuration of designs using Input-, Processing- and Output-Elements BrainBay OpenSource software. Author: Chris Veigl,

I: Introduction – Outlook: The OpenEEG Project Preparation of Cables Eval Boards and Extension Boards

I: Introduction – Hardware Preparation

MonolithEEG Extension Board 16 Pin Monolith Extension Header 16 Signals1:1 wired to a prototyping connector; Signals GND, MISO, MOSI, /RESET, SCK additionally routed to the 10 Pin AVR- ISP Connector for firmware programming 4 Buttons with pulldown resistors (->GND) 8 Leds + Led-Driver IC Led Anodes connected to Outputs (B0-B7) of 74HC245 – BusDriver-IC (Dir=VCC, /OE=GND) Led-Cathodes connected to Resistor Net (Resistor Net GND = Pin 1)