Tuesday, October 26, 2021

Gamma Dog - The Ultimate Radioactive Rock / Mineral Finder!

A friend of mine and an avid REE mineral collector Charles Young designed some time ago an instrument intended specifically for finding radioactive rocks "in the wild". The design evolved from his initial concept to become a pretty clever and viable solution but was using audible clicks, very similar to a Geiger Counter.

 Charles and I have been talking for a while, exchanging thoughts and ideas about what such instrument should be and what features are needed. Finally, Charles managed to do something I've been thinking about for years but never really had the time or the proper motivation to dive into! His work was truly an inspiration for me and eventually precipitated as the "Gamma Dog project" as I realized I am not alone in my quest to create a specialized radioactive rock-finder.

With the core R&D work done by Charles, we decide to collaborate in the design efforts and improve both, the hardware and software side in order for this instrument to become the Ultimate tool for the Radioactive Rockhound.

Currently, there are no such specialized prospecting tools as the Gamma Dog on the market. The glory days of Uranium and REE prospecting are long gone! Consumer grade radiation detection is reduced mainly to inexpensive Geiger counters and dosimeters. The few commercial detectors intended for professional use by geologists are extremely expensive yet lacking some important for us functionality.

Geiger Counters are more or less useless for mineral collecting due to their poor gamma ray sensitivity and commercial scintillators on the other hand, require that your eyes are "glued" to the meter's scale in order to monitor for a detected rate increase or you have to listen to a divided click-rate and trying to figure out if the click rate changes, just "by ear", which is a pretty strenuous activity by itself. 

We wanted an instrument that is simple to use, very sensitive and the UI to allow for the user to focus on the environment / terrain and not on the instrument itself. The goal was to design a device that is really intuitive to use, and to make the activity of radioactive rock hunting more enjoyable than simply staring at a meter, while waiting for the needle to jump or a number on display to increase. 

Meet the γDog! 


The instrument's housing is a 14.5" long, 4" diameter ABS plastic tube with two end-caps, a handle, two attachment points and a control panel located on the top cap. 
Weight is ~5.5 Lbs when equipped with 63 x 63mm NaI(Tl) scintillation crystal detector. 

I think, the instrument's look is a bit ominous, and I'll probably need to dress it a bit with some decals for the sake of the general public. After all, you press a red, backlit button on a big, black, cylindrical object - it beeps and the first thing you see on the display is the radiation trefoil, followed by changing numbers - I can see how an ignorant or less intelligent person could hyperventilate seeing this.

The 3 major internal components are the scintillating detector, the electronics package (which includes an advanced microcontroller, pulse amplifier and HV power supply, along with other boards and components) and the 6600 mAh LiPo rechargeable battery. There is also a coaxial cable interconnect between the electronics and the detector.
The scintillating detector is heavily padded with closed-cell rubber foam ("Neoprene") to protect the delicate crystal and PMT from any mechanical shocks and vibrations and to provide thermal stability for the crystal. The unit can accommodate different LiPo battery sizes - usually 2x18650 cells in parallel (4400 mAh) or 3x18650 cells in parallel (6600 mAh). The bottom ABS cap is solvent-welded, and it is water-tight. The top cap is removable (3x SS Screws) and hosts the entire electronics module and control panel.

The Latching Relay board (left) and MCU board (middle) are stacked on the motherboard (right) headers. Visible between the MCU headers are the 12-bit DAC and 4K EEPROM daughter boards. The PCB with red solder mask is the HV power supply, pulse amplifier and detector decoupling circuit.
Currently, I am prototyping the latest version (v3) of the Gamma Dog. 
I designed the PCB with AutoCAD Eagle, and the fabrication was done through the OSHPark service - the PCBs came out absolutely superb with a beautiful purple solder-mask and gold-plated pads and vias! Highly recommend OSHPark for small projects - quality, pricing and ordering process is simply fantastic!

The new hardware version expands on the v2 PCB with a second control button for an improved UI, 4K EEPROM for storing settings and internal data and a 12-bit DAC for digitally adjusting the value of the Pulse Height Threshold.

There is an RFI can for shielding the HV circuit with hole to access the HV Adj. Potentiometer - the red board on the right (the RF shield is yet to be installed on this picture).
There are 6 connectors on the motherboard - one female BNC for connecting the scintillator and 5 others for the power source, buttons, display module, amplifier / speaker board and LEDs (4 connectors are mounted on the top side of the board) - not counting the IPX to SMA coaxial connection.
Not pictured here is the latching relay FeatherWing which plugs into the top MCU headers.
Stacking the boards in 4 distinctive levels allows for a more efficient use of space, while staying with the footprint of the 4" end-cap. 

A quick demonstration of the "γDog v2 PLUS" prototype and the UI.
(Youtube link)

Hardware Features:

Most of the instrument's housing is occupied by the padded scintillator (see the diagram above). There is also a battery "compartment", and the entire electronics assembly is located in the top end-cap. A fixed metal handle with a soft nylon strap handle and a a couple of special finger pulls / attachment points facilitate easy handling and maneuvering of the instrument while searching and digging. The enclosure is sealed and waterproof up to the control panel so it can be partly submersed if needed. The control panel is water-resistant and can withstand occasional splash of mud, water or light rain and it is easily protected with a transparent plastic "shower cap" and a rubber band when weather conditions deteriorate severely. There is 1/4" thick Plexiglass bezel protecting the display.

  •  Large (63x63mm NaI(Tl) crystal) Scintillating detector - this is the detector I previously built, but almost any NaI(Tl) / CsI (Tl) / CsI (Na) scintillating detector can be used or even Bicron BC408/BC412 Plastic scintillators. Requirements are a voltage divider impedance of 50M-120M, common signal / PMT HV bias line and voltage up 1000V - Ludlum 44-2 probe for example is one possible "off-the-shelf" solution.
It was time to put my newly built large NaI(Tl) scintillator to work. 

My large 63 x 63 mm NaI(Tl) detector is the "heart" of the γDog and covers the "traditional" for NaI(Tl) detectors Gamma Rays energy range of 25keV to 3000 keV. The larger the crystal is, the more efficient and sensitive the instrument is going to be - this is critical when looking for radioactive specimens "in the wild", which can have very weak emissions due to the shielding effects of soil and rocks and/or low N.O.R.M. content. Smaller size detectors or scintillating plastic detectors on the other hand are better when searching in tailings piles, mine dumps or inside mines, where the radioactivity is abundant to begin with.

  •  Adjustable, regulated and filtered, boosted High-Voltage Power Supply for the PMT Bias, positive polarity, outputting in the 600V-1000V range with 4V input. The low-voltage supply rails of the HV PS is controlled with a latching relay for a reduced power consumption.

γDog's High-Voltage Power Supply and Pulse Shaping Amplifier.
  •  Pre-amplifier with adjustable gain ratio and adjustable pulse shape - rise/decay time-constants as well as decoupling capacitor and load resistor are all hosted on the HV board as well.
  •  Adjustable minimum pulse level detection threshold using a comparator on the input of the MCU to "digitize" the scintillator pulses for counting.
On the scope's screen, the yellow trace shows the already amplified scintillator pulses. The pulses are then "digitized" by the comparator (blue trace) when they exceed the adjustable preset voltage threshold (white cursor trace on the Y axis).

Nordic nRF52840 System on a Chip is the "brains" of γDog.

  •  Nordic nRF52840 SoC (installed on the Adafruit Feather Sense Board) - ARM Cortex M4F processor, 1MB Flash and 256K SRAM, 21 GPIO, 6 x 12-bit ADCs, up to 12 PWM outputs and an array of environmental sensors - Accelerometer, Temperature, Humidity, Magnetometer, Barometric pressure, etc. as well as Bluetooth LE connectivity.
  •  Amplified (Class D amplifier) panel-mounted 1W speaker with manually adjustable volume (digitally adjustable in PCB v4)
  •  3 backlit buttons (Power, Squelch, Display Mode) with indicator LEDs
  •  High-contrast, ultra-low power SHARP Memory eInk graphics display (144 x 168 pixels)
  •  Rugged Micro-USB port (/w protective cap) for battery charging and firmware updates. Use-while-charging with an external 5V USB battery pack is also possible. 
  •  Built-in LiPo battery charge controller with 200mA charge current
  •  6600 mAh / 3.7V LiPo Battery (or 3x 18650 cells in parallel) which provides up to 24 hours of continuous run time. Smaller capacity battery can also be used - 2x18650 (4400 mAh) and will still provide a full day of continuous operation while reducing the weight.
  • BLE or Low Energy Bluetooth connectivity for outboard data processing and storage (on a Smartphone or PC)
  • Configurable BT power levels

Software Features:

There are a couple of novel features which make this instrument different than anything else out there - the count-rate based variable frequency tone feedback coupled with an adjustable level squelch control. Both features are aimed at easy detection and location of radioactive sources. 

Listening to slow clicks while trying to adjust to the background count rate in order to detect any changes when radiation is detected is way too strenuous on the brain - changes in the pitch of a tone on the other hand are picked up immediately and very easy to follow. The squelch control on the other hand makes the instrument "vocal" only when needed, near a radioactive source above background level.

Gamma Dog is running on almost 3000 lines of code (firmware V3.9.2)

  •  Audio is main method of feedback via the variable frequency tone and alert beeps.
  •  Super-simple and responsive 2 buttons UI with click, double-click and long-press actions (all with audible feedback) to execute various actions such as Sql Level Adjustment, Auto-Set, etc. 
  •  2 user-selectable persistent display modes - Current Rate and Rate vs. Time Histogram.   
  • In the Rate mode, single-click of the Squelch button will increase the squelch level and double-click will decrease the level. Audio frequency will increase 10Hz for each 10 CPS and displays shows numerical count rate.
  •  In the Histogram mode - display shows 140 seconds scrolling count-rate histogram and double-click will toggle between constantly open Squelch and Normal Squelch Control. In addition, in this mode the audio is generated with smaller (5Hz) steps per 10 CPS. This mode can be useful when searching in places with many high-activity sources like mine dumps / tailings. etc. as very high rates will keep the audio frequency half of the rate - i.e., 4000 CPS will result in ~2kHz tone when squelch level is set really low.
  •   2 indicator LEDs - Green Squelch button LED flashes when the number of counts reaches 2x the squelch setting counts and also indicates the startup sequence point for Histogram mode change, Red Power button LED indicates sleep status / HV power off (when blinking) and normal operation (solid glow)
  •   Graphics display shows Firmware version, Internal Diagnostic results and alerts, Current Count Rate in CPS (refreshed every second, resolution 10 CPS) or a count-rate rolling histogram, battery level as voltage and percentage of capacity (refreshed every minute), Current Squelch Level Setting, Count Overflow and Low Battery Alerts.
One of my contributions to the project was the development of the display interface and the firmware code for it, including the UI. γDog PLUS uses 1.3" Ultra-Low Power SHARP Memory display (144 x 168 pixels, same kind as the one used in the Pebble Watch). The display is a very high contrast eInk type, super-easy to read in direct sunlight, recessed in the front panel for mechanical protection and it shows useful information improving on the ergonomics and the interaction with the instrument.
Data on the display is refreshed every second for the Count Rate readout and every minute for Battery-related information.

Battery Voltage, Current Battery capacity and Internal Diagnostics Status


Internal Temperature and Relative Humidity

  •   Internal diagnostic routine reports over-temperature, water intrusion (by measuring the internal air humidity level in the enclosure) and various levels of the battery condition - both visually, on the display and with a series of beeps.
  •   Audible and on-screen "critical battery level" reminder - every minute when voltage drops below 10%
  •   On-screen Charging / Charge Complete Status Indicator
  •   Complete bootup time from Power button press to Ready to use is 12 seconds.
  •   An Advanced Accelerometer-based PMT / Battery saver will shut down the High-Voltage Power Supply and the pulse pre-amplifier after 10 minutes of inactivity (no instrument movement) during normal operation or after 1 minute while charging the battery overnight. The normal operation resumes within 1 second of the instrument detecting a physical movement (for an example - picking it up). During normal operation the red power LED glows solid and blinks when the instrument is in Sleep Mode. I designed this feature with the use of a latching relay to further save power. Going in and out of sleep mode is accompanied by audible feedback (descending or ascending tone chirp). Current draw drops from 70 mA to 10 mA when the HV supply is powered down. The DAC is also powered down during sleep. There is also selectable "No Sleep" mode as well as "Charge and Sleep" mode.
  •   Auto-Squelch Set will sample and establish the squelch trigger level at the current sampled background radiation level during startup or when it is activated by the user with a long-press of the Squelch button.
  •   Tone frequency generation is set always to begin at the current squelch level and frequency always starts low when the squelch opens, regardless of the current rate or range of operation - this allows for the instrument to operate in a comfortable for the human ear frequency range regardless of the current measured count-rate. In other words, the lower end of the audio tone frequency range is dynamically adjusted to begin at Squelch level. 
  •   Histogram Mode displays scrolling and auto-ranging relative count-rate histogram

The scrolling count-rate vs. time histogram displays the count-rate history over the last 140 or 45 seconds. The histogram is dynamically normalized to the count-rate range over this period of time.
On this picture, the minimum count rate over the past 140 seconds is the "floor" and max rate is the "ceiling".

Typical background rate histogram (130 CPS to 200 CPS). 
The histogram is constantly updated in background at 1 sec interval and always available for the last 140 or 45 sec. It displays current statistics for the span - Min, Max and Average Rate.

High-rate event (2560 CPS) (specimen of Uraninite), followed by drop to background level. 
The displayed histogram is dynamically normalized every time it is drawn, to show the maximum rate peak which, on the other hand "pushes down" the background level if there is a big difference in rates.

The 45 seconds histogram. This mode should be used when frequent changes in rate take place and can be set with the Config Menu System.

  •   Response to count rate changes with a pre-set hysteresis which prevents the squelch from opening during short rate fluctuations.
  •   Excessive Count Rate / Overflow alert above 10 000 CPS (600K CPM) - the maximum rate is not really limited but the count accuracy will drop when excessively high rates are detected.
  •   Compensated count accuracy for overall error in counting of 0.1% (electronics only)
Test of the hardware and the software counting algorithm. Feeding the input with pulses from a function generator shows that the counting accuracy is spot-on! Maximum error is 10 CPS.

Test Setup for counting accuracy and pre-amp alignment.
 Maximum count rate is up to 17K CPS (~1M CPM) for short pulses (~50 uS). Average pulse length of 100uS will allow count rate of 10K CPS (600K CPM).

   Instrument Usage

Sensitivity comparison between γDog and a Geiger Counter - there is no contest! I know it is "Apples and Oranges" comparison but demonstrates why one would want to use a scintillating detector when rockhounding.

(Youtube link)



Charles Young showing his field use of the standard model Gamma Dog.
(no display and indicator LEDs but otherwise almost identical)
(Youtube link)

Prospecting for Radioactives in New Mexico - Charles Young, August 2021

(Youtube link)

Prospecting for Radioactives in Southern New Mexico - Charles Young, November 2021
(Youtube link)

UPDATE: development of Version 3 hardware and firmware has been completed. The UI is now using 2 buttons - it was specifically designed to improve the user-interactions and ergonomics if display output is also present. 

The UI can now adjust the Minimum Pulse Height Threshold (PHT). This parameter along with another 16 (firmware ver. 4.3) configurable parameters are saved in the unit's EEPROM. 

Adjustments to the Minimum Pulse Height Threshold are done using a 12-bit Digital-To-Analog Converter (DAC) providing reference to the pulse discriminator and displayed in millivolts (accuracy is better than 1mV). Adjustment is done while the device is running in normal counting mode - this way the result of the adjustment can be evaluated immediately. 
There are UI coarse and fine steps while changing this value and "Quick Set" preset.
During PHT calibration, 59 keV X-rays from an Am-241 source are used and the PHT value is lowered until the count rate increases rapidly, setting the minimum Gamma energy to which the instrument will respond.


Additionally, there are 17 (for F/w 4.3) items in the Configuration Menu as well as a "Reset to Defaults" feature which re-writes the EEPROM with the factory default values.

The Version 3 hardware installed in the front panel cap.
Only 2 connections are needed to the body of the instrument - coaxial cable with BNC connectors to the detector and a connection to the LiPo Battery pack.

Current draw for the v3 hardware is 68mA during normal operation mode with Squelched audio and only 10 mA during Sleep mode.

The Blue button is the Squelch Control (UP/+), the Green button is Display Mode and Squelch Control (DOWN/-) and the Red button is the power ON/OFF switch. The user now can toggle and latch the squelch control open/close by a double-click of the Blue button. Squelch Auto-Set is activated by a Long-Press of the Blue button.

Version 2+ (/w one button UI) on the left and Version 3+ (/w two buttons UI) on the right.

Bluetooth connectivity 
Gamma Dog is equipped with a Low Energy Bluetooth connectivity (BLE).

Bluetooth can be enabled/disabled from the configuration menu. On startup, Gamma Dog will automatically start advertising, waiting for connection.

5 levels of BT Tx Power can be set from -20dBm for level 1 up to +8dBm for Level 5.
This menu item is context-sensitive and will show up in the menu only if BT is enabled.

There are two different BT icons, indicating in total 4 different states of the link - whether there is a currently active connection or not and whether BT data streaming is on or off.
 Double-click of the Squelch button toggles the data logging on/off and the BT icon blinks showing Data logging is in progress.
Data logging is automatically suspended during Sleep Mode and resumes on wakeup.

 A string of parameters is broadcasted over BT every second and includes various internal parameters, detected current Count Rate and Squelch Level. Each data set includes a rolling counter as well.
 Currently, the data can be received with the free Bluefruit Connect App in UART mode or Plotter mode. Commands can be sent back to the Gamma Dog to toggle on/off the logging mode and to stamp "Waypoints" with GPS coordinates. 
There are plans for development of a companion Cell Phone App which will store the received data while stamping each set with the current GPS coordinates and a timestamp. Parsing this data and converting it to Google Earth KML/KMZ format would be next logical step. Overlay over the terrain showing the path with current rate and "waypoints" of found minerals will be a pretty powerful and useful prospecting tool.

The Bluefruit Connect plotter mode shows Count Rate vs. Time Graph (orange) and Squelch Level changes (blue).

Firmware Update v3.7:
- Added a menu-selectable Sleep & Charge mode - useful to charge the internal battery of the instrument from an external power source (car) or battery pack while in constant motion - during hiking or a car ride when the constant movement otherwise will prevent it from going into Sleep Mode. When this mode is activated, the Gamma Dog will startup normally, it will Auto-Set the Squelch level, but it will fall to sleep unconditionally within 12 sec of startup. The device will not wakeup due to motion in Sleep & Charge mode. Pressing any of the two buttons is the only way to wakeup it up and resume normal operation.
- Added Automatic Squelch Auto-Set (ASAS) mode. Useful as a "Smart Searching mode" while moving through areas with different radiation background levels. This feature reduces the need for manual squelch auto-set when searching. When this mode is activated, the Gamma Dog will automatically execute Squelch Auto-Set if:
    (a) The Squelch has been constantly closed for a predetermined amount of time (menu selectable 30/45/60 seconds) AND the set squelch level is more than 100, 150 or 200 CPS (menu selectable) higher than the currently detected rate. This condition occurs when squelch has been set in a "hot area" and then the instrument transitions to an area with lower background levels. The ASAS mode will normalize the squelch level bringing it closer to the current rate thus removing the large gap which occurs between the current rate and the squelch level (a situation which otherwise will make the squelch less efficient and and will necessitate a manual Auto-Set)
    (b) The Squelch has been constantly open (30,45 or 60 seconds - menu selectable) and the detected rate does not peak higher than 25% to 150% (menu selectable) of the currently set Squelch Level. This condition occurs when Squelch is set in low background radiation area and a transition has been made to a "hot area" where the higher background keeps the squelch constantly open. Again, the Auto-Set will normalize the squelch level.
If a specimen is being located causing the squelch to stay constantly open but also detecting more than pre-set level of spike in the current rate, this will reset the timer in order to prevent an auto-set while trying to pinpoint the location of the source.
Each of the two timeout timers will reset if a corresponding change of the squelch status occurs.

Firmware Update v3.8:
    - added a menu item to set Smart-Squelch timeout - 30, 45 and 60 seconds
    - added a menu item to set Smart-Squelch Closed tolerance Level:
         4 levels from 100 to 250 CPS in 50 CPS steps
    - added a menu item to set Smart-Squelch Open Reset Level:
         rate peak will reset the Timeout timer if exceeds the squelch level by 25%, 37%, 50% and 62%
    - added 2 more audio frequency modifiers - x0.5, x1, x1.25 and x1.50
    - added "Charge Completed" battery indicator
    - various code optimizations, improvements and fixes

The Gamma Dog family.

Firmware Update v3.9:

    - added "Auto Audio Frequency Multiplier" - activated with the menu system, in this mode the audio frequency multiplication factor will automatically and dynamically be adjusted, based on the difference between set squelch rate and current rate. Change is done in 3 steps - 100-125%, 125-150% and > 150%
    - added a warning msg if the USB charging cable is plugged in but the power button is not pressed - the instrument will halt the bootup and will wait for a power switch activation. The "stop and wait" point prevents the instrument from startup if nominal voltage is not present on the power rail.
    - reworked the power-saving / sleep mode logic. Now the instrument will start up with normal Time-out delay (duration is set via the config menu system). Gamma Dog will only switch to the short 1 min Sleep Timeout if it detects that a charging cable is plugged in. Disconnecting the cable will cancel the short time Out. If no movement is detected 30 sec to 1 min after the charging cable is plugged in, Gamma Dog will fall asleep. Waking up will restore the normal timeout even if the charging is still going on - this allows for normal operation when charging in the field with an external battery pack. This, more elegant solution is possible by monitoring the status of the on-board charge controller.
    - added startup shortcut to "Sleep and Charge" Mode in addition to the menu selection
    - added a menu item to change the Display Color scheme - Normal (black on white background) or Inverse (white graphics on black background)
    - added second, fast histogram mode - menu-selectable histogram now will display the rate for the last 140 or 45 seconds.

Quick demonstration.

8 comments:

Anonymous said...

Are you selling gamma dog detectors?

Andrey E. Stoev said...

Right now, I have no immediate plans to sell my version of the Gamma Dog. This instrument was designed by Charles Young and me to satisfy our own needs for tools for radioactive mineral prospecting.
It is a niche product for a somewhat obscure hobby, so naturally there is no wide interest in it and manufacturing single units is costly. Charles did a small batch of his version which is much more simplified, easy to make and less expensive (and less features of course) but I dont think he will be making more of those.
I can potentially do a small batch of GD electronics packages at some point, but I need at least a few people interested in it. Same goes for the version Charles is making.
Let me know if you are interested and I can msg you once I have enough people to make a batch,

Dingle said...

I would be interested in the electronics. I'm fine with Charles's simpler set up or your version. Please let me know

Anonymous said...

Same here. I recently purchased a property with an old mica /feldspar mine known to have had uranitite / uranophane and want to find some specimens and maybe even a pocket!

Unknown said...

I would be interested in one myself and the price for each type. I have found a few areas near me that I would love to use the GD. My Ludlum scint is good, but I have to be almost on top of it and keep watching the meter, compared to the fast response of the GD.
Thank you.

Andrey E. Stoev said...

Charles plans to sale 2 more unis at $650 complete and ready to go (with organic scintillating detector (Bicron plastic). This is the original basic model - single button UI, no display or any of the additional advanced features and adjustments. You can contact Charles at GammaDogger "AT" gmail d com.

My version, if I build any units, would be the same price but only for the electronics module (rear cap) and the user must add or their own detector or buy one.
Additional features, (currently under development) and not yet listed in the blog are "Gesture control" for activating the Squelch Auto-Set (for one handed operation) and built-in HV Bias supply monitor for HV adjustments in the field if swapping detectors. Contact me at aestoev "AT" hotmail d com

Andrey E. Stoev said...

I just got a word from Charles - the two GD he completed building and he will be selling are the last ones he is making. After that we are uncertain what will be the availability of this instrument for purchase.

Anonymous said...

I am interested on an assembled HV PCB