Great question!
The HB100 is a popular microwave Doppler radar module operating at 10.525 GHz (X-band). Its main output is an IF (Intermediate Frequency) signal, which is a frequency down-converted waveform centered around roughly 10 MHz when a moving target is detected. To estimate any kind of static object property (like volume or mass), you’d want to measure the raw amplitude (magnitude) of the reflected radar signal, as this can potentially relate to radar cross-section or dielectric properties.
How HB100 works and its outputs
- Transmitter: Sends a continuous wave (CW) at 10.525 GHz.
- Receiver: Mixes the transmitted signal with the reflected signal, creating an IF output at a frequency proportional to the Doppler shift.
- Output:
- A differential IF signal (sine wave when motion is present),
- Usually centered near ~10 MHz,
- No direct outputs for signal phase or absolute amplitude of reflected signal.
Getting raw amplitude data from HB100 — what's possible?
HB100 DOES NOT inherently output a DC amplitude proportional to reflected wave strength in static cases, but:
- Its IF output amplitude correlates roughly with reflected signal strength when there is motion.
- For a stationary object, the module’s internal circuitry filters out static reflections (to reduce clutter), so the IF output will be close to zero or noise.
- By bypassing or modifying the signal path and performing your own analog processing on the raw mixer output before internal filtering, it’s possible to extract information related to amplitude of reflections, but this requires hardware modifications or additional circuitry.
Practical approach to get amplitude info
1. Tap the IF output (lowest frequency)
- The module outputs IF signal differentially on pins sometimes labeled as “IF” or “Vout” (refer to HB100 datasheet or your specific module).
- This is a high-frequency (~10 MHz) sine wave if there is motion, near zero if static.
2. Build an Envelope Detector
- Convert this 10 MHz AC signal to a DC amplitude level by an envelope detector (a diode + RC low pass filter).
- This DC voltage can be read by Arduino’s ADC pin.
- This voltage roughly corresponds to the magnitude of the IF signal.
Note: For stationary objects, this signal may be very low.
3. Add a low-noise preamplifier or amplifier stage
- The reflected signals may be weak.
- Use an RF or wideband op amp stage to increase the IF amplitude before envelope detection.
- Example: use low-noise op amps or transistor amplifiers.
4. (Optional) Access raw mixer output before clutter suppression
- The HB100 sensor PCB implements an internal microstrip line and matching networks along with a balanced mixer.
- Some hobbyists “hack” the module to access the RF mixer output signals before the IF processing or filtering stage, to retrieve a signal which contains static reflections.
- This is advanced and requires oscilloscope and RF knowledge.
Summary of hardware approach:
HB100 IF output (10 MHz AC) ---> Amplifier/Preamplifier ---> Envelope Detector (Diode + RC LPF) ---> Arduino ADC pin
Additional notes on Arduino reading
- Arduino ADC will measure a steady DC voltage proportional to the envelope of the IF signal.
- You will want to:
- Calibrate the system with known objects.
- Possibly average multiple ADC readings to smooth noise.
- Compare DC envelope voltage levels across different objects passing stationary (or slowly moving).
Suggested envelope detector circuit
- Schottky diode (e.g., 1N5711) for fast switching,
- Resistor (~10kΩ),
- Capacitor (~100 nF to 1 µF) for smoothing.
Example:
IF output ---|>|---+----> To Arduino ADC
Diode |
R=10kΩ
|
GND
Capacitor (100nF) from junction between diode and resistor to ground.
Limitations
- The HB100 is optimized for detecting moving targets, so static reflections are suppressed internally.
- Envelope levels for stationary objects might be very low, resulting in poor/noise-prone readings.
- For precise static amplitude measurement, consider a module designed for FMCW radar or raw RF demodulation.
Final thoughts
If you want to experiment:
- Get the HB100 output,
- Build the envelope detector,
- Measure ADC values on Arduino,
- Conduct controlled tests by presenting water volumes to calibrate variations in reflected signal.
If the amplitude changes correlate clearly with object volume, you can create a lookup or regression model.
If you want stable, accurate amplitude measurement of stationary objects, you’ll likely need FMCW radar modules or custom radar front ends.
If you want, I can help you with Arduino example code to read the envelope detector or schematics for the circuit. Just ask!