Embedded System Project (521423S) - Specifications

Similar documents
Choosing a Micro for an Embedded System Application

Goal: We want to build an autonomous vehicle (robot)

Blobo Clone Angry Birds Toy Upgrade. Schedule of the project and log of work done

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

Intel Galileo gen 2 Board

ARDUINO MEGA INTRODUCTION

Blobo Clone Angry Birds Toy Upgrade. Requirement and implementation specification and test plan

OK335xS Users Manual Part I - Introduction

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

HOW TO DESIGN A SMART CAR MODEL. From Requirements to Implementation Speaker: Fei Cheng

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

ECE 477 Design Review Team 8 Spring Mike Cianciarulo, Josh Wildey, Robert Toepfer, Trent Nelson

Advanced Embedded Systems

BIG8051. Development system. User manual

Getting to know the Arduino IDE

Design Document. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

EE 308: Microcontrollers

ECE 480 Team 5 Introduction to MAVRK module

Low-Cost Microcontrollers

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

Diploma in Embedded Systems

Mercury System SB310

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

1. Embedded System Design Process

ESPino - Specifications

ATmega128. Introduction

Wireless Sensor Networks. FireFly 2.2 Datasheet

Incorporating a Capacitive Touch Interface into Your Design

Ultra Low Power Microcontroller - Design Criteria - June 2017

Wireless-Tag WT51822-S1

Basic Components of Digital Computer

MYD-IMX28X Development Board

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

3.3V regulator. JA H-bridge. Doc: page 1 of 7

Technical Specification for Educational Robots

CSE 466 Exam 1 Winter, 2010

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

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

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

ARDUINO LEONARDO ETH Code: A000022

AK-STM32-ETH Development Board

Arduino Uno R3 INTRODUCTION

CN310 Microprocessor Systems Design

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

1.0. Presents. techathon 3.0

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

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Unlocking the Potential of Your Microcontroller

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

Ant6. 6 Channel H Bridge 3-Axis Bipolar Stepper Motor Controller. Technical Reference Manual PCB Rev 1.0.

Hands on Experience with AVR32

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

Embedded Technosolutions

EVE2 BLE Datasheet. The EVE Platform features standardized IO, common OS and drivers and ultra-low power consumption.

Cricket Embedded Processor Dual H-Bridge/Bipolar Stepper Controller

BLE MODULE SPECIFICATIONS

Arduino Internals. Dale Wheat. Apress

Grocery Guard. Paul Santos. Senior Project Description. Western Washington University Electronics Engineering Technology

Programming 8-bit PIC Microcontrollers in С

Overview of Microcontroller and Embedded Systems

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

CanSat Project Supervisor: Adam Cseh 0931/ Robotics Hall / Office 4

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

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

IT-AMS Applied Microcontroller Systems (5 ECTS, Forår, E / IKT)

2011 Pearson Higher Education, Mazidi, Naimi, and Naimi Pearson Higher Education, 2011 Pearson Higher Education,

Alessandra de Vitis. Arduino

2-bit ARM Cortex TM -M3 based Microcontroller FM3 Family MB9A130 Series

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

PBLN52832 DataSheet V Copyright c 2017 Prochild.

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

ARROW ARIS EDGE S3 Board User s Guide 21/02/2018

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Challenge. Hardware Circuit Details. Solution. Result. Features and Functions. Z8 Encore! MC

MiCOKit-3166 Development Kit Hardware Manual

Open Sesame. Grant Apodaca Jeffrey Bolin Eric Taba Richie Agpaoa Evin Sellin

USER GUIDE EDBG. Description

Integrating Concurrency Control and Energy Management in Device Drivers

I/O System for the PSYONIC Advanced Bionic Hand. Team 28 Byron Hopps and Steven Sun ECE 445 Senior Design Fall 2017

STM32 Cortex-M3 STM32F STM32L STM32W

MAVRIC-IIB Mega AVR Integrated Controller II Revision B Technical Manual

AVR- M16 development board Users Manual

EE4380 Microprocessor Design Project

Part Number: PCB-STM32-F4B1 (unpopulated PCB with Discovery module sockets, no other parts) STM32-F4B1 (assembled board, not presently available)

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

Transcription:

Embedded System Project (521423S) - Specifications

Design phases power consumption, environment etc. partitioning, basic solutions System requirements Sketch of hardware Sketch of software operation procedures modes, functions, algorithms, control In practice: 1. Requirement specification, Technical specification, test plan, Schedule 2. Schematics, component ordering schematics and layout Evaluation and simulation against requirements Detailed HW-design Test design testability considerations 3. Layout and manufacturing files, PCB ordering printed wiring board manufacturing PWB and assembly Software embedded software design 4. Populating the board and electrical testing continuity and HW functionality HW-tests Simulator tests 5. Programming software and testing Integration EEPROM programming 6. Final demonstration and Final report

General functionality Requirement specification How should the device interact with the environment E.g. sense temperature with certain accuracy and alarm with buzzer if too warm What is operating environment? Special requirements? User interfaces User interface features What kind of information is shown to user? how many characters on the screen? Or some menu system? How user controls the device? Software interfaces to other systems (like PC) What kind of information is sent to remote device Do we need to use some standard How many times in second? What is latency from measurement to sending out data?

