I am simulating the following voltage-controlled current source using LTspice. This design works for the application where it is going to be applied. However, the output current is not completely independent from the load, due to the non-infinitive impedance of the second op-amp. The gain is equal to 1.
For that reason, I am trying to replace the second op-amp and the resistors R4, R5, R6 and R7 by an instrumentation amplifier configuration (AD8221), so that the input impedance will be higher and the overall performance will be enhanced. This is the schematics that I am using. The idea is that the gain has to remain 1 and the output should be the same as the previous configuration, but with less error.
However, the simulations are not working (The message is: Singular matrix; Check node u2:56. Iteration no.18) . Could you help me solving the problem, please?