Analog IO Signal Conditioning and Calibration on B&R Automation
Analog input and output signals are the most failure-prone signals in any B&R installation. Noise, grounding problems, aging sensors, and drifting calibration all produce symptoms that are difficult to distinguish from software bugs. This document covers how B&R analog IO cards handle 0-10V, 4-20mA, thermocouple, and RTD signals; how to perform calibration; how noise and grounding issues manifest as reading errors; and how to systematically determine whether a problem originates at the sensor, the cabling, or the IO card itself. Cross-references: io-card-hardware.md for IO card hardware internals, grounding-emc.md for grounding and EMC troubleshooting, and memory-map.md for direct memory access to analog channels.
Comprehensive Technical Reference
Table of Contents
- Analog Input Signal Types and Module Overview
- Signal Conditioning Circuits on B&R Analog Modules
- Calibration Procedures for Analog Inputs and Outputs
- Offset/Gain Adjustment Methods
- Noise and Grounding Issues as Analog Reading Errors
- Distinguishing Sensor Faults from IO Card Faults
- Resolution and Accuracy Specifications
- Sampling Rate and Aliasing Considerations
- Cold Junction Compensation for Thermocouple Inputs
- 3-Wire and 4-Wire RTD Measurement
- Current Loop (4-20 mA) Diagnostics
- Filter Settings and Response Time Trade-offs
- Grounding Best Practices for Analog Signals
- Calibration Certification and Traceability
1. Analog Input Signal Types and Module Overview
1.1 Voltage Inputs (0-10V, +/-10V)
B&R analog input modules support voltage measurement through differential input configurations. The front-end circuit presents a high input impedance (typically 20 MOhm on modules like the X20AI4622) to minimize loading on the signal source.
Supported modules and ranges:
| Module | Channels | Voltage Range | Resolution | Input Impedance |
|---|---|---|---|---|
| X20AI2222 | 2 | +/-10V | 13-bit (incl. sign) | 20 MOhm |
| X20AI2237 | 2 | +/-10V | 16-bit | 20 MOhm |
| X20AI4622 | 4 | +/-10V | 13-bit (incl. sign) | 20 MOhm |
| X20AI4632 | 4 | +/-10V | 16-bit | 20 MOhm |
| X20AI4636 | 4 | +/-10V | 16-bit | 20 MOhm |
| X20AI8039 | 8 | +/-10V | 16-bit | Per channel configurable |
LSB resolution for voltage (13-bit modules):
- +/-10V range: 1 LSB = 2.441 mV (INT format 0x8001 to 0x7FFF)
LSB resolution for voltage (16-bit modules):
- +/-10V range: 1 LSB = 0.305 mV (finer granularity from higher resolution)
The conversion procedure on standard modules uses Successive Approximation Register (SAR) ADCs with conversion times as low as 400 us for all inputs (X20AI4622). Galvanically isolated variants (e.g., X20AI2237, X20AI2437) provide per-channel isolation with their own sensor power supply, eliminating channel-to-channel coupling.
Input protection: All B&R analog voltage inputs include protection against wiring with supply voltage, tolerating up to +/-30V on the input without damage.
1.2 Current Inputs (4-20 mA, 0-20 mA)
Current measurement on B&R modules is performed using an internal precision shunt resistor. The input circuit automatically switches between voltage and current measurement modes based on the terminal used and the software configuration (an integrated switch inside the module activates the appropriate signal path).
Supported current ranges:
| Module | Channels | Current Range | Resolution | Shunt/Load |
|---|---|---|---|---|
| X20AI2322 | 2 | 0-20 mA / 4-20 mA | 12-bit | <400 Ohm |
| X20AI2437 | 2 | 4-20 mA | 16-bit | Isolated per channel |
| X20AI2438 | 2 | 4-20 mA | 16-bit | Isolated, HART support |
| X20AI4622 | 4 | 0-20 mA / 4-20 mA | 13-bit (incl. sign) | <400 Ohm |
| X20AI4632 | 4 | 0-20 mA / 4-20 mA | 16-bit | <400 Ohm |
| X20AI8039 | 8 | 0-20 mA / 4-20 mA | 16-bit | Per channel |
LSB resolution for current (13-bit modules):
- 0-20 mA range: 1 LSB = 4.883 uA
- 4-20 mA range: INT -8192 to +32767 (value 0 corresponds to 4 mA)
Input protection: Current inputs tolerate up to +/-50 mA without damage.
Galvanically isolated current modules (X20AI2437, X20AI2438) provide single-channel galvanic isolation with an independent sensor power supply, making them ideal for applications requiring isolation between measurement loops. The X20AI2438 additionally supports the HART protocol, enabling bidirectional digital communication superimposed on the 4-20 mA analog signal.
1.3 Thermocouple Inputs
B&R offers dedicated thermocouple input modules that support types J, K, N, S, B, and R:
| Module | Channels | TC Types | Resolution | Filter Time |
|---|---|---|---|---|
| X20AT2402 | 2 | J, K, N, S, B, R | 16-bit (0.1C) | 1-66.7 ms configurable |
| X20AT6402 | 6 | J, K, N, S, B, R | 16-bit (0.1C or 0.01C) | 1-66.7 ms configurable |
Measurement ranges per thermocouple type:
| Type | Range | Output Range (0.1C res.) |
|---|---|---|
| J (Fe-CuNi) | -210 to 1200C | -2100 to +12000 |
| K (NiCr-Ni) | -270 to 1372C | -2700 to +13720 |
| N (NiCrSi-NiSi) | -270 to 1300C | -2700 to +13000 |
| S (PtRh10-Pt) | -50 to 1768C | -500 to +17680 |
| B (PtRh30-PtRh6) | 0 to 1820C | 0 to +18200 |
| R (PtRh13-Pt) | -50 to 1664C | -500 to +16640 |
The X20AT6402 supports dual resolution: 0.1C (INT, range +/-32767) and 0.01C (DINT, range +/-2,147,483,647). Raw value measurement without linearization is also available for custom sensor types.
Conversion procedure: Thermocouple modules use sigma-delta converters (as opposed to SAR on voltage/current modules). Conversion times depend on the number of enabled channels and the filter setting:
- Function Model 0, n channels: (n + 1) * (2 * Filter time + 200 us)
- Function Model 1, n channels: n * (2 * Filter time + 200 us)
- Example: 6 channels with 50 Hz filter = 281.4 ms total conversion time
1.4 RTD Inputs (Pt100, Pt1000)
B&R provides both dedicated RTD modules and universal multi-signal modules:
| Module | Channels | Sensor Types | Wiring | Resolution |
|---|---|---|---|---|
| X20AT2222 | 2 | Pt100, Pt1000 | 2-wire, 3-wire | 16-bit (0.1C) |
| X20AI8039 | 8 | Pt100, Pt1000 (mixed with V/I) | 2-wire, 3-wire | 16-bit (0.1C) |
Measurement method: RTD modules use a constant current source (250 uA +/-1.25% on X20AT2222) with a precision reference resistor (4530 Ohm +/-0.1%) to measure resistance. The sigma-delta ADC converts the voltage drop across the RTD element. Internal linearization follows IEC/EN 60751.
Measurement range: -200 to 850C for both Pt100 and Pt1000. The resistance measurement range is 0.1 to 4500 Ohm (gain=1) or 0.05 to 2250 Ohm (gain=2).
Key RTD specifications (X20AT2222):
- Max. error at 25C: Gain 0.037%, Offset 0.0015%
- Gain drift: 0.004%/C
- Offset drift: 0.00015%/C
- Non-linearity: <0.0010%
- Crosstalk between channels: <-93 dB
- Common-mode rejection: DC >95 dB, 50 Hz >80 dB
1.5 Universal/Multi-Signal Modules
The X20AI8039 is the most versatile analog input module, offering 8 configurable channels where each channel can independently be set to:
- +/-10V voltage
- 0-20 mA / 4-20 mA current
- Pt100 / Pt1000 (2- or 3-wire)
- ICTD measurement (integrated circuit temperature diode)
This makes it ideal for mixed-signal applications where temperature and process signals coexist on the same I/O node.
1.6 Strain Gauge / Load Cell Inputs
For precision measurement applications, B&R offers:
- X20AI1744 (1 channel) and X20AIA744 (2 channels): Full-bridge strain gauge inputs, 24-bit resolution, 5 kHz input filter
- X20AIB744 (4 channels): Full-bridge strain gauge inputs, 24-bit resolution, 2.5 kHz input filter
These support both 4-wire and 6-wire load cell connections, with internal compensation for lead wire resistance.
1.7 Specialty Modules
- X20AP3111/3121/3131/3161/3171: Energy metering modules with 3 analog voltage inputs (up to 480 VAC) and 4 analog current inputs (20 mA / 1 A / 5 A / Rogowski), calculating RMS values, active/reactive/apparent power and energy.
- X20CM4800X: Vibration measurement module with configurable sampling rate of 200 to 50,000 samples/second and 4 input channels.
- X20RT8201/8381/8401: reACTION Technology modules with 500 kHz sampling frequency, 13-bit resolution analog inputs for ultra-fast control loops.
- X20SA4430: Safe analog current input module (2x2 type A), 0.5 to 25 mA, individually galvanically isolated channels for safety-related applications.
2. Signal Conditioning Circuits on B&R Analog Modules
2.1 Input Stage Architecture
B&R analog input modules follow a consistent front-end architecture:
Terminal Block (field wiring)
|
v
Input Protection (PTC, clamping diodes)
|
v
Multiplexer / Analog Switch (channel selection)
|
v
Signal Conditioning
|-- Voltage mode: Buffer amplifier (high-Z input, 20 MOhm)
|-- Current mode: Precision shunt resistor + instrumentation amplifier
|-- TC mode: Low-drift amplifier with high CMRR
|-- RTD mode: Constant current source + differential amplifier
|
v
Anti-Aliasing Filter (3rd-order low-pass, 500 Hz - 1 kHz)
|
v
ADC (SAR for V/I, Sigma-Delta for TC/RTD)
|
v
Digital Filter (configurable first-order or third-order)
|
v
Linearization / Calibration Coefficients
|
v
Output Register (INT/DINT format)
2.2 Voltage Signal Conditioning
For voltage inputs, the conditioning chain consists of:
- High-impedance buffer amplifier (20 MOhm input impedance) prevents loading the signal source
- Third-order low-pass anti-aliasing filter with 1 kHz cutoff frequency (on X20AI4622)
- SAR ADC performs the digitization
- Digital output filter provides additional configurable smoothing (see Section 12)
The input circuit includes PTC thermistors and protection circuitry to guard against miswiring (connection to supply voltage up to +/-30V).
2.3 Current Signal Conditioning
Current measurement uses an internal shunt resistor topology:
AI+ (current in) --> [PTC] --> [Shunt Resistor < 400 Ohm] --> [GND reference]
|
[Amp to ADC]
The switch between voltage and current measurement is implemented via an integrated analog switch inside the module, automatically activated based on:
- Which terminal is used (U terminals for voltage, I terminals for current)
- The channel type configuration register setting
2.4 Thermocouple Signal Conditioning
Thermocouple modules use a significantly different architecture:
TC+ / TC- terminals
|
v
Multiplexer (channels 1-6)
|
v
Low-noise instrumentation amplifier (high CMRR >70 dB)
|
v
Sigma-Delta ADC (16-bit)
|
v
Digital filter (first-order low-pass, 500 Hz cutoff)
|
v
Linearization (polynomial approximation per TC type to EN 60584)
|
v
Cold Junction Compensation (internal PT1000 sensor)
|
v
Temperature output (C)
Key features of the TC conditioning chain:
- Common-mode range: +/-15V (accommodates the high common-mode voltages that thermocouples may pick up)
- Permissible input signal: Max +/-5V
- Common-mode rejection: DC >70 dB, 50 Hz >70 dB (critical for rejecting ground-loop noise in TC wiring)
2.5 RTD Signal Conditioning
RTD measurement on the X20AT2222 uses constant-current excitation:
RTD+ terminal
|
v
[Constant Current Source: 250 uA]
|
v
[RTD Sensor element]
|
v
[3-wire compensation network]
|
v
[Reference Resistor: 4530 Ohm]
|
v
[Sigma-Delta ADC]
|
v
[IEC/EN 60751 Linearization]
|
v
Temperature output
The 3-wire measurement compensates for lead wire resistance by measuring the voltage drop on the sense leads and subtracting the lead resistance from the total measured resistance.
2.6 Galvanic Isolation
B&R offers modules with different isolation levels:
| Isolation Type | Example Modules | Isolation Voltage |
|---|---|---|
| Channel to Bus (all modules) | X20AI4622, X20AT6402 | 500 Veff |
| Channel to Channel (none in standard) | – | – |
| Per-Channel Isolated | X20AI2237, X20AI2437, X20AI2438 | Channel isolated from bus |
| Safety-Rated Isolated | X20SA4430 | Individual galvanic isolation per channel |
Standard X20 analog modules isolate all channels from the bus (500 Veff) but not from each other. For applications requiring channel-to-channel isolation, the galvanically isolated variants (X20AI2237 for voltage, X20AI2437/2438 for current) provide this with independent sensor power supplies per channel.
3. Calibration Procedures for Analog Inputs and Outputs
3.1 Factory Calibration
B&R analog modules are factory-calibrated at the B&R facility in Eggelsberg, Austria. The calibration is performed using traceable reference standards, and the calibration coefficients are stored in the module’s internal firmware.
Key points about B&R factory calibration:
- Each module is individually calibrated; calibration data is stored in the module’s internal memory
- No user-accessible calibration trim pots exist on the modules (calibration is digital)
- Modules ship with a Certificate of Conformance confirming they meet published specifications
- Factory calibration covers gain error, offset error, and linearity within the published specifications
3.2 Verification Procedure for Analog Inputs
To verify the accuracy of a B&R analog input module in the field:
Equipment required:
- Calibrated multi-function process calibrator (e.g., Fluke 789, Beamex MC6)
- Calibrated precision multimeter (for cross-checking)
- Test leads and appropriate terminations
Procedure for voltage inputs (e.g., X20AI4632):
- Disconnect field wiring from the channel to be tested
- Configure the channel for the appropriate voltage range via Automation Studio
- Set the process calibrator to output 0.000V
- Apply the signal to the AI+/AI- terminals
- Read the value in Automation Studio (mapp View, online values in PLC program, or via the oscilloscope function on X20AI4632)
- Record the reading and compare to the expected value (should be near 0)
- Repeat at 25%, 50%, 75%, and 100% of the range (+/-2.5V, +/-5.0V, +/-7.5V, +/-10V)
- Calculate the error at each point as: Error (%) = [(Reading - Applied) / Full Scale] * 100
Acceptance criteria (X20AI4622, 13-bit, at 25C):
- Gain error: < 0.08% of measured value
- Offset error: < 0.015% of 20V range
- Non-linearity: < 0.025% of 20V range
Procedure for current inputs (e.g., X20AI4622):
- Configure the channel for 4-20 mA mode
- Apply 4.000 mA from the calibrator in series with the input
- The reading should be near 0 (4 mA = 0 in 4-20 mA scaled mode)
- Step through 8 mA, 12 mA, 16 mA, and 20 mA
- Record readings and calculate error at each point
Acceptance criteria for 4-20 mA (X20AI4622):
- Gain error: < 0.1% of measured value
- Offset error: < 0.0375% of 20 mA range
3.3 Verification Procedure for Analog Outputs
Procedure for X20AO4622 (4 channels, +/-10V or 0-20 mA):
- Disconnect field wiring from the channel to be tested
- Connect the calibrated multimeter across AO+/AO-
- Configure the channel for the appropriate range
- Write known values to the output register in Automation Studio
- Measure the actual output voltage/current
- Compare measured vs. commanded values
Acceptance criteria (X20AO4622 at 25C):
- Voltage gain error: < 0.08% of measured value
- Voltage offset error: < 0.05% of full range
- Current gain error: < 0.09% of measured value
- Current offset error: < 0.05% of full range
- Non-linearity: < 0.007% (voltage), < 0.005% (current)
3.4 Verification Procedure for Temperature Inputs
Thermocouple module (X20AT6402):
- Disconnect the field thermocouple
- Connect a thermocouple calibrator (cold-junction compensated) to the TC+/TC- terminals
- Set the sensor type in the module configuration (e.g., Type K)
- Set the calibrator to 0.0C and observe the module reading
- Step through temperature points (e.g., 100C, 250C, 500C, 1000C)
- Verify readings are within specifications
Acceptance criteria (X20AT6402 at 25C):
- Gain error: +/-0.06%
- Type K offset error: +/-0.05%
- Non-linearity: +/-0.001%
RTD module (X20AT2222):
- Disconnect the field RTD
- Connect a precision decade resistance box (or RTD calibrator)
- Configure the channel for Pt100 (IEC 60751)
- Apply resistance values corresponding to known temperatures (e.g., 100 Ohm = 0C, 138.5 Ohm = 100C, 214.6 Ohm = 300C)
- Compare the module reading to the expected temperature
Acceptance criteria (X20AT2222 at 25C):
- Gain error: 0.037% of current resistance value
- Offset error: 0.0015% of full resistance range
- Non-linearity: <0.0010%
3.5 Software-Based Calibration Correction
Since B&R modules do not have user-accessible trim adjustments, calibration correction (if needed beyond factory accuracy) must be performed in software:
Two-point calibration in Automation Studio (ST language):
FUNCTION AnalogCalibrate : LREAL
VAR_INPUT
RawValue : INT;
CalLow : INT; (* Raw reading at zero/low calibration point *)
CalHigh : INT; (* Raw reading at span/high calibration point *)
ScaleLow : LREAL; (* Engineering units at low point *)
ScaleHigh : LREAL; (* Engineering units at high point *)
END_VAR
AnalogCalibrate := ScaleLow + (TO_LREAL(RawValue - CalLow) / TO_LREAL(CalHigh - CalLow)) * (ScaleHigh - ScaleLow);
mapp components: B&R’s mapp Control technology provides built-in scaling and linearization function blocks that can incorporate calibration offsets directly.
3.6 Recalibration and Repair
B&R modules that drift beyond specification should be returned to B&R for recalibration or repair through the B&R Support Portal or Material Return Portal. B&R offers repair services at their facilities with recalibration using traceable standards.
4. Offset/Gain Adjustment Methods
4.1 Understanding Offset and Gain Errors
In ADC systems, two fundamental errors affect measurement accuracy:
-
Offset error: A constant shift in the reading, present even when the input is zero. On B&R modules, offset is specified at 25C (e.g., X20AI4622 voltage offset: 0.015% of 20V range = 3 mV).
-
Gain error: The slope of the transfer function deviates from the ideal. A reading at full scale will be proportionally incorrect (e.g., X20AI4622 voltage gain error: 0.08% of measured value).
-
Linearity error: The transfer function is not perfectly straight between the calibrated endpoints. B&R specifies this separately (e.g., <0.025% for voltage on the X20AI4622).
4.2 Temperature Drift
Both offset and gain errors drift with temperature. B&R specifies maximum drift coefficients:
| Parameter | X20AI4622 (Voltage) | X20AI4622 (Current 4-20mA) | X20AT6402 (TC) | X20AT2222 (RTD) |
|---|---|---|---|---|
| Gain drift | 0.006%/C | 0.0113%/C | +/-0.01%/C | 0.004%/C |
| Offset drift | 0.002%/C | 0.005%/C | +/-0.0024%/C (Type K) | 0.00015%/C |
| Non-linearity | <0.025% | <0.05% | +/-0.001% | <0.001% |
Practical impact: For a X20AI4622 measuring +/-10V, operating in a 30C range (e.g., 10C to 40C ambient), the worst-case gain drift is:
- 0.006%/C * 30C * 20V range = 0.036V = 36 mV
This is larger than the 1 LSB resolution (2.441 mV), demonstrating why temperature control in the cabinet matters for precision applications.
4.3 Software Offset/Gain Compensation
Since B&R modules have no hardware trim adjustments, compensation is done in software:
Method 1: Two-Point Calibration (offset + gain correction)
Apply two known reference signals and compute correction factors:
Apply ZERO reference -> Read RawZero
Apply SPAN reference -> Read RawSpan
CorrectedValue = (RawValue - RawZero) * (SpanReference / (RawSpan - RawZero)) + ZeroReference
Method 2: Single-Point Offset Correction
For applications where gain error is acceptable but offset drift needs correction:
Apply ZERO reference -> Read RawZero
CorrectedValue = RawValue - RawZero
Method 3: mapp Scaling Function Blocks
Use B&R’s mapp Control components (AsCal, AsScale) which provide integrated scaling with offset and gain parameters configurable through Automation Studio.
4.4 Using the Oscilloscope Function for Calibration
The X20AI4632 and X20AI4636 modules feature built-in oscilloscope functions that allow real-time visualization of analog signals directly in Automation Studio. This is useful during calibration to:
- Observe signal stability and noise levels
- Verify filter performance
- Detect oscillations or interference
- Capture transients that may affect calibration accuracy
4.5 Oversampling for Improved Resolution (X20AI4636)
The X20AI4636 supports oversampling functions, where multiple ADC conversions are averaged to effectively increase resolution and reduce noise:
- Oversampling ratio is configurable
- Effective resolution improvement follows: N_additional_bits = log2(oversampling_ratio) / 2
- 4x oversampling yields approximately 1 additional bit of resolution
- Trade-off: increased conversion time
5. Noise and Grounding Issues as Analog Reading Errors
5.1 How Noise Manifests in Analog Readings
Noise on B&R analog inputs appears in several characteristic patterns:
| Symptom | Likely Cause | Diagnostic Approach |
|---|---|---|
| Random fluctuations of 1-5 LSB | Broadband EMI, digital crosstalk | Use oscilloscope function (X20AI4632) or monitor raw values |
| 50/60 Hz periodic ripple | Power line coupling, ground loops | FFT analysis; check shield grounding |
| Sudden spikes followed by recovery | Motor starting, relay switching | Correlate with plant events |
| All channels drift together | Temperature change affecting module | Monitor CompensationTemperature register (TC modules) |
| Single channel noisy, others stable | Sensor or wiring issue for that channel | Swap sensors between channels to isolate |
| Offset changes over time | Ground potential shifts, corrosion | Measure ground potential difference |
5.2 Noise Sources in B&R X20 Systems
External noise sources:
- Variable frequency drives (VFDs) and motor inverters
- Switching power supplies
- Relay and contactor switching
- Radio frequency interference (RFI) from wireless devices
- Welding equipment
- Power line harmonics
Internal noise sources:
- X2X Link communication (between bus modules)
- Digital I/O switching on adjacent modules
- Power supply ripple on the internal I/O supply
- ADC quantization noise
5.3 Crosstalk Between Channels
B&R specifies crosstalk between channels:
- X20AI4622 (V/I): <-70 dB
- X20AT6402 (TC): <-70 dB
- X20AT2222 (RTD): <-93 dB
At -70 dB crosstalk, a 10V signal on one channel can induce up to approximately 3.16 mV on an adjacent channel (which is about 1 LSB on a 13-bit module). For high-precision applications, this is significant and requires careful signal routing and filtering.
5.4 Common-Mode Rejection
Common-mode noise (noise that appears equally on both input terminals) is rejected by the differential input architecture:
| Module | CMRR (DC) | CMRR (50 Hz) | Common-Mode Range |
|---|---|---|---|
| X20AI4622 | 70 dB | 70 dB | +/-12V |
| X20AT6402 | >70 dB | >70 dB | +/-15V |
| X20AT2222 | >95 dB | >80 dB | >0.7V |
70 dB CMRR means that 1V of common-mode noise is reduced to approximately 316 uV at the ADC input. For the RTD module (X20AT2222) with 95 dB CMRR at DC, 1V of common-mode noise is reduced to approximately 18 uV.
5.5 Ground Loops
Ground loops occur when there are multiple ground paths between the sensor and the I/O module, creating a current loop that introduces offset errors and noise:
Sensor Ground --> [Sensor Cable] --> AI- terminal
| |
+------ [Earth Ground Path] -------> [Module Ground]
The resulting loop current flows through the cable shield or signal ground and creates voltage drops that appear as measurement error. A 10 mA ground loop current through a 1 Ohm ground path creates 10 mV of error, which exceeds the 0.015% offset specification of the X20AI4622.
Solutions:
- Single-point shield grounding (see Section 13)
- Use galvanically isolated modules (X20AI2237, X20AI2437) which break the ground loop path
- Isolation amplifiers or signal conditioners at the sensor
- Star-point grounding in the panel
6. Distinguishing Sensor Faults from IO Card Faults
6.1 Systematic Fault Isolation Approach
When an analog reading is incorrect, follow this systematic approach to isolate the fault:
Step 1: Check module diagnostics
B&R analog modules provide real-time diagnostics via:
- LED indicators: Per-channel green LEDs (solid = OK, blinking = overflow/underflow/open), module status LEDs (green = RUN, red = error)
- Status registers:
StatusInput01andStatusInput02registers report per-channel status bits
Status bit interpretation for X20AI4622:
| Bits | Meaning |
|---|---|
| 00 | No error |
| 01 | Lower limit value undershot |
| 10 | Upper limit value overshot |
| 11 | Open circuit (voltage mode only) |
For thermocouple modules (X20AT6402), additional status bits indicate:
- Open circuit (wire break detection)
- Range overshoot/undershoot
- General fault
Step 2: Swap channels
Move the sensor to a different channel on the same module:
- If the error follows the sensor –> sensor or wiring fault
- If the error stays on the original channel –> IO card fault
Step 3: Apply known reference signal
Disconnect the sensor and apply a precision reference:
- Voltage: Use a calibrated voltage source
- Current: Use a calibrated current source (4-20 mA calibrator)
- Thermocouple: Use a TC simulator with cold junction compensation
- RTD: Use a precision decade resistance box
If the module reads the reference correctly, the fault is in the sensor or field wiring.
Step 4: Cross-check with another module
If a spare analog channel or module is available, connect the sensor to it:
- Confirms whether the original module has degraded
6.2 Common Sensor Faults and Symptoms
| Sensor Type | Fault Mode | Symptom on B&R Module |
|---|---|---|
| Voltage transmitter | Output drift | Reading shifts gradually over time; status bits normal |
| Current transmitter | Power supply failure | Reading drops to 0 or shows open circuit; status bit = open circuit |
| Thermocouple | Wire break | Reading jumps to +32767 (0x7FFF); status bit = open circuit |
| Thermocouple | Degraded junction | Reading offset by fixed amount at all temperatures |
| RTD (Pt100) | Wire break | Reading jumps to +32767 (0x7FFF); status bit = open line |
| RTD | Short circuit | Reading drops to minimum or shows unexpected value |
| RTD | Lead wire corrosion | Measurement offset proportional to temperature (3-wire doesn’t fully compensate) |
6.3 Common IO Card Faults and Symptoms
| Fault Mode | Symptom | Diagnostic |
|---|---|---|
| ADC channel degradation | All readings on one channel offset; other channels correct | Swap sensor to confirm; fails calibration verification |
| Reference voltage drift | All channels on module drift together | Check if error is consistent across channels |
| Input filter failure | Excessive noise on one or all channels | Compare noise levels across channels |
| Multiplexer fault | Readings cross-contaminated between channels | Apply signal to one channel; observe others |
| Isolation breakdown | Offset changes with common-mode voltage | Vary sensor ground potential and observe reading |
| Firmware corruption | Invalid values, status bits erratic | Module LED shows error; invalid firmware indication |
6.4 Using B&R Diagnostic Tools
B&R provides several diagnostic tools:
- Automation Studio Diagnostics: Real-time I/O value monitoring, status register inspection
- Oscilloscope function (X20AI4632): Visualize raw analog waveforms to detect noise, oscillations
- mapp AlarmX: Configure alarms based on analog status bits (open circuit, limit violations)
- mapp View: Create HMI screens showing real-time status with color-coded health indicators
- Web browser diagnostics: Many B&R controllers expose diagnostic web pages for remote monitoring
7. Resolution and Accuracy Specifications
7.1 Understanding Resolution vs. Accuracy
Resolution is the smallest change in the analog input that can be represented in the digital output. It is determined by the ADC bit depth.
Accuracy is the combined effect of all errors (gain, offset, non-linearity, noise, drift) and describes how close the reading is to the true value. Accuracy is always worse than resolution.
7.2 Resolution by Module Type
| Module Family | ADC Resolution | Effective Resolution | LSB Size (Voltage) | LSB Size (Current) |
|---|---|---|---|---|
| 13-bit (incl. sign) | 12-bit + sign = 13-bit | 12-bit | 2.441 mV (20V range) | 4.883 uA (20 mA range) |
| 16-bit | 16-bit | 16-bit | 0.305 mV (20V range) | 0.305 uA (20 mA range) |
| 24-bit (strain gauge) | 24-bit | ~20-22 effective | Sub-uV | N/A |
| 16-bit (thermocouple) | 16-bit | 0.1C or 0.01C | 1 uV or 2 uV raw | N/A |
| 16-bit (RTD) | 16-bit | 0.1C | 0.1 Ohm (Pt100) | N/A |
7.3 Accuracy Summary
Voltage measurement accuracy (25C):
| Module | Gain Error | Offset Error | Non-linearity | Total (approx.) |
|---|---|---|---|---|
| X20AI4622 (13-bit) | 0.08% | 0.015% | <0.025% | ~0.12% FS |
| X20AI4632 (16-bit) | ~0.1% | ~0.02% | ~0.02% | ~0.14% FS |
Current measurement accuracy (25C):
| Module | Gain Error (0-20 mA) | Gain Error (4-20 mA) | Offset Error |
|---|---|---|---|
| X20AI4622 (13-bit) | 0.08% | 0.1% | 0.0375% |
| X20AI4632 (16-bit) | ~0.08% | ~0.08% | ~0.03% |
Thermocouple accuracy (25C, X20AT6402):
| TC Type | Gain Error | Offset Error | Temperature Error at 500C |
|---|---|---|---|
| Type K | +/-0.06% | +/-0.05% | ~ +/-0.55C |
| Type J | +/-0.06% | +/-0.04% | ~ +/-0.50C |
| Type S | +/-0.06% | +/-0.11% | ~ +/-0.85C |
| Type B | +/-0.06% | +/-0.13% | ~ +/-0.95C |
RTD accuracy (25C, X20AT2222):
| Parameter | Value |
|---|---|
| Gain error | 0.037% of resistance value |
| Offset error | 0.0015% of range |
| Non-linearity | <0.001% |
| Temperature error at 100C | ~ +/-0.1C |
7.4 Total Error Budget
When calculating total measurement uncertainty, combine all error sources:
- Module errors (gain, offset, linearity) – from datasheet
- Temperature drift errors – calculated from drift coefficients and operating temperature range
- Sensor errors – from sensor datasheet (e.g., Class A Pt100: +/-0.15C + 0.002*|t|)
- Lead wire errors – for RTD, uncompensated lead resistance
- Noise and resolution – typically 1-2 LSB
- Calibration reference uncertainty – uncertainty of the calibration standard
Example total error calculation for Pt100 at 300C on X20AT2222:
- Module gain: 0.037% of 212.05 Ohm = 0.078 Ohm = 0.2C
- Module offset: 0.0015% of range = negligible
- Sensor (Class A): +/-0.15C + 0.002*300 = +/-0.75C
- Module non-linearity: <0.001% = negligible
- Total (RSS): sqrt(0.2^2 + 0.75^2) = +/-0.78C
7.5 Accuracy Over Temperature
The derating curves in B&R datasheets specify how accuracy degrades at elevated temperatures. For example, the X20AO4622 shows reduced permissible load at temperatures above 50C (horizontal mounting) due to increased power dissipation in the output stage.
For the X20AI4622 operating between 0C and 55C:
- Worst-case gain drift from 25C reference: 0.006%/C * 30C = 0.18%
- Worst-case offset drift from 25C reference: 0.002%/C * 30C = 0.06%
8. Sampling Rate and Aliasing Considerations
8.1 Sampling Architecture
B&R analog input modules use two different sampling approaches:
Standard modules (X20AI4622, X20AI4632):
- SAR ADC with fixed conversion time per channel
- X20AI4622: 400 us conversion for all 4 inputs (channels sampled sequentially, 200 us offset between channels)
- Conversion is asynchronous to the network cycle
- Update rate is determined by bus cycle time (minimum 100 us without filter, 500 us with filter)
- Minimum I/O update: 300 us (no filter), 1 ms (with filter)
Thermocouple/RTD modules (X20AT6402, X20AT2222):
- Sigma-delta ADC with configurable filter time
- All enabled channels are converted during each conversion cycle
- Conversion time depends on filter setting and number of channels
- Example: X20AT6402 with 50 Hz filter, 6 channels = 281.4 ms total update
8.2 High-Speed Modules
| Module | Max Sampling Rate | ADC Type | Notes |
|---|---|---|---|
| X20RT8201 | 500 kHz (2 channels) | SAR, 13-bit | reACTION Technology |
| X20RT8381 | 500 kHz (2 AI + 1 AO) | SAR, 13-bit | reACTION Technology |
| X20CM4800X | 200-50,000 samples/s | Configurable | Vibration measurement |
| X20AI4636 | Standard + oversampling | SAR, 16-bit | Oversampling improves SNR |
| X20AI4632 | Standard + oscilloscope | SAR, 16-bit | Oscilloscope capture mode |
8.3 Anti-Aliasing Filters
All B&R analog input modules include hardware anti-aliasing filters before the ADC:
| Module Type | Filter Order | Cutoff Frequency |
|---|---|---|
| X20AI4622 (V/I) | 3rd-order low-pass | 1 kHz |
| X20AT6402 (TC) | 1st-order low-pass | 500 Hz |
| X20AT2222 (RTD) | 1st-order low-pass | 500 Hz |
| X20AO4622 (Output) | 1st-order low-pass | 10 kHz |
The hardware filter attenuates frequencies above the cutoff, preventing aliasing. For the standard 13-bit modules, the 1 kHz third-order filter provides approximately -18 dB/octave rolloff, which combined with the effective sampling rate (minimum 2.5 kHz for 400 us conversion), ensures adequate anti-aliasing for most industrial process signals.
8.4 Nyquist Considerations
For standard process control (voltage/current, 400 us conversion):
- Effective sampling rate: ~2,500 samples/s per module (all 4 channels within 400 us)
- Nyquist frequency: ~1,250 Hz
- With 1 kHz hardware filter: signals up to ~500 Hz are accurately captured
- Sufficient for virtually all process control applications
For thermocouple measurement (50 Hz filter):
- Effective sampling rate: 1 channel = 80.4 ms = ~12.4 samples/s
- Nyquist frequency: ~6.2 Hz
- Temperature signals typically change at <1 Hz, so this is adequate
For vibration monitoring (X20CM4800X):
- Configurable 200-50,000 samples/s
- Anti-aliasing must be considered: with 50,000 samples/s, Nyquist = 25,000 Hz
- External anti-aliasing filters may be needed if measuring signals above 10 kHz
- Standard practice: use at least 2.56x oversampling relative to the highest frequency of interest
8.5 Practical Aliasing Mitigation
- Use the built-in digital filter to reject high-frequency noise (see Section 12)
- Ensure analog signals are bandwidth-limited before reaching the module (shielded cable acts as a low-pass filter for long runs)
- For the X20CM4800X vibration module: configure the sampling rate at least 2.56x the maximum frequency of interest
- Apply input ramp limiting (X20AI4622) to suppress transient spikes that could alias
9. Cold Junction Compensation for Thermocouple Inputs
9.1 Principle of Cold Junction Compensation
Thermocouples generate a voltage proportional to the temperature difference between the measurement junction (hot) and the reference junction (cold), where the thermocouple wires connect to the copper terminals of the IO module. To determine the absolute temperature at the measurement point, the temperature of the reference junction (the terminal block) must be known and added to the measured temperature difference.
B&R thermocouple modules (X20AT2402, X20AT6402) implement cold junction compensation (CJC) using an integrated PT1000 sensor mounted on the terminal block. The module measures the terminal temperature and applies the correction internally.
9.2 Internal Cold Junction Compensation
How it works on X20AT6402:
- The internal PT1000 sensor measures the terminal block temperature
- This value is available in the
CompensationTemperatureregister (-250 to +850, representing -25.0 to +85.0C) - During each conversion cycle, the module:
- Converts all enabled TC channels
- Measures the terminal temperature (one extra conversion in Function Model 0)
- Applies the polynomial correction for the TC type (per EN 60584)
- Adds the cold junction temperature correction
- Outputs the linearized temperature value
Conversion time impact:
- Function Model 0 (internal CJC): (n+1) conversions per cycle (n TC channels + 1 terminal temperature)
- Function Model 1 (external CJC): n conversions per cycle (terminal temperature measurement skipped)
9.3 Cold Junction Compensation Accuracy
The CJC precision depends on thermal conditions:
| Condition | CJC Precision (stabilized) |
|---|---|
| Natural convection | +/-2C after 10 minutes |
| Artificial convection (fan) | +/-4C after 10 minutes |
Factors affecting CJC accuracy:
- Self-heating: Other modules on the same X2X Link dissipating heat onto the TC module
- Air currents: Fans or forced ventilation create temperature gradients across the terminal block
- Ambient temperature fluctuations: Rapid changes in cabinet temperature cause lag in the CJC sensor
- Module power dissipation: The X20AT6402 itself consumes 0.91 W (internal I/O)
9.4 Configuring Ambient Conditions
The X20AT6402 provides an “Ambient Conditions” configuration register to adapt the internal CJC thermal model:
| Value | Ambient Condition |
|---|---|
| 0000 | Default (no calculation for adjustment) |
| 0001 | Power dissipation <0.2 W (neighboring modules) |
| 0010 | Power dissipation <1 W (neighboring modules) |
| 0011 | Power dissipation >1 W (neighboring modules) |
How to configure: Check the power consumption of the modules immediately adjacent to the X20AT6402 on the X2X Link (from their datasheets). Use the higher value for the setting.
9.5 External Cold Junction Compensation
For improved accuracy or for long thermocouple cable runs, B&R supports external cold junction compensation:
When to use external CJC:
- Large distances between the controller and measurement point (copper extension wires from external junction to module)
- Adjacent high-power modules (>1 W) are connected to the same X2X Link
- Fluctuating ambient conditions (drafts, temperature cycling)
- No other modules connected near the TC module
Implementation (using X20AT6402 + X20AT4222):
Measurement Point
|
v
[Thermocouple]
|
v
External Cold Junction (copper wire extension)
|
+--> [X20AT4222 RTD module] measures cold junction temperature
| |
| v
| Register: ExternalCompensationTemperature
|
v
[X20AT6402 TC module] uses ExternalCompensationTemperature
|
v
Corrected temperature output
Configuration:
- Select Function Model 1 on the X20AT6402 (External Cold Junction Temperature)
- Measure the cold junction temperature with a separate RTD module (e.g., X20AT4222 with a Pt100 sensor)
- Write the cold junction temperature to the
ExternalCompensationTemperatureregister of the X20AT6402 - The X20AT6402 will use this value for all channel corrections
9.6 Recommended Wiring for Thermocouples
B&R recommends connecting the minus input of the thermocouple to the minus input of the power supply module (e.g., X20PS2100) to prevent measurement errors from ripple voltage effects:
[Power Supply X20PS2100]
|-
|
v
[X20AT6402]
TC1- --> Connected to PS minus input
TC2- --> Connected to PS minus input
TC3-
...
10. 3-Wire and 4-Wire RTD Measurement
10.1 RTD Wiring Configurations
2-Wire Connection: The simplest but least accurate method. Both the current source and voltage measurement share the same lead wires, so lead wire resistance adds directly to the measured RTD resistance.
Module RTD
I+ -------- Lead Wire A --------+
RTD Element
I- -------- Lead Wire B --------+
Error = 2 * R_lead. For 10m of 0.5 Ohm/m cable: error = 10 Ohm = ~26C for Pt100.
3-Wire Connection (B&R X20AT2222, X20AI8039): The most common industrial configuration. Two wires carry the excitation current, and the third wire provides a sense connection. If all three wires have equal resistance, the lead resistance cancels out.
Module RTD
I+ -------- Lead Wire A --------+
RTD Element
Sense ----- Lead Wire B --------+
RTD Element (continued)
I- -------- Lead Wire C --------+
The module measures:
- V1 = V across (RTD + 2 * R_lead) [using I+ and I-]
- V2 = V across (RTD + R_lead) [using Sense and I-]
- RTD_resistance = V2 - (V1 - V2) = 2*V2 - V1 (assuming equal lead resistances)
Residual error = R_lead_A - R_lead_C (difference in lead wire resistance). For matched wires: negligible.
4-Wire Connection: The most accurate method, using separate pairs for current excitation and voltage sensing. No lead resistance error.
Module RTD
I+ -------- Lead Wire A --------+
RTD Element
I- -------- Lead Wire B --------+
V+ -------- Lead Wire C --------+
RTD Element (continued)
V- -------- Lead Wire D --------+
Error = 0 (lead resistance fully eliminated). This is used in laboratory and calibration applications.
10.2 B&R Module RTD Wiring Support
| Module | 2-Wire | 3-Wire | 4-Wire | Notes |
|---|---|---|---|---|
| X20AT2222 | Yes | Yes | No | Dedicated RTD module, 2 channels |
| X20AI8039 | Yes | Yes | No | Universal module, 8 configurable channels |
Note: B&R X20 RTD modules do not natively support 4-wire RTD connections. For 4-wire measurement, a dedicated 4-wire RTD transmitter or signal conditioner can be used to convert to a 4-20 mA signal, which is then connected to a B&R current input module (e.g., X20AI2437).
10.3 RTD Measurement Parameters (X20AT2222)
| Parameter | Value |
|---|---|
| Measurement method | Constant current excitation |
| Excitation current | 250 uA +/-1.25% |
| Reference resistor | 4530 Ohm +/-0.1% |
| Resistance range (G=1) | 0.1 to 4500 Ohm |
| Resistance range (G=2) | 0.05 to 2250 Ohm |
| Resolution (Pt100) | 1 LSB = 0.1C |
| Resolution (Pt1000) | 1 LSB = 0.1C |
| Sensor standard | IEC/EN 60751 |
| Conversion procedure | Sigma-Delta |
| Filter time | Configurable 1 ms to 66.7 ms |
10.4 Conversion Time for RTD
| Channels | Filter Setting | Total Conversion Time |
|---|---|---|
| 1 | 50 Hz (20 ms) | 20 ms (Function Model 1) or 40.2 ms (Model 0) |
| 2 | 50 Hz (20 ms) | 80 ms (Function Model 0) |
With 2 channels and 50 Hz filter, the update rate is 12.5 Hz, which is more than sufficient for temperature process control.
10.5 Self-Heating Considerations
The 250 uA excitation current causes self-heating in the RTD element. For a Pt100 sensor:
- At 100C: R = 138.5 Ohm
- Power dissipation: I^2 * R = (250e-6)^2 * 138.5 = 8.66 uW
This is negligible for most industrial Pt100 sensors in typical mounting configurations (sensor element to sheath thermal resistance is much larger than this would heat).
For Pt1000 sensors (10x the resistance), self-heating is 10x higher (~86.6 uW), still negligible.
11. Current Loop (4-20 mA) Diagnostics
11.1 Current Loop Fundamentals on B&R Modules
The 4-20 mA current loop provides inherent diagnostic capabilities because:
- 4 mA = live zero (scale minimum): any reading below 4 mA indicates a problem
- 0 mA = broken wire or no power: definitive open circuit
- >20 mA = over-range: sensor fault or incorrect calibration
B&R modules leverage this by monitoring the input against configurable limits.
11.2 Open Circuit Detection
B&R analog modules detect open circuits differently depending on the signal type:
Voltage mode (X20AI4622):
- Open circuit detection is supported via the status register
- When the input is disconnected, the high-impedance input floats to an undefined voltage
- The module detects this and sets the status bit to “Open circuit”
- The analog value is frozen at +32767 (0x7FFF)
- Per-channel green LED turns off (no green = no signal)
Current mode (X20AI4622):
- Open circuit detection is based on limit monitoring
- When the current loop is broken, the current drops to 0 mA
- For 4-20 mA configuration: values <4 mA can be detected by setting the lower limit to 0 mA (corresponding to INT value -8192)
- The status bit shows “Lower limit value undershot”
B&R recommended configuration for 4-20 mA open circuit detection:
- Set the channel type to “4 to 20 mA current signal”
- Set the lower limit value register to -8192 (corresponding to 0 mA)
- Monitor the StatusInput register for the “Lower limit value undershot” bit
11.3 Short Circuit Detection
On analog inputs:
- A short circuit on a voltage input results in 0V reading
- A short circuit on a current input may cause the current to exceed 20 mA (if the transmitter is not current-limited)
- B&R modules tolerate up to +/-50 mA on current inputs without damage (input protection)
- The upper limit monitoring detects readings above 20 mA
On analog outputs (X20AO4622):
- Outputs are short-circuit proof with current limiting at +/-40 mA
- This protects both the module and the field wiring
- A short circuit on a current output will not damage the module
11.4 Diagnostic Status Values
When monitoring detects a fault, B&R modules freeze the analog value at defined error codes:
| Error Condition | Digital Value (X20AI4622) |
|---|---|
| Open circuit | +32767 (0x7FFF) |
| Upper limit exceeded | +32767 (0x7FFF) |
| Lower limit undershot | -32767 (0x8001) |
| Invalid value | -32768 (0x8000) |
For thermocouple modules (X20AT6402):
| Error Condition | Value (0.1C) | Value (0.01C) |
|---|---|---|
| Open circuit | +32767 (0x7FFF) | +2,147,483,647 |
| Range overshoot | +32767 (0x7FFF) | +2,147,483,647 |
| Range undershoot | -32767 (0x8001) | -2,147,483,647 |
| Invalid value | -32768 (0x8000) | -2,147,483,648 |
11.5 Implementing Current Loop Diagnostics in Software
Example ST implementation for 4-20 mA channel monitoring:
FUNCTION CheckCurrentLoop : BOOL
VAR_INPUT
RawValue : INT;
Status : USINT;
Channel : USINT;
END_VAR
VAR
ChStatus : USINT;
Shift : USINT;
BEGIN
Shift := Channel * 2;
ChStatus := SHR(Status, Shift) AND 16#03;
CASE ChStatus OF
0: (* No error - normal operation *)
CheckCurrentLoop := FALSE;
1: (* Lower limit undershot - possible open circuit *)
CheckCurrentLoop := TRUE;
2: (* Upper limit exceeded - possible short or over-range *)
CheckCurrentLoop := TRUE;
3: (* Open circuit - for voltage mode *)
CheckCurrentLoop := TRUE;
END_CASE;
END_FUNCTION
11.6 NAMUR NE43 Recommendation
For advanced current loop diagnostics, the NAMUR NE43 standard defines failure modes:
| Signal Level | Meaning |
|---|---|
| < 3.6 mA | Sensor failure / wire break |
| 3.6 - 4.0 mA | Below normal range |
| 4.0 - 20.0 mA | Normal measurement range |
| 20.0 - 21.0 mA | Above normal range |
| > 21.0 mA | Sensor failure / over-range |
To implement NAMUR NE43 on a B&R module:
- Set the lower limit to detect <4 mA (or <3.6 mA for the first threshold)
- Use software to check if the raw value is between 3.6 mA and 4 mA (warning zone)
- The X20AI2438 (HART-capable) provides additional digital diagnostic data from smart transmitters
12. Filter Settings and Response Time Trade-offs
12.1 B&R Module Filter Architecture
B&R analog modules implement a two-stage filtering approach:
- Hardware anti-aliasing filter: Fixed 3rd-order (voltage/current modules) or 1st-order (temperature modules) low-pass filter at the ADC input
- Digital filter: Configurable first-order IIR filter or input ramp limiter applied after ADC conversion
12.2 Digital Filter on Voltage/Current Modules (X20AI4622)
The X20AI4622 provides a configurable digital filter with two components:
Component 1: Input Ramp Limiting (applied first)
Suppresses transient spikes by limiting the maximum change per cycle:
| Setting | Limit Value | LSB Change/Cycle |
|---|---|---|
| 0 | No limitation | Unlimited |
| 1 | 16383 | Large step allowed |
| 2 | 8191 | |
| 3 | 4095 | |
| 4 | 2047 | |
| 5 | 1023 | |
| 6 | 511 | |
| 7 | 255 | Small step allowed (aggressive spike suppression) |
Component 2: Averaging Filter (applied after ramp limiting)
First-order IIR filter with configurable time constant:
| Setting | Filter Level | Effective Time Constant |
|---|---|---|
| 0 | Off | No filtering |
| 1 | Level 2 | ~2 bus cycles |
| 2 | Level 4 | ~4 bus cycles |
| 3 | Level 8 | ~8 bus cycles |
| 4 | Level 16 | ~16 bus cycles |
| 5 | Level 32 | ~32 bus cycles |
| 6 | Level 64 | ~64 bus cycles |
| 7 | Level 128 | ~128 bus cycles |
Filter formula:
Value_New = Value_Old - (Value_Old / Filter_Level) + (Input_Value / Filter_Level)
This is equivalent to: Value_New = Value_Old * (1 - 1/N) + Input * (1/N), where N is the filter level.
Important constraint: The filter function is disabled for cycle times <500 us. The minimum cycle time with filtering is 500 us.
12.3 Filter Settings on Temperature Modules (X20AT6402, X20AT2222)
Temperature modules offer selectable hardware-level filter time constants:
| Value | Filter | Filter Time | Converter Resolution |
|---|---|---|---|
| 0 | 15 Hz | 66.7 ms | 16-bit |
| 1 | 25 Hz | 40 ms | 16-bit |
| 2 | 30 Hz | 33.3 ms | 16-bit |
| 3 | 50 Hz | 20 ms | 16-bit (default) |
| 4 | 60 Hz | 16.7 ms | 16-bit |
| 5 | 100 Hz | 10 ms | 16-bit |
| 6 | 500 Hz | 2 ms | 16-bit |
| 7 | 1000 Hz | 1 ms | 16-bit |
Default setting: 50 Hz (20 ms) – this is tuned to reject 50 Hz power-line interference, which is the most common noise source in temperature measurements. For 60 Hz regions, use setting 4 (60 Hz, 16.7 ms).
12.4 Response Time Trade-offs
| Application | Recommended Filter | Response Time | Noise Rejection |
|---|---|---|---|
| Fast process control (pressure, flow) | Level 2-4 | 2-4 ms | Moderate |
| Standard process control (level, temperature) | Level 8-16 | 8-16 ms | Good |
| Slow processes (tank temperature) | Level 32-64 | 32-64 ms | Very Good |
| Very noisy environments | Level 64-128 | 64-128 ms | Excellent |
| TC measurement (50 Hz rejection) | 50 Hz (20 ms) | 20 ms per channel | Rejects 50 Hz |
| TC measurement (60 Hz rejection) | 60 Hz (16.7 ms) | 16.7 ms per channel | Rejects 60 Hz |
Key trade-off: Higher filter levels (longer time constants) provide better noise rejection but introduce latency. In closed-loop control systems, excessive filtering can cause instability or poor controller performance. The filter time constant should be significantly shorter than the process time constant.
12.5 Using Input Ramp Limiting for Spike Rejection
Input ramp limiting is particularly effective for suppressing:
- Contact bounce from relay switching
- Inverter switching noise
- Electromagnetic pulses from nearby equipment
Example configuration for a noisy 4-20 mA pressure signal:
- Input ramp limiting = 4 (limit 2047 LSB)
- Filter level = 16 (16 bus cycles)
This combination will:
- Block any single-cycle spike >2047 LSB (approx. 10 mA instantaneous)
- Smooth remaining fluctuations over ~16 cycles
12.6 Minimum Cycle Time Impact
| Configuration | Min Cycle Time | Min I/O Update |
|---|---|---|
| No filter | 100 us | 300 us (all inputs) |
| With filter | 500 us | 1 ms (all inputs) |
| TC module (any filter) | 150 us | Depends on channels + filter |
13. Grounding Best Practices for Analog Signals
13.1 B&R Shield Grounding System
B&R provides a dedicated cable shield grounding clamp (model X20AC0SG1) that latches to the X20 terminal block and connects to the bus module’s ground connection using a cable lug. This provides a proper EMC ground path for cable shields.
Shield grounding clamp specifications:
- Model: X20AC0SG1 (package of 10 pcs: X20AC0SG1.0010, package of 100: X20AC0SG1.0100)
- Mounts to X20 terminal block
- Accepts cable shields from 3 mm to 8 mm diameter (depending on variant)
- Connects to bus module ground via cable lug
13.2 Shield Wiring Rules for B&R X20
Rule 1: Use shielded cables for all analog signals
The X20 system user’s manual mandates shielded cables for analog input modules. The ground connection for the shield is made on the terminal block shield connections provided on each module.
Rule 2: Single-point shield grounding (default)
Ground the cable shield at one end only – typically at the B&R I/O module (panel end). This prevents ground loops:
Field Panel
[Sensor] -- [Shielded Cable] -- [X20 Module]
| |
Floating Shield clamp
to bus module ground
Rule 3: Both-end grounding for high-frequency noise (with caution)
For RF interference above 10 MHz, grounding the shield at both ends provides better shielding. However, this creates a ground loop for low-frequency noise. If both-end grounding is required:
- Use galvanically isolated modules (X20AI2237, X20AI2437) to break the ground loop
- Or use a shield isolation barrier
Rule 4: Separate analog and digital cable routing
Route analog signal cables separately from:
- Motor power cables
- VFD output cables
- Digital I/O cables with high switching rates
- Power supply cables
Maintain at least 200 mm separation, or use grounded metallic cable trays as segregation.
Rule 5: Star-point grounding in the panel
All ground connections in the control panel should converge to a single star-point ground bar, which is then connected to the protective earth (PE) at one point. This prevents ground loop currents between different equipment grounds.
13.3 Grounding for Thermocouple Signals
Thermocouple wiring is particularly susceptible to ground loops because the TC junction itself may be grounded (welded to a metal pipe or vessel). B&R recommendations:
- Connect the TC minus terminal to the power supply minus (X20PS2100) to prevent ripple coupling
- Use shielded twisted-pair thermocouple extension wire
- Ground the shield at the module end only
- If the TC measurement junction is grounded, ensure the module’s common-mode range is not exceeded (check that the ground potential difference between the TC location and the panel is within +/-15V)
13.4 Grounding for RTD Signals
RTD wiring is less susceptible to noise than thermocouples due to the low impedance of the sensor. However:
- Use shielded cables for runs >10m
- Ground the shield at one end only
- Ensure all three wires in a 3-wire connection have equal length and routing
13.5 Grounding for 4-20 mA Current Loops
Current loops are inherently immune to ground-loop-induced voltage noise (since the signal is a current, not a voltage). However:
- The transmitter (sensor) and receiver (B&R module) may have different ground references
- Use shielded twisted-pair cable
- Ground the shield at the panel end (B&R module)
- If using 2-wire transmitters, ensure the loop power supply can drive the total loop resistance
13.6 B&R Coated Modules (X20c) for Harsh Environments
B&R offers coated X20c modules with a protective conformal coating for the electronics. The coating protects against:
- Condensation (certified per BMW GS 95011-4)
- Corrosive gases (certified per EN 60068-2-60, method 4, 21 days exposure)
Coated modules are electrically and functionally identical to standard X20 modules. They require the same grounding practices but offer additional reliability in harsh environments.
13.7 EMC Installation Guide Reference
B&R publishes a dedicated Installation / EMC Guide (document MAEMV) that covers:
- Panel layout and cable routing
- Shield termination methods
- Ground bar installation
- Filter placement
- EMC testing and verification
This document should be consulted for new installations and when troubleshooting EMC-related analog signal issues.
14. Calibration Certification and Traceability
14.1 B&R Factory Calibration and Certificates
B&R analog modules are calibrated during manufacturing with reference standards traceable to national and international standards (SI units). The calibration process includes:
- Gain calibration: Applying known reference signals at multiple points across the measurement range
- Offset calibration: Verifying the zero/offset point
- Linearity verification: Checking linearity across the full range
- Temperature testing: Verifying specifications over the operating temperature range
- EMC testing: Ensuring accuracy is maintained under electromagnetic stress
Documentation supplied with each module:
- Certificate of Conformance (CoC): Confirms the module meets all published specifications
- Test report: Available upon request, containing measured performance data
- Traceability chain: Calibration standards used are traceable to national metrology institutes (e.g., PTB in Germany, BEV in Austria)
14.2 ISO/IEC 17025 Calibration
For applications requiring formal calibration certification (pharmaceutical, food & beverage, aerospace, nuclear):
Option 1: Third-party calibration laboratory
- Send the B&R module to an ISO/IEC 17025 accredited calibration laboratory
- The lab will verify all analog specifications using their traceable standards
- A calibration certificate is issued with:
- Measurement results (as-found and as-left data)
- Uncertainty of measurement for each point
- Traceability statement
- Environmental conditions during calibration
- Accreditation body and certificate number
- Validity period and recommended recalibration interval
Option 2: B&R factory recalibration
- Contact B&R Support Portal or Material Return Portal
- B&R can recalibrate modules at their facility in Eggelsberg, Austria
- Module firmware is updated with new calibration coefficients if needed
Option 3: In-house calibration (if accredited)
- If your facility has an ISO 17025 accredited metrology lab
- Perform verification per the procedures in Section 3 of this document
- Issue calibration certificates under your lab’s accreditation scope
14.3 Calibration Intervals
Recommended recalibration intervals for B&R analog modules:
| Module Type | Recommended Interval | Notes |
|---|---|---|
| Standard V/I (X20AI4622, X20AO4622) | 2-3 years | Stable SAR ADC technology |
| High-precision (X20AI4632, 16-bit) | 1-2 years | Higher resolution shows drift sooner |
| Thermocouple (X20AT6402) | 1-2 years | CJC sensor may drift |
| RTD (X20AT2222) | 2-3 years | Very stable sigma-delta + current source |
| Strain gauge (X20AI1744) | 1 year | Highest precision, most sensitive to drift |
| Safety-rated (X20SA4430) | Per SIL requirements | May require annual verification |
14.4 Traceability Chain
International Bureau of Weights and Measures (BIPM)
|
v
National Metrology Institute (e.g., NIST, PTB, BEV)
|
v
Calibration Laboratory (ISO 17025 accredited)
|
v
Reference Standards (multifunction calibrator, decade box, etc.)
|
v
B&R Analog Module Under Test
|
v
Process Measurement (connected to field sensor)
14.5 Calibration Record Keeping
Maintain calibration records including:
- Module serial number and B&R ID code
- Calibration date and next due date
- Calibrating organization (with accreditation number)
- As-found data (measurements before any adjustment)
- As-left data (measurements after calibration)
- Uncertainty of measurement at each test point
- Environmental conditions during calibration
- Reference standards used (with their calibration dates)
- Technician name and approval signature
14.6 Uncertainty Budget for Analog Verification
When performing calibration verification, the total measurement uncertainty includes:
| Source of Uncertainty | Typical Value |
|---|---|
| Calibration standard (multifunction calibrator) | 0.01-0.05% |
| Resolution of standard | 0.001-0.01% |
| Connection/lead resistance | Negligible (voltage), 0.01% (current) |
| Environmental temperature effect on standard | 0.005-0.02% |
| Repeatability | 0.01-0.05% |
| B&R module resolution | 0.003% (16-bit) to 0.015% (13-bit) |
| Combined (RSS) | 0.02-0.08% |
The calibration uncertainty should be significantly smaller than the module’s specification (typically at least a 4:1 TUR – Test Uncertainty Ratio).
Appendix A: B&R Analog Module Quick Reference
Voltage/Current Input Modules
| Model | Ch | Signal | Resolution | Filter | Special |
|---|---|---|---|---|---|
| X20AI2222 | 2 | +/-10V | 13-bit | Configurable | |
| X20AI2237 | 2 | +/-10V | 16-bit | Configurable | Galvanically isolated, NetTime |
| X20AI2322 | 2 | 0-20/4-20mA | 12-bit | Configurable | |
| X20AI2437 | 2 | 4-20mA | 16-bit | Configurable | Galvanically isolated, NetTime |
| X20AI2438 | 2 | 4-20mA | 16-bit | Configurable | Galvanically isolated, HART, NetTime |
| X20AI2622 | 2 | +/-10V, 0-20/4-20mA | 13-bit | Configurable | |
| X20AI2632 | 2 | +/-10V, 0-20mA | 16-bit | Configurable | Oscilloscope |
| X20AI2636 | 2 | +/-10V, 0-20mA | 16-bit | Configurable | Oversampling |
| X20AI4222 | 4 | +/-10V | 13-bit | Configurable | |
| X20AI4322 | 4 | 0-20/4-20mA | 12-bit | Configurable | |
| X20AI4622 | 4 | +/-10V, 0-20/4-20mA | 13-bit | Configurable | |
| X20AI4632 | 4 | +/-10V, 0-20mA | 16-bit | Configurable | Oscilloscope |
| X20AI4636 | 4 | +/-10V, 0-20mA | 16-bit | Configurable | Oversampling |
| X20AI8039 | 8 | +/-10V, 0-20/4-20mA, Pt100/1000 | 16-bit | Configurable | Universal |
Voltage/Current Output Modules
| Model | Ch | Signal | Resolution | Protection | Special |
|---|---|---|---|---|---|
| X20AO4622 | 4 | +/-10V, 0-20/4-20mA | 13-bit | Short-circuit proof | |
| X20AO2437 | 2 | 4-20/0-20/0-24mA | 16-bit | Short-circuit proof | Galvanically isolated |
Temperature Input Modules
| Model | Ch | Sensor Type | Resolution | Filter | Special |
|---|---|---|---|---|---|
| X20AT2222 | 2 | Pt100/Pt1000 | 16-bit (0.1C) | 1-66.7 ms | 2 or 3-wire |
| X20AT2402 | 2 | J, K, N, S, B, R | 16-bit (0.1C) | 1-66.7 ms | Internal CJC |
| X20AT6402 | 6 | J, K, N, S, B, R | 16-bit (0.1/0.01C) | 1-66.7 ms | Internal CJC, external CJC |
Appendix B: Common Error Codes and Troubleshooting
| Symptom | Module Status LED | Channel LED | Register Status | Likely Cause | Action |
|---|---|---|---|---|---|
| No reading | Off | Off | – | No power | Check 24V supply and bus module |
| All channels maxed | Green (flashing) | Blinking | Upper limit exceeded | Common-mode overvoltage | Check input wiring |
| One channel stuck high | Green | Off/Blinking | Open circuit (11) | Wire break | Check sensor connection |
| One channel stuck low | Green | Blinking | Lower limit undershot (01) | Short circuit | Check sensor wiring |
| Erratic readings | Green | Solid | No error (00) | Noise/grounding | Check shields, grounding |
| Module error LED | Red (solid) | – | General fault | Firmware/hardware | Restart, reflash firmware |
| Invalid firmware | Red + Green flash | – | Invalid | Corrupt firmware | Reflash via Automation Studio |
Appendix C: Register Quick Reference
X20AI4622 Key Registers
| Register | Name | Type | Access | Description |
|---|---|---|---|---|
| ConfigOutput01 | Input Filter | USINT | R/W | Filter level + ramp limiting |
| ConfigOutput02 | Channel Type | USINT | R/W | Voltage/current per channel |
| ConfigOutput03 | Lower Limit | INT | R/W | Lower limit value (all channels) |
| ConfigOutput04 | Upper Limit | INT | R/W | Upper limit value (all channels) |
| AnalogInput01-04 | Input Values | INT | R | Converted analog values |
| StatusInput01 | Channel Status | USINT | R | Error status per channel |
X20AT6402 Key Registers
| Register | Name | Type | Access | Description |
|---|---|---|---|---|
| ConfigOutput01 | Filter/Ambient | USINT | R/W | Filter setting + ambient conditions |
| ConfigOutput02 | Sensor Type | USINT | R/W | TC type per channel (J/K/S/N/R/B/raw) |
| ConfigOutput03 | Channel Disable | USINT | R/W | Enable/disable individual channels |
| Temperature01-06 | TC Values | INT | R | Temperature in 0.1C |
| Temperature01-06_H_Res | TC High Res | DINT | R | Temperature in 0.01C |
| StatusInput01 | Status Ch 1-4 | USINT | R | Error status per channel |
| StatusInput02 | Status Ch 5-6 | USINT | R | Error status per channel |
| CompensationTemperature | CJC Value | INT | R | Internal terminal temperature (-25.0 to 85.0C) |
Cross-References
- io-card-hardware.md – analog IO card signal conditioning and ADC/DAC paths
- grounding-emc.md – grounding and EMC for analog signal integrity
- system-variables.md – runtime IO status monitoring
- physical-layer-sniffing.md – analog signal quality measurement
- memory-map.md – analog IO memory address mapping
- encoder-diagnostics.md – analog encoder signal analysis
- safe-io-diagnostics.md – safe analog input diagnostics
- alarm-logging.md – analog limit alarm configuration
- online-changes.md – runtime calibration parameter adjustment
- diagnostic-workstation.md – oscilloscope requirements for analog signals
Document compiled from B&R Automation official datasheets, X20 system user’s manuals, and installation/EMC guides. All specifications are subject to change – refer to the latest B&R documentation at br-automation.com for current values.
Sources: X20(c)AI4622 Data Sheet V3.40, X20(c)AT6402 Data Sheet V3.22, X20AT2402 Data Sheet V3.09, X20AT2222 Product Page, X20(c)AO4622 Data Sheet V3.25, B&R X20 System User’s Manual, B&R Installation/EMC Guide.
Key Findings
- Analog card resolution ranges from 12-bit to 16-bit depending on module (e.g., X20AI4622 = 13-bit incl. sign, X20AI4632 = 16-bit, X20AI2322 = 12-bit). Higher resolution is critical for precision measurement but requires better signal conditioning. See Appendix A for the full module reference table.
- Distinguishing sensor faults from IO card faults requires a systematic approach: check with a known reference signal, swap channels on the same module, and inspect the analog LED diagnostic patterns.
- Noise and grounding issues are the most common cause of analog reading errors — always check shield termination and grounding before suspecting the IO card or sensor. See grounding-emc.md.
- B&R analog input modules use software-configurable ranges (0-10V, +/-10V, 0/4-20mA) — an incorrect range setting on an undocumented machine can cause readings to appear wrong when the hardware is fine.
- B&R analog modules are factory-calibrated with digital calibration coefficients stored in the module’s internal memory. When replacing a module, the new module has its own factory calibration — you verify it, you don’t re-program it. Document your verification results before and after any analog module replacement.
- Thermocouple cold junction compensation is built into B&R temperature modules — incorrect thermocouple type selection (J/K/S/R/T/B/N) produces readings that are wrong by a predictable offset, not random noise.