Professional Documents
Culture Documents
IRIGtimecode
FromWikipedia,thefreeencyclopedia
Interrangeinstrumentationgrouptimecodes,commonlyknownasIRIGtimecodes,arestandardformatsfor
transferringtiminginformation.AtomicfrequencystandardsandGPSreceiversdesignedforprecisiontimingareoften
equippedwithanIRIGoutput.ThestandardswerecreatedbytheTeleCommunicationsWorkingGroupoftheU.S.
military'sInterRangeInstrumentationGroup(IRIG),thestandardsbodyoftheRangeCommandersCouncil.Workon
thesestandardsstartedinOctober1956,andtheoriginalstandardswereacceptedin1960.
TheoriginalformatsweredescribedinIRIGDocument10460,laterrevisedandreissuedinAugust1970asIRIG
Document10470,upgradedlaterthatyearastheIRIGDocumenttothestatusofaStandard,IRIGStandard20070.The
latestversionoftheStandardisIRIGStandard20004.
Contents
1
2
3
4
5
6
Timecodes
Timecodestructure
IRIGTimeCode
IRIGJtimecode
References
Externallinks
Timecodes
ThedifferenttimecodesdefinedintheStandardhavealphabeticdesignations.A,B,D,E,G,andHarethestandards
currentlydefinedbyIRIGStandard20004.
C[1][2]wasintheoriginalspecification,butwasreplacedbyH.
Themaindifferencebetweencodesistheirrate,whichvariesbetweenonepulseperminuteand10,000pulsespersecond.
IRIGtimecode
Code Bitrate Bittime Bitsperframe Frametime Framerate
A
1000Hz 1ms
100
100ms
10Hz
100Hz 10ms
100
1000ms
1Hz
2Hz
0.5s
120
1minute
160Hz
160Hz
1minute 60
1hour
13600Hz
10Hz
100ms
100
10s
0.1Hz
10kHz 0.1ms
100
10ms
100Hz
1Hz
60
1minute
160Hz
1s
Thebitsaremodulatedonacarrier.Athreedigitsuffixspecifiesthetypeandfrequencyofthecarrier,andwhichoptional
informationisincluded:
Modulationtype
0.(DCLS)DirectCurrentLevelShift(widthcoded)
1.Sinewavecarrier(amplitudemodulated)
2.Manchestermodulated
Carrierfrequency
0.Nocarrier(DCLS)
1.100Hz(10msresolution)
https://en.wikipedia.org/wiki/IRIG_timecode
1/5
31/10/2016
2.1kHz(1msresolution)
3.10kHz(100sresolution)
4.100kHz(10sresolution)
5.1MHz(1sresolution)
Codedexpressions
Binarycodeddecimaldayofyear,hours,minutes,and(forsomeformats)secondsandfractionsarealwaysincluded.
Optionalcomponentsare:
Yearnumber(0099centuryisnotcoded)
Userdefined"controlfunctions"occupyingbitsnotdefinedbyIRIG
"Straightbinaryseconds",a17bitbinarycounterthatcountsfrom0to86399.
0.BCD,CF,SBS
1.BCD,CF
2.BCD
3.BCD,SBS
4.BCD,BCD_Year,CF,SBS
5.BCD,BCD_Year,CF
6.BCD,BCD_Year
7.BCD,BCD_Year,SBS
Therecognizedsignalidentificationnumbersforeachformataccordingtothestandard20004consistof:
PermissibleCodeFormats
Format ModulationType CarrierFrequency CodedExpressions
A
0,1,2
0,3,4,5
0,1,2,3,4,5,6,7
0,1,2
0,2,3,4,5
0,1,2,3,4,5,6,7
0,1
0,1,2
1,2
0,1
0,1,2
1,2,5,6
0,1,2
0,4,5
1,2,5,6
0,1
0,1,2
1,2
Thusthecompletesignalidentificationnumberconsistsofoneletterandthreedigits.Forexample,thesignaldesignatedas
B122isdecipheredasfollows:FormatB,Sinewave(amplitudemodulated),1kHzcarrier,andCodedexpressions
BCDTOY.
ThemostcommonlyusedofthestandardsisIRIGB,thenIRIGA,thenprobablyIRIGG.Timecodeformatsdirectly
derivedfromIRIGHareusedbyNISTradiostationsWWV,WWVHandWWVB.
Forexample,oneofthemostcommonformats,IRIGB122:
IRIGB122transmitsonehundredpulsespersecondonanamplitudemodulated1kHzsinewavecarrier,encoding
informationinBCD.Thismeansthat100bitsofinformationaretransmittedeverysecond.Thetimeframeforthe
IRIGBstandardis1second,meaningthatonedataframeoftimeinformationistransmittedeverysecond.Thisdata
framecontainsinformationaboutthedayoftheyear(1366),hours,minutes,andseconds.Yearnumbersarenot
included,sothetimecoderepeatsannually.Leapsecondannouncementsarenotprovided.Althoughinformationis
transmittedonlyoncepersecond,adevicecansynchronizeitstimeveryaccuratelywiththetransmittingdeviceby
usingaphaselockedlooptosynchronizetothecarrier.Typicalcommercialdeviceswillsynchronizetowithin1
microsecondusingIRIGBtimecodes.
Timecodestructure
IRIGtimecodeismadeupofrepeatingframes,eachcontaining60or100bits.Thebitsarenumberedfrom0through59
or99.
Atthestartofeachbittime,theIRIGtimecodeenablesasignal(sendsacarrier,raisestheDCsignallevel,ortransmits
Manchester1bits).Thesignalisdisabled(carrierattenuatedatleast3,DCsignallevellowered,orManchester0bits
transmitted),atoneofthreetimesduringthebitinterval:
https://en.wikipedia.org/wiki/IRIG_timecode
2/5
31/10/2016
After0.2ofabittime,toencodeabinary0
After0.5ofabittime,toencodeabinary1
After0.8ofabittime,toencodeamarkerbit
Bit0istheframemarkerbitPr.Every10thbitstartingwithbit9,19,29,...99isalsoamarkerbit,knownasposition
identifiersP1,P2,...,P9,P0.Thus,twomarkerbitsinarow(P0followedbyPr)marksthebeginningofaframe.Theframe
encodesthetimeoftheleadingedgeoftheframemarkerbit.
Allotherbitsaredatabits,whicharetransmittedasbinary0iftheyhavenootherassignedpurpose.
Generally,groupsof4bitsareusedtoencodeBCDdigits.Bitsareassignedlittleendianwithinfields.
Bits14encodeseconds,andbits68encodetensofseconds(059)
Bits1013encodeminutes,andbits1517encodetensofminutes(059)
Bits2023encodehours,andbits2526encodetensofhours(023)
Bits3033encodedayofyear,3538encodetensofdays,andbits4041encodehundredsofdays(1366)
Bits4548encodetenthsofseconds(09)
Bits5053encodeyears,andbits5558encodetensofyears(099)
Bits8088and9097encode"straightbinaryseconds"since00:00onthecurrentday(086399,notBCD)
InIRIGG,bits5053encodehundredthsofseconds,andtheyearsareencodedinbits6068.
Notallformatsincludeallfields.Obviouslythoseformatswith60bitframesomitthestraightbinarysecondsfields,and
digitsrepresentingdivisionslessthanoneframetime(everythingbelowhours,inthecaseofIRIGD)arealways
transmittedas0.
Noparityorcheckbitsareincluded.Errordetectioncanbeachievedbycomparingconsecutiveframestoseeifthey
encodeconsecutivetimestamps.
Unassigned9bitfieldsbetweenconsecutivemarkerbitsareavailableforuserdefined"controlfunctions".Forexample,
theIEEE1344standarddefinesfunctionsforbits6075.
IRIGTimeCode
https://en.wikipedia.org/wiki/IRIG_timecode
3/5
31/10/2016
IRIGAtimecodestructure
Bit Weight Meaning Bit Weight Meaning Bit Weight Meaning Bit Weight Meaning
00
Pr
01
Frame
marker
20
40
100
21
41
200
02
22
42
03
23
43
04
24
44
05
25
10
06
10
26
20
07
20
27
08
40
28
09
P1
29
P3
10
30
11
12
13
14
15
Dayof
year
(1366)
60
80
61
81
62
82
63
83
64
84
16
45
0.1
65
85
32
46
0.2
66
86
64
47
0.4
67
87
128
48
0.8
68
88
256
49
P5
69
P7
89
P9
50
70
90
512
31
51
71
91
1024
32
52
72
92
2048
33
53
73
93
4096
34
54
74
94
8192
10
35
10
55
10
75
16
20
36
20
56
20
76
17
40
37
40
57
40
77
97 65536
18
Unused
38
80
58
80
78
98
Unused
19
P2
Position
identifier
39
P4
59
P6
79
P8
99
P0
Position
identifier
Seconds
(0059)
Position
identifier
Minutes
(0059)
Hours
(023)
Unused
Position
identifier
Dayof
year
(1366)
Position
identifier
Unused
Tenthsof
seconds
(0.00.9)
Position
identifier
Year
(0099)
Position
identifier
Unused,
available
for
Control
Functions
Position
identifier
Unused,
available
for
Control
Functions
Position
identifier
Straight
Binary
Seconds
(0
86399)
95 16384
96 32768
IRIGJtimecode
IRIGstandard21200definesadifferenttimecode,basedonRS232styleasynchronousserialcommunication.Thetime
codeconsistsofASCIIcharacters,eachtransmittedas10bits:
1startbit
7databits
1oddparitybit
1stopbit
Theontimemarkeristheleadingedgeofthefirststartbit.
IRIGJ1timecodeconsistsof15characters(150bittimes),sentoncepersecondatabaudrateof300orgreater:
<SOH>DDD:HH:MM:SS<CR><LF>
SOHistheASCII"startofheader"code,withbinaryvalue0x01.
DDDistheordinaldate(dayofyear),from1to366.
HH,MMandSSarethetimeofthestartbit.
ThecodeisterminatedbyaCR+LFpair.
Attheendofthetimecode,theseriallineisidleuntilthestartofthenextcode.Thereisnoidletimebetweenother
characters.
IRIGJ2timecodeconsistsof17characters(170bittimes),sent10timespersecondatabaudrateof2400orgreater:
<SOH>DDD:HH:MM:SS.S<CR><LF>
https://en.wikipedia.org/wiki/IRIG_timecode
4/5
31/10/2016
Thisisthesame,exceptthattenthsofsecondsareincluded.
Thefulltimecodespecificationisoftheform"IRIGJxy",wherexdenotesthevariant,andydenotesabaudrateof752y.
NormallyusedcombinationsareJ12throughJ14(300,600,and1200baud),andJ25throughJ29(2400through38400
baud).
References
TelecommunicationsandTimingGroup(September2004),IRIGSerialTimeCodeFormats(PDF) ,U.S.ArmyWhite
SandsMissileRange,NewMexico:RangeCommandersCouncil,IRIGstandard20004
TelecommunicationsandTimingGroup(November2000),IRIGJAsynchronousASCIITimeCodeFormats(DOC) ,
U.S.ArmyWhiteSandsMissileRange,NewMexico:RangeCommandersCouncil,IRIGstandard21200
1.Grohman,RichardO.Mellenbruch,LarryL.Sowic,FelixJ.(19740314),
SpecialHardwareforARLAnalysisofACODACData
(pdf)(technicalreport),TexasUniversityatAustin,ARLTM7412
,retrieved20111223
2.DatumInc.(1987),HandbookofTimeCodeFormats(PDF),p.18,retrieved20130624
Externallinks
IRIGinformation(http://www.meinberg.de/english/info/irig.htm)IRIGinformationpagewithdiagrams
Retrievedfrom"https://en.wikipedia.org/w/index.php?title=IRIG_timecode&oldid=744365216"
Categories: Timecodes
Thispagewaslastmodifiedon14October2016,at19:06.
TextisavailableundertheCreativeCommonsAttributionShareAlikeLicenseadditionaltermsmayapply.Byusing
thissite,youagreetotheTermsofUseandPrivacyPolicy.WikipediaisaregisteredtrademarkoftheWikimedia
Foundation,Inc.,anonprofitorganization.
https://en.wikipedia.org/wiki/IRIG_timecode
5/5