Introduction to embedded systems and realtime systems

Slides:



Advertisements
Similar presentations
© Alan Burns and Andy Wellings, 2001 Real-Time Systems and Programming Languages n Buy Real-Time Systems: Ada 95, Real-Time Java and Real-Time POSIX by.
Advertisements

EE5900 Advanced Embedded System For Smart Infrastructure
Lesson 12 Eating out. Bowl Pitcher Cup, Half cup, Quarter of a Cup.
Lecture 1: Overview of Computers & Programming
Beany Burgers with Corn & Apple Relish. Relish ingredients: 1/2 a red pepper and 1/2 a green pepper, deseeded and finely diced, 2 salad onions, 1 diced.
Veggie Burgers By Jody Bertness. How to Make any Veggie Burger Without a Recipe  1) Start with some basic ingredients such as: 1can of beans, ½ cup breadcrumbs.
Dedicated Computer Systems
Basic Real Time Concepts Systems Concepts Real-Time Definitions Events and Determinism CPU Utilization Real-Time System Design Issues Example Real-Time.
Real-Time Systems – The Big Picture Real-Time Systems Anders P. Ravn Aalborg University September 2009.
Characteristics of Realtime and Embedded Systems Chapter 1 6/10/20151.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Real-Time Systems and Programming Languages
Real-Time Systems – The big Picture
Ingredients 2 tablespoons pure maple syrup 1 tablespoon reduced-sodium soy sauce 2 teaspoons lemon juice 1 clove garlic, minced 1 teaspoon minced fresh.
Ted Stelle- Arroz con Pollo Arroz con Pollo Arroz con Pollo (Rice with Chicken)
B.RAMAMURTHY UNIVERSITY AT BUFFALO Introduction to Hardware (& Software) 5/30/2013 Amrita-UB-MSES-CSE
EMBEDDED SOFTWARE Team victorious Team Victorious.
Cooking with David, Benita, Krishna & Sunanda Sunday, June : 1-4 p.m.
30 minute Recipes…or Less!!!. Sandwiches Sweet, Sticky, and Spicy Chicken Ingredients Original recipe makes 4 servings 1 tablespoon brown sugar 2 tablespoons.
O 2 lbs pork belly o 1 bunch spinach o 3 tbsp fish sauce o 1 bunch string beans, cut in 2 inch length o 2 pieces medium sized tomato, quartered o 3 pieces.
Introduction to Realtime Systems & Embedded Systems B. Ramamurthy CSE 321 8/17/20151.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 1.
Gaskill Middle Schools, Niagara Falls, NY From Embedded Systems to Enterprise Applications: What is Computer Science and Engineering? Dr. Bina Ramamurthy.
BEH30802 :: REAL-TIME EMBEDDED SYSTEM
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
1. Introduction 1.1 Background 1.2 Real-time applications 1.3 Misconceptions 1.4 Issues in real-time computing 1.5 Structure of a real-time system.
EEL Software development for real-time engineering systems.
EIF Min & Keith. Target Students Age / level of students: 5 th grade public school after school in Korea Time: 45 min Target Language: ingredients, directions,
SALA NEWS September 9, As president I want to welcome everyone back from the Summer break! I want to thank Donna for hosting, serving dinner and.
THE TASTE’S OF ALFREDO Creator: Ashia Gurley. ALFREDO AT ITS BEST! There are many different ways & styles to cook alfredo but its all based on what you.
Lemon chicken/fried rice N5 HPC Starter Tasks: 1.Personal Hygiene 2.Collect recipe/ingredients 3.Boil kettle 4.Start to prepare vegetables.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
By Sara and Zooey. Five different foods zinc are in… Oysters Crab Lobster Cashews Pork tenderloin.
Cooking with Sunanda & I-Li Saturday, May 16, 2015: 1-4 p.m.
SAUSAGE AND CLAM SOUP BY RASHON MURCHISON AND JONATHAN YARBOUGH.
Recipe of creamy corn soup. Ingredients : 2 tablespoons (1/4 stick) butter 1 large red bell pepper, chopped 1 medium onion, chopped 3 garlic cloves, minced.
Jini Architecture Introduction System Overview An Example.
Designing Realtime Systems & Embedded Systems B. Ramamurthy CSE /13/20151.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
39 陳士杰. Cucumber(2) Boneless chicken thigh meat(2 slice) Garlic (3 cloves) Chili (half) Soy sauce (1 tablespoon ) Sugar( 1 teaspoon) few drops of sesame.
Easy Chicken Stir Fry. Trim and slice about 1 pound of skinless boneless chicken breast into thin slices or cubes. Heat 2 T oil in a nonstick pan over.
Vietnam Cookbook A Collection Of Recipes From Vietnam.
By: Jacob Seymour, Molly Staszak, and Julia Concolino China.
My Favorite Chinese Dish Taiwan Style Chicken With 3 Cups Sauce.
The Application of MyPlate in my Diet Plan TJ Vega 10/25/11 2 nd Period.
Famous Chinese Recipes By: Emily Beran and Jimmy Butch.
Exploring the Harvest Goal: To identify and learn about the crop harvested using all our senses. Objectives: Students will: look at photos and locate the.
Thanksgiving in a Salad Bowl PER SERVING (entire recipe): 296 calories, 7g fat, 497mg sodium, 28.5g carbs, 5g fiber, 19g sugars, 32g protein Prep: 10 minutes.
6/11/20161Preetha V. AP/EEE SNS College of Engineering.
Embedded System Design and Development Introduction to Embedded System.
Recipe. 1 lb. fresh bean sprouts 1 tbsp. white sesame seeds.
EBRAHIM LADHI Grape presentation by. Merlot history It is great grape varietal famous for its fruity taste. It is famous in France in Bordeaux.
Two Excellent Prawn Recipes with Cashew Nuts Prawn recipes with cashew nuts are good to serve and great in taste. Here are two excellent prawn recipes.
Created for Mr. Boehner’s Class - MMS
Nutrition Workshop: Recipes
DDC 1023 – Programming Technique
Brunswick Stew Recipe.
CHICKEN ENCHILADAS IN SALSA VERDE
PAD THAI (THAI STIR-FRIED RICE NOODLES) Pad thai is often considered the quintessential Thai dish, even though it has only been around for the last 60.
MEE KROB (THAI FRIED NOODLES IN SWEET-SOUR SAUCE).
Real-time Software Design
Introduction to Realtime Systems (& Embedded Systems)
Filet Mignon with Arugula Salad
Joshua Earnheart Grade 3
Vegetable and Rice Stir Fry
Lesson 2 Programming constructs – Algorithms – Scratch – Variables Intro.
CS 501: Software Engineering Fall 1999
Introduction to embedded systems and realtime systems
Chicken Le Cordon Bleu.
Realtime Embedded System Design
Presentation transcript:

