-
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
DPS5015 output inaccurate both on DPS screen and measured on multimeter #216
Comments
You need to calibrate the device When you turn it on the screen displays what the ADCs see after it's internal calibration parameters are applied If you turn it on and the true output doesn't match what you set it to then the DAC calibration parameters are wrong |
Is there a guide for this process? |
#120 and #122 are the related PRs that added in the calibration routine. It's done via the communication interface though. There's not a good guide though and I've since moved on from this project If you don't have a communication interface you can manually set the parameters by pressing m1 + m2 at the same time to get to the calibration screen.. I think anyway |
I’ve just had a look through the commits referenced above and it looks like I understand enough to calibrate. How far apart do the voltage references have to be? Would 3.3v and 24v be far enough apart? |
Fair enough, they are almost disposable at the cost they are. I think the main readme.md could do with a disclaimer, pulling the factory programmed calibration parameters is present in the part 3 of the blog but it's not obvious to people who aren't clicking through to every link
Are you referring to the input voltage, the one that feeds into the back of the supply? If so 3.3v sounds kind of low and I'm not sure it will function correctly with it. I used another DPS to feed my one and used 6v as my lower value and then the max I could output. You'll want to set the current limit to be high If you're referring to the output voltage then this is a good range yes |
I did save the txt files during my initial flashing ad per the readme. I didn’t realise there were calibration values in there. |
I've never done this but maybe I recall reading something about it. I just threw on OpenDPS straight away and realised it needed calibrating which is why I added the routine for it I thought the bug you were seeing was likely fixed in #213 but I guess not. The issue tracker is #215 If you could give me your pipenv setup commands that would be great as I'm not familiar with it |
Got a bit further tonight, I will try and fix and raise a PR.
|
Looks like |
Thats it. I just made the change on mine |
Raised PR #217 |
Why is the calibration routine asking for a load resistance if the latest calibration uses a solid short? Is it expecting me to input 0?
|
|
Backed out of calibration. I had my 12AWG 'thick wire' ready for the current calibration but then it asked for load resistance settings. |
You need a known load for current calibration yes. Ideally a beefy wire wound low resistance one. |
“A thick wire for shorting the output of the DPS” “shorting” This to me did not sound like a power resistor. Didn’t I read in of the threads on here that the outputs are literally “shorted”? |
"A known load capable of handling the required power" is the section I'm referring to At one stage of the calibration you do literally short the terminals though yes |
Ok. That makes it clearer |
What defines “required power”? If I have a 24V power supply capable of 10A, let say I want max 20V from the DPS5015 what sort of power resistor am I looking for? The biggest wire wound resistors I can source locally are 10W |
Hi, for 10 A current at 20 V you will need 2 Ohm 200 W resistor, but for short time, like few seconds measure probably 50 W will be enough. It's better to connect few resistors in parallel or in series, that will reduce needed Wats, per single resistor. Regarding to voltage results from original DPS5020, have you checked voltage at some load? for example 10A? Is it the same accuracy when there is no load? |
@Xenoamor sorry to dig this up again but my DPS5020 is still bricked and I need to get it working again. You mentioned above that I need a 'thick wire' for shortign the terminals for one step of the calibration routine and you said also that I do need a load resistor. I went and read #122 where you state that the load resistor is no longer required:
I was about to spend $50 on a 2Ω 200W load resistor but now I'm confused. Do I need the load resistor or can I short the terminals during calibration? |
I think you still need a load actually, ignore my many edits! The shorting is for calibrating the current ADC but not the DAC. I can't quite remember how it works but you should be able to just use a spool of wire if you have it and it will handle the current. I designed this around the DPS5005 which requires far less current so didn't really appreciate how much wattage might need to be dissipated. You can just use a lower wattage load resistor if you want and the tools will ask you for the value and current limit appropriately, you'll just lose some current accuracy at the very high values. 50W for instance should be plenty |
ahhh ok, looks like mine will be a brick for a while until I can find some bulk resistance |
I have compiled for the DPS5015 (v2.3) but output values are inaccurate - see photos.
I set 3.300V - once output is enabled the DPS5015 screen shows a voltage slump to 2.84V and I measure 2.858V
I set 15.000V - once output is enabled the DPS5015 screen shows a voltage slump to 14.100V and I measure 14.25V
Is there anything I can do to fix or have I just created a paperweight?
The text was updated successfully, but these errors were encountered: