You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Module description

A transformation law can be applied to the measured values. The application of the laws is carried out with each reception of measured value whatever its state (bit OV, invalid...).

Laws managed by the plugin :

Description

Range 0 / Deadband

Law

0

Normal

[-bm…bm]

y=ax+b

1

Square_root

[-bm…bm]

y=a rac(x)+b

2

Quadratic

[-bm…bm]

y=rac(ax+b)

3

Transparent

[-bm…bm]

y=x

The value a=0 is always replaced by a=1.


Calculation error

If the square root parameter has a negative value, the output result is set to 0 bad quality and the "inconsistent" bit is set to 1.

If the result of the calculation does not correspond to the internal format of the variable (outside the functional type float32...), the output result is set to 0 bad quality and the OV bit is set to 1. The calculation is therefore stored in a double format before being converted to float32. 

Protocol abstraction

The plugin ignores the input and output protocols used.

If the value is in thrust (ex. HNZ) the plugin does not value the OV bit but is responsible for the translation task to the pivot format.

The output limits are dependent on the output protocol.

Quality control

If PIVOTTM.GTIM.MvTyp.q.Validity is different of "good" or if one of the attributes of PIVOTTM.MvTyp.q.DetailQuality is set to "true" the module sets PIVOTTM.GTIM.MvTyp. q.Validity to "invalid" and the output PIVOTTM.GTIM.MvTyp.mag.f to 0 (deletion of the PIVOTTM.GTIM.MvTyp.mag.i if it exists) and the scaling is not performed.

If not, the scaling is done.

Configuration

A list of measured values must be passed to the module. Only the measured values with a scaling to be applied are configured in the module.

The following data must be configured in the module:

  • Type of law
  • The coefficients a and b
  • The dead band (min and max)

The min and max limits are included in the dead band. The dead band is applied to the input value.

Format

The configuration data of this module are present in "Exchanged_data".

Pivot model interaction

This module is designed to work on values measured in pivot format. Other types of i are not affected by this module. 

Input

The module uses the identification (Attribute PIVOTTM.GTIM.Identifier) of the data to determine if the measured value is part of the information to be processed.

The data read from the pivots format are :

  • PIVOTTM.GTIM.MvTyp.mag.i => input value in INT32 format
  • PIVOTTM.GTIM.MvTyp.mag.f => input value FLOAT32
  • PIVOTTM.GTIM.MvTyp.q.Validity and PIVOTTM.MvTyp.q.DetailQuality => quality control

Output

The module applies the configured law to the measured value before sending it to the centers.

The data in the generated pivot format is :

  • PIVOTTM.GTIM.MvTyp.q.DetailQuality.inconsistent => Calcul error
  • PIVOTTM.GTIM.MVTyp.q.DetailQuality.overflow => Error if calculated value exceeds FLOAT32 format
  • PIVOTTM.GTIM.MVTyp.q.DetailQuality.inaccurate => Value in the dead band
  • PIVOTTM.GTIM.MvTyp.mag.f => Calculated output value
  • If PIVOTTM.GTIM.MvTyp.mag.i => was positioned, it is deleted. 
  • Validity:
    • If overflow : PIVOTTM.GTIM.MVTyp.q.Validity = "invalid"
    • If inconsistent or inaccurate: PIVOTTM.GTIM.MVTyp.q.Validity = "questionable"
  • if the law not is transparent : PIVOTTM.GTIM.MvTyp.q.Source = "substituted"
  • The quality control positions eventually :
    • PIVOTTM.GTIM.MvTyp.q.Validity à « invalid ».
    • PIVOTTM.GTIM.MvTyp.mag.f at 0
    • If PIVOTTM.GTIM.MvTyp.mag.i => was positioned, it is deleted. 


  • No labels