Introduction to embedded systems and realtime systems B. Ramamurthy CSE321 This course is partially supported National Science Foundation NSF DUE Grant: 0737243 4/11/2017

Introduction to Realtime Systems & Embedded Systems B. Ramamurthy CSE321 This course is partially supported National Science Foundation NSF DUE Grant: 0737243 4/11/2017

The course will enable you to: Understand and design embedded systems and real-time systems For real-time systems: Identify the unique characteristics of real-time systems Explain the general structure of a real-time system Define the unique design problems and challenges of real-time systems Apply real-time systems design techniques to various software programs. 4/11/2017

Course overview For embedded systems it will enable you to : Understand the basics of an embedded system Program an embedded system Design, implement and test an embedded system. Ex: realtime + embedded : games on a Gameboy or arcade games Ex: realtime: Spore on a laptop 4/11/2017

Example real-time and embedded systems Domain Application Avionics Navigation; displays Multimedia Games; simulators Medicine Robot surgery; remote surgery; medical imaging Industrial systems Robot assembly lines; automated inspection Civilian Elevator control Automotive system; Global positioning system (GPS) 4/11/2017

Lets discuss some realtime system (RTS) characteristics Realtime response 4/11/2017

Realtime Characteristics RTS have to respond to events in a certain pre-detemined amount of time. The time constraints have to be considered during planning, design, implementation and testing phases. Internal failures due to software and hardware fault have be handled satisfactorily. You cannot simply pop-up a dialog error box that says “send report” or “don’t send report”. Also external failures due to outside sources need to be handled. 4/11/2017

