7 Pages

3510 notes

Course: ECE 3510, Fall 2009
School: Western Michigan
Rating:
 
 
 
 
 

Word Count: 1452

Document Preview

notes 3510 Typical Real-T ime Applications A real-t ime systems is required to complete i ts work and deliver its services on a t imely basis. Examples : Digital control Command and control Signal processing Telecommunications systems. Digital Control Many real time systems are embedded in sensors and actuators and function as d igital controllers. The plant in block diagram refers to a controlled system, for...

Register Now

Unformatted Document Excerpt

Coursehero >> Michigan >> Western Michigan >> ECE 3510

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
notes 3510 Typical Real-T ime Applications A real-t ime systems is required to complete i ts work and deliver its services on a t imely basis. Examples : Digital control Command and control Signal processing Telecommunications systems. Digital Control Many real time systems are embedded in sensors and actuators and function as d igital controllers. The plant in block diagram refers to a controlled system, for example an engine, a brake, an aircraft, a patient. The state of the plant is monitored by sensors and can be changed by actuators. The real-t ime (computing) estimates f rom the sensor readings the current state of the plant and computes a control output based on the difference between current state and desired state. We can implement it as an infinite timed loop : set t imer to inter rupt periodically with period T at each t imer in ter rupt; do do analog-to-digital conversion to get y compute control output u output u and do digital-to-analog conversion end do; Some examples of digital controller: Embedded control systems automotives robots aircraft medical devices Guidance and Cont rol This type of controller performs guidance and path planning functions to achieve a h igher level goal. I t t r ies to find one of the most desirable t rajectories among all t rajectories that meet the constraints of the system. As an example, a f l ight management system. Real-time Command and Cont rol The controller at the highest level of a control hierarchy is a command and control system. An Air Traffic Control (ATC) system is an excellent example. Signal processing Most signal processing applications have some kind of real-t ime requirements. Response t imes are under a few milliseconds to a few seconds. Examples are digital f il tering, video and voice compression A signal processing application is typically a part of a larger system. For example a radar signal processing and t racking system. M ultimedia Applications A multimedia application may process, store, t ransmit, and display any number of v ideo streams, audio streams, images, graphics, and text. Without compression, the s torage space and t ransmission bandwidth required by a video are enormous. T herefore, a video stream, as well as the associated audio stream, is invariably compressed as soon as i t is captured. Types of real-time applications Real t ime applications into the following four types according to their t iming a tt ributes: 1. Purely cyclic: E very task executes periodically. Digital controller. F light control system and real-time monitors. 2. Mostly cyclic Most tasks execute periodically. The system must also respond to some external events. Example: modern avionics and process control systems. Asynchronous a nd somewhat predictable: mul timedia communication, radar signal processing, and t racking. 3. Asynchronous and unpredictable: Reacts to asynchronous events and have tasks with high run-t ime complexity. Ha rdwa re Requi rement Some of the real-t ime applications run on one or a few microprocessors, even on hand-held devices, while others run on tens and hundreds of computer. They are l abeled as unip rocessor, multip rocessor or distributed systems. Overview: Hard vs. Soft Real Time Timing parameters for RT systems Timing parameters: Release Time (r): time when job becomes available for execution. - Completion Time (f): time when job finishes execution. - Response Time: (f r) Deadline (d): time when execution must be completed (f d in R-T systems). Relative Deadline (D): maximum response time (D = d r). Execution time (e): (e f r) equals response time when processor is kept continuously busy. Feasible interval of a job: time interval from r to d. Without - parameters are (usually) known to the scheduler before jobs are released, with - are known only after the job has finished execution. Other timing parameters: Lateness (L): L = f d (L > 0 if deadline is not met) Tardiness (E): E = max{L, 0} (E = 0 if deadline is met) Laxity (Slack): S(t) = d t erem In the feasible interval of a job: - at time t, S(t) indicates the remaining time before the deadline (d t) minus the remaining execution time (erem). Slack time (laxity) S(t) = d t erem the slack of a job is function of time defined in its feasible interval - at the release time r, S(r) = D e = d r e - S(t) remains constant when the job is executing - S(t) decreases with t when the job is not executing - if becomes S(t) negative, the deadline will be missed. Hard vs. soft timing constraints Common definitions are based on: functional criticality: - soft: meeting the constraints (deadlines) is desirable, but a few misses do no serious harm, - hard: missing a deadline is a fatal fault; usefulness of late results: - soft: usefulness decreases gradually with tardiness, - hard: usefulness drops to zero or becomes negative when tardiness is larger than zero; deterministic or probabilistic nature of constraints: - soft: deadlines can be missed occasionally, with low probability, - hard: deadlines must never be missed. Hard vs. Soft deadlines Hard Deadline: Late result may be a fatal flaw, useless, or cause disastrous consequences Soft Deadline: Timely completion desirable. Late results useful to some degree Quantitative measure: Overall system performance as function of tardiness of jobs. Operational Definition: A job has a hard deadline whenever the system designer must prove that the job never misses its deadline. - soft real time systems Definition: A real-time system is a soft-real-time system when jobs have soft deadlines. Non-stringent timing requirements on-line transaction system telephone switches More stringent timing requirements Stock price quotation system Stringent timing requirements Multimedia Requirements often specified in probabilistic terms; validation is done by simulation, trial use. - hard real time systems Definition: A real-time system is hard-real-time when a large portion of the deadlines is hard. Examples: - Embedded systems (e. g. automatically controlled train: braking action on red signal) - Recovery procedures in high-availability systems (e. g. must complete within 60 seconds) Does real-time mean fast ? Need for verification: certification that deadlines are met. Why requirements to meet deadlines 100% of the time? - it is difficult to validate probabilistic timing requirements. - it is difficult to assess compound effect of missed deadlines with other factors. Hard vs. soft Real-Time Systems 9 All the definitions are compatible with the distinction between: - guaranteed service - best-effort service guaranteed service is required for hard RT systems best-effort service may be appropriate for soft RT systems Timing Constraints Timing constraints can be specified in different terms: 1. deterministic constraints (e.g. response time 50 ms) 2. probabilistic constraints (e.g. probability that response time > 50 ms less than 0.1) 3. in terms of some usefulness function (e.g. usefulness function 0.8) In practice hard timing constraints are of the first type: specified as deterministic constraints (easier to validate than the latter two types). CPU utilization Determining CPU Utilization: Suppose a system has n 1 periodic tasks, each with an execution period of pi, and hence, execution frequency is: fi = 1/pi (i = 1 to n) If task Ti is known to have (or has been estimated to have) a maximum (worst case) execution time of ei, then the utilization factor, ui, for task Ti is: ui = ei /pi Then the overall system utilization is: The (CPU) utilization factor U, is a measure of the percentage of non-idle processing. Typical response times Response times or deadlines of several real-time applications. Steps in validating timing constraints 1. Verify that in each component of the system the timing constraints are specified correctly: ensure that the timing constraints of each component are: mutually consistent, consistent with the high-level RT requirements. 2. Verify the feasibility of each component with the available HW and SW resources: ensure that each component in the system can meet its timing constraints if: it executes alone, and has all the required resources. 3. Verify that the whole system behaves as specified: ensure that, when scheduled together with some scheduling algorithm, the timing constraints of all components (competing for the available resources) are always met How to validate timing constraints 1. To verify that in each component of the system the timing constraints are specified correctly: use formal methods. 2. To verify the feasibility of each component with the available HW and SW resources: use performance analysis. 3. To verify that a scheduling algorithm can meet the timing constraints of all components, competing for the available resources, is the subject of this course.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Western Michigan - ECE - 3510
Periodic task Ti with phase Q, period pi, execution time ei, and relatice deadline Di : (Q, pi, ei, Di)
Western Michigan - ECE - 3510
7z'#j#:H#$#Y j#w#= Vr#dcfw_[_, #,] sU;fiT.#jYCN7Dw #SX#F;|4# #7un#_W)xV(9>V#/+ #s/f68*#I+ 4w>_-,eB#n. P,# # #LEb>`W =S#A2K;o.xd)H# LCxU A@A X#So uB@ #G c~ly$O d9sn cfw_#/C#>z #x#B0cfw_k"#(E;,^p 5u#&Rf#(;eI$*J #H CZ9?-9S#@vT #|o#Ssa_ sEcfw_K:2L,n#P# =Ql
Western Michigan - ECE - 3510
Rar!#-s#t J#-# #S:L MB9#3*# #Assignment3\Assignment3\ Assignment3.csprojPW@#:#Z#qZ F n# Sh # v oF&# k &S6#:#g9/ s a9 #t_[t #+n+^ 7q #6n#_,/ #Am?1#f, #jF# nU]s# +TH #r #E^` ) # l " #4LTN-%A<brE aC?-Pj#Rvf XU A0wyz#=#iK#Qc2Q+][#X )9 t* # $ J '#_zv-)eK7)y #l
Western Michigan - ECE - 3510
#include<16F877.h> #include<stdio.h> #fuses HS, NOWDT, NOPROTECT, NOPUT, NOBROWNOUT #use delay(clock=8000000) #use rs232(baud=9600,xmit=PIN_c6, rcv=PIN_C7, PARITY=N, BITS=8) void main() cfw_ float arraya[6]; float arrayb[6]; int i; float max,stmp; float v
Western Michigan - ECE - 3510
ECE 3510, Assignment #2Due: Fri, Oct.30, 20091. The feasible interval of each job in the precedence graph in Figure 4P-1 is given next to its name. The execution time of all jobs is equal to 1. (a) Find the effective release times and deadlines of the j
Western Michigan - ECE - 3510
SolarTrackingWireless SolarTrackingWireless SignalAmplifierBySolar Tracking Wireless Signal Amplifier Solar850MHZ GSMWirelessSignalAmplifier SystemWIRELESS SIGNAL AMPLIFIER SYSTEM WIRELESS850MHZ GSM- outside antenna -(Yagi antenna)Inside antenna-(
Macomb Community College - MATH - calc
Abraham Baldwin Agricultural College - ACC - 11101
CHAPTER 10 DEDUCTIONS AND LOSSES: CERTAIN ITEMIZED DEDUCTIONS SOLUTIONS TO PROBLEM MATERIALSQuestion/ Problem 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 * 24Topic Effect of changes in AGI on medical expense deduction Definition of a med
Abraham Baldwin Agricultural College - ACC - 11101
CHAPTER 9 DEDUCTIONS: EMPLOYEE AND SELF-EMPOYED-RELATED EXPENSES SOLUTIONS TO PROBLEM MATERIALSQuestion/ Problem 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23Topic Employed versus self-employed: comparison of consequences Employer-employee
Abraham Baldwin Agricultural College - ACC - 11101
CHAPTER 8 DEPRECIATION, COST RECOVERY, AMORTIZATION, AND DEPLETION SOLUTIONS TO PROBLEM MATERIALSQuestion/ Problem 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23Topic Cost recovery: eligibility Cost recovery allowable Cost recovery of land
HKU - BOTANY/ZOO - BIOL1106
HKU - BOTANY/ZOO - BIOL1106
HKU - BOTANY/ZOO - BIOL1106
HKU - BOTANY/ZOO - BIOL1106
UNIVERSITY OF HONG KONG BACHELOR OF SCIENCE: FINAL EXAMINATIONBOTANY/ZOOLOGY:BIOL1106Genetics23 May 20029:30 am - 1 1:30 amCandidates may use any self-contained, silent, battery-operated and pocket-sized calculator. The calculator should have numera
HKU - BOTANY/ZOO - BIOL1106
T HE UNIVERSITYOF HONG KONG BACHELOR O F SCIENCE: FINAL EXAMINATIONBOTANY/ZOOLOGY: BIOL1106 Genetics3 1 May 2003 2:OO pm - 4:OO pmCandidates may use any self-contained, silent, battery-operated and pocket-sized calculator. The calculator should have nu
HKU - BOTANY/ZOO - BIOL1106
HKU - BOTANY/ZOO - BIOL1106
HKU - BOTANY/ZOO - BIOL1106
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
T HE UNIVERSITY OF HONG KONG FINAL EXAMINATION BACHELOR OF SCIENCE: ZOOLOGY: BIOL2510 / 20402 Nutrition and metabolism2 0 December 19999.30 am- 11.30 amP art A: Compulsory short answer questions1 ) Which macronutrient has the largest difference betwee
HKU - ZOOLOGY - BIOL2501
T HE UNIVERSITY OF HONG KONG FINAL EXAMINATION BACHELOR OF SCIENCE: ZOOLOGY: BIOL2510 / 20402 Nutrition and metabolism2 0 December 19999.30 am - 11.30 am- A:Compulsory short answer questions1 ) Which macronutrient has the largest difference between h
HKU - ZOOLOGY - BIOL2501
HKU - ZOOLOGY - BIOL2501
THE UNIVERSITYOF HONG KONG BACHELOR OF SCIENCE: FINAL EXAMINATION ZOOLOGY: BTOL2510 Nutrition and metabolism 18 December 2002 PART A: Answer all questions (25%) 1) Calculate the energy value of a meal that consists of a hamburger (10 grams of fat, 15 gram
HKU - ZOOLOGY - BIOL2501
T HE UNIVERSITY OF HONG KONG BACHELOR OF SCIENCE: FINAL EXAMINATIONZOOLOGY: BIOL25101 5 December 2003Nutritionand Metabolism2:30pm - 4:30pmA ll questions carry q u a l marks.Section A AnswerALL questions.Name the macronutrient that has the greates
HKU - DEB - BIOL2609
Molecular EcologyLecture 1 What is molecular ecology ? Teacher: Dr Steve PointingDepartment of Ecology & Biodiversity Contact: via the website supporting this coursehttp:/www.extremophiles.net Course clinic (optional):Thursdays 10:30-11:30 Kadoorie
HKU - DEB - BIOL2609
Molecular EcologyLecture 2 Why is DNA the genetic material? Life is incredibly diverse but (almost) all life shares one common feature The genetic code is DNA Deoxyribonucleic acidCrystalline DNA This makes molecular ecology a very broadly applicabl
HKU - DEB - BIOL2609
Molecular EcologyLecture 3 Gene expressionTwo stagesTranscription: information transfer from DNA to RNATranslation: synthesis of proteins based upon RNA informationRNA the single stranded nucleic acidTranscription This is the synthesis of messenger
HKU - DEB - BIOL2609
ECOL 2007 Lecture 4Mutation: The origin of new genes and allelesWhat is mutation? DNA undergoes frequent chemical change Especially when it is being replicated Mitotic cell division, meiosis Most of these changes are quickly repaired Those that are
HKU - DEB - BIOL2609
ECOL 2007 Lecture 6Darwinism and DNAWhat is a species? A species is an actually or potentially interbreeding population that does not interbreed with other such populations when there is opportunity to do so It has been proposed that a genome differen
HKU - DEB - BIOL2609
Molecular Ecology Lecture 6Sex - whats the point?Introduction We have considered how genetic variation responds to evolutionary pressures Here organisms are genetic systems that allow genes to pass on copies of themselves BUT, life is a little more c
HKU - DEB - BIOL2609
Molecular Ecology Lecture 7Molecular insights on behaviourBehaviour Behavioural ecology The function and evolution of animal behaviour (plants and microbes dont behave!) Behaviour impacts upon survival Eg: foraging, predator-avoidance Behaviour ca
HKU - DEB - BIOL2609
Molecular Ecology ECOL2007Lecture 8 Population genetics - How do gene frequencies vary?Introduction A population is a group of interbreeding individuals and their offspring Populations usually persist over many generations Population genetics tracks
HKU - DEB - BIOL2609
Molecular EcologyLecture 9 PhylogeographyWhat is phylogeography? Patterns of spatial distribution The field of study concerned with the principles and processes governing the geographic distribution of genealogical lineages BUT, historical events are
HKU - DEB - BIOL2609
Molecular EcologyLecture 10 Molecular Genetics and Conservation One of the key aims in conservation genetics is to understand the relationship between genetic diversity and population viability Current survival Not necessarily linked to genetic divers
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007Lecture 17 Phylogenetics 1: The phylogenetics of EVERYTHING! From ancient times until the early 20th century, the living world was simply divided into: Animals Plants Chatton (1937) significantly identified two major groups
HKU - DEB - BIOL2609
ECOL 2007 Lecture 18Phylogenetics 2: Phylogenies using different loci In previous lectures we have considered how phylogenetic trees are constructed from sequence data But we also know that: genes evolve at different rates regions within genes may evol
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007Lecture 19: Phylogeography: Gene flow among highly mobile populationsPhylogeography of billfishesBillfish are successful predators in the epipelagic regionTaxonomy of billfishesFamily Istiophoridae Genus Makaira M.nigricans
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007Lecture 20: Population structure: Telomeres as age markersAge structure of populations As organisms age, their fertility and survival is affected A knowledge of age structure in a population is therefore important, particular
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007Lecture 21 Behavioural ecology: Kinship among social insectsSocial insects Insect societies show great diversity in their mating systems and the way reproduction is shared among colony members The mating frequency of the quee
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007Lecture 22: Stress responses: Expression of stress protein genesThe heat shock response The heat shock response is a ubiquitous, protective (and homeostatic) cellular response to cope with heat-induced damage to proteins Many
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007Lecture 23: Environmental GenomicsThe microbial ecology problem It is estimated that only 1% of prokaryotes are culturable Can be grown in the lab from environmental samples They can be phenotypically very similar Although
HKU - DEB - BIOL2609
Molecular Ecology ECOL 2007 Lecture 24Conservation genetics: wild and captive populationsWild populations There are several examples in the literature of molecular techniques helping to resolve conservation issues for wild populations We have looked a
HKU - BIOC - BIOC2603
B.Sc. BIOC1003 (1st Year) - Introduction to Molecular Genetics 2007 - 2008 [Semester II] Course Co-ordinator: Dr. JD Huang 25-Oct-07Date Week Time Topic Teacher Venue03-Sep-07 Mon 05-Sep-07 Wed 10-Sep-07 Mon 12-Sep-07 Wed 17-Sep-07 Mon 19-Sep-07 Wed 24-
HKU - BIOC - BIOC2603
BIOC2603 Principles of Molecular GeneticsDNA polymorphismsBrian Wong bcwwong@hkucc.hku.hkGenetic variations in human Compare genomic DNA of any two individuals: 99.9% identical (approximately 1 difference per 1 kb) Size of human genome is 3 x 109 bp s
HKU - BIOC - BIOC2603
Genetic Engineering and Applications (BIOC 2603)Dr. Danny Chan Department of BiochemistryEmail: chand@hkusua.hku.hk Phone: 28199842Topics in year 1 Restriction enzymes. DNA modifying enzymes. Cloning using plasmids as vectors. cDNA library. Screening
HKU - BIOC - BIOC2603
BIOC2603 (2007) BIOC2603 (2007)Genomes and GenomicsBrian Wong bcwwong@hkucc.hku.hkReferencesBrown TA (2007) Genomes 3rd ed. Chapters 7-8 TA (2007) Genomes 3rd ed Chapters (see http:/www.ncbi.nlm.nih.gov/books/ for 2nd ed.) International Human Genome S
HKU - BIOC - BIOC2603
BIOC2603 Principles of Molecular GeneticsRecombination Brian Wong bcwwong@hkucc.hku.hkGenetic recombination: reassortment of genetic material(A) Independent assortment (for genes on different chromosomes) (B) crossing over (for genes on the same chromo
HKU - BIOC - BIOC2603
BIOC2603 Principles of Molecular GeneticsRecombinationBrian Wong bcwwong@hkucc.hku.hkPart IISite-specific recombinationSite-specific recombination Reciprocal recombination between two short specific DNA sequences. No net synthesis or deletion of DNA
HKU - BIOC - BIOC2603
BIOC2603 Principles of Molecular GeneticsSplicing and RNA processing RNA editing Gene evolution: exons and introns Dr. Mai Har Sham Department of BiochemistryAdvanced ReferencesWatson et al. (2004) Molecular Biology of the Gene. 5th Ed. Pearson/ Benjam
Skyline College - PHYS - 121
12.) Which of the following are permissible amounts of charge for an object to have? Select all that are correct (and none that are incorrect) to receive credit. (You should assume the elementary charge value is exactly e=1.610-19 C.)A neutral object is