The maximum input voltage that can be applied to the INA118UB is ±40V, but it's recommended to keep it within ±20V for optimal performance and to prevent damage to the device.
To ensure proper biasing, connect the REF pin to a quiet analog ground, and make sure the input common-mode voltage is within the recommended range of 1.9V to 3.9V. Also, ensure the output voltage is within the recommended range of 0.5V to 3.5V.
To minimize noise and ensure optimal performance, use a 4-layer PCB with a solid ground plane, keep the input and output traces short and separate, and use a low-ESR capacitor for power supply decoupling. Also, avoid routing digital signals near the INA118UB.
The gain of the INA118UB can be calculated using the formula: Gain = (Rf / Ri) x (1 + (Rg / Rf)), where Rf is the feedback resistor, Ri is the input resistor, and Rg is the gain resistor. The gain can be adjusted by changing the values of these resistors.
Use a 10uF to 22uF low-ESR ceramic capacitor in parallel with a 100nF to 1uF ceramic capacitor for power supply decoupling. This will help to filter out noise and ensure stable operation.