-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement workaround for voltage drop at high currents #7
Comments
Might be due to the voltage drop in the shunt resistor, for Iout sense, which is supposed to be low side (between PSU ground and Vout-). Which mean the ADC1_in9 is reading Vout + Vshunt, because the ADC sense a value relative to the PSU ground and not Vout-. Can't test this at this moment, I have no dpsxxxx at hand but I have 3 on the way. According to the voltage drop of 340mV @ 1.2A, Rshunt should be 0.28ohms. A fix would be to substract Vshunt to the value read by ADC1_in9, and this will be Vout. |
I forget about the DAC, a fix would be to add the current Vshunt to the requested Vout, hopefully this would be stable, but this may need more thoughts, and surely a verification of the transients when the charge change rapidly. This might be tricky. |
Thanks for the description @lumostor. For some reason I reraly get Github notification emails on my own repos, even though I receive tons of them each day for other repose I watch. |
@lumostor did you get a chance to look into this? I think as we know the current through the shunt resistor we should be able to account for this quite easily. It does require us to know what that resistance is of course. I guess what they should have done is to tie the Vout(-) to ground and use a differential op-amp across the Rshunt If we do factor this in the device is going to have to respond to a fast change between a high load and a low load very quickly. If it does not when the current drops suddenly the voltage DAC will be outputting a level that is too high and some overvoltage will occur before the software can read the shunt current and readjust |
There is an issue with the DPS5005s (at least the three I tested so far) resulting in output voltage drops at high currents. If outputting 6V (according to UI settings and UI feedback) and drawing 1.2A, a multimeter will show a 340mV drop on the output voltage compared to the UI. The value on DAC1 needs to be increased to maintain 6A @ 1.2A which also increases the displayed voltage ADC measurement.
More measurements here under the 'Voltage drop at high current draw' tab
The following table shows DAC1 values maintaining an output voltage of 6V under different current draw:
This is not OpenDPS related as the stock firmware has the same "feature". Fixing it would be a nice OpenDPS addition.
The text was updated successfully, but these errors were encountered: