Project design tutorial (I)

Similar documents
Programming 8-bit PIC Microcontrollers in С

PREFACE. Changes to the SOPC Edition

Typical applications where a CPLD may be the best design approach:

DIGITAL DESIGN TECHNOLOGY & TECHNIQUES

VHDL. Chapter 1 Introduction to VHDL. Course Objectives Affected. Outline

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Digital Electronics 27. Digital System Design using PLDs

Graduate Institute of Electronics Engineering, NTU Advanced VLSI SOPC design flow

Evolution of CAD Tools & Verilog HDL Definition

EMBEDDED SOPC DESIGN WITH NIOS II PROCESSOR AND VHDL EXAMPLES

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

Trends in Prototyping Systems. ni logic Pvt. Ltd., Pune, India

The University of Reduced Instruction Set Computer (MARC)

Control System Implementation

FPGA for Dummies. Introduc)on to Programmable Logic

Hardware Resources in Digital Systems Teaching

The PICAXE VSM Tutorial is split into a number of chapters. Each chapter can be downloaded free of charge from the website.

Group 10 Programmable Sensor Output Simulator Progress Report #2

Electronic Control systems are also: Members of the Mechatronic Systems. Control System Implementation. Printed Circuit Boards (PCBs) - #1

Chapter 1 Overview of Digital Systems Design

Unit 2. Computer Control. PIC stands for PROGRAMMABLE INTERFACE CONTROLLER. A PIC chip takes in input signals and then controls output transducers

Digital Systems Design. System on a Programmable Chip

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Chapter 5: ASICs Vs. PLDs

LED Matrix Scrolling using ATmega32 microcontroller

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

Computer Hardware Requirements for Real-Time Applications

ELCT 501: Digital System Design

NIOS CPU Based Embedded Computer System on Programmable Chip

EE324: Microcontrollers and Interfacing. Office Hours: Mon, Wed, to 11.30am. Microcontrollers and Interfacing

Chapter 13 Programmable Logic Device Architectures

ASSOCIATED ELECTRONICS RESEARCH FOUNDATION C-53 PHASE-II, NOIDA

AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB

Building A Custom System-On-A-Chip

FPGA Interfacing of HD44780 Based LCD Using Delayed Finite State Machine (FSM)

Lecture (05) Boolean Algebra and Logic Gates

High Speed SPI Slave Implementation in FPGA using Verilog HDL

Microprocessor Systems

Introduction to Embedded Systems

Design Methodologies. Full-Custom Design

FPGA for Complex System Implementation. National Chiao Tung University Chun-Jen Tsai 04/14/2011

DESIGN OF STANDARD AND CUSTOM PERIPHERAL USING NIOS II PROCESSOR

PICado Alpha Development Board V1.0

FPGA for Software Engineers

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

TUTORIAL: Adding non-traditional properties for embedded systems design Indira Jayaram, 2011

Pic24f Family Reference Manual Section 14. Timers

Claus Kuhnel BASCOM. Programming of Microcontrollers with Ease. An Introduction by Program Examples

Parag Choudhary Engineering Architect

ECE 353 Lab 4. MIDI Receiver in Verilog. Professor Daniel Holcomb UMass Amherst Fall 2016

MAXIM INTEGRATED PRODUCTS

None. MICROCONTROLLERS III

Chapter 10: Design Options of Digital Systems

Design Methodologies and Tools. Full-Custom Design

EECS150 - Digital Design Lecture 6 - Field Programmable Gate Arrays (FPGAs)

Outline. EECS150 - Digital Design Lecture 6 - Field Programmable Gate Arrays (FPGAs) FPGA Overview. Why FPGAs?

Usable gates 600 1,250 2,500 5,000 10,000 Macrocells Logic array blocks Maximum user I/O

FPGA-Based Rapid Prototyping of Digital Signal Processing Systems

NIOS CPU Based Embedded Computer System on Programmable Chip

