opendps icon indicating copy to clipboard operation
opendps copied to clipboard

Extend ocd-client.py to fetch factory programmed calibration coefficients

Open Xenoamor opened this issue 6 years ago • 7 comments

As discussed in #103 a method of fetching/retrieving the calibration coefficients from the original DPS firmware would be very useful

Xenoamor avatar Jan 18 '19 13:01 Xenoamor

Here is the google sheet I used when reverse engineering my very first DPS5005. Dialling in a few voltages and reading the DAC setting will give us the voltage coefficients but of course one will need a few resistors to get the current coefficients.

kanflo avatar Jan 18 '19 15:01 kanflo

Could you not just short the output terminals and current limit it?

Xenoamor avatar Jan 18 '19 19:01 Xenoamor

That could work for lower currents. I think I have a stock DPS somewhere, I'll try it.

kanflo avatar Jan 20 '19 12:01 kanflo

I have a stock DPS5015 and an oscilloscope. what do you need?

DavidMez avatar Jan 20 '19 16:01 DavidMez

@DavidMez Thanks, I should try shortening the terminals in CC mode on my own DPS first since I am not sure about the survivability ;)

kanflo avatar Feb 04 '19 22:02 kanflo

In theory it should be fine. I'm happy to try it when I get home after work today for you, I have one with stock firmware. I can only do around 20V 4A though (DPS5005)

Xenoamor avatar Feb 05 '19 11:02 Xenoamor

Update: shortening terminals does not seem to elect new popes :)

kanflo avatar Feb 17 '19 21:02 kanflo