Control System Implementation

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

EE 308: Microcontrollers

Overview of Microcontroller and Embedded Systems

ARDUINO MEGA INTRODUCTION

Hardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.

Arduino Uno R3 INTRODUCTION

Course Batch Semester Subject Code Subject Name. B.E-Marine Engineering B.E- ME-16 III UBEE307 Integrated Circuits

ELCT 912: Advanced Embedded Systems

Memory and Programmable Logic

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

An Arduino Controlled 1 Hz to 60 MHz Signal Generator

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

Programmable Logic Devices Introduction CMPE 415. Programmable Logic Devices

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

MEMORY AND PROGRAMMABLE LOGIC

Digital Systems. Semiconductor memories. Departamentul de Bazele Electronicii

CS 320 February 2, 2018 Ch 5 Memory

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

ATmega128. Introduction

Section 6. Memory Components Chapter 5.7, 5.8 Physical Implementations Chapter 7 Programmable Processors Chapter 8

Memory and Programmable Logic

Chapter 5 Internal Memory

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Memory. Outline. ECEN454 Digital Integrated Circuit Design. Memory Arrays. SRAM Architecture DRAM. Serial Access Memories ROM

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

END-TERM EXAMINATION

AVR- M16 development board Users Manual

MICROPROCESSOR BASED SYSTEM DESIGN

EE4380 Microprocessor Design Project

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

FPGA for Dummies. Introduc)on to Programmable Logic

PLAs & PALs. Programmable Logic Devices (PLDs) PLAs and PALs

Sistemas Digitais I LESI - 2º ano

ECE321 Electronics I

Chapter 5: ASICs Vs. PLDs

RTL Design (2) Memory Components (RAMs & ROMs)

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

Computer Structure. Unit 2: Memory and programmable devices

Computer Organization and Assembly Language (CS-506)

Sir Sadiq s computer notes for class IX. Chapter no 4. Storage Devices

MEXLE. International Educational Platform. International Educational Platform. for Informatics based on Embedded Systems

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

Semiconductor Memories: RAMs and ROMs

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Introduction to SRAM. Jasur Hanbaba

Lecture 13: Memory and Programmable Logic

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Enabling Intelligent Digital Power IC Solutions with Anti-Fuse-Based 1T-OTP

Military Grade SmartFusion Customizable System-on-Chip (csoc)

Read and Write Cycles

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

P-2 Digital Design & Applications

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

8051 INTERFACING TO EXTERNAL MEMORY

EMBEDDED SYSTEMS COURSE CURRICULUM

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

Memory and Programmable Logic

An Introduction to Programmable Logic

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

INTERFACING HARDWARE WITH MICROCONTROLLER

Memory Expansion. Lecture Embedded Systems

ECE 485/585 Microprocessor System Design

CSEE 3827: Fundamentals of Computer Systems. Storage

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors

ECE 471 Embedded Systems Lecture 2

DIPLOMA COURSE IN ELECTRONICS AND COMMUNICATION ENGINEERING

Digital Control for Space Power Management Devices

Programmable Logic Devices

UNIT:4 MEMORY ORGANIZATION

Module 5a: Introduction To Memory System (MAIN MEMORY)

OPERATIONAL UP TO. 300 c. Microcontrollers Memories Logic

UNIT V (PROGRAMMABLE LOGIC DEVICES)

Architecture of Computers and Parallel Systems Part 6: Microcomputers

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

LSN 6 Programmable Logic Devices

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University

Project design tutorial (I)

Memory memories memory

PROGRAMMABLE LOGIC DEVICES

COL862 - Low Power Computing

Lecture 11 SRAM Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013

Memory classification:- Topics covered:- types,organization and working

UNIT 4 INTEGRATED CIRCUIT DESIGN METHODOLOGY E5163

Lecture 13: SRAM. Slides courtesy of Deming Chen. Slides based on the initial set from David Harris. 4th Ed.

Concept of Memory. The memory of computer is broadly categories into two categories:

Transcription:

Control System Implementation Hardware implementation Electronic Control systems are also: Members of the Mechatronic Systems Concurrent design (Top-down approach?) Mechanic compatibility Solve the actual task Separating the control system design from the mechanic "target" is a risky business 1

Printed Circuit Boards (PCBs) - #1 Material requirements Mech. stress Electr. isolation (also at high frequency) Thermal conductivity Materials used Glass fiber dominating today Ceramic materials for high thermal conductivity Polymer materials for flexible PCB:s Printed Circuit Boards (PCBs) - #2 PCB manufacturing process (simplified) Cupper foil attached (5-35 µm) Photo resistive coating Exposure with photo mask Develop pattern Etching Conductive cupper pattern remains on board 2

Printed Circuit Boards (PCBs) - #3 Through-plated via-holes connect the top and bottom layer Multilayer boards same principle but thin layers pressed together. Then through-plated A lot of requirements can be met with modern PCB technology. But it's important to specify! Electronic systems exposed to Environmental Factors Mechanical stress Direct forces and torque can usually be avoided Acceleration might be more difficult to handle Temperature Check the classification of your components. Commercial, Industrial or (Military). Humidity Coating, encapsuling. EMC 3