PIC 28 Pin Board Documentation. Update Version 5.0

Microprocessors, Lecture 1: Introduction to Microprocessors

Today s Agenda Background/Experience Course Information Altera DE2B Board do Overview Introduction to Embedded Systems Design Abstraction Microprocess

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

MPICds: Modular Application Development System for the Microchip s PIC Microcontroller Family

Short Term Courses (Including Project Work)

EE4380 Microprocessor Design Project

1 Introduction to Microcontrollers

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 7: VHDL and DE2 Board. Name: Date:

PIC DESIGN (version 1) 2/11/2009

EEE394 Microprocessor and Microcontroller Laboratory Lab #6

Mimis, K., & Kocak, T. (2011). Area efficient System-on-Programmable- Chip design for a wireless touch-triggered machining probe.

Learning Module 9. Managing the Sensor: Embedded Computing. Paul Flikkema. Department of Electrical Engineering Northern Arizona University

EE 434 ASIC & Digital Systems

Evolution of Implementation Technologies. ECE 4211/5211 Rapid Prototyping with FPGAs. Gate Array Technology (IBM s) Programmable Logic

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM).

Embedded Controller Design. CompE 270 Digital Systems - 5. Objective. Application Specific Chips. User Programmable Logic. Copyright 1998 Ken Arnold 1

MICROPROCESSORS B (17.384) Spring Lecture Outline

Research Challenges for FPGAs

EMBEDDED TRAINING IN BANGALORE

This presentation will..

Digital System Design

An Introduction to Designing Ham Radio Projects with PIC Microcontrollers. George Zafiropoulos KJ6VU

QUARTUS II Altera Corporation

Nios Soft Core Embedded Processor

09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview

CPLD board datasheet EB

Embedded Systems. Embedded Programmer. Duration: 2 weeks Rs Language and Tools. Embedded System Introduction. Embedded C programming

Serial Communications

Introduction to Embedded Systems

Pilot: A Platform-based HW/SW Synthesis System

Linux Kernel Hacking Free Course, 3rd edition. HWMPS: Hardware Monitor & Protection System

AMS 5812 OEM pressure sensor with an analog and digital output

Programmable Logic Devices

MTRX3700 Mechatronics

Architecture of Computers and Parallel Systems Part 6: Microcomputers

Advanced FPGA Design Methodologies with Xilinx Vivado

HW/SW Co-design. Design of Embedded Systems Jaap Hofstede Version 3, September 1999

Microcontroller Basics

RTL Coding General Concepts

Transcription:

Project design tutorial (I) Design or project specifications Divide the project or system into blocks or subsystems (top-down design) (hierarchical design) Analogue subsystem Mixed-signal subsystem Digital subsystem Sensor models Sensor conditioners Amplifiers Filters A/D converter D/A converter V/F and F/V PWM LCD and 7-segment displays Keyboard and switches LED's and indicadors Communications (SPI, I2C, USART, etc) Memory banks Microprocessor 1 Project design tutorial (II) Typical sensor analogue subsystem Sensor Pressure, temperature, speed, acceleration, etc. Signal conditioner Voltage references, operational amplifiers, transistors, etc. High level, noise-less signal (output voltage) which is a function of the sensed magnitude 2

Project design tutorial (III) Typical sensor analogue subsystem Sensor Pressure, temperature, speed, acceleration, etc. Signal conditioner Voltage references, operational amplifiers, transistors, etc. High level, noise-less signal (output voltage) which is a function of the sensed magnitude 3 Project design tutorial (IV) interfacing analogue signals Signal V1(t) Signal V2(t) Analogue multiplexer Sample Hold A/D converter n-bit digital vector Signal V8(t) From sensor subsystems A single chip or a microcontroller peripheral 4

