element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Avnet Boards Community
  • Products
  • Dev Tools
  • Avnet Boards Community
  • More
  • Cancel
Avnet Boards Community
Blog [PP-22] Gamma radiation measurement with MiniZed
  • Blog
  • Forums
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Community requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: kk99
  • Date Created: 3 Feb 2019 12:52 PM Date Created
  • Views 1110 views
  • Likes 7 likes
  • Comments 5 comments
  • programmablelogicch
  • path to programmable
  • xilinx
  • fpga
  • avnet minized
  • minized
Related
Recommended

[PP-22] Gamma radiation measurement with MiniZed

kk99
kk99
3 Feb 2019

image

1. Introduction

I have a really nice sensor module called GDK101 which allow to measure a gamma radiation in range up to 200 usV/h. This sensor have really simple communication interfaces: I2C or UART. There is also analog output which could be used for verifying the energy spectrum analysis of gamma photons. Below there is typical connection circuit:
image

Sensor module has sensitive 10 PIN photodiodes and transimpedance amplifier circuit. In functional block diagram there is also comparator and pulse shaping circuit. Output pulses are counted by built in MCU. There is also vibration sensor for recognition the error pulse caused by external mechanical shock. Below there is functional block diagram from datasheet:

image

My plan is to use this module to measure gamma radiation. First step is to setup I2C controller in PS in MiniZed and communicate with sensor module.

 

2. Reading of measurement value from sensor module via I2C interface

Firstly we need to create a new project for MiniZed board. Then we need to open block design and add a ZYNQ7 processing system. In added PS we need to enable I2C_0 peripheral and configure it to EMIO pins.

image

image

After that we could create a HDL wrapper and start synthesis. Then we need to open synthesized design and choose option Window->IO Ports. We need to setup PINs for SDA/SCL ports and I/O standard.

image

I have used PINs: 1,2 from PMOD number one. After that we need to save a new constraints and rune bitstream generation. At the end we need to export hardware with generated bitstream. After that we could launch a SDK.

image

In SDK we need to add a BSP and application template. During creation of BSP please set stdin/stdout to ps7_uart_1. Sensor module uses I2C protocol for communication. Below there are details from datasheet:

image

We need to send a specific command and the we could read two bytes of data. In my code I am sending command to read measured value based on 10 minute average. I have added two functions one for sending a command and second for getting data. Results are present at UART output. Below there is output for a first run:

image

3. Read value from TP_analog point by XADC

I have tried to read analog value from output of TP analog to use it to generate of spectrum of gamma radiation. I have added in PL a XADC available in PS via AXI. Here is design of this system.

image

In SDK I have added to previous example measuring ADC value from TP_analog point. But unfortunately direct connection of TP_analog point to AD2 pin which is sampled by XADC, cause the wrong measurements by module. It is probably caused by small impedance of ADC pin. Additionally I have added a getting information about module firmware version, status and measuring time. Here is example output.

image

Here is short video with circuit presentation:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Sources for project are present in attachment. Version v2 contains update for ADC measurement and have support for more I2C commands.

Attachments:
gamma.zip
gamma_v2.zip
  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 4 years ago in reply to kk99 +3
    Americium that is used in the smoke detectors is primarily a low level alpha particle emitter and may not produce any gamma rays. John
  • jw0752
    jw0752 over 4 years ago +2
    Years ago they made watch faces that used radium with a phosphor to produce a glow in the dark watch. If you can find one of these watch faces it makes a good testing source for alpha and gamma radiation…
  • kk99
    kk99 over 3 years ago

    Here are data collected from sensor:
    https://thingspeak.com/channels/702515

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kk99
    kk99 over 4 years ago in reply to jw0752

    Yeap, Am-241 (Am-241) emits weak gamma radiation which should be stronger than background radiation. But, yes it would be to hard to measure it with this sensor.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jw0752
    jw0752 over 4 years ago in reply to kk99

    Americium that is used in the smoke detectors is primarily a low level alpha particle emitter and may not produce any gamma rays.

     

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kk99
    kk99 over 4 years ago in reply to jw0752

    Thank you for suggestion. I am thinking about usage as source part from smoke detector.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jw0752
    jw0752 over 4 years ago

    Years ago they made watch faces that used radium with a phosphor to produce a glow in the dark watch. If you can find one of these watch faces it makes a good testing source for alpha and gamma radiation. I have an old one that no longer glows in the dark due to its age but it still gives off more than enough radiation to test Geiger tubes and other sensors.

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube