Inter-range instrumentation group timecodes, commonly known as IRIG timecode, are standard formats for transferring timing information. Atomic frequency standards and GPS receivers designed for precision timing are often equipped with an IRIG output. The standards were created by the Tele Communications Working Group of the U.S. military's
Inter-Range Instrumentation Group The Inter-Range Instrumentation Group (IRIG) is the standards body of the Range Commanders Council (RCC). The group publishes standards through the RCC Secretariat at White Sands Missile Range.
The best known IRIG standard is the IRIG timecode use ...
(IRIG), the standards body of the
Range Commanders Council
Range may refer to:
Geography
* Range (geographic), a chain of hills or mountains; a somewhat linear, complex mountainous or hilly area (cordillera, sierra)
** Mountain range, a group of mountains bordered by lowlands
* Range, a term used to i ...
. Work on these standards started in October 1956, and the original standards were accepted in 1960.
The original formats were described in IRIG Document 104-60, later revised and reissued in August 1970 as IRIG Document 104-70, upgraded later that year as the IRIG Document to the status of a Standard, IRIG Standard 200-70. The latest version of the Standard is IRIG Standard 200-16 from August 2016.
Timecodes
The different timecodes defined in the Standard have alphabetic designations. A, B, D, E, G, and H are the standards currently defined by IRIG Standard 200-04.
C
was in the original specification, but was replaced by H.
The main difference between codes is their rate, which varies between one pulse per minute and 10,000 pulses per second.
IRIG Code B Calculation:
Bit rate = 100 Hz = 100 × (1 / second) = 100 / second = 100 / 1000 ms = 1 / 10ms
Bit time = 1 / (Bit rate) = 1 / (1 / 10 ms) = 10 ms
There are 100 Bits per frame.
Frame time = (Bits per frame) × (Bit time) = 100 × 10 ms = 1000 ms = 1 second
Frame rate = 1 / (Frame time) = 1 / 1 second = 1 Hz
The bits are modulated on a carrier. A three-digit suffix specifies the type and frequency of the carrier, and which optional information is included:
;Modulation type:
- DC level shift (DCLS) ( pulse width coded without carrier)
- Sine wave carrier (
amplitude modulated
Amplitude modulation (AM) is a modulation technique used in electronic communication, most commonly for transmitting messages with a radio wave. In amplitude modulation, the amplitude (signal strength) of the wave is varied in proportion to t ...
)
Manchester
Manchester () is a city in Greater Manchester, England. It had a population of 552,000 in 2021. It is bordered by the Cheshire Plain to the south, the Pennines to the north and east, and the neighbouring city of Salford to the west. The t ...
modulated
;
Carrier frequency
In telecommunications, a carrier wave, carrier signal, or just carrier, is a waveform (usually sinusoidal) that is modulated (modified) with an information-bearing signal for the purpose of conveying information. This carrier wave usually has a m ...
:
- No carrier (DCLS)
- 100 Hz (10 ms resolution)
- 1 kHz (1 ms resolution)
- 10 kHz (100 µs resolution)
- 100 kHz (10 µs resolution)
- 1 MHz (1 µs resolution)
;Coded expressions:
Binary-coded decimal (BCD) day of year, hours, minutes, and (for some formats) seconds and fractions are always included. Optional components are:
* Year number (00–99; century is not coded)
* User-defined "control functions (CF)" occupying bits not defined by IRIG
* "Straight binary seconds (SBS)", a 17-bit binary counter that counts from 0 to 86399.
- BCD, CF, SBS
- BCD, CF
- BCD
- BCD, SBS
- BCD, BCD_Year, CF, SBS
- BCD, BCD_Year, CF
- BCD, BCD_Year
- BCD, BCD_Year, SBS
The recognized signal identification numbers for each format according to the standard 200-04 consist of:
Thus the complete signal identification number consists of one letter and three digits. For example, the signal designated as B122 is deciphered as follows: Format B, Sine wave (amplitude modulated), 1 kHz carrier, and Coded expressions BCDTOY.
The most commonly used of the standards is IRIG B, then IRIG A, then probably IRIG G. Timecode formats directly derived from IRIG H are used by
NIST
The National Institute of Standards and Technology (NIST) is an agency of the United States Department of Commerce whose mission is to promote American innovation and industrial competitiveness. NIST's activities are organized into physical sci ...
radio station
Radio broadcasting is transmission of audio (sound), sometimes with related metadata, by radio waves to radio receivers belonging to a public audience. In terrestrial radio broadcasting the radio waves are broadcast by a land-based radio ...
s
WWV,
WWVH
WWVH is the callsign of the U.S. National Institute of Standards and Technology's shortwave radio time signal station located at the Barking Sands Missile Range, in Kekaha, on the island of Kauai in the state of Hawaii.
WWVH is the Pacific s ...
and
WWVB
WWVB is a time signal radio station near Fort Collins, Colorado and is operated by the National Institute of Standards and Technology (NIST). Most radio-controlled clocks in North America use WWVB's transmissions to set the correct time. The 70 ...
.
For example, one of the most common formats, IRIG B122:
:IRIG B122 transmits one hundred pulses per second on an amplitude modulated 1 kHz sine wave carrier, encoding information in BCD. This means that 100 bits of information are transmitted every second. The time frame for the IRIG B standard is 1 second, meaning that one data frame of time information is transmitted every second. This data frame contains information about the day of the year (1–366), hours, minutes, and seconds. Year numbers are not included, so the timecode repeats annually.
Leap second
A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC), to accommodate the difference between precise time (International Atomic Time (TAI), as measured by atomic clocks) and imprecise observe ...
announcements are not provided. Although information is transmitted only once per second, a device can synchronize its time very accurately with the transmitting device by using a
phase-locked loop
A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is related to the phase of an input signal. There are several different types; the simplest is an electronic circuit consisting of a ...
to synchronize to the carrier. Typical commercial devices will synchronize to within 1 microsecond using IRIG B timecodes.
Timecode structure
IRIG timecode is made up of repeating frames, each containing 60 or 100 bits. The bits are numbered from 0 through 59 or 99.
At the start of each bit time, the IRIG timecode enables a signal (sends a carrier, raises the DC signal level, or transmits Manchester 1 bits). The signal is disabled (carrier attenuated at least 3×, DC signal level lowered, or Manchester 0 bits transmitted), at one of three times during the bit interval:
* After 0.2 of a bit time, to encode a binary 0
* After 0.5 of a bit time, to encode a binary 1
* After 0.8 of a bit time, to encode a marker bit
Bit 0 is the frame marker bit P
r. Every 10th bit starting with bit 9, 19, 29, ... 99 is also a marker bit, known as position identifiers P
1, P
2, ..., P
9, P
0. Thus, two marker bits in a row (P
0 followed by P
r) marks the beginning of a frame. The frame encodes the time of the leading edge of the frame marker bit.
All other bits are data bits, which are transmitted as binary 0 if they have no other assigned purpose.
Generally, groups of 4 bits are used to encode BCD digits. Bits are assigned little-endian within fields.
* Bits 1–4 encode seconds, and bits 6–8 encode tens of seconds (0–59)
* Bits 10–13 encode minutes, and bits 15–17 encode tens of minutes (0–59)
* Bits 20–23 encode hours, and bits 25–26 encode tens of hours (0–23)
* Bits 30-33 encode
day of year
An ordinal date is a calendar date typically consisting of a ''year'' and a day of the year or ordinal day number (or simply ordinal day or day number), an ordinal number ranging between 1 and 366 (starting on January 1), though year may sometime ...
, 35-38 encode tens of days, and bits 40–41 encode hundreds of days (1–366)
* Bits 45–48 encode tenths of seconds (0–9)
* Bits 50–53 encode years, and bits 55–58 encode tens of years (0–99)
* Bits 80–88 and 90–97 encode "straight binary seconds" since 00:00 on the current day (0–86399, not BCD)
In IRIG G, bits 50–53 encode hundredths of seconds, and the years are encoded in bits 60–68.
Not all formats include all fields. Obviously those formats with 60-bit frames omit the straight binary seconds fields, and digits representing divisions less than one frame time (everything below hours, in the case of IRIG D) are always transmitted as 0.
No parity or check bits are included. Error detection can be achieved by comparing consecutive frames to see if they encode consecutive timestamps.
Unassigned 9-bit fields between consecutive marker bits are available for user-defined "control functions". For example, the
IEEE 1344
IEEE 1344 is a standard that defines parameters for synchrophasors for power systems. The standard added extension to the IRIG timecode, IRIG-B time code to cover year, time quality, daylight saving time, local time offset and leap second informati ...
standard defines functions for bits 60–75.
IRIG timecode
IRIG J timecode
IRIG standard 212-00 defines a different time-code, based on
RS-232
In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such a ...
-style
asynchronous serial communication
Asynchronous serial communication is a form of serial communication in which the communicating endpoints' interfaces are not continuously synchronized by a common clock signal. Instead of a common synchronization signal, the data stream contai ...
.
The timecode consists of
ASCII
ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
characters, each transmitted as 10 bits:
* 1 start bit
* 7 data bits
* 1
odd parity
A parity bit, or check bit, is a bit added to a string of binary code. Parity bits are a simple form of error detecting code. Parity bits are generally applied to the smallest units of a communication protocol, typically 8-bit octets (bytes), ...
bit
* 1 stop bit
The on-time marker is the leading edge of the first start bit.
IRIG J-1 timecode consists of 15 characters (150 bit times), sent once per second at a baud rate of 300 or greater:
DDD:HH:MM:SS
* SOH is the ASCII "start of header" code, with binary value
0x01
.
* DDD is the
ordinal date
An ordinal date is a calendar date typically consisting of a ''year'' and a day of the year or ordinal day number (or simply ordinal day or day number), an ordinal number ranging between 1 and 366 (starting on January 1), though year may sometime ...
(day of year), from 1 to 366.
* HH, MM and SS are the time of the start bit.
* The code is terminated by a
CR+LF pair.
At the end of the timecode, the serial line is idle until the start of the next code. There is no idle time between other characters.
IRIG J-2 timecode consists of 17 characters (170 bit times), sent 10 times per second at a baud rate of 2400 or greater:
DDD:HH:MM:SS.S
This is the same, except that tenths of seconds are included.
The full-timecode specification is of the form "IRIG J-''xy''", where ''x'' denotes the variant, and ''y'' denotes a baud rate of 75×2
''y''.
Normally used combinations are J-12 through J-14 (300, 600, and 1200 baud), and J-25 through J-29 (2400 through 38400 baud).
See also
*
Precision Time Protocol
The Precision Time Protocol (PTP) is a protocol used to synchronize clocks throughout a computer network. On a local area network, it achieves clock accuracy in the sub-microsecond range, making it suitable for measurement and control systems. ...
*
Network Time Protocol
The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable- latency data networks. In operation since before 1985, NTP is one of the oldest Internet protocols in c ...
*
SMPTE timecode
SMPTE timecode ( or ) is a set of cooperating standards to label individual frames of video or film with a timecode. The system is defined by the Society of Motion Picture and Television Engineers in the SMPTE 12M specification. SMPTE revised t ...
References
Sources
*
*
External links
IRIG informationnbsp;— IRIG information page with diagrams
* {{Citation , title=The IRIGB standard site - The site dedicated to IRIGB standard Time code, url=http://irigb.com
Timecodes