Physical Basis: High conductivity metals (copper, silver) respond well to high frequencies.
Low conductivity metals (aluminum foil, iron) attenuate at high frequencies.
Purpose: Measure confidence in the reading. Solid single targets have consistent phase.
Multiple objects, ground minerals, or noise create inconsistent phase readings.
STEP 5: RAW VDI CALCULATION
Phase Slope < 0? (Ferrous)
↓ YES
normalizedSlope = phaseSlope / -10.0
(clamp 0.0 to 1.0)
VDI = 30 × (1 - normalizedSlope)
Range: 0-30 VDI
Phase Slope ≥ 0? (Non-Ferrous)
↓ YES
Use conductivityIndex
VDI = 30 + (conductivityIndex × 69)
Range: 30-99 VDI
Amplitude Adjustment
Strong signal (>0.5): +5 VDI
Weak signal (<0.1): -5 VDI
Range: 0.0 to 1.0
• 0.8-1.0: High confidence
• 0.5-0.8: Medium confidence
• 0.3-0.5: Low confidence
• 0.0-0.3: Very low (returns UNKNOWN)
VDICalculator.kt:197 - calculateConfidence()
Note: Phase consistency is weighted 70% because it's the most reliable indicator
of a solid, single target versus trash, multiple objects, or ground minerals.
Ferrous metals (iron, steel): High magnetic permeability causes phase to shift dramatically with frequency. The eddy currents and magnetic properties create a steep negative phase slope.
Non-ferrous metals (copper, silver, gold): Only eddy currents (no magnetic effects) result in relatively flat phase response across frequencies.
Conductivity matters: High conductors maintain strong signals at high frequencies. Low conductors attenuate quickly at high frequencies.
Why Multi-Frequency Analysis Works:
Single frequency can't distinguish between different metals - they all look like "metal detected"
By comparing phase and amplitude across multiple frequencies, we can characterize the target's electromagnetic properties
This is similar to how X-ray CT uses multiple angles to create a 3D image - we use multiple frequencies to "see" the metal's electrical properties