Calculation of the measured value
The measured value is calculated in the following steps between reading the ADC and outputting the measured value:
Offset correction
Formula:
Otherwise:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
Raw Value XADC | Output value of the A/D converter | Range: 0..262,144 (18 bits) + sign in the respective active measuring range Unit: [Digits / VFSV] or [Digits / AFSV] Example: Instantaneous value = 218 / FSV [V or A] * electrical value
| |
BZ | Current ADC Zero value | ||
BZCal | ADC Zero at the time of calibration | ||
YZ | - | Measured value after ADC offset correction |
Note BZ: Contains the measured value of the last ADC conversion with Zero Compensation or (if Zero Compensation Interval = 0) the value from 0x800F:1F.
Filtering
Formula:
Otherwise:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
Enable Filter |
| - | |
YF | - | Measured value after averaging | - |
50/60 Hz filtering
Formula at 60 Hz:
Formula at 50 Hz:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
Frequency | 50/60Hz interference suppression | - | |
BF | 60 Hz offset | Range: 0..262,144 (18 bits) + sign in the respective active measuring range Unit: [Digits / VFSV] or [Digits / AFSV]
Example: Instantaneous value = 218 / FSV [V or A] * electrical value | |
AF | 60 Hz gain | ||
Y60 | - | Measured value after adaptation of the 60 Hz integration time | - |
Vendor calibration
The previously determined measured value "raw value" is now offset by the vendor calibration values by default so that the channel meets the specified value.
Formula:
Otherwise:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
Enable Vendor calibration | Enables SAI Vendor data 0x800F; enabled by default | - | |
BK | 0x800F | Vendor Data: Offset | Range: 0..262,144 (18 bits) + sign in the respective active measuring range Unit: [Digits / VFSV] or [Digits / AFSV]
Example: Instantaneous value = 218 / FSV [V or A] * electrical value |
AK | 0x800F | Vendor Data: Gain | |
YH | - | Measured value after vendor calibration | - |
User calibration
If necessary, the measured value can be changed on the application side.
The terminal has one user calibration value pair for each measuring range and measuring mode, i.e. 14 pairs in total. To increase the resolution of the gain value, the "+1" (0x4000) is omitted.
As gain values smaller than 1 can also occur, the gain value is provided with an offset of 1/8. For a gain of 1 the gain value must be 0x2000. For gain G = 1 the following applies:
For other values, "G" must be replaced by the desired gain factor.
Before calibration, the presentation of the values should be set to "right-aligned": CoE index 0x8000:1D (Presentation = 1).
Formula:
Otherwise:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
Enable User calibration | Enables SAI vendor data 0x8002; default disabled | - | |
BA | 0x8002 | User Data: Offset | Range: 0..262,144 (18 bits) + sign in the respective active measuring range Unit: [Digits / VFSV] or [Digits / AFSV]
Example: Instantaneous value = 218 / FSV [V or A] * electrical value |
AA | 0x8002 | User Data: Gain | |
YA | - | Measured value after user calibration | - |
AC system offset
This internal calculation is mandatory in the data stream and cannot be changed or switched off. This is used for linearization with small AC values.
Formela: for
If condition is not met:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
XSO | AC system offset | - | |
Y | - | Measured value after AC system offset | Range: 0..262,144 (18 bits) + sign in the respective active measuring range Unit: [Digits / VFSV] or [Digits / AFSV]
Example: Instantaneous value = 218 / FSV [V or A] * electrical value |
Scaling
During scaling, the previously calculated measured value is converted to the desired output format. The scaling contains the powers of ten selected by the range.
All gain factors must therefore correspond to 1/8 to obtain a total factor of 1. The value 8192 (0x2000) results in a total factor of 1
Formula:
If condition is not met:
Name | CoE Index | Meaning | Unit |
---|---|---|---|
Presentation | FScal | - | |
YScale | Measured value after scaling | Presentation e.g. in scaled: 1 bit per 1 µV / 1 µA |
*) from Firmware 06 / Revision -0021