Analogue or mixed-signal subsystem specifications Project design tutorial (V) Values for all components Free demos or professional software (Proteus-VSM) circuit design SPICE based simulation demo or prototype board Printed circuit board (PCB) design PCAD software Pre-production 5 microcontroller subsystem specifications hardware design microcontroller (PIC, 8051, etc.) assembler or C programming MPLAB HI-TECH, CCS, IAR, etc., C Compiler Project design tutorial (VI) (Integrated hardware and software Proteus-VSM) SPICE based simulation demo or prototype board microcontroller programming Printed circuit board (PCB) design PCAD software Pre-production 6

An example: Initial design of an absolute pressure meter Specifications: Pressure range from 900 hpa 1100 hpa 5 V power supply Data from the sensor datasheet Initial design of the sensor conditioner SPICE-based electrical simulation Microcontroller circuit and software design Prototyping Vcc M1 MPX4115 1 2 100.0 3 4 5 6 +4.09 Volts See the web page for details: http://epsc.upc.edu/projectes/sed/unitats/unitat_1_1/unitat_1_1.htm Some concepts involved: physical quantities, sensors, instrumentation, electronic circuits, simulation, analogue-to-digital interfaces, PIC microcontrollers, C code compiler 7 Digital technology roadmap Schematics VHDL The theory basics and the classic 74 series (SSI MSI) The versatile GAL22V10 ( 500 logic gates) Sequential VHDL C Altera CPLD MAX7128 FLEX10k (2,5k 70k logic gates) FPGA Altera NIOS system (>200k logic gates) Programmable Logic Devices (SPLD CPLD) on Programmable Chip (SoPC) Microprocessors (µp) Microcontrollers (µc) Peripherals and circuits of medium complexity Large volume of production PIC family of microcomputers on Chip (SoC) ASICS (GA) Professional applications in Telecommunications and Telematics Assembler C language Combinational Simple circuits FSM Digital Electronics Digital Electronic Advanced optional subjects or research 8

CAD tools for digital electronic design systems Chapter 1: PLD s The theory basics and the classic 74 series (SSI MSI) Combinational The versatile GAL22V10 Altera CPLD MAX7128 FLEX10k ( 500 logic gates) (2,5k 70k logic gates) Programmable Logic Devices (SPLD) Sequential Simple circuits FSM Programmable Logic Devices (CPLD) Peripherals and circuits of medium complexity Circuit design, simulation and device programming using Schematics SPICE based simulation VHDL Printed Circuit Board design and prototyping PROTOGAL Board UP1 Board 9 UP1 Chapter 1: PLD s LAB training for CPLD FPGA systems Foto from the internet, source: Altera s MAX+plus II and the UP 1 Educational Board A User s Guide for Advanced Logic Design, CPE/EE 422/502 B. Earl Wells, Sin Ming Loo Department of Electrical and Computer Engineering The University of Alabama in Huntsville Huntsville, AL 35899 Version 1, September 14 2000 10

CAD tools for digital electronic design systems Chapter 2: µp µc Microchip PIC family of microcontrollers Circuit design, simulation and device programming using Assembler C SPICE based interactive simulation of microcontroller circuits Printed Circuit Board design and prototyping 11 PIC boards Chapter 2: µp µc LAB training for microcontroller systems PICDEM2 board PIC Millennium Board (http://www.elgarelectronics.co.uk/el_prod.html) 12

CAD tools for digital electronic design systems Chapter 3: on Programmable Chip (SoPC) Professional applications in Telecommunications and Telematics PLD Altera NIOS system (>200k logic gates) SoPC Builder and device programming using Schematics VHDL C compiler and Shell for NIOS processor (serial port interfaced) Printed Circuit Board design and prototyping 13 Chapter 3: SoPC NIOS Development Board LAB training for SoPC based in the Altera APEX EP20K200E FPGA (484 pin) 14

You must simulate and use as many as possible CAD-EDA tools before lab prototyping EPSC has many software licenses for you to use Computer Aided Design (CAD) Electronic Design Automation (EDA) Find some examples in http://epsc.upc.edu/projectes/sed 15