NordicSemiconductor / pc-nrfconnect-ppk

Power Profiler app for nRF Connect for Desktop
Other
106 stars 32 forks source link

Is it possible to get the Voltage level in ampere meter mode ? #320

Open yguel opened 1 year ago

yguel commented 1 year ago

Reading the schematics of the PPK2, it looks like the voltage of the source (VDUT SENSE) is available to the PPK2. Would-it be possible to get its value in ampere meter mode ?

wlgrd commented 1 year ago

In theory, yes. It is used in a loopback when setting the output voltage, but it can also be read during operation. Unfortunately, this is not implemented but is in our backlog. It would demand some sacrifices to the readout speed of the current measurement. How often would you think you would need to have the voltage of the DUT updated?

yguel commented 1 year ago

For our application it is 10Hz, quite low compared to the usual current measurement needs.

yguel commented 1 year ago

Is that part of the code open source ? We can dedicate ressources to implement the feature.

wlgrd commented 1 year ago

Unfortunately not, this demands a firmware change. I will get back to you when time allows for prioritizing this

KSt-HW commented 1 year ago

We would need the same, but with a higher frequency. We would like to have it with each current reading, since we are having a very dynamic source and sink as well. That would probably mean, that the possible sampling speed is at least half the current possible speed, but that would be ok with us. I addition, it would be handy for the UI, if an area of the measured graph is selected, not only the current and charge are calculated, but also the power by including the measured voltages.

tmarkson commented 1 year ago

Count me as another user that's OK with lower sampling speed when reading Voltage. It's a very enticing feature! I think the only major feature missing from PPK ecosystem.

frolswe commented 7 months ago

Voltage measurement would be really useful, please implement that :) Any possibility for you to opensource the firmware for this device?

oldgerman commented 5 months ago

The current waveform graph shows the current, which I presume is compensated for by calculations using calibration data, and if the voltage is assumed to be constant in the calculations, the less it reflects the true current when the voltage fluctuates a lot. I hope the new firmware will add the ability to display current and voltage waveforms at the same time, and to switch between the display of these two types of data :) 1: Constant voltage + real time current 2: real-time voltage + real-time current

MM-Lehmann commented 1 week ago

That would be a very useful feature, actually mitigating the most serious disadvantage over other power meters, as indicated by other users above. We could imagine using this device in a number of projects then. Any chance, you could open source or at least provide the firmware for the controller? We (Fraunhofer IIS) could dedicate some resources implementing the feature in firmware and feed that back to you.