Clock Synchronization Clock Synchronization Part 2, Chapter 5

Total Page:16

File Type:pdf, Size:1020Kb

Clock Synchronization Clock Synchronization Part 2, Chapter 5 Clock Synchronization Clock Synchronization Part 2, Chapter 5 Roger Wattenhofer ETH Zurich – Distributed Computing – www.disco.ethz.ch 5/1 5/2 Overview TexPoint fonts used in EMF. Motivation Read the TexPoint manual before you delete this box.: AAAA A • Logical Time (“happened-before”) • Motivation • Determine the order of events in a distributed system • Real World Clock Sources, Hardware and Applications • Synchronize resources • Clock Synchronization in Distributed Systems • Theory of Clock Synchronization • Physical Time • Protocol: PulseSync • Timestamp events (email, sensor data, file access times etc.) • Synchronize audio and video streams • Measure signal propagation delays (Localization) • Wireless (TDMA, duty cycling) • Digital control systems (ESP, airplane autopilot etc.) 5/3 5/4 Properties of Clock Synchronization Algorithms World Time (UTC) • External vs. internal synchronization • Atomic Clock – External sync: Nodes synchronize with an external clock source (UTC) – UTC: Coordinated Universal Time – Internal sync: Nodes synchronize to a common time – SI definition 1s := 9192631770 oscillation cycles of the caesium-133 atom – to a leader, to an averaged time, ... – Clocks excite these atoms to oscillate and count the cycles – Almost no drift (about 1s in 10 Million years) • One-shot vs. continuous synchronization – Getting smaller and more energy efficient! – Periodic synchronization required to compensate clock drift • Online vs. offline time information – Offline: Can reconstruct time of an event when needed • Global vs. local synchronization (explained later) • Accuracy vs. convergence time, Byzantine nodes, … 5/5 5/6 Atomic Clocks vs. Length of a Day Access to UTC • Radio Clock Signal – Clock signal from a reference source (atomic clock) is transmitted over a long wave radio signal – DCF77 station near Frankfurt, Germany transmits at 77.5 kHz with a transmission range of up to 2000 km – Accuracy limited by the propagation delay of the signal, Frankfurt-Zurich is about 1ms – Special antenna/receiver hardware required 5/7 5/8 What is UTC, really? Comparing (and Averaging) • International Atomic Time (TAI) – About 200 atomic clocks – About 50 national laboratories 푑퐴 푑퐵 – Reduce clock skew by comparing and averaging – UTC = TAI + UTC leap seconds (irregular rotation of earth) • GPS – USNO Time Station A Station B – USNO vs. TAI difference is a few nanoseconds 푡Δ퐴 = 푡퐴 − (푡푆푉+푑퐴) 푡Δ퐵 = 푡퐵 − (푡푆푉+푑퐵) 푡Δ = 푡Δ퐵 − 푡Δ퐴 = 푡퐵 − 푡푆푉 + 푑퐵 − 푡퐴 + 푡푆푉 + 푑퐴 = 푡퐵 − 푡퐴 + 푑퐴 − 푑퐵 5/9 5/10 Global Positioning System (GPS) GPS Localization 풔 • Satellites continuously transmit own position and time code Assuming that time of ퟐ 풔ퟏ • Line of sight between satellite and receiver required GPS satellites is correctly 푡 + 푡12 − 푡2 synchronized… 풔ퟒ • Special antenna/receiver hardware required 풔ퟑ • Time of flight of GPS signals varies between 64 and 89ms 푡 − 푡1 푡 + 푡 − t • Positioning in space and time! 14 4 푡 + 푡13 − 푡3 • What is more accurate, 풑 GPS or Radio Clock Signal? 푡 푡12 푡13 푡14 푡1 푡4 푡2 푡3 푡푆푉 푟1 푟2 푟3 푟4 푡푅 5/11 5/12 GPS Localization Keeping GPS Satellites synchronized 풔ퟐ 풔 ퟏ 풔ퟏ − 풑 = 푡 − 푡1 푐 푡 + 푡12 − 푡2 풔ퟐ − 풑 = 푡 + 푡 − 푡 풔ퟒ 푐 12 2 풔ퟑ 풔ퟑ − 풑 푡 − 푡1 = 푡 + 푡13 − 푡3 푐 푡 + 푡14 − t4 ⋮ 푡 + 푡13 − 푡3 ⋮ 풔풏 − 풑 = 푡 + 푡 − 푡 푐 1푛 푛 풑 푐 = speed of light Find least squares solution in 푡 and 풑 5/13 5/14 Alternative (Silly) Clock Sources Clock Devices in Computers • AC power lines • Real Time Clock (IBM PC) – Use the magnetic field radiating from electric AC power lines • Battery backed up – AC power line oscillations are extremely stable • 32.768 kHz oscillator + Counter (drift about 10 ppm, ppm = parts per million) • Get value via interrupt system – Power efficient, consumes only 58 μW – Single communication round required to correct phase offset after initialization • HPET (High Precision Event Timer) • Oscillator: 10 Mhz … 100 Mhz • Sunlight • Up to 10 ns resolution! – Using a light sensor to measure the length of a day • Schedule threads – Offline algorithm for reconstructing global • Smooth media playback timestamps by correlating annual solar patterns (no communication required) • Usually inside Southbridge 5/15 5/16 Clock Drift Clock Synchronization in Computer Networks • Clock drift: random deviation from the nominal rate dependent on power supply, • Network Time Protocol (NTP) temperature, etc. • Clock sync via Internet/Network (UDP) rate • Publicly available NTP Servers (UTC) 1+² 1 • You can also run your own server! ² 1- t • E.g. TinyNodes have a maximum drift of 30-50 ppm (parts per million) This is a drift of up to 50μs per second or 0.18s per hour • Packet delay is estimated to reduce clock skew 5/17 5/18 Propagation Delay Estimation (NTP) Messages Experience Jitter in the Delay • Measuring the Round-Trip Time (RTT) . Problem: Jitter in the message delay Time accor- 푡2 ding to B 푡3 B Various sources of errors (deterministic and non-deterministic) Request Answer from A from B A 0-100 ms 0-500 ms 1-10 ms Time accor- 푡1 ding to A 푡4 SendCmd Access Transmission • Propagation delay 훿 and clock skew Θ can be calculated Reception Callback 0-100 ms 푡4 − 푡1 − (푡3 − 푡2) t 훿 = 2 . Solution: Timestamping packets at the MAC layer 푡2 − (푡1 + 훿) − (푡4 − (푡3 + 훿)) 푡2 − 푡1 + (푡3 − 푡4) → Jitter in the message delay is reduced to a few clock ticks Θ = = 2 2 5/19 5/20 Jitter Measurements Clock Synchronization in Computer Networks (PTP) • Different radio chips use different paradigms • Precision Time Protocol (PTP) is very similar to NTP – Left is a CC1000 radio chip which generates an interrupt with each byte. – Right is a CC2420 radio chip that generates a single interrupt for the packet • Commodity network adapters/routers/switches can assist in time sync by after the start frame delimiter is received. timestamping PTP packets at the MAC layer • Packet delay is only estimated on request • In wireless networks propagation • Synchronization through one packet from server to clients! can be ignored (<1¹s for 300m). • Some newer hardware (1G Intel cards, 82580) can timestamp any packet • Still there is quite some variance at the MAC layer in transmission delay because of latencies in interrupt handling • Achieving skew of about 1 microsecond (picture right). 5/21 5/22 Hardware Clock Distribution Clock Synchronization Tricks in Wireless Networks 푡2 • Synchronous digital circuits require all components to act in sync A • Reference Broadcast Synchronization (RBS) Θ Synchronizing atomic clocks S 20 20 • Sender synchronizes set of clocks B 15 20 10 20 t1 12 20 0 1 • Time-sync Protocol for Sensor Networks (TPSN) 푡2 B 9 20 푡 Network Time Protocol 3 15 20 1 2 • Estimating round trip time to sync more accurately 푡 1 A 푡 4 2 2 • The bigger the clock skew, the longer the clock period 0 • The clock signal that governs this rhythm needs to be distributed to all • Flooding Time Synchronization Protocol components such that skew and wire length is minimized (FTSP)Precision Time Protocol 5 4 • Optimize routing, insert buffers (also to improve signal) • Timestamp packets at the MAC Layer to improve 1 accuracy 7 6 2 3 5/23 5/24 Best tree for tree-based clock synchronization? Clock Synchronization Tricks (GTSP) • Finding a good tree for clock synchronization is a tough problem . Synchronize with all neighboring – Spanning tree with small (maximum or average) stretch. nodes • Broadcast periodic time beacons, • Example: Grid network, with n = m2 nodes. e.g., every 30 s • No reference node necessary 0 1 2 3 4 5 • No matter what tree you use, the maximum 4 6 7 8 9 10 . How to synchronize clocks without 5 stretch of the spanning tree will always be having a leader? at least m (just try on the grid). 1 11 12 13 14 15 • Follow the node with the 7 fastest/slowest clock? 6 • In general, finding the minimum max 16 17 18 19 20 • Idea: Go to the average clock 2 3 stretch spanning tree is a hard problem, value/rate of all neighbors (including however approximation algorithms exist. 21 22 23 24 25 node itself) 5/25 5/26 Variants of Clock Synchronization Algorithms FTSP vs. GTSP: Global Skew Tree-like Algorithms Distributed Algorithms • Network synchronization error (global skew) e.g. FTSP e.g. GTSP – Pair-wise synchronization error between any two nodes in the network FTSP (avg: 7.7 μs) GTSP (avg: 14.0 μs) Bad local All nodes consistently average skew errors to all neigbhors 5/27 5/28 FTSP vs. GTSP: Local Skew Global vs. Local Time Synchronization • Neighbor Synchronization error (local skew) • Common time is essential for many applications: – Pair-wise synchronization error between neighboring nodes – Assigning a timestamp to a globally sensed event (e.g. earthquake) • Synchronization error between two direct neighbors: – Precise event localization (e.g. shooter detection, multiplayer games) FTSP (avg: 15.0 μs) GTSP (avg: 2.8 μs) – TDMA-based MAC layer in wireless networks – Coordination of wake-up and sleeping times (energy efficiency) 5/29 5/30 Theory of Clock Synchronization Time Must Behave! • Given a communication network • Time (logical clocks) should not be allowed to stand still or jump 1. Each node equipped with hardware clock with drift 2. Message delays with jitter worst-case (but constant) • Let’s be more careful (and ambitious): • Logical clocks should always move forward • Goal: Synchronize Clocks (“Logical Clocks”) • Sometimes faster, sometimes slower is OK. • Both global and local synchronization! • But there should be a minimum and a maximum speed. • As close to correct time as possible! 5/31 5/32 Lteis(tti)(t:=) max (L i (t)) Formal Model Synchronization Algorithms: An Example (“Amax”) ¯ • Hardware clock Hv(t) = s[0,t] hv(¿) d¿ Clock drift ² is typically small, e.g.
Recommended publications
  • C:\Data\My Files\WP\PTTI\Proceedings TOC For
    34th Annual Precise Time and Time Interval (PTTI) Meeting TIMEKEEPING AND TIME DISSEMINATION IN A DISTRIBUTED SPACE-BASED CLOCK ENSEMBLE S. Francis Zeta Associates Incorporated B. Ramsey and S. Stein Timing Solutions Corporation J. Leitner, M. Moreau, and R. Burns NASA Goddard Space Flight Center R. A. Nelson Satellite Engineering Research Corporation T. R. Bartholomew Northrop Grumman TASC A. Gifford National Institute of Standards and Technology Abstract This paper examines the timekeeping environments of several orbital and aircraft flight scenarios for application to the next generation architecture of positioning, navigation, timing, and communications. The model for timekeeping and time dissemination is illustrated by clocks onboard the International Space Station, a Molniya satellite, and a geostationary satellite. A mathematical simulator has been formulated to model aircraft flight test and satellite scenarios. In addition, a time transfer simulator integrated into the Formation Flying Testbed at the NASA Goddard Space Flight Center is being developed. Real-time hardware performance parameters, environmental factors, orbital perturbations, and the effects of special and general relativity are modeled in this simulator for the testing and evaluation of timekeeping and time dissemination algorithms. 1. INTRODUCTION Timekeeping and time dissemination among laboratories is routinely achieved at a level of a few nanoseconds at the present time and may be achievable with a precision of a few picoseconds within the next decade. The techniques for the comparison of clocks in laboratory environments have been well established. However, the extension of these techniques to mobile platforms and clocks in space will require more complex considerations. A central theme of this paper – and one that we think should receive the attention of the PTTI community – is the fact that normal, everyday platform dynamics can have a measurable effect on clocks that fly or ride on those platforms.
    [Show full text]
  • Chapter 7. Relativistic Effects
    Chapter 7. Relativistic Effects 7.1 Introduction This chapter details an investigation into relativistic effects that could cause clock errors and therefore position errors in clock coasting mode. The chapter begins with a description of relativistic corrections that are already taken into account for the GPS satellites. Though these corrections are known and implemented [ICD-GPS-200, 1991], no similar corrections are made for GPS receivers that are in motion. Deines derived a set of missing relativity terms for GPS receivers [Deines, 1992], and these are considered in great detail here. A MATLAB simulation was used to predict the relativity effects based on the derivation of Deines, and flight data were used to determine if these effects were present. 7.2 Relativistic Corrections for the GPS Satellite The first effect considered stems from a Lorentz transformation for inertial reference frames. This effect from special relativity is derived from the postulate that the speed of light is constant in all inertial reference frames [Lorentz et. al., 1923]. The correction accounts for time dilation, i.e. moving clocks beat slower than clocks at rest. A standard example is as follows [Ashby and Spilker, 1996]. Consider a train moving at velocity v along the x axis. A light pulse is emitted from one side of the train and reflects against a mirror hung on the opposite wall. The light pulse is then received and the round trip time recorded. If the train car has width w (see Fig. 7.1), then the round trip time according to an observer on the train is: 110 Mirror w Light Pulse Emit/Receive Light Pulse Experiment as Observed on Board the Train Mirror (at time of reflection) v w Emit Pulse Receive Pulse Light Pulse Experiment as Viewed by a Stationary Observer Figure 7.1 Illustration of Time Dilation Using Light Pulses 111 2w t ' (7.1) train c where c is the speed of light.
    [Show full text]
  • UA509: DCF77 Radio Clock DCF77 Radio Clock UA509 with 2 Serial Interfaces, Pulses Per Minute and Per Second, and a 2.5Mm LED Display
    Meinberg Radio Clocks Auf der Landwehr 22 31812 Bad Pyrmont, Germany Phone: +49 (5281) 9309-0 Fax: +49 (5281) 9309-30 http://www.meinberg.de [email protected] UA509: DCF77 Radio Clock DCF77 Radio Clock UA509 with 2 serial interfaces, pulses per minute and per second, and a 2.5mm LED Display. Key Features - Direct conversion Quadrature Receiver - Pulses per second and per minute - 20mA input/output circuits - 2,5mm LED-display - 2 RS232 interfaces - Receiver status LEDs - Buffered hardware clock - Flash-EPROM with bootstrap loader rev 2006.0615.1425 Page 1/3 ua509 Description The hardware of UA509 is a 100mm x 160mm microprocessor board. The 20mm wide front panel contains an 8-digit LED display (2.5mm), three LED indicators and a time/date switch. The receiver is connected to the external ferrite antenna AI01 that is included in the sope of supply by the 5 meter 50 ohm coaxial cable (other lengths available). The radio controlled clock UA509 has been designed for applications where two independent serial interfaces are needed. The UA509 contains a flash EPROM with bootstrap loader that allows to upload a new firmware via the serial interface without removal of the clock. Characteristics Type of receiver Narrowband DCF77 quadrature receiver with automatic gain control, bandwidth: approx. 20Hz Display 8 digit 7-segment LED display (2.5mm) for time or date (switch-selectable) optional: 20HP (100mm) wide front panel with 10mm height 7-segment LED display Status info Modulation and field strength visualized by LEDs Free running state visualized by LED after switching to free running quartz clock mode Synchronization time 2-3 minutes after correct DCF77 signal reception Accuracy free run Accuracy of the quartz base after min.
    [Show full text]
  • Lecture 12: March 18 12.1 Overview 12.2 Clock Synchronization
    CMPSCI 677 Operating Systems Spring 2019 Lecture 12: March 18 Lecturer: Prashant Shenoy Scribe: Jaskaran Singh, Abhiram Eswaran(2018) Announcements: Midterm Exam on Friday Mar 22, Lab 2 will be released today, it is due after the exam. 12.1 Overview The topic of the lecture is \Time ordering and clock synchronization". This lecture covered the following topics. Clock Synchronization : Motivation, Cristians algorithm, Berkeley algorithm, NTP, GPS Logical Clocks : Event Ordering 12.2 Clock Synchronization 12.2.1 The motivation of clock synchronization In centralized systems and applications, it is not necessary to synchronize clocks since all entities use the system clock of one machine for time-keeping and one can determine the order of events take place according to their local timestamps. However, in a distributed system, lack of clock synchronization may cause issues. It is because each machine has its own system clock, and one clock may run faster than the other. Thus, one cannot determine whether event A in one machine occurs before event B in another machine only according to their local timestamps. For example, you modify files and save them on machine A, and use another machine B to compile the files modified. If one wishes to compile files in order and B has a faster clock than A, you may not correctly compile the files because the time of compiling files on B may be later than the time of editing files on A and we have nothing but local timestamps on different machines to go by, thus leading to errors. 12.2.2 How physical clocks and time work 1) Use astronomical metrics (solar day) to tell time: Solar noon is the time that sun is directly overhead.
    [Show full text]
  • 2201 24-Hour Room Temperature Controller REV13
    s 2201 24-hour room temperature controller REV13.. Heating applications • Mains-independent, battery-operated room temperature controller featuring user-friendly operation, easy-to-read display and large numbers • Self-learning two-position controller with PID response (patented) • Operating mode selection: - Automatic mode with two heating phases - Automatic mode with one heating phase - Continuous comfort mode - Continuous energy saving mode - Frost protection • Automatic modes with time switch program • Heating zone control Use Room temperature control in: • Single-family and vacation homes. • Apartments and offices. • Individual rooms and professional office facilities. • Commercially used spaces. Control for the following equipment: • Magnetic valves of an instantaneous water heater. • Magnetic valves of an atmospheric gas burner. • Forced draught gas and oil burners. • Electrothermal actuators. • Circulating pumps in heating systems. • Electric direct heating. • Fans of electric storage heaters. • Zone valves (normally open and normally closed). CE1N2201en 24.04.2008 Building Technologies Function • PID control with self-learning or selectable switching cycle time • 2-point control • 24-hour time switch • Remote control • Preselected 24-hour operating modes • Override function • Party mode • Frost protection mode • Information level to check settings • Reset function • Sensor calibration • Minimum limitation of setpoint • Synchronization to radio time signal from Frankfurt, Germany (REV13DC) Type summary 24-hour room temperature controller REV13 24-hour room temperature controller with receiver for time signal from Frankfurt, Germany (DCF77) REV13DC Ordering Please indicate the type number as per the "Type summary" when ordering. Delivery The controller is supplied with batteries. Mechanical design Plastic casing with an easy-to-read display and large numbers, easily accessible operating elements, and removable base.
    [Show full text]
  • Distributed Synchronization
    Distributed Synchronization CIS 505: Software Systems Communication between processes in a distributed system can have Lecture Note on Physical Clocks unpredictable delays, processes can fail, messages may be lost Synchronization in distributed systems is harder than in centralized systems because the need for distributed algorithms. Properties of distributed algorithms: 1 The relevant information is scattered among multiple machines. 2 Processes make decisions based only on locally available information. 3 A single point of failure in the system should be avoided. Insup Lee 4 No common clock or other precise global time source exists. Department of Computer and Information Science Challenge: How to design schemes so that multiple systems can University of Pennsylvania coordinate/synchronize to solve problems efficiently? CIS 505, Spring 2007 1 CIS 505, Spring 2007 Physical Clocks 2 The Myth of Simultaneity Event Timelines (Example of previous Slide) time “Event 1 and event 2 at same time” Event 1 Node 1 Event 2 Event 1 Event 2 Node 2 Observer A: Node 3 Event 2 is earlier than Event 1 Observer B: Node 4 Event 2 is simultaneous to Event 1 Observer C: Node 5 Event 1 is earlier than Event 2 e1 || e2 = e1 e2 | e2 e1 Note: The arrows start from an event and end at an observation. The slope of the arrows depend of relative speed of propagation CIS 505, Spring 2007 Physical Clocks 3 CIS 505, Spring 2007 Physical Clocks 4 1 Causality Event Timelines (Example of previous Slide) time Event 1 causes Event 1 Event 2 Node 1 Event 2 Node 2 Observer A: Event 1 before Event 2 Node 3 Observer B: Event 1 before Event 2 Node 4 Observer C: Event 1 before Event 2 Node 5 Note: In the timeline view, event 2 must be caused by some passage of Requirement: We have to establish causality, i.e., each observer must see information from event 1 if it is caused by event 1 event 1 before event 2 CIS 505, Spring 2007 Physical Clocks 5 CIS 505, Spring 2007 Physical Clocks 6 Why need to synchronize clocks? Physical Time foo.o created Some systems really need quite accurate absolute times.
    [Show full text]
  • 2203 Weekday / Weekend Room Temperature Controller REV17
    s 2203 Weekday / weekend room temperature controller REV17.. Heating applications • Mains-independent, battery-operated room temperature controller featuring user-friendly operation, easy-to-read display and large numbers • Self-learning two-position controller with PID response (patented) • Operating mode selection: - 7-day (weekday / weekend) automatic mode. with max. 3 heating phases - Continuous comfort mode - Continuous energy saving mode - Frost protection - Exception day (24 hour operation) with max. 3 heating phases • A separate temperature setpoint can be entered in automatic mode and for the exception day for each heating phase • To control a heating zone Use Room temperature control in: • Single-family and vacation homes • Apartments and offices • Individual rooms and professional office facilities • Commercially used spaces Control for the following equipment: • Magnetic valves of an instantaneous water heater • Magnetic valves of an atmospheric gas burner • Forced draught gas and oil burners • Electrothermal actuators • Circulating pumps in heating systems • Electric direct heating • Fans of electric storage heaters • Zone valves (normally open or normally closed) CE1N2203en 24.04.2008 Building Technologies Function • PID control with self-learning or selectable switching cycle time • 2-point control • 7-day time switch • Remote control • Preselected 24-hour operating modes • Override function • Holiday mode • Party mode • Frost protection mode • Information level to check settings • Reset function • Sensor calibration • Minimum limitation of setpoint • Periodic pump run Protection against valve seizure • Synchronization to radio time signal from Frankfurt, Germany (REV17DC) Type summary Room temperature controller with 7-day (weekday/weekend) time switch REV17 Room temperature controller with 7-day (weekday/weekend) time switch and receiver for time signal from Frankfurt, Germany (DCF77) REV17DC Ordering Please indicate the type number as per the "Type summary" when ordering.
    [Show full text]
  • Clock Synchronization
    Middleware Laboratory Sapienza Università di Roma MIDLAB Dipartimento di Informatica e Sistemistica Clock Synchronization Marco Platania www.dis.uniroma1.it/~platania [email protected] Sapienza University of Rome Time notion Each computer is equipped with a physical (hardware) clock It can be viewed as a counter incremented by ticks of an oscillator i At time t, the Operating System (OS) of a process y r o t reads the hardware clock H(t) of the processor a r o b a L e r a C = a H(t) + b w Then, it generates the software clock e l d d i M C approximately measures the time t of process i B A L D I M notion among processes among notion isas known evolve executions distributed (DS) Distributed in Systems Time Problems: how to analyze a in DS factor Time a key is The technique used to coordinate a common time time common a techniqueThe used coordinate to common notion time common of a process state during distributed a computation However, it©s important processes for a share to However, Lacking of a global reference time: it©s hard to know Lackingthe time:it©sknow to hard of a global reference ClockSynchronization MIDLAB Middleware Laboratory Clock Synchronization [10] The hardware clock of a set of computers (system nodes) may differ because they count time with different frequencies Clock Synchronization faces this problem by means of synchronization algorithms y r Standard communication infrastructure o t a r o No additional hardware b a L e r a w e l Clock synchronization algorithms d d i External M Internal B
    [Show full text]
  • DLC32 / DATAREG 32C Data Logger
    DLC32 / DATAREG 32C Data logger User Manual Doc.-No: E122211209022 Baer Industrie-Elektronik GmbH Rathsbergstr. 23 D-90411 Nürnberg Phone: +49 (0)911 970590 Fax: +49 (0)911 9705950 Internet: www.baer-gmbh.com COPYRIGHT Copyright © 2009 BÄR Industrie-Elektronik GmbH All rights, including those originating from translation, (re)-printing and copying of this document or parts thereof are reserved. No part of this manual may be copied or distributed by electronic, mechanic, photographic or indeed any other means without prior written consent of BÄR Industrie-Elektronik GmbH. All names of products or companies contained in this document may be trademarks or trade names of their respective owners. Note Based on its policies, BÄR Industrie-Elektronik GmbH develops and improves their products on an ongoing basis. In consequence, BÄR Industrie-Elektronik GmbH preserve the right to modify and improve the software product described in this document. Specifications and other information contained in this document can change without prior notice. This document does not cover all functions in all possible detail or variations that may be encountered during installation, maintenance and usage of the software. Under no circumstances whatsoever will BÄR Industrie-Elektronik GmbH accept any liability for mistakes in this document or for any sub sequential damage arising from installation or usage of the software. BÄR Industrie-Elektronik GmbH preserves the right to modify or withdraw this document at any time without prior announcement. BÄR Industrie-Elektronik GmbH does not accept any responsibility or liability for the installation, usage, maintenance or support of third party products. Printed in Germany Table of Contents 1 General Information.............................................................................................
    [Show full text]
  • LSI for Radio Clocks
    LSI for Radio Clocks Takayuki Kondo Katsuya Maruyama Tsunao Oike Radio clocks sustain accurate time at all times, as The broadcasting of time information is conducted in they are equipped with functions for receiving low Japan by the National Institute of Information and frequency signals (the standard-time and frequency- Communications Technology, an incorprated signal emission) that carry time information and administrative agency, with the standard frequency automatically correct time and calendars. Products fitted transmitting offices established at two locations including with a radio clock function are on the increase, since the Ohtakado-yama standard frequency station in Fukushima broadcast range of the standard frequency was extended Prefecture (1997) and Hagane-yama standard frequency to cover all Japan in 2001, which resulted in radio clocks station in Saga Prefecture (2001). Each transmitting getting into the limelight. station covers a radius of 1,200km and the two Conventional radio clocks were used as ordinary transmitting stations combined cover almost the entire clocks (table clocks, watches, wall clocks, etc.) but with area of Japan (Figure 2). Further, mutual interference is the recent improvement of LSIs for radio receiver and avoided with different frequencies assigned, 40KHz from antennas combined with a reduction in power Ohtakado-yama station (Fukushima-Pref.) and 60KHz consumption, raised sensitivity and miniaturization, from Hagane-yama station (Saga-Pref.). application of the device in various products is anticipated, such as consumer appliances, mobile devices and home electric appliances. This paper will provide a general summary of the “ML6191”, a real-time clock LSI with an automatic time correction function that is a combination of the RF for the Approx.
    [Show full text]
  • Computer Time Synchronization Computer Time Synchronization
    Computer Time Synchronization Computer Time Synchronization Michael Lombardi Time and Frequency Division National Institute of Standards and Technology The personal computer revolution that began in the 1970's created a huge new group of time and frequency users, those people who need to keep computer clocks on time. As you probably know, computer clocks aren't particularly good at keeping time. Simple clocks like your wristwatch and most of the clocks in your home usually keep better time than a computer clock. The poor performance of a computer clock can cause problems, since many computer applications require time kept to the nearest second or better. For example, the computers in a financial institution must keep very accurate records of when transactions were completed, for legal or other reasons. Computer systems that make physical measurements and acquire scientific data need to know precisely when the measurements were made. Software used on a manufacturing floor may need to turn a piece of equipment on or off at a specified time. Also, any system involved with synchronous communications must keep accurate time. For example, radio and TV stations may need computers that can switch feeds or link up with remotes at the right time. This paper describes several methods to keep accurate time by computer. Before looking at these methods, let's look at how a PC-compatible computer keeps time. Section 1.1 - How a Personal Computer keeps time Since the introduction of the IBM-AT personal computer in 1984, all PC-compatible computers have kept time the same way. Each PC contains two clocks, regardless of whether it uses the 286, 386, 486, or Pentium microprocessor (or a derivative).
    [Show full text]
  • Time & Timers, and GPS Introduction
    FYS3240 PC-based instrumentation and microcontrollers Time & timers, and GPS introduction Spring 2014 – Lecture #11 Bekkeng, 20.12.2013 TAI and UTC time • International Atomic Time (TAI) as a time scale is a weighted average of the time kept by over 300 atomic clocks in over 60 national laboratories worldwide. • Coordinated Universal Time (UTC) is the primary time standard by which the world regulates clocks and time, and is based on TAI but with leap seconds added at irregular intervals to compensate for the slowing of the Earth's rotation. • Since 30 June 2012 when the last leap second was added TAI has been exactly 35 seconds ahead of UTC. The 35 seconds results from the initial difference of 10 seconds at the start of 1972, plus 25 leap seconds in UTC since 1972. • UTC is the time standard used for many internet and World Wide Web standards. The Network Time Protocol (NTP), designed to synchronize the clocks of computers over the Internet, encodes times using the UTC system. Synchronize PC clock to NTP server in Windows Note: this Internet time settings is not available when the computer is part of a domain (such as the domain UIO.no) Windows Time service Leap seconds • Time is now measured using stable atomic clocks • A leap second is a one-second adjustment that is occasionally applied to UTC time in order to keep its time of day close to the mean solar time. o Solar time is a reckoning of the passage of time based on the Sun's position in the sky.
    [Show full text]