Realtime Characteristics (contd.) Typical interaction in an RTS is asynchronous. Thus an RTS should have features to handle asynchronous events such as interrupt handlers and dispatcher and associated resources. Potential for race condition: when state of resources are timing dependent race condition may occur. Periodic tasks are common. 4/11/2017

Embedded System Is a special purpose system designed to perform a few dedicated functions. Small foot prints (in memory) Highly optimized code Cell phones, mp3 players are examples. The components in an mp3 player are highly optimized for storage operations. (For example, no need to have a floating point operation on an mp3 player!) 4/11/2017

Real-time system concepts A system is a mapping of a set of input into a set of outputs. A digital camera is an example of a realtime system: set of input including sensors and imaging devices producing control signals and display information. Realtime system can be viewed as a sequence of job to be scheduled. Time between presentation of a set of inputs to a system and the realization of the required behavior, including availability of all associated outputs, is called the response time of the system. 4/11/2017

Real-time system concepts (contd.) Real-time system is the one in which logical correctness is based on both the correctness of the output as well as their timeliness. A soft real-time system is one in which performance is degraded by failure to meet response-time constraints. A hard real-time system is one in which failure to meet a single deadline may lead to complete and catastrophic failure. More examples: Automatic teller: soft Robot vacuum cleaner: firm Missile delivery system: hard 4/11/2017

Regular Computer System Program “From Minimalist”: STIR-FRIED CHICKEN WITH CREAMED CORN Time: 20 minutes 1 pound boneless chicken (breasts or thighs), in 1/2-inch chunks 2 tablespoons soy sauce 1 teaspoon sesame oil 1 tablespoon sherry, rice wine, sake or white wine 2 tablespoons peanut oil or another neutral oil, like corn or grape seed 1 tablespoon minced garlic 1 tablespoon minced ginger 1 small chili, seeds and stems removed, minced (or dried red chili flakes to taste) 1 15-ounce can creamed corn 1 cup corn kernels (fresh, frozen or canned) Chopped cilantro leaves for garnish. 1. In a small bowl, mix the chicken with the soy sauce, the sesame oil and the wine. Put the peanut oil into a deep skillet or wok, preferably nonstick, and turn heat to high. Drain chicken. When oil is hot, add chicken to skillet, and cook, undisturbed, until bottom browns, about 2 minutes. Stir once or twice, and cook 2 minutes longer. Turn the heat down to medium-low. 2. Add the garlic, the ginger and the chili to the skillet, and stir; 15 seconds later, add the creamed corn and the corn kernels. Cook, stirring occasionally, until heated through, 3 or 4 minutes. Garnish, and serve over white rice. Data Algorithm Hardware 4/11/2017

Embedded Systems 4/11/2017

The Number Game (1) 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 4/11/2017

The Number Game (2) 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 4/11/2017

The Number Game (4) 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 4/11/2017

The Number Game (8) 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 4/11/2017

The Number Game (16) 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 4/11/2017

Analysis What is theory /concept behind this game? How did I arrive at the number you guessed? How can I automate this process? What is the data and what is the algorithm? How can we convey these to a computing machine? While a computer talks binary, we humans write programs in languages such as Java, C#, C++, Basic etc. Binary numbers (1’s and 0’s) is the number system used by the computer systems. We humans use decimal number system that has 10 distinct symbols (0,1,2,3,4,5,6,7,8,9) Your task: Write a C program to computerize this game. 4/11/2017

2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 4/11/2017

Summary We examined the course objectives for embedded and realtime systems We looked at sample systems Homework: Write a program that automates the number game Logo for NEXOS 4/11/2017