# RTD Resistance & Temperature Calculator AI Agent Connect

> RTD Resistance & Temperature Calculator MCP uses the Callendar-Van Dusen model to handle complex thermal measurements. It calculates temperature from resistance, determines theoretical resistance, and quantifies errors like self-heating or lead-wire resistance across 2-wire, 3-wire, and 4-wire setups. Your AI client handles the math while you focus on the sensor data.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_PFspGMZq5oJrGBkJlE3EI9jKqt0UiwMtmgm1GsSl/ai-agent-connect
- **Tags:** rtd, thermal, temperature, resistance, calibration

## Description

This MCP handles the heavy lifting for Resistance Temperature Detector (RTD) calculations. Instead of manually running formulas, you can ask your AI client to process sensor readings using the Callendar-Van Dusen model. It accounts for the physical realities of thermal sensing, such as lead-wire resistance in different wiring configurations and the thermal drift caused by excitation current. 

You can use it to estimate actual temperatures from raw resistance values or to predict how much a sensor will drift due to self-heating. It also helps you evaluate how sensitive a sensor is at specific operating points. Whether you are calibrating a Pt100 or analyzing error margins in a 4-wire setup, this MCP provides the mathematical precision needed for accurate thermal engineering.

## Tools

### analyze_measurement_sensitivity
This tool calculates how sensitive a sensor is at a specific operating point.

### calculate_resistance_from_temperature
This tool determines the theoretical resistance of an RTD for a specific target temperature.

### calculate_self_heating_error
This tool quantifies the temperature rise inside a sensor caused by electrical excitation current.

### calculate_temperature_from_resistance
This tool estimates the actual temperature based on a measured resistance value.

## Prompt Examples

**Prompt:** 
```
What is the estimated temperature for a Pt100 sensor with 100.5 ohms resistance using 4-wire connection?
```

**Response:** 
```
The estimated temperature is 0.25°C.
```

**Prompt:** 
```
Calculate the self-heating error for a sensor with 100 ohm resistance and 0.001A excitation current with 50 K/W thermal resistance.
```

**Response:** 
```
The temperature rise is 0.000001°C.
```

**Prompt:** 
```
What is the resistance at 50°C for a Pt100 sensor with A=3.9083e-3 and B=5.775e-7?
```

**Response:** 
```
The theoretical resistance at 50°C is 127.32 ohms.
```

## Capabilities

### Resistance to Temperature Conversion
Your agent uses the Callendar-Van Dusen model to turn resistance readings into temperature estimates.

### Self-Heating Error Analysis
Your agent calculates the temperature drift caused by excitation current.

### Wiring Configuration Correction
The MCP accounts for lead-wire resistance in 2-wire, 3-wire, and 4-wire setups.

### Sensitivity Evaluation
Your agent determines sensor performance at specific operating points.

### Theoretical Resistance Modeling
Your client calculates expected resistance for any target temperature.

## Use Cases

### Sensor Calibration
Calculate theoretical resistance to verify if a Pt100 sensor is within spec.

### Error Budgeting
Determine how much self-heating will affect your temperature accuracy.

### Wiring Design
Analyze how 2-wire versus 4-wire setups impact your resistance readings.

### Performance Testing
Evaluate sensor sensitivity at specific operating temperatures.

## Benefits

- Eliminates manual math for Callendar-Van Dusen conversions.
- Accounts for lead-wire resistance across multiple wiring configurations.
- Quantifies thermal drift from excitation current.
- Provides precision error analysis for sensor performance.

## How It Works

Connect your client to Vinkius and start running thermal math immediately.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your sensor data or target parameters to your AI client.
3. Your agent invokes the specific calculation tool needed.
4. Receive precise temperature or resistance results instantly.

## Frequently Asked Questions

**What mathematical model does this MCP use?**
The MCP implements the Callendar-Van Dusen model for all resistance to temperature conversions.

**Can it handle different RTD wiring types?**
Yes, it accounts for lead-wire resistance for 2-wire, 3-wire, and 4-wire configurations.

**Does it account for self-heating?**
Yes, it includes a tool to quantify temperature rise caused by excitation current.

**Which AI clients can I use with this?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**How do I get started?**
Connect your preferred client to the Vinkius catalog to access the tools.

**How does this tool handle lead-wire resistance?**
The `calculate_temperature_from_resistance` tool adjusts for lead-wire error based on your selected wiring convention (2-wire, 3-wire, or 4-wire).

**Can I calculate self-heating errors?**
Yes, use `calculate_self_heating_error` to determine the temperature rise caused by the excitation current flowing through the sensor.

**What mathematical model is used for resistance calculations?**
The engine uses the Callendar-Van Dusen equation, supporting coefficients A, B, and the optional coefficient C for sub-zero temperatures.
