資源描述:
《ieee1588解析》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫。
1、學(xué)習(xí)IEEE1588PrecisionTimeProtocolV2DraftStandardforaPrecisionClockSynchronizationProtocolforNetworkedMeasurementandControlSystemsAbstract------------Thisstandardspecifiesaprotocolenablingprecisesynchronizationofclocksinmeasurementandcontrolsystemsimplementedwithtechnologiessuchasnetworkcommunicati
2、on,localcomputinganddistributedobjects.Theprotocolisapplicabletosystemscommunicatingviapacketnetworks.Theprotocolenablesheterogeneoussystemsthatincludeclocksofvariousinherentprecision,resolutionandstabilitytosynchronize.Theprotocolsupportssystem-widesynchronizationaccuracyandprecisioninthesub-mi
3、crosecondrangewithminimalnetworkandlocalclockcomputingresources.Thedefaultbehavioroftheprotocolallowssimplesystemstobeinstalledandoperatedwithoutrequiringthemanagementattentionofusers.Keywords--------------clock,distributedsystem,masterclock,measurementandcontrolsystem,realtimeclock,synchronized
4、clock,boundaryclock,transparentclock5.數(shù)據(jù)類型和PTP系統(tǒng)中on-the-wire格式=================================5.2Primitive數(shù)據(jù)類型------------------------------BooleanTRUEorFALSE.Enumeration44-bitenumeratedvalueEnumeration88-bitenumeratedvalueEnumeration1616-bitenumeratedvalueUInteger44-bitunsignedintegerInteger88
5、-bitsignedintegerUInteger88-bitunsignedintegerInteger1616-bitsignedintegerUInteger1616-bitunsignedintegerInteger3232-bitsignedintegerUInteger3232-bitunsignedintegerUInteger4848-bitunsignedintegerInteger6464-bitsignedintegerNibble4-bitfieldnotinterpretedasanumberOctet8-bitfieldnotinterpretedasanu
6、mber5.3Derived數(shù)據(jù)類型--------------------------structstructTimeInterval{Integer64scaledNanoseconds;};單位為納秒,要乘以2的16次方。2.5ns=0000000000028000(16進(jìn)制)structTimestamp{UInteger48secondsField;UInteger32nanosecondsField;};typedefOctet[8]ClockIdentity;structPortIdentity{ClockIdentityclockIdentity;UInteger16p
7、ortNumber};structPortAddress{Enumeration16networkProtocol;UInteger16addressLength;Octet[addressLength]addressField;};structClockQuality{UInteger8clockClass;Enumeration8clockAccuracy;UInteger16offsetScaledLogVariance;};6.時鐘同步