On Wed, Jun 3, 2020 at 10:21 AM jimbodude <j...@jimbodude.net> wrote:
>
> I also see "PPO2 Source: voted/averaged" in the "Extra Info" tab on the dive.
>
> Is there a way to display the individual reading of each PO2 sensor?
If you see "voted/averaged", then that means that the parser decided
that the individual sensors aren't actually calibrated.
From libdivecomputer comments:
// If all (calibrated) sensors still have their factory default
// calibration values (2100), they are probably not calibrated
// properly. To avoid returning incorrect ppO2 values to the
// application, they are manually disabled (e.g. marked as
// uncalibrated).
I suspect that "CCR Tools: Shearwater Mate" app just ignores this, and
gives the raw data.
For your "deteriorating sensors" use-case, maybe the raw data is
useful despite the apparent lack of calibration data.
It might be useful to have some way to report both the used PPO2 and
the raw sensor data, but , right now libdivecomputer doesn't really
have that interface (there's only a "report PPO2") and - as a result -
subsurface doesn't really have any way to distinguish (and handle) the
difference between "trusted PP02" and "raw PP02 data".
It's not technically impossible to do, but I suspect none of the
developers have a use-case for this and are thus not very motivated.
On Mon, Jun 8, 2020 at 1:44 PM jimbodude <j...@jimbodude.net> wrote:
>
> With that change in place, I get 4 lines for pO2 in Subsurface - none of them are "correct".
Is the original "voted/averaged" pO2 you saw correct? You'd hope so,
because that's presumably what the Sheatwater itself uses for deco
calculations..
Anyway, I think that trying to force some kind of calibrated end
result for individual sensors when there is no indication of actual
calibration values is wrong.
But what *may* make sense is to
(a) continue to export the voted/average pO2 as the pO2 value
(b) export the raw individual values - _without_ any calibration at
all as "O2 sensor mV" values. They aren't pO2 values, but they are
presumably _some_ kind of raw data, and they can be useful for
figuring out when/if a sensor might be going bad.
So something like the attached patch (but please realize that this is
a bogus pseudo-patch - it needs support for that DC_SAMPLE_O2mV sample
type).
That said, the Shearwater docs say "O2 Sensor X millivolts (only valid
when external PPO2 monitoring enabled)", and this code is all inside
the "internal PPo2 monitoring" if-statement. So I'm not sure this is
sensible at all. Thos values may be entirely random.
> The other change I made, to get the raw calibration data into a string, appears to have had no effect. Is there something else I need to do to get that information into Subsurface?
It should show up in the "extra info" tab. It doesn't?
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/6cfdaa82-d694-4fa3-b781-ba45601c89dco%40googlegroups.com.
Its been some time since I worked with this, but this is what I
think happens. The three individual 'PO2' values are actually
voltages. The meaning of each of these voltages is dependent on
the reference values when calibrating that particular O2 sensor.
IIRC this is also affected by altitude. From these voltages the
Shearwater calculates a voted Po2 value that is readily
accessible. However the calibration values for each of the sensors
are, as far as I can remember, not accessible. So doing anything
useful with the voltages is not easy. IIRC the Shearwater software
also does not give individual PO2 values, only the voltages.
Kind regards,
willem
That's the result I was expecting. Since we're doing a simple linear calibration
(ppO2 = mV * calibration), the "shape" of the mV and ppO2 curves will always be
the same. But of course the numerical values are different.
Note that if all three calibration values are the same (e.g. the default value
of 2100), then the resulting ppO2 values are simply scaled mV values.
Its been some time since I worked with this, but this is what I think happens. The three individual 'PO2' values are actually voltages. The meaning of each of these voltages is dependent on the reference values when calibrating that particular O2 sensor. IIRC this is also affected by altitude. From these voltages the Shearwater calculates a voted Po2 value that is readily accessible. However the calibration values for each of the sensors are, as far as I can remember, not accessible. So doing anything useful with the voltages is not easy. IIRC the Shearwater software also does not give individual PO2 values, only the voltages.
The Shearwater documentations says this about those calibration fields:
"Only valid when configured as an analog PPO2 monitor (i.e. this is not
valid when a DiveCAN PPO2 monitor, as this info is stored in the peripheral
circuit board)."
So that's seems to confirm the values are just not there for the DiveCAN
monitor. Unfortunately it also doesn't say how to detect whether an analog or
DiveCAN monitor was used. Which model do you have?
Are you sure the CCR Tools app shows the ppO2 value, and not just the mV values?
If it really shows a (correct) ppO2 value, that would be interesting. Because
that means it must have access to the calibration values somehow.
Since he has a DiveCAN monitor, that means that it is connected to an OBOE board in the CCR itself, and the calibration values are stored there. That is what supports the capability to unplug a monitor from one CCR and plug it into another (e.g. a backup CCR) and continue to use the monitor with the new unit. If the NERD (or whatever) stored the calibration coefficients then plugging it into a different unit would yield erroneous ppO2 readings.
Since CCR Tools is able to show sensor readings and mV values, then I speculate one of two things is happening:
One, the DiveCAN interface is supplying both pieces of data (ppO2 value and mV value) to the computer. This seems very likely, whether the computer includes both pieces of data in the log or not.
Or, two, it is assuming a calibration coefficient and Jef is just lucky enough to have sensors that match or are very close to the default calibration coefficient, thus yielding “believable” values in what CCR Tools is showing.
Any chance of emailing the author of CCR Tools to ask?
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
subsurface-dive...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/subsurface-divelog/9efb424c-8581-4552-bae4-fcc3eb91919co%40googlegroups.com.
Any chance of emailing the author of CCR Tools to ask?