Requirement specification List of features Figure out what is the purpose and required functions of your device Refine features Organize to groups and hierarchy Mindmap is good tool for this Numerical requirement (like storage, power, time of operation) Resolution, measurement ranges Operating conditions (min, max values) Speed (samples per second?) Limit the search of used components You need to have numerical requirements when selecting for example temperature sensor from >1500 options available in Digikey Use components that are in stock! Use numbering and hierarchy: Req_1: User interface, Req_1.1: operating buttons, Req_2: Measuring temperature

Requirement specification Internal interfaces Sensors, Actuators, Storage Amount of data Where to store? Physical size case, design Electrical requirements Power source (battery, AC/DC adapter) Operating voltages, try to have only one! Operating time One day, one week? Price (<100 ) Include formulas and calculations to documentation!

Requirement specification Examples: logging 10 hours of motor temperatures from 4 places twice in a second Store measurements to SD card with XX digits -> You will find requirements for memory, storage, power usage, calculation speed, size of device, If device must measure temperature between -40 + 80, all components should work on these conditions

Example of hierarchy REQ NO Description Parameters 1 User interface 1.1 display - shows current value of sensor update 0.1s, 6 channels, digits:2 1.1.2 display size 20mm x 40mm 1.2 User can change configuration of device 1.2.1 user can change update speed min 0.01s, max 5s 1.3 User can start/stop measurement 2 Device measures Temperatures 6 channels 2.1 Device stores measurements to memory update 1s

Technical specification Technical solution for requirement specifications Can be done in parallel with Requirement Specification Decide software and hardware partition iterative process where you plan your system components What is done with hardware what is done with software For example: decoder chip or software Use block diagrams to plan how different components communicate In hardware, in software, and between Use state/flow diagrams to plan how the system is working

Technical specification Practical hints Avoid complexity and exploit available solutions Use web search to find similar projects (AVR freaks, forums, hobbyists, etc) Study application notes Use Digikey-search to find suitable components (remember requirements) Study electrical component datasheets (how to communicate, voltages, currents, external components etc.) Try to find available libraries (communication interfaces, ) Favor complete electrical solutions (motor/led drivers, fixed voltage regulators, ) Check package availability for electrical components (not BGA or too small QFP)

Technical specification Processor selection (in this course) Prefer 8bit/32bit AVR microcontrollers, STM32xxx, ESP32 Check support for debugging tools (e.g. JTAG ICE and Atmel Studio, DW in AVR, STLINK and SWD serial wire debug (in STM), ) Support for your required peripherals (SPI, I2C, USB, ADC,.) 1 or 2 uart? Special functionalities like CAN? We do not need operating system in this course Check that supports C/C++ Libraries and software documentations Program memory size enough space for your code, constant tables (e.g. gui bitmaps) and external libraries Internal vs external data memory sufficient amount of memory (follows from requirements), i.e. arrays in memory data transfer (serial / parallel bus) bus speed and delay flash vs ram

Technical specification Software components Divide such that they are easy to implement and test separately Avoid complex I/O solutions if can be implemented with microcontroller I/O units e.g. motor control PWM through timers, sensors with SPI/I2C or ADC Estimate timings for algorithms against MCU performance Check instruction set summary if necessary Casing (optional) Design suitable casing and board size Ensure all electrical components fit the board If electronics is complex, it might be good to split device to several boards in prototype phase Possible to print in FABLAB (STL-format) you can use for example FreeCAD to design it Power Approximate power consumption (create table in docs) Ensure batteries meet the system life-time (e.g. one week) Does your selected components support sleep mode? Selected clock speed affect to power consumption

Examples of Req to Tech REQ NO Description Parameters 1 User interface 1.1 display shows current value of sensors update 0.1s, 6 channels, digits:2 1.1.2 display size 20mm x 40mm 1.2 User can change configuration of device 1.2.1 user can change update speed min 0.01s, max 5s 1.3 User can start/stop measurement 2 Device measures Temperatures 6 channels 2.1 Device stores measurements to memory update 1s Req1.1: - find display that can show Y line and X characters -> display with SPI control -> we need processor with SPI (or use bitbang) - Where display is used? Outdoor/indoor? Do we need backlight? Is there code libraries available for it? What is the quality of documentation (for example only in chinese) Req1.1.2: - Case or design of device defines that display is 20mm x 40mm. -> limit the search to these devices

Test plan Testing is always done in parallel with implementation during whole process As each sub-functionality is ready, will be tested and marked on test report. How to verify that each requirement is filled Calibration? Reference measurement? Example: temperature measurement with reference device, whole range of measurement area. Long term drifting? How to test that technical solutions works as expected If minimum and maximum requirement exist, how to measure in these conditions? Use same reference numbering as in previous documents Sometimes if something larger changes during development, some test needs to be done again In real world, testing team is usually separate so you have to define what is tested and how Some tests might need some statistical analysis, you must define how tests are represented in test plan. For example: power consumption and time-plot

Schedule Reserve weekly hours that you are able/will spend on this project Deadlines for each phase to complete project in time Define what needs to be done before DL Continuously update LOG of used hours to learn how much time each job is taking in practice in design process Give enough details to understand better where time is spend: Just single term like documentation is bad, write down more details Keep your time schedule If schedule is missed, do rescheduling Report progress in week-reports Short list of what has been done, and what are action points for upcoming week Even if nothing is done during the week, report it still to keep work in progress Share work equally to team members!

Discussion