Hi everyone, I am trying to simulate a battery with a power supply. My power supply DOES NOT have sinking current capabilities. I need to simulate battery charging with a power supply and measure the battery current while charging. Since my power supply does not have sinking current support I have put a diode on the positive terminal of the power supply so that no current will flow into the supply. That would mean that no charging current would flow because the diode would act as an open circuit.
How can I simulate the battery with a power supply without damaging the supply? I need to test the charging circuitry of the device under testing and the plan is to measure the battery current.
Thanks!