> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/op53xx/analog-input-modules/op5340-description.md).

# OP5340 Description

16 analog inputs at 0.4 MSPS - 16-bit resolution - ± 20V

<figure><img src="https://2047776775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgkXB7sd4eT4qhErY15uu%2Fuploads%2FnyIT2OBZzpjKvpPDTCj4%2FOP5340_card.jpg?alt=media&amp;token=1ab5283e-dfdc-420d-a071-eb9e99c1a88e" alt="" width="563"><figcaption></figcaption></figure>

The **OP5340** is a **high-precision analog input** module designed for OPAL-RT simulators and expansion units. It provides **multiple differential channels with simultaneous sampling**, ensuring accurate and synchronized signal acquisition across all inputs. The **OP5340-1** variant provides 16 differential analog input channels, while the **OP5340-2,** the 8-channel version is now discontinued.

For compatibility information, refer to the [Hardware Platforms Compatibility](https://www.opal-rt.com/docs/op53xx/overview/hardware-platforms-compatibility.md) table.

## Key features

* 16 differential analog input channels sampled simultaneously at 400 KSPS,&#x20;
* 16-bit resolution
* Voltage range ± 20V
* Factory-calibrated&#x20;

## Channel architecture

Each channel of the OP5340-1 module consists of three stages:

1. **Differential Amplifier:** Operational amplifier that works in differential input mode and allows gain adjustment.
2. **Level Sifter:** Level Sifter adapts the signal for the A/D converter input.
3. **Analog Digital Converter:**  The conversion by the A/D converter of the input signal into a digital signal, which is transferred via the carrier board to the FPGA chip of the real-time simulator.

<figure><img src="https://2047776775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgkXB7sd4eT4qhErY15uu%2Fuploads%2FtxcAeWrKQaHDBAK520HP%2Fop5340_architecture.jpg?alt=media&amp;token=2e03c083-bf64-4a1e-b7e7-f65e3d167415" alt="OP5340-1 architecture"><figcaption></figcaption></figure>

## Voltage Range

The default voltage range is ±20V. This value is obtained by using two resistor values, R1 and R2, to form the input stage :

<figure><img src="https://2047776775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgkXB7sd4eT4qhErY15uu%2Fuploads%2FwV7AQMeVg5XJf6lpWnHc%2Fvoltage_range_circuit.jpg?alt=media&amp;token=a4bf520b-936f-40f1-a188-70776df8bc6c" alt=""><figcaption></figcaption></figure>

The Vout value at the output of the amplifier is then obtained by the formula :

$$
Vout=\frac {R2}{R1}Vin
$$

To keep the Vout range at ±1 V, which maximizes the precision of the measurement, the resistor values are set to R1 = 499 kΩ and R2 = 25 kΩ:

The channel gain obtained with the default R1, and R2 values is thus 1/20:

<figure><img src="https://2047776775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgkXB7sd4eT4qhErY15uu%2Fuploads%2FZX3zWUeiI2aOpzQPY3D0%2FVin_Vout.jpg?alt=media&amp;token=ba3ecef6-d12e-4aca-9e7d-c5ddbe856b2e" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/op53xx/analog-input-modules/op5340-description.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
