Distributed Systems Theory 6. Clock synchronization - logical vs. physical clocks. November 9, 2009
|
|
|
- Clement Goodwin
- 10 years ago
- Views:
Transcription
1 Distributed Systems Theory 6. Clock synchronization - logical vs. physical clocks November 9,
2 Synchronization: single CPU sys vs. dist sys. Single CPU: DS: critical regions, mutual exclusion, and other synchronization probls are solved using methods such as semaphores and monitors. semaphores and monitors are not appropriate since they rely on the existence of shared memory Problems to be tackled with: Time Mutual exclusion Election algorithms Atomic transactions Deadllocks 2
3 Building algs. for clock synchronization Centralized approach: Collect all the information about the system in one place, Then let some process examine it and make a decision as is done in uni-proc. case. Point of failure: the centralizer Distributed algs. have the following properties: 1. The relevant information is scattered among multiple machines. 2. Processes make decisions based only on local information. 3. A single point of failure in the system should be avoided. Why? DS should be more reliable than the individual machines If one goes down, the rest should be able to continue to function 4. No common clock or other precise global time source exists. 3
4 DS algs the 4 th property Counterex: centralized sys -- In a centralized sys: time is unambiguous. when a process wants to know the time, it makes a system call and the kernel tells it. if process A asks for the time, and later process B asks for the time, the value that B gets > the value A got. In a DS, achieving agreement on time is not trivial. Example: lack of global time knowledge on a cluster of Unix machines 4
5 The make example Make examines the times at which all the source and object files were last modified Make goes through all the source files to find out which ones need to be recompiled and calls the compiler to recompile them. Normal: if the source file input.c has time 2151 and the corresponding object file has time 2150, make knows that input.c has been changed since input.o was created, and thus input.c must be recompiled. if output.c has time 2144 and output.o has time 2145, no compilation is needed here. De-synchronization: Short after real time 2144 as above output.c is modified on machine with a slower clock Make will not call the compiler. The resulting executable binary program will then contain a mixture of object files from the old sources and the new sources. 5
6 Computer s clock Each computer has a circuit for keeping track of time The word "clock" is used to refer to these devices, but they are not actually clocks in the usual sense: timer is perhaps a better word. A computer timer is usually a precisely machined quartz crystal. When kept under tension, quartz crystals oscillate at a well-defined frequency that depends on the kind of crystal, how it is cut, and the amount of tension. Associated with each crystal are two registers, a counter and a holding register. Each oscillation of the crystal decrements the counter by one. When the counter gets to zero, an interrupt is generated and the counter is reloaded from the holding register. In this way, it is possible to program a timer to generate an interrupt 60 times a second, or at any other desired frequency. Each interrupt is called one clock tick. 6
7 Clock skew Although the frequency at which a crystal oscillator runs is usually fairly stable, it is impossible to guarantee that the crystals in different computers all run at exactly the same frequency. When a system has n computers, all n crystals will run at slightly different rates, causing the (software) clocks gradually to get out of sync and give different values when read out. This difference in time values is called clock skew. Consequence: programs that are based on the time associated with a file, object, process, or message can fail e.g. make example 7
8 Relative times Make probl. in case of single computer & a single clock is solved: all processes on the machine use the same clock, they will still be internally consistent it does not matter much if this clock is off by a small amount all that really matters are the relative times. Lamport 1978 showed that clock synchronization is possible and presented an algorithm for achieving it. Ideea: clock synchronization need not be absolute. If two processes do not interact, it is not necessary that their clocks be synchronized because the lack of synchronization would not be observable and thus could not cause problems. what usually matters is not that all processes agree on exactly what time it is, but rather, that they agree on the order in which events occur make example: what counts is whether output.c is older or newer than output.o not their absolute creation times. 8
9 Logical clocks & physical clocks For many appls: it is sufficient that all machines agree on the same time. it is not essential that this time also agree with the real time E.g. make example - it is adequate that all machines agree that it is 10:00 even if it is really 10:02. Meaning: it is the internal consistency of the clocks that matters, not whether they are particularly close to the real time. For these algorithms it is conventional to speak of the clocks as logical clocks. Counter-ex: when the additional constraint is present that the clocks must not only be the same, but also must not deviate from the real time by more than a certain amount, the clocks are called physical clocks. 9
10 Lamport alg: synchronize logical clocks Lamport defined a relation called happens-before. The expression a b is read "a happens before b means that all processes agree that first event a occurs, then afterward, event b occurs. The happens-before relation can be observed directly in two situations: 1. If a and b are events in the same process, and a occurs before b then a b is true. 2. If a is the event of a message being sent by one process, and b is the event of the message being received by another process, then a b is also true. meaning: a message cannot be received before it is sent, or even at the same time it is sent, since it takes a finite amount of time to arrive 10
11 Properties of happens-before relation Transitive if a b and b c, then a c. If two events, x and y, happen in different processes that do not exchange messages (not even indirectly via third parties), then x y is not true, but neither is y x. Events are said to be concurrent 11
12 Logic clock For every event a we assign a time value C(a) on which all processes agree. The property that if a b, then C(a)<C(b). Meaning: if a and b are two events within the same process and a occurs before b, then C(a)<C(b). if a is the sending of a message by one process and b is the reception of that message by another process, then C(a) and C(b) must be assigned in such a way that everyone agrees on the values of C(a) and C(b) with C (a) <C(b). C must always go forward (increasing), never backward (decreasing). Corrections to time can be made by adding a positive value, never by subtracting one. 12
13 Example (1/2) Non-sync Sync Left: three processes that run on different machines, each with its own clock, running at its own speed. when the clock has ticked 6 times in process 0, it has ticked 8 times in process 1 and 10 times in process 2. each clock runs at a constant rate, but the rates are different due to differences in the crystals. time 6: process 0 sends message A to process 1. the clock in process 1 reads 16 when it arrives. If the message carries the starting time, 6, in it, process 1 will conclude that it took 10 ticks to make the journey. according to this reasoning, message B from 1 to 2 takes 16 ticks, again a plausible value. message C from 2 to 1 leaves at 60 and arrives at 56. Impossible! message D from 1 to leaves at 64 and arrives at 54. Impossible! 13
14 Example (2/2) Non-sync Sync Right - Lamport's solution: follows directly from the happened-before relation. since C left at 60, it must arrive at 61 or later. therefore, each message carries the sending time, according to the sender's clock. when a message arrives and the receiver's clock shows a value prior to the time the message was sent, the receiver fast forwards its clock to be one more than the sending time. on the right we see that C now arrives at 61. Similarly, D arrives at
15 Adjustments to meet the requirements for global time Between every two events, the clock must tick at least once Two events cannot occur at exactly the same time. Approach: attach the number of the process in which the event occurs to the low-order end of the time, separated by a decimal point. e.g. events happen in processes 1 and 2, both with time 40, the former becomes 40.1 and the latter becomes > Assign time to all events in a distributed system subject to the following conditions: 1. If a happens before b in the same process, C(a)< C(b). 2. If a and b represent the sending and receiving of a message, C(a)<C(b). 3. For all distinct events a and b, C(a) is not equal with C(b). -> A total ordering of all events in the system. 15
16 The need for physical clocks Lamport's algorithm for logical clock sync gives an unambiguous event ordering, the time values assigned to events are not necessarily close to the actual times at which they occur. In some systems like real-time systems, the actual clock time is important! -> For these systems external physical clocks are required. For reasons of efficiency and redundancy, multiple physical clocks are generally considered desirable, which yields two problems: 1. How do we synchronize them with real-world clocks, and 2. How do we synchronize the clocks with each other? [Next week!] 16
17 How time is actually measured? 1. The Solar Second Since 17th century, time has been measured astronomically The event of the sun's reaching its highest apparent point in the sky is called the transit of the sun this event occurs at about noon each day. The interval between two consecutive transits of the sun is called the solar day. Since there are 24 hours in a day, each containing 3600 seconds, the solar second is defined as exactly 86400th of a solar day. The 1940s: the period of the Earth's rotation is not constant! Earth is slowing down due to tidal friction and atmospheric drag. Geologists believe that 300 million years ago there were about 400 days per year in mathematical sense. The length of the year, that is, the time for one trip around the sun, is not thought to have changed; the day has simply become longer. In addition to this long-term trend, short-term variations in the length of the day also occur, probably caused by turbulence deep in the earth's core of molten iron. Astronomers compute the length of the day by measuring a large number of days and taking the average before dividing by 86,400 the resulting quantity is called the mean solar second. 17
18 How time is actually measured? 2. TAI Invention of the atomic clock in 1948 => measure time much more accurately, independent of the wiggling and wobbling of the earth, counting transitions of the cesium 133 atom. physicists: defined the second to be the time it takes the cesium 133 atom to make exactly 1,770 transitions. The choice was made to make the atomic second equal to the mean solar second in the year of its introduction. More than 50 laboratories around the world have cesium 133 clocks. Periodically, each laboratory tells the Bureau International de Heure (BIH) in Paris how many times its clock has ticked. The BIH averages these to produce International Atomic Time, which is abbreviated TAI. TAI is just the mean number of ticks of the cesium 133 clocks since midnight on Jan. 1, 1958 (the beginning of time) divided by 1,
19 How time is actually measured? TAI problem TAI is highly stable and available to anyone who wants to go to the trouble of buying a cesium clock, BUT there is a serious problem with it: 86,400 TAI seconds is NOW about 3 msec less than a mean solar day because the mean solar day is getting longer all the time. Approach? Solution of Pope Gregory XIII: in 1582 decreed that 10 days be omitted from the calendar. This event caused riots in the streets because landlords demanded a full month's rent and bankers a full month's interest, while employers refused to pay workers for the 10 days they did not work The Protestant countries, as a matter of principle, refused to have anything to do with papal decrees and did not accept the Gregorian calendar for 170 years. 19
20 How time is actually measured? 3. UTC BIH solves the problem by introducing leap seconds whenever the discrepancy between TAI and solar time grows to 800 msec. This correction gives rise to a time system based on constant TAI seconds but which stays in phase with the apparent motion of the sun. It is called Universal Coordinated Time, abbreviated as UTC. UTC is the basis of all modern civil timekeeping. It has essentially replaced the old standard, Greenwich Mean Time (GMT), which is astronomical time. 20
21 Knowing the UTC Most electric power companies base the timing of their 60-Hz or 50-Hz clocks on UTC When BIH announces a leap second, the power companies raise their frequency to 61 Hz or 51 Hz for 60 or 50 sec, to advance all the clocks in their distribution area. 1 sec is a noticeable interval for a computer & OS that needs to keep accurate time over a period of years must have special software to account for leap seconds as they are announced UTC is broadcasted by radio, satellites etc with an accuracy of 0.5msec Need an accurate knowledge of the relative position of the sender and receiver, in order to compensate for the signal propagation delay. 21
Distributed Synchronization
CIS 505: Software Systems Lecture Note on Physical Clocks Insup Lee Department of Computer and Information Science University of Pennsylvania Distributed Synchronization Communication between processes
Synchronization in. Distributed Systems. Cooperation and Coordination in. Distributed Systems. Kinds of Synchronization.
Cooperation and Coordination in Distributed Systems Communication Mechanisms for the communication between processes Naming for searching communication partners Synchronization in Distributed Systems But...
Local Sidereal Time is the hour angle of the First Point of Aries, and is equal to the hour angle plus right ascension of any star.
1 CHAPTER 7 TIME In this chapter we briefly discuss the several time scales that are in use in astronomy, such as Universal Time, Mean Solar Time, Ephemeris Time, Terrestrial Dynamical Time, and the several
3.7. Clock Synch hronisation
Chapter 3.7 Clock-Synchronisation hronisation 3.7. Clock Synch 1 Content Introduction Physical Clocks - How to measure time? - Synchronisation - Cristian s Algorithm - Berkeley Algorithm - NTP / SNTP -
Best Practices for Leap Second Event Occurring on 30 June 2015
Best Practices for Leap Second Event Occurring on 30 June 2015 26 May 2015 Sponsored by the National Cybersecurity and Communications Integration Center in coordination with the United States Naval Observatory,
Chapter 6: distributed systems
Chapter 6: distributed systems Strongly related to communication between processes is the issue of how processes in distributed systems synchronize. Synchronization is all about doing the right thing at
Computer Time Synchronization
Michael Lombardi Time and Frequency Division National Institute of Standards and Technology Computer Time Synchronization The personal computer revolution that began in the 1970's created a huge new group
Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs)
REAL-TIME CLOCKS Application Note 632: Aug 01, 2001 Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs) This app note describes methods for measuring the accuracy of the Maxim Real-Time Clocks (RTCs)
Real-Time Component Software. slide credits: H. Kopetz, P. Puschner
Real-Time Component Software slide credits: H. Kopetz, P. Puschner Overview OS services Task Structure Task Interaction Input/Output Error Detection 2 Operating System and Middleware Applica3on So5ware
Clock Synchronization
Lectures on distributed systems Clock Synchronization Paul Krzyzanowski When Charles V retired in weariness from the greatest throne in the world to the solitude of the monastery at Yuste, he occupied
ASTRONOMY 161. Introduction to Solar System Astronomy
ASTRONOMY 161 Introduction to Solar System Astronomy Seasons & Calendars Monday, January 8 Season & Calendars: Key Concepts (1) The cause of the seasons is the tilt of the Earth s rotation axis relative
Time Calibrator. 2013 Fountain Computer Products
Time Calibrator Time Calibrator All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping,
Computer Time Synchronization
Michael Lombardi Time and Frequency Division NIST email: [email protected] Computer Time Synchronization The personal computer revolution that began in the 1970's created a huge new group of time
Astronomical Clocks. ~ 1 day ~ 1 hour
Astronomical Clocks ~ 1 day ~ 1 hour Calendar A calendar is just a really slow clock ticks = days Assign some names/ patterns to days Allow predictions of future Question: How do you check the performance
Operating Systems Concepts: Chapter 7: Scheduling Strategies
Operating Systems Concepts: Chapter 7: Scheduling Strategies Olav Beckmann Huxley 449 http://www.doc.ic.ac.uk/~ob3 Acknowledgements: There are lots. See end of Chapter 1. Home Page for the course: http://www.doc.ic.ac.uk/~ob3/teaching/operatingsystemsconcepts/
The BIPM, the Time Department and UTC
The BIPM, the Time Department and UTC Elisa Felicitas Arias Fundamentals for a time and frequency laboratory BIPM, 11 September 2012 BUREAU INTERNATIONAL DES POIDS ET MESURES The BIPM It has headquarters
Real-Time Scheduling 1 / 39
Real-Time Scheduling 1 / 39 Multiple Real-Time Processes A runs every 30 msec; each time it needs 10 msec of CPU time B runs 25 times/sec for 15 msec C runs 20 times/sec for 5 msec For our equation, A
SATELLITE TIME-TRANSFER: RECENT DEVELOPMENTS AND PROJECTS
SATELLITE TIME-TRANSFER: RECENT DEVELOPMENTS AND PROJECTS W. LEWANDOWSKI 1 and J. NAWROCKI 2 1 Bureau International des Poids et Mesures, Sèvres, France e-mail: [email protected] 2 Astrogeodynamical
CHAPTER 18 TIME TIME IN NAVIGATION
CHAPTER 18 TIME TIME IN NAVIGATION 1800. Solar Time The Earth s rotation on its axis causes the Sun and other celestial bodies to appear to move across the sky from east to west each day. If a person located
Real Time Programming: Concepts
Real Time Programming: Concepts Radek Pelánek Plan at first we will study basic concepts related to real time programming then we will have a look at specific programming languages and study how they realize
High-Stability Time Adjustment with Real-Time Clock Module
High-Stability Time Adjustment with Real-Time Clock Module An explanation of an Epson real-time clock module with sub-second time adjustment function [Preface] In recent years, it has become simple to
Clock Synchronization
Introduction Lectures on distributed systems Clock Synchronization Paul Krzyzanowski When Charles V retired in weariness from the greatest throne in the world to the solitude of the monastery at Yuste,
Clocks/timers, Time, and GPS
FYS3240 PC-based instrumentation and microcontrollers Clocks/timers, Time, and GPS Spring 2015 Lecture #11 Bekkeng, 22.12.2014 How good is a crystal oscillator (XO)? Interested in the long-term measurement
Clock Synchronization
Clock Synchronization Henrik Lönn Electronics & Software Volvo Technological Development Contents General Types of Synchronisation Faults and problems to cope with Example algorithms Transmission delays
Introduction to Distributed Systems
Introduction to Distributed Systems CSE 380 Computer Operating Systems Instructor: Insup Lee University of Pennsylvania Fall 2003 Lecture Note: Distributed Systems Why do we develop distributed systems?
8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.
AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,
TCP in Wireless Mobile Networks
TCP in Wireless Mobile Networks 1 Outline Introduction to transport layer Introduction to TCP (Internet) congestion control Congestion control in wireless networks 2 Transport Layer v.s. Network Layer
THE STEERING OF A REAL TIME CLOCK TO UTC(NBS) AND TO UTC by
THE STEERNG OF A REAL TME CLOCK TO UTC(NBS) AND TO UTC by J. Levine and D.W. Allan Time and Frequency Division National nstitute of Standards and Technology Boulder, Colorado 833 ABSTRACT We describe the
The Role of Precise Timing in High-Speed, Low-Latency Trading
The Role of Precise Timing in High-Speed, Low-Latency Trading The race to zero nanoseconds Whether measuring network latency or comparing real-time trading data from different computers on the planet,
Clock Synchronization: Overview and Outlook
Clock Synchronization: Overview and Outlook Sistemi e strumenti per l'automazione, A. Flammini, AA2011-2012 Synchronization as Network Service Reference clocks know correct time Daemons consult reference
Earth In Space Chapter 3
Earth In Space Chapter 3 Shape of the Earth Ancient Greeks Earth casts a circular shadow on the moon during a lunar eclipse Shape of the Earth Ancient Greeks Ships were observed to disappear below the
Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design
Learning Outcomes Simple CPU Operation and Buses Dr Eddie Edwards [email protected] At the end of this lecture you will Understand how a CPU might be put together Be able to name the basic components
DS1307ZN. 64 x 8 Serial Real-Time Clock
DS137 64 x 8 Serial Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid
A High Resolution Performance Monitoring Software on the Pentium
A High Resolution Performance Monitoring Software on the Pentium Ong Cheng Soon*, Fadhli Wong Mohd Hasan Wong**, Lai Weng Kin* * Software Lab, MIMOS Berhad [email protected], [email protected] ** Dept of Electrical
PC Clock Accuracy. To pick a random (UK) time server use 0.uk.pool.ntp.org, 1.uk.pool.ntp.org, 2.uk.pool.ntp.org or 3.uk.pool.ntp.org.
PC Clock Accuracy The following is based on my own experiences with Windows XP Home. I would imagine that the following could apply to other recent versions of the Windows OS from Windows 2000 to Vista,
Astromechanics. 1 solar day = 1.002737909350795 sidereal days
Astromechanics 13. Time Considerations- Local Sidereal Time The time that is used by most people is that called the mean solar time. It is based on the idea that if the Earth revolved around the Sun at
Mutual Exclusion using Monitors
Mutual Exclusion using Monitors Some programming languages, such as Concurrent Pascal, Modula-2 and Java provide mutual exclusion facilities called monitors. They are similar to modules in languages that
Timer, Interrupt, Exception in ARM
Timer, Interrupt, Exception in ARM Modifications from Prabal Dutta, University of Michigan 1 Interrupts Merriam-Webster: to break the uniformity or continuity of Informs a program of some external events
71M6521 Energy Meter IC. Real Time Clock Compensation. The Challenge. The RTC in the 71M6521D/F. Theory of Operation APPLICATION NOTE
71M6521 Energy Meter IC A Maxim Integrated Products Brand APPLICATION NOTE AN_6521_035 MAY 2007 This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.
Have both hardware and software. Want to hide the details from the programmer (user).
Input/Output Devices Chapter 5 of Tanenbaum. Have both hardware and software. Want to hide the details from the programmer (user). Ideally have the same interface to all devices (device independence).
Delivering NIST Time to Financial Markets Via Common-View GPS Measurements
Delivering NIST Time to Financial Markets Via Common-View GPS Measurements Michael Lombardi NIST Time and Frequency Division [email protected] 55 th CGSIC Meeting Timing Subcommittee Tampa, Florida September
AN_6521_035 APRIL 2009
71M6521 Energy Meter IC A Maxim Integrated Products Brand APPLICATION NOTE AN_6521_035 APRIL 2009 This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.
Linux Scheduler. Linux Scheduler
or or Affinity Basic Interactive es 1 / 40 Reality... or or Affinity Basic Interactive es The Linux scheduler tries to be very efficient To do that, it uses some complex data structures Some of what it
HANDBOOK. Measuring System DESIGN EDITORS PETER H. SYDENHAM RICHARD THORN ARTICLE OFFPRINT
HANDBOOK OF Measuring System DESIGN EDITORS PETER H. SYDENHAM RICHARD THORN ARTICLE OFFPRINT 200: Calibrations and Standards in Time Measurement Michael A. Lombardi National Institute of Standards and
Activity 10 - Universal Time
Activity 10 - Universal Time Teacher s Guide Scientists use the Universal Time reference to talk about data that is taken around the globe. Universal Time is the time kept in the time zone centered on
Time Synchronization & Timekeeping
70072-0111-14 TECHNICAL NOTE 06/2009 Time Synchronization & Timekeeping Time synchronization lets you synchronize the internal clocks of all networked PowerLogic ION meters and devices. Once synchronized,
Use of modern telephone network for time transfer: An innovation
Indian Journal of Pure & Applied Physics Vol. 48, September 2010, pp. 676-680 Use of modern telephone network for time transfer: An innovation Pranalee P Thorat* & P Banerjee** National Physical Laboratory,
Operating Systems. Lecture 03. February 11, 2013
Operating Systems Lecture 03 February 11, 2013 Goals for Today Interrupts, traps and signals Hardware Protection System Calls Interrupts, Traps, and Signals The occurrence of an event is usually signaled
Section 29. Real-Time Clock and Calendar (RTCC)
Section 29. Real-Time Clock and Calendar (RTCC) HIGHLIGHTS This section of the manual contains the following topics: 29.1 Introduction... 29-2 29.2 Status and Control Registers... 29-3 29.3 Modes of Operation...
APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
(Refer Slide Time: 00:01:16 min)
Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control
PDHonline Course L105 (12 PDH) GPS Surveying. Instructor: Jan Van Sickle, P.L.S. PDH Online PDH Center
PDHonline Course L105 (12 PDH) GPS Surveying Instructor: Jan Van Sickle, P.L.S. 2012 PDH Online PDH Center 5272 Meadow Estates Drive Fairfax, VA 22030-6658 Phone & Fax: 703-988-0088 www.pdhonline.org www.pdhcenter.com
Homework 1 (Time, Synchronization and Global State) - 100 Points
Homework 1 (Time, Synchronization and Global State) - 100 Points CS25 Distributed Systems, Fall 2009, Instructor: Klara Nahrstedt Out: Thursday, September 3, Due Date: Thursday, September 17 Instructions:
Sun Earth Relationships
1 ESCI-61 Introduction to Photovoltaic Technology Sun Earth Relationships Ridha Hamidi, Ph.D. Spring (sun aims directly at equator) Winter (northern hemisphere tilts away from sun) 23.5 2 Solar radiation
Real Time Control Under UNIX for RCCL
1 Real Time Control Under UNIX for RCCL (3rd International Symposium on Robotics and Manufacturing Vancouver, Canada, July 18-20, 1990) John Lloyd and Mike Parker McGill University, Research Center for
AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts
AN2604 Application note
AN2604 Application note STM32F101xx and STM32F103xx RTC calibration Introduction The real-time clock (RTC) precision is a requirement in most embedded applications, but due to external environment temperature
ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies
ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation
EDMONDS COMMUNITY COLLEGE ASTRONOMY 100 Winter Quarter 2007 Sample Test # 1
Instructor: L. M. Khandro EDMONDS COMMUNITY COLLEGE ASTRONOMY 100 Winter Quarter 2007 Sample Test # 1 1. An arc second is a measure of a. time interval between oscillations of a standard clock b. time
Principles and characteristics of distributed systems and environments
Principles and characteristics of distributed systems and environments Definition of a distributed system Distributed system is a collection of independent computers that appears to its users as a single
The Model A032-ET of Riga Event Timers
The Model A032-ET of Riga Event Timers V. Bespal ko, E. Boole, V. Vedin 1. Institute of Electronics and Computer Science, Riga, LATVIA. Contact: [email protected] Abstract The Event Timer A032-ET is an advanced
Monday January 19th 2015 Title: "Transmathematics - a survey of recent results on division by zero" Facilitator: TheNumberNullity / James Anderson, UK
Monday January 19th 2015 Title: "Transmathematics - a survey of recent results on division by zero" Facilitator: TheNumberNullity / James Anderson, UK It has been my pleasure to give two presentations
Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan
Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software
How To Write Portable Programs In C
Writing Portable Programs COS 217 1 Goals of Today s Class Writing portable programs in C Sources of heterogeneity Data types, evaluation order, byte order, char set, Reading period and final exam Important
NIST Time and Frequency Services
NIST Special Publication 432, 2002 Edition NIST Time and Frequency Services Michael A. Lombardi NIST Special Publication 432 (Minor text revisions made in April 2003) NIST Time and Frequency Services
General GPS Antenna Information APPLICATION NOTE
General GPS Antenna Information APPLICATION NOTE General GPS Antenna Information Global Positioning System and Precise Time & Frequency The Global Positioning System (GPS) is a worldwide radio-navigation
THE DATES OF EASTER SUNDAY. Panos Antsaklis Notre Dame, Indiana
THE DATES OF EASTER SUNDAY >>>>>>>>>>>>>>>>>>>> On the Julian, Gregorian and Lunar Calendars, the First Ecumenical Council of Nicaea, the Vernal Equinox and the
Synchronization of sampling in distributed signal processing systems
Synchronization of sampling in distributed signal processing systems Károly Molnár, László Sujbert, Gábor Péceli Department of Measurement and Information Systems, Budapest University of Technology and
EXPERIMENTAL ERROR AND DATA ANALYSIS
EXPERIMENTAL ERROR AND DATA ANALYSIS 1. INTRODUCTION: Laboratory experiments involve taking measurements of physical quantities. No measurement of any physical quantity is ever perfectly accurate, except
High Speed and Voice over I.P September 1, 2005
If your property is setup with high-speed Internet access, you can incur big savings on your outgoing calls by using Voice over I.P. services to replace your local telephone and/or long distance service.
Linux Process Scheduling Policy
Lecture Overview Introduction to Linux process scheduling Policy versus algorithm Linux overall process scheduling objectives Timesharing Dynamic priority Favor I/O-bound process Linux scheduling algorithm
Review of Basic Options Concepts and Terminology
Review of Basic Options Concepts and Terminology March 24, 2005 1 Introduction The purchase of an options contract gives the buyer the right to buy call options contract or sell put options contract some
Syslog Windows Tool Set (WTS) Configuration File Directives And Help
orrelog Syslog Windows Tool Set (WTS) Configuration File Directives And Help The CO-sysmsg.cnf file contains all the parameters and specifications related to the program s operation. This file is found
Scheduling. Yücel Saygın. These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum
Scheduling Yücel Saygın These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum 1 Scheduling Introduction to Scheduling (1) Bursts of CPU usage alternate with periods
Accurate Measurement of the Mains Electricity Frequency
Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC [email protected] Abstract The frequency of the mains electricity supply
Table of Contents. Cisco Network Time Protocol: Best Practices White Paper
Table of Contents Network Time Protocol: Best Practices White Paper...1 Introduction...1 Background Information...1 Terminology...2 Overview...3 Device Overview...3 NTP Overview...4 NTP Design Criteria...5
Timing Errors and Jitter
Timing Errors and Jitter Background Mike Story In a sampled (digital) system, samples have to be accurate in level and time. The digital system uses the two bits of information the signal was this big
Binary Division. Decimal Division. Hardware for Binary Division. Simple 16-bit Divider Circuit
Decimal Division Remember 4th grade long division? 43 // quotient 12 521 // divisor dividend -480 41-36 5 // remainder Shift divisor left (multiply by 10) until MSB lines up with dividend s Repeat until
Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency
Registers Timing Methodologies (cont d) Sample data using clock Hold data between clock cycles Computation (and delay) occurs between registers efinition of terms setup time: minimum time before the clocking
Remote Calibration of a GPS Timing Receiver to UTC(NIST) via the Internet*
Remote Calibration of a GPS Timing Receiver to UTC(NIST) via the Internet* Michael A. Lombardi and Andrew N. Novick National Institute of Standards and Technology Boulder, Colorado [email protected]
Welcome to Physics 40!
Welcome to Physics 40! Physics for Scientists and Engineers Lab 1: Introduction to Measurement SI Quantities & Units In mechanics, three basic quantities are used Length, Mass, Time Will also use derived
Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1
Finite State Machine Chapter 10 1 Outline 1. Overview 2. FSM representation 3. Timing and performance of an FSM 4. Moore machine versus Mealy machine 5. VHDL description of FSMs 6. State assignment 7.
Abstract. Our goal is to save the lives of many people in all states and countries. The way
Abstract Our goal is to save the lives of many people in all states and countries. The way we plan to accomplish this is by creating a technology similar to the existing technology such as Life Alert.
A Visualization System and Monitoring Tool to Measure Concurrency in MPICH Programs
A Visualization System and Monitoring Tool to Measure Concurrency in MPICH Programs Michael Scherger Department of Computer Science Texas Christian University Email: [email protected] Zakir Hussain Syed
GETTING STARTED WITH LABVIEW POINT-BY-POINT VIS
USER GUIDE GETTING STARTED WITH LABVIEW POINT-BY-POINT VIS Contents Using the LabVIEW Point-By-Point VI Libraries... 2 Initializing Point-By-Point VIs... 3 Frequently Asked Questions... 5 What Are the
Activity 1 Reading Universal Time Level 2 http://www.uni.edu/storm/activities/level2/index.shtml
Activity 1 Reading Universal Time Level 2 http://www.uni.edu/storm/activities/level2/index.shtml National Science Education Standards: As a result of activities in grades 5-8, all students should develop
Software design (Cont.)
Package diagrams Architectural styles Software design (Cont.) Design modelling technique: Package Diagrams Package: A module containing any number of classes Packages can be nested arbitrarily E.g.: Java
Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa
Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation
Glossary of Inventory Management Terms
Glossary of Inventory Management Terms ABC analysis also called Pareto analysis or the rule of 80/20, is a way of categorizing inventory items into different types depending on value and use Aggregate
Synchronization and precise timing in packet networks
TransPacket white paper Synchronization and precise timing in packet networks 28.06.2011 Supporting mobile back-haul and real-time applications Executive summary IP/MPLS and Ethernet packet optical networks
Operating Systems 4 th Class
Operating Systems 4 th Class Lecture 1 Operating Systems Operating systems are essential part of any computer system. Therefore, a course in operating systems is an essential part of any computer science
[Refer Slide Time: 05:10]
Principles of Programming Languages Prof: S. Arun Kumar Department of Computer Science and Engineering Indian Institute of Technology Delhi Lecture no 7 Lecture Title: Syntactic Classes Welcome to lecture
Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead
Clock - key to synchronous systems Topic 7 Clocking Strategies in VLSI Systems Peter Cheung Department of Electrical & Electronic Engineering Imperial College London Clocks help the design of FSM where
Real-Time Systems Prof. Dr. Rajib Mall Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur
Real-Time Systems Prof. Dr. Rajib Mall Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No. # 06 Basics of Real-Time Task Scheduling Let us get started.
Precision Clock Synchronization
Hirschmann. Simply a Good Connection. White Paper Precision Clock Synchronization The Standard IEEE 1588 Precision Clock Synchronization IEEE 1588 White Paper Rev. 1.2 Table of contents Precision Clock
Monitoring the NTP Server. eg Enterprise v6.0
Monitoring the NTP Server eg Enterprise v6.0 Restricted Rights Legend The information contained in this document is confidential and subject to change without notice. No part of this document may be reproduced
Motion. Complete Table 1. Record all data to three decimal places (e.g., 4.000 or 6.325 or 0.000). Do not include units in your answer.
Labs for College Physics: Mechanics Worksheet Experiment 2-1 Motion As you work through the steps in the lab procedure, record your experimental values and the results on this worksheet. Use the exact
Clocking. Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 Clocks 1
ing Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 s 1 Why s and Storage Elements? Inputs Combinational Logic Outputs Want to reuse combinational logic from cycle to cycle 6.884 - Spring 2005 2/18/05
