-
Notifications
You must be signed in to change notification settings - Fork 61
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
Won't allow me to save calibration #171
Comments
Is it possible for you to establish communication with serial and let us know how your trace log looks like during calibration? I presume that you passed all three phases successfully: voltage, high and low current. |
All three phases were successful. Here is what the serial log looks like starting from the front panel and ending at the "calibration remark" screen (using the Arduino 1.8.1 IDE with 115,200 baud rate): Also, I updated the firmware to master via the arduino ide over the native port. The issue stuck around. |
Ok, why latest trace line is partial? Is that a copy&paste mistake or it's really like it? If I understood you correctly you cannot enter calibration text in the final step? |
That is what it is really like. I thought it was strange as well. I can enter the text, but when I hit the check mark to save the text it just goes back to the "calibration remark" screen and doesn't give me the "save calibration" modal. The calibration remark is shown there. |
I was able to make it lock up at this point as well. After I entered the text and hit the checkmark, I then hit the home button, then hit "no", then when I tried to press the "next step" button it locked up until I restarted the PSU. I'm not familiar with the DUE/Atmel SAM microcontrollers. Is there any way to run a debugger like gdb on these micros to step through code, set breakpoints, etc? |
Strange. What's about other functions that require storing of parameters, e.g. saving user profile? Can you try to save current parameters under any user profile except 0? User profiles can be found under second icon on the bottom of the main page. See Fig 2 here. |
Oh, this is weird. I connected the output of channel 1 to the current measurement terminal on my voltmeter (just so there would be a load) and when through the calibration. Rather than reading on the meter what the cal was I just entered exactly what it was trying to calibrate the PSU to and with those values it worked fine. |
OK, so you still have a problem or not? |
Tried the real calibration again and it wouldn't let me save cal again. This is how I'm doing calibration fyi: First the output is connected to the voltage measurement terminal and common terminal my bench voltmeter and I record the three calibration voltages. I assumed this would be fine since even though the load is changing for the current measurements the PSU shouldn't care. The voltage during the current tests is thus pretty low (tens of mV up to about 2V). This should all be fine, right? |
Ok, what is the value of your power resistor used for current calibration? It should be below 5 Ohms for high current range. |
I was just using the current range (so basically their shunts) on my meters as the loads. My handheld meter is reading 4.97A during the test so I figured this was fine. I do have some power resistors below 5 Ohms I can use, just didn't want to measure the voltage across them to do the math for current. :P A couple of other things to note (more information is better than no enough, right?): |
I'm not sure what you are doing. Please use for voltage calibration voltmeter and for current calibration external power load with ammeter (e.g. 10 A) connected in series with load. There is no need to calculate anything while calibrating: just enter values that you read on your voltmeter and ammeter. |
Ok, I followed that video exactly (besides for the lower current range) using a 3.8 ohm power resistor and it still did the same thing where it won't let me save calibration. |
After quite a lot of debug statements (oh my god why does arduino not have a freaking debugger?) I narrowed it down to the low current range mid value check (Value::checkMid()). My unit was out of the allowed calibration tolerance (1% which seems a bit tight!). I changed the allowed tolerance to 10% which allowed my unit to pass. What I don't know is why the DebugTraceF in that function is failing and only printing out the time. The values I entered for calibration were 4.4mA, 250mA, and 505mA if you wanted to try some testing to replicate this problem. Let me know if there is anything I can do to help figure this out. |
Thanks for that, Martin has to jump in here and instruct you how to proceed. |
The reason why DebugTraceF didn't print out the whole data is for the same reason explained in this ticket: This is now fixed. |
I'm using Atmer SAM-ICE with Ozone. |
Such tight tolerance is set intentionally, if you'd like to have properly calibrated unit then 1% is more then enough with reasonably accurate external DMM. |
Expected behavior
When I get to the calibration remarks page, enter "new cal" and hit the checkmark button it should ask to save the calibration.
Actual behavior
After hitting ok the calibration remarks page shows back up again and I don't get a prompt to save the calibration. Trying to hit the "next step" arrow says "invalid cal data" so my only other option is to exit calibration.
The text was updated successfully, but these errors were encountered: