7

I got a cheap RCWL-0516 microwave doppler radar proximity sensor module to evaluate. The RF part of this has surprisingly few components (what looks like a MMBR941M NPN and a hand full of passives)... but I think more important is the microwave magic PCB design. There is very little hard information available for this (eg even the operating frequency is left unstated.. I found mine at 3.181GHz!). My aim is to try to document the workings of this module as much as possible. I'm making my research available on GitHub (link below).

Unfortunately microwave is voodoo magic to me. I wonder can anyone with microwave design expertise have a quick look over my research to date and provide me with pointers for further research?

The GitHub repository is here: https://github.com/jdesbonnet/RCWL-0516

RCWL-0516 dopper radar proximity switch module

There is also a datasheet for this module, unfortunately for the non-Chinese, it is in Chinese language.

Update (13 Jan 2017): the best explanation I've found so far is a patent which describes another module (a 5.8GHz module available from ICStation SKU 9552): https://patents.google.com/patent/EP3091605A1/en

Bimpelrekkie
  • 80,139
  • 2
  • 93
  • 183
jdesbonnet
  • 393
  • 1
  • 3
  • 12

4 Answers4

4

R-CDS (parallel to R15) is part of the voltage divider for the photo resistor (LDR). When it's bright, the LDR pulls the CDS line below 0.7V, disabling the trigger output (pin 9, VC). Thus, the brightness sensitivity can be adjusted with R-CDS. Populating R-CDS means enabling the trigger at brighter environment; the lower R-CDS, the brighter it has to be to disable the trigger. CDS can also pulled low from the pin header to disable triggering.

Also, pin 1 ("A") might be an input as in BISS0001 to enable re-triggering, tied to high on that board.

C-TM (in parallel to C2=10nF) is connected to pin 4, RC1, and seems to increase the trigger pulse width (might be a more clear wording than "repeat trigger time"). Haven't tried any of those though.

BTW, I've seen a video where someone powered the module with 3.3V on that 3.3V pin, VIN not connected, working fine. My guess is that the IC actually works with 3.3V and just has an internal 100mA 3.3V regulator (VIN->3.3) for ease of operation, meaning that pin 11 is VDD (same as BLISS0001). So the IC could be powered by 3.3V or 4+V - very convenient.

DrJones
  • 41
  • 2
3

Here is a cleaned up schematic of this board: https://www.tayloredge.com/reference/Electronics/RF/0242.pdf

  • Sounds useful, but this a comment, not an answer to the question which was asked. And even if it were an answer, it would be a link-only answer, which is somewhere between heavily discouraged and entirely banned. – Chris Stratton Jan 04 '18 at 23:30
  • 1
    Link only answers are discouraged, and links without attribution are considered spam. – Voltage Spike Jan 04 '18 at 23:35
  • Sorry I missed that schematic when it was posted. I've updated my documentation at https://github.com/jdesbonnet/RCWL-0516 to include it. Thanks. – jdesbonnet Feb 13 '18 at 19:06
2

I also bought such a module after seeing it for sale on ebay. Since I work on radar it triggered my interest.

You mention: However something is puzzling me: when I wave my hand in front of the sensor the frequency shifts by up to 1 MHz.

I was thinking that this would be caused by the (Doppler effect of the) reflecting waves from your hand but that is not true.

I did some calculations here.

The Doppler effect equation is: f = f0 * (v + vr)/ (v + vs)

Where:

v: the velocity of waves in the medium, here the speed of light c = 3*10^8 m/s

vr: The velocity of the receiver relative to the medium, positive if the receiver is moving towards the source, here the speed of your hand, for example 1 m/s

vs: The velocity of the source relative to the medium, positive if the source is moving away from the receiver, here the speed of the radar module = 0 m/s

fs: Emitted Frequency, here the frequency at which the module is transmitting 3 GHz so 3*10^9 Hz

f: Received Frequency that is the frequency shift of the wave reflected back from your moving hand, the calculation shows that it is 2.999 999 99 GHz so in this case 10 Hz

So the Doppler effect gives a much lower frequency change than the 1 MHz you have seen.

I now think that the presence of your hand is causing the oscillator to (capacitively) couple to your hand and that this makes it operate at a slightly different frequency.

You can check this, see if the frequency change also occurs if you keep your hand still in the detection beam. I think you will then also see the frequency shift.

The module operates by mixing the reflected wave with the transmitted wave. Mixing will generate a signal consisting of the sum and difference frequencies of the input signals. So in the Doppler calculation that is the 10 Hz difference.

I expect that the RCWL-9196 chip detects signals in this frequency range and triggers the output when it does.

I think that from a microwave perspective this is not "rocket science" nor "Voodoo" ;-) In my view it is just a clever combination of known solutions (the oscillator and the antenna) by combining them in such a way that this can be used as a movement detector.

Bimpelrekkie
  • 80,139
  • 2
  • 93
  • 183
2

The large frequency shift from a none moving hand is not part of the detection, just a consequence of a free-running oscillator. The patch antenna is strongly coupled to the transistor and are part of the resonant structure that set the oscillator frequency. The Doppler shift is much smaller, as noted above, low frequency audio for the fastest likely moving target. If the centre frequency moves a few percent, the effect on the Doppler is similar, a frequency change of just a few percent. Unless the centre frequency changes so fast compared to the time it takes the signal to get out from transmitter and back again to be mixed with the slightly changed frequency being transmitted, the change in centre frequency will not produce anything looking like a detection.
The transistor is acting both as oscillator and mixer/detector, as the return signal slightly perturbs the DC level on the transistor. As a side effect, varactor-like, that DC change will detune it.

Mike P-J
  • 21
  • 1