Virtual Plant Tour Stamping – c&p=n#/27;109 c&p=n#/27;109 – .
-
Upload
christian-stanley -
Category
Documents
-
view
220 -
download
0
Transcript of Virtual Plant Tour Stamping – c&p=n#/27;109 c&p=n#/27;109 – .
Virtual Plant Tour
• Stamping– http://www.infinitelooper.com/?
v=bYCc3toOHdc&p=n#/27;109– http://www.youtube.com/watch?v=bYCc3toOHdc
• Vision– http://www.youtube.com/watch?
v=QXbpxHeeBAE
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling1
SE-3910Real-time Systems
• Week 1, Class 3 [DRAFT]– Virtual Plant Tour– Introductions– Quiz 1 – The first real quiz!– Real-Time System Terminology (cont.)
• Classifications
– Response Time & Latency– Common Approaches & Misconceptions
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling, Some from Dr. Hornick, etc. 2
Real-Time SystemTerminology
• Soft– Not destroyed by failure to meet response time
• Hard– Destroyed by failure to meet a single deadline
• Firm– Destroyed by failure to meet multiple deadlines
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling3
Discussion• On your own: Write which kind of real-time system is being used• With your partner, discuss & fill in the explanations
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling4
System Classification Explanation
Video Surveillance System for Car Dealership
Laser welding robot to construct car frames
2 player air hockey game on game console
Timing Terminology
• Event– A jump in the program counter
• Synchronous– Predicatable. Scheduled. In sync with other events
• Asynchronous– Unpredictable. Unscheduled. External requests
• Aperiodic – No fixed period, asynchronous• Sporadic – Extremely infrequent and aperiodic• Punctual – Neither early nor late
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling5
Digibot Circuitry
• A deterministic system
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling6
Five Misconceptions(paraphrased from Laplante and
Ovaske)• Real-time Systems are fast• All you need is
– a real-time OS– a rate-monotonic scheduler– lots of scheduling theory
• We’ve figured out how to make real-time systems
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling7
Muddiest Point
• What was the muddiest point in this lecture? (least clear point)
• Would you like to have an outcomes slide at start/end of lecture notes?
• How about online? (Which do you prefer more?)
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling8
Response Time & Latency
• Response time– The time between input events and all possible
output events
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling9
Measure your class-mate’s response time
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling10
Instructions• Part 1
– One partner should hold the stick while the other partner places their hand around the tape at the end of the stick. Hands should be approximately 1” from the stick.
– At some point in the future, the partner drops the stick. Read the numbers off of the stick for response time and record them in the GoogleDoc.
– Repeat the experiment 3 times
• Part 2– One partner should hold the stick while the other partner places their hands
around the tape at the end of the stick. Hands should be approximately shoulder width apart.
– At some point in the future, the partner drops the stick. Read the numbers off of the stick for response time and record them in the GoogleDoc.
– Repeat the experiment 3 times
• Partners swap roles…SE-3910 - Dr. Josiah Yoder
Slide style: Dr. HornickMuch Material: Dr. Schilling
11
Human Systems• Sensory:
Inputs: Both external & internalOutputs: Nerve signals
• Nervous:Inputs: Nerve signalsOutputs: Intelligent nerve signals
• Motor:Inputs: Nerve signalsOutputs: Precise & powerful motion
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling12
Human Nervous System
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling13
Nerve Speeds
• Speed of signal transmission along nerve fibers– depends on diameter of fiber & presence of myelin– large fibers have more surface area for signals
• Speeds– small, unmyelinated fibers = 0.5 - 2.0 m/sec– small, myelinated fibers = 3 - 15.0 m/sec– large, myelinated fibers = up to 120 m/sec
• Functions– slow signals supply the stomach & dilate pupil– fast signals supply skeletal muscles & transport sensory signals
for vision & balanceSE-3910 - Dr. Josiah Yoder
Slide style: Dr. HornickMuch Material: Dr. Schilling
14
System Diagram
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling15
DelaysDistance from stick to eyes
Speed of lightNeuron distance between eyes and brain stem
.1 metreNeuron distance between brain and hands
1 metreTime for hands to close
Hands can move up to 100 mph (44 metres per second)
Rest of time will be latency in the brain
299 792 458 m / s (google)
Latency vs. Processing Time?
• http://javidjamae.com/2005/04/07/response-time-vs-latency/
• Latency + Processing Time = Response Time(One view)
• What response time can we guarantee with our system?– What is epsilon?
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling16