Good day,
I am working on a small project. The final goal is to plot the BJT characteristic curve Ib Vs Ic using an Arduino.
The overall idea is to convert microamperes to millivolts using an OPA277 op-amp. Finally, The measuring circuit will be connected to a BJT's base and measure Ib.
Before building the hardware, I planned to simulate the circuit in SPICE (Micro-Cap 12 Simulation Software). Initially I ran a simulation using an ideal constant-current source with the OPA277 and it worked as expected (with_const_current_source.jpg) . Next, I replaced the constant-current source with a current mirror (with_current_mirror.jpg). When I made that change I got the following error:
Error: Failed to converge in specified number of iterations at time=0.
During a transient DC operating point, or the operating point calculation prior to an AC analysis, or during a DC analysis, if the number of iterations required to solve the network equations exceed the specified maximum, this message is issued.
Please help me understand this issue and how to fix it.
I assumed that if the measuring circuit works with a current mirror, then I could also use it with a BJT amplifier.