Got a new toy last week, found out about 'gnuplot'. ;D
Tried it on an older Python logger I've wrote for DP832.
Was fooling around plotting the V logged from a Rigol DP832 (triple power supply) while recharging non-rechargeable alkaline batteries. I know alkalines can leak and not worth recharging, did it out of curiosity, only to see some plots made with no extra effort from the old python2 (text) logger.
DP832 has 3 independent voltage source channels, each of the 3 can report their own U, I and P, so 9 values in total (measuring resolution is 0.1mV and 0.1mA, P is calculated). The logger retrieves U, I and P for each channel, adds a timestamp, then appends the 9 values as a new text line in a CSV file, in this format:
YYYY-MM-DD,HH:MM:SS,CH1(V),CH1(A),CH1(W),CH2(V),CH2(A),CH2(W),CH3(V),CH3(A),CH3(W)
2023-08-11,20:21:41,1.4579,0.0192,0.028,1.4619,0.0184,0.027,3.4624,0.0192,0.066
2023-08-11,20:21:42,1.4580,0.0192,0.028,1.4619,0.0183,0.027,3.4623,0.0192,0.066
2023-08-11,20:21:43,1.4579,0.0192,0.028,1.4618,0.0183,0.027,3.4626,0.0192,0.066
2023-08-11,20:21:44,1.4567,0.0192,0.028,1.4619,0.0183,0.027,3.4626,0.0191,0.066
2023-08-11,20:21:45,1.4561,0.0192,0.028,1.4619,0.0184,0.027,3.4624,0.0192,0.066
2023-08-11,20:21:46,1.4558,0.0192,0.028,1.4619,0.0184,0.027,3.4626,0.0192,0.066
2023-08-11,20:21:47,1.4556,0.0192,0.028,1.4618,0.0183,0.027,3.4621,0.0191,0.066
...
I've put on the CH1 a used Panasonic AA alkaline, on CH2 a used Energizer, and on CH3 two series AAA Duracell, also used, in order to see how much they can recharge.
Tried various charging currents 0, 1mA, 3mA, 5mA, 10mA, 20mA, 50mA, 100mA. Then went back and forth between the last 3 values a couple of times. Each tried value was kept constant for a few minutes, then changed with another constant current, and so on.
1. - It was intriguing to see a sudden drop in the charging voltage with one of the batteries, as seen in the annotated plot. What can cause that?
2. - Another unexpected thing to see was that, while the charging current was kept constant, the voltage on the battery was rather "jumpy", seen in the last part of the second attachment, which is the continuation of the annotated attachment while the batteries were left to charge over night at 100mA constant current. I've checked and it's not because of bad contacts, the voltage is like that from inside the battery. Why so noisy when charging?