Analyzing the Control Task Task complexity Understand the problem Where is it possible to install control system parts Centralized/ distributed control Speed requirements Sensor/actuator time scheduling Computational power requirements A mutual understanding of Mechanical/Electrical design often gives the opportunity of solving a difficult problem by a minor redesign "on the other side" Possible Solutions for the control Task Discrete analog circuit Discrete digital circuit ASIC (Application Specific IC) Programmable logic IC (PLD or FPGA) Computing unit (microcontroller, DSP...) 4

Discrete Analog Circuits - Opportunities Operational amplifiers (OP-amp) Add, subtract Filter Derivative, integration Analog computation components Multiplication Logarithmic functions Rms-detection... Discrete Analog Circuits Summary + Continuous operation Fast (?!) processing of analog signals Cost effective - Logical conditions difficult to include Interfacing problems Experienced engineer required 5

x2 x2 x2 Discrete Digital Circuits Gates, flip-flops, counters,registers... Simple logical problems Primary use today as support ("glue") to more advanced digital systems High speed applications x1 x2 AND & y x1 x2 OR 1 y NAND NOR x1 & y x1 1 y XOR x1 =1 y PLD - Programmable Logic Devices Logical function programmable. Several languages e.g. VHDL AND/OR -planes Pin mapping programmable Internal flip/flops makes internal state machines possible Almost the same speed as discrete logic Starts at discrete logic replacement at < 1$ cost/unit Large devices with several sub-blocks and interconnection matrixes 6

PLD structure example GAL16V8 with a fraction of the programmable matrix and a macro cell FPGA Field Programmable Gate Arrays Larger than PLD but the borderline is not absolutely clear Programmable logic structures Several development languages e.g. VHDL Can include (Flash) memory, DSP E.g. a large FPGA can very well be used to implement a microcontroller 7

ASIC Application Specific Integrated Circuit Full freedom. Analog or digital or mixed signal. Design supported by large libraries (IP: Intellectual Property) Design at transistor level possible Only used in large scale production since development costs are high. However, price per unit is low. Microcontroller Single chip computer. Complete system: CPU Memory I/O devices including analog Timer Few external components (if any) Low cost (< 1$ and upwards) 8

AVR ATmega128 - as an example... Up to 16 MIPS Throughput at 16 MHz On-chip 2-cycle Multiplier Nonvolatile Program and Data Memories 128K Bytes of In-System Reprogrammable Flash... 4K Bytes Internal SRAM... Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes Two Expanded 16-bit Timer/Counters with Separate Prescaler, Compare Mode... Real Time Counter with Separate Oscillator Two 8-bit PWM Channels 6 PWM Channels with Programmable Resolution from 2 to 16 Bits Output Compare Modulator 8-channel, 10-bit ADC 8 Single-ended Channels 7 Differential Channels 2 Differential Channels with Programmable Gain at 1x, 10x, or 200x Dual Programmable Serial USARTs Master/Slave SPI Serial Interface Programmable Watchdog Timer with On-chip Oscillator On-chip Analog Comparator... AVR ATmega128 - overview 9

DSP Digital Signal Processor Especially well suited architecture for signal processing (e.g. Filtering, FFT...) Few internal operations in each instruction gives a high execution rate The internal datapath can support a parallel execution at several stages. Embedded PC The success of the PC architecture gives several economical advantages Stability problems not due to hardware Several standards for embedded PC exists (e.g. PC104) It is also possible to use an "industrial PC box" without any peripheral devices but equipped with LAN- and fieldbus-connections 10

PC-104 standard for embedded PC http://www.pc104.org Various formats for embedded PC Free format (PC104 host) Compact PCI 11

Industrial PC Product Example PLC Programmable Logic Controller The fundamental industrial control system of the latest decades Originally only logic control but nowadays analog I/O and PID-loops Programming languages (IEC 61131-3) Ladder Diagram (LD) Function Block Diagram (FBD) Instruction List (IL) Structured Text (ST) Sequential Function Chart (SFC) 12

Memory SRAM - Read/Write, Volatile, Static design DRAM - Read/Write, Volatile, Need cyclic refresh ROM - Read. Programmed in production PROM - Read, User programmable EPROM - Read, UV-Erasable user programmable EEPROM Read, Electrically erasable Flash -Type of EEPROM Rotating hard-disks are often avoided in embedded applications and replaced by disk-emulating EEPROM memories (Flash disk). Analog signals D/A conversion Multiplying converter PWM + LowPass filter (low cost solution) A/D-conversion Successive approximation (microcontrollers) Flash (fast) Dual slope (high accuracy, slow) Sigma/Delta 13

Sampling Sampling frequency is a critical factor The system has no idea what happened between the sampling instants Remember Nyqvist frequency: f N =f s /2 (practically a factor 5-10 applied) Use filters Galvanic Separation When? Connecting to power systems EMC problem reduction when connecting different systems Grounding problem elimination How? Relays Optocouplers (LED phototransistor) Opto-fiber Isolation Amplifier (analog) 14

Communication Communication often becomes a key issue in the design Power Supply SMPS (Switch Mode Power supply) technology development is dramatically changing the situation Options Power grid supply Step-up conversion Step-down conversion To make a regulated 3.3 or 5 V supply from a 1.2 V battery cell costs < 3$ 15

Power supply examples Produces 3.3 V, 150mA. IC size 3x3mm. IC costs 1$52 in 1k quantity 16