[XBUP] XBUP - Extensible Binary Universal Protocol

» Documentation » Format » Physical Data

Format: Base Units

Blocks of physical drives can store data routine physical data in commonly used standardized units and even in its less common national alternatives. The aim is to achieve transparent transformation where possible and to ensure equivalence with the same values ​​used by another unit.

Representation of Units

For each value, which is a unit, this figure should probably be listed. The block used to inform about the unit would probably have to wrap value itself.

The SI Units

The basic system includes SI units:

Time

As a basic time unit is used in the SI second. One second is 1 / (24 * 60 * 60) of the day, which means single rotation of the Earth around its axis with respect to the Sun, and one second is precisely duration of 9,192,631,770 periods of radiation of light emitted by cesium 133 in the transition between two specific levels of its very fine structure (by def.). This unit is totally artificial and does not guarantee its validity in the future. Bearing in mind that it would be appropriate to choose a different base unit of permanent nature, which would be based on constant physical phenomenon, and use it as a base. Examples of such units can be for example half-life time of deuterium in a vacuum at absolute zero temperature, or the period of oscillation of the quark microparticles.

It is appropriate to choose the implementation to be able to capture a moment in time and duration. In addition, many do not know the precise time data and time data is then necessary to specify the order, or approximately.

Time Units

Besides the basic time unit second it is appropriate to allow representation in other units of time, such as minute (60 s), hour (3600 s), day (86400 s), month, year.

Time value

This block can represent an infinitely short time event For saving time data can be used several forms of storage time and date, such as GMT, or Timestamp.

- Version 0: Reserved
- Version 1: Basic Time

Variable TimeType should determine any of such types:

Timestamp, GMT, DOSTime

BNatural - TimeType
BReal - TimeValue

- Version 2: Time Period

This version specifies a longer time interval.

BNatural - TimeType
BReal - StartTimeValue
BEReal - StopTimeValue

- Version 3: Relative Time Period

It is similar to the previous version, except that the duration is determined relatively.

BNatural - TimeType
BReal - TimeValue
BEReal - PeriodLength

Type of Time Data

It's possible to store time in multiple types of units, be it second, or for example half-life of deuterium at absolute zero. It is necessary to distinguish type. In the future it may be possible to define a time period based on quark oscillation, if it will be constant and independent of external conditions. Until then …

- Version 0: Reserved
- Version 1: CesiumBased Time

Time based on currently most accurate widely used atomic time clock using frequency of emissions during change of Caesium atom state.

BReal - MultiplyConstant
BReal - CesiumTime

- Version 2: Calendar TimeStamp

It's represented as a real number that indicates the time in years from particular event.

BReal - CalendarTimeStamp

Time Interval

Time Interval is…

Distance

Allows to store length, or the distance between multiple points. The basic unit is 1 m based on the meter length stick, which is stored in France, more precisely, is 1 meter distance traveled by light in vacuum during 1/299792458 seconds. This again is not very suitable base unit. There is the distance traveled by light (electromagnetic radiation) per unit of time defined above, or radius / diameter of some particles.

Weight

Weight 1 kg is weight of one twelfth of the isotope carbon atom C 6-12 is 1.660 540 2 * 10 ^ -27 kg. Similarly, the basic unit of weight could be derived from some particles weight.

Temperature

The temperature is be possible to express as increment of temperature supplied by a single quantum of radiation with zero at absolute zero.

Electric Current

Luminous Intensity

Amount of Substance

Additional SI Units

Additional units for angles, radian and steradian are encoded using the following blocks.

Planar Angle

Plane angle with unit radian is encoded as follows.

UBRatio - Angle

Compound SI Units

Units composed of standard units are generated using the following blocks.

Other Units

Other units used in some national systems, such as a thumb, kelvin, miles, are implemented using the following blocks.

Absolute Units

Absolute units are units that are based on real-world variables constant. There are given rather as an incentive to think about.