element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • 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 Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Fast Response Light Sensing with Photodiodes: Building a DIY Radiometer!
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 16 Oct 2024 3:11 AM Date Created
  • Views 3438 views
  • Likes 14 likes
  • Comments 22 comments
  • radiometer
  • light sensor
  • SFH203
  • photodiode
  • SFH 203
  • S1223
  • hamamatsu
Related
Recommended

Fast Response Light Sensing with Photodiodes: Building a DIY Radiometer!

shabaz
shabaz
16 Oct 2024

Table of Contents

  • Introduction
  • Circuit Overview
  • Building It
  • Using It
  • Summary

Introduction

Have you ever wanted to take a peek at what products that rely on light are actually doing? I have! A fast-responding light sensor can reveal the details.

To sense light, ordinarily, I’d consider a photoresistor or, if I needed a faster response, a phototransistor or a photodiode. However, I recently needed a way to sense light pulsing at a far higher rate than normally expected; let’s aim for 20 million times a second!

image

I browsed the Farnell website and found a very neat silicon PIN photodiode  from Hamamatsu that has a response that can reach 30 MHz.

This blog post describes how the photodiode can be built into a very simple circuit that provides an output of the amount of power hitting the sensor, and it’s usable for measuring UV-A, visible light, and it operates through to near-infra-red (320 to 1100 nm wavelength).

image

Note that the particular photodiode that was used is quite pricey at approximately £13+ tax, but you could use a far cheaper ($1) photodiode if you don’t need such a high frequency response.

Circuit Overview

The circuit is straightforward. It uses a photodiode, and a few passive components. If you want to replicate, then C1 is an 0603 sized 10 nF 50V C0G capacitor, and C2 is a 10uF 20V tantalum capacitor. R1 is an 0603 or 0402 sized 100 ohm resistor. The diode D1 is model S1223, but you could replace with a cheaper SFH 203  part if lower bandwidth is acceptable.

image

A reverse bias voltage is applied to the photodiode, so that the photodiode’s capacitance is reduced significantly, so that it can be used at high frequencies. The photodiode will produce a current that is dependent on the amount of light power hitting the diode. That current is converted to a voltage for measurement, by passing it through a resistance. Other than that, there’s a bit of bias voltage filtering, and some care to shield everything since the current (and voltage) will be very low. An amplifier is outside the scope of this blog post, but you could use a multimeter to see the measurement (if the light level is not changing). For observing fast-changing light levels, the output can be connected to an oscilloscope.

I picked 12V of reverse bias; it’s a compromise, because a high value reduces the capacitance of the photodiode, but it also increases the dark current through the diode. 12V is a convenient voltage to obtain from batteries, so that was a factor to consider too!

At 12V, the capacitance will be about 16 pF (according to a chart in the S1223 PDF datasheet). The bandwidth limit is determined by 1/ (2 x pi x Rload x 16pF), which indicates that the bandwidth will reach the datasheet specification of 30 MHz, provided the load resistance is less than about 300 ohm.

I assumed a maximum current of 10 mA through the diode (according to the chart, this would occur for 16 mW of power hitting the sensor at 980 nm, or 22 mW of power at 660 nm). That’s an extreme amount of light power to be concentrated in such a small area, it is more than I’d ever expect to use the sensor for (to put it in perspective, under normal room lighting, the sensor will likely be exposed to about 4 micro-watts of light power hitting it).
Using the formula in an OSI Optoelectronics PDF application note, this means that the resistor in the filter circuit needs to be less than 12V / 10 * 10mA, which is 120 ohm; I used a 100 ohm resistor.

The value of the capacitor needs to be as large as practical, and greater than (10 x t)/50 ohm where t is the pulse width, and where it’s assumed that the coax cable will be terminated with a 50 ohm resistor. I decided to use a 10uF tantalum capacitor, plus an 0603-sized 10nF NP0/C0G ceramic capacitor. Unfortunately once it came to construction time I realized I didn’t have a 10uF 20V tantalum capacitor that would fit : ( so I used a 1uF capacitor.

Building It

This project uses a cheap extruded aluminium enclosure (the AliExpess search term for it is project enclosure 80x25x25mm), barely bigger than the AA-sized battery connector that it will house. The end panels can be discarded. The ends of both extrusions need to be sanded, so that shiny bare aluminium is exposed (this is so that it can mate with the replacement end panels about to be discussed next).

image

To simplify construction, I decided to create a little printed circuit board (PCB) for the project. It replaces the side panel on the aluminium enclosure. Refer to the PCB render below to see where to solder all the parts. It’s very easy to assemble (with a small soldering iron tip, and tweezers to hold the three surface-mount parts).

After that, I soldered a twisted wire pair to the connections labelled OUT, and soldered a single AA battery holder to the 12V connections, and then applied some glue to prevent the wires breaking off.

The photodiode was inserted from the other side and soldered too.

image

For the other end panel, I created another small PCB, this time with no components, just an SMA connector hole. This is a bit lazy; I could have drilled a hole in the enclosure! PCBs are cheap, though.

image

I got lucky and discovered that although the enclosure is not designed for it, the AA battery holder can be slid into the enclosure, and it is held firmly. It takes a bit of force to wedge it in. If it doesn’t wedge in, then it could just be glued in place.

The AA battery holder was convenient, because then two 1/2-AA sized 6V batteries (known as 4LR44 batteries) can be fitted, for the 12 V supply that the circuit needs.

I didn’t bother with a power switch. Hopefully, in normal use, the batteries should last at least a year or two.

The other end panel contains the coax connector (I used an SMA connector), and the OUT wires need to be soldered to it.

All the electronics should now be complete! This project took about an hour to assemble from start to finish.

image

I drew a label to glue onto the device. The chart provides the information needed to work out how much light power is reaching the sensor (and, therefore, what the output voltage will be, across a 50 ohm termination, using Ohm’s Law), provided that the light wavelength is known.

If you wish to build the project with the same photodiode, then the chart is displayed below, so that it can be made into a label as desired.

image

Using It

The output can be connected directly to an oscilloscope using a SMA-to-BNC cable. The ‘scope should be set to 50-ohm input termination, and if the ‘scope does not support that, then that’s no problem at all; a BNC T-piece can be used at the ‘scope end, with a 50-ohm BNC terminator twisted on.

The photo below shows the output when a TV remote control button was pressed. The remote was placed a few inches away from the sensor. You can see the ‘pulses’ that assemble into the control protocol.

image

It’s possible to adjust the ‘scope timebase setting, and zoom in further; now it can be seen that the light is pulsing 40,000 times a second:

image

I shone my camera light toward the sensor, and observed that the light has ripple at about 20 kHz. From the ‘scope trace below you can see that the light energy doesn’t reduce to zero; I’m guessing the phosphor covering each LED continues to glow in-between each pulse.

image

Next I shone a flashlight at it. The frequency of operation was far higher, at 324 kHz.

image

The photo below shows a far higher light output pulse rate; 17.8 million times a second! This is from a laser firing rapidly.

image

Summary

A photodiode was connected in a simple circuit, which allows the user to see how much light power is arriving into the sensor. It’s very easy to assemble, with just an hour or two of work. The PCB Gerber files are available on GitHub. There are actually three files there; one is suitable for lower-cost 5mm-diameter photodiodes; the rest of the circuit can remain the same unless you wish to experiment with any values.

I think there’s lots to learn about the secrets of products that rely on generating light, so this sensor project will hopefully find many uses.

Thanks for reading!

image

  • Sign in to reply
  • shabaz
    shabaz 8 months ago in reply to beacon_dave

    Forgot to mention the battery holder part code in the main blog. The one I used was MP000328 (it's a battery holder intended for 1 x AA, but being used for 2 x 4LR44).

    I have some of the Lithium 1/2AA batteries, as you say, they are 3.6V types (non-rechargeable), and have great price-performance, pack a lot of power and I think more easily available than 4LR44. 

    I was initially thinking about those, but the enclosure is tiny, and I'd need three or four of those batteries but that wouldn't physically fit. Although the circuit works at a lower voltage, 12V is a nice sweet-spot for the reverse bias for that particular photodiode.

    The signal output is very likely to be extremely low sometimes, and if one is looking out for rapid but slight fluctuations of light, then it would be extremely hard to see it on the output without DC-DC converter noise in that 30 MHz bandwidth being present on the top of it, and and LDO regulator on the output of the DC-DC converter wouldn't help in that range, so it would need quite a lot of LC filtering perhaps (and even then might be difficult to remove). 

    A rechargeable option could be to find (say) a 12V approx rechargeable battery pack, and use a boost DC-DC converter for charging it if desired (i.e. the DC-DC converter would not be running after charging). 

    The battery pack in the screenshot below could be suitable, although it's just slightly too large for that current enclosure (better to use a ready-made battery pack rather than assemble one from individual LiPo cells).

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave 8 months ago in reply to shabaz

    "...It's physically 1/2 AA sized..."

    I think 4LR44 are slightly narrower than AA. By about 1.5mm or so it would appear. Slight smile

    imageimage

    Just about enough to get it jammed in pretty solid if you get it wrong Slight smile

    The 1/2 AA appear to be commonly referred to as 14250 now esp the 3.6V lithium-thionyl chloride versions.

    I think it was a diecast model kit of a plane that I encountered the 1/2 or 2/3 AA.size. There wasn't enough room in the fuselage for a full AA along with the motor for the propeller.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren 8 months ago in reply to koudelad

    I have had good luck using Li-Ion batteries tied to a boost circuit in order to achieve a 5Volt supply (I have used this design in several projects/products).  I am sure this would be a fairly simple thing to change to get a 12Volt supply.  Sure, it might be noisier that a battery, but I too prefer a rechargeable battery. Just a thought.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 8 months ago in reply to koudelad

    The photo shows the ones I used, they go by several different names, it's quite confusing. Maybe one of the other names might be available in your region. It's physically 1/2 AA sized, but not called that I think. I think 4LR44 might be the most common name for it. A pack of two was just under £5, so not cheap, but should last a long time.

    Normally I wouldn't use such an unusual battery, but figured since it will last for at least a year or two, it would just be easier than sourcing a 12V (approx) rechargeable battery. I did consider a lower-voltage battery (e.g. rechargeable) and DC-DC converter, but thought that might be problematic, since noise will bleed into the signal within the bandwidth of interest that the project supports.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave 8 months ago in reply to koudelad

    The 1/2AA and 2/3AA have been around for a long time but when I had them in some of my toys, I recall that they used to be 1.5V carbon zinc.

    The 1/2AA now appears to be mainly Li and 3.6V

    The 2/3AA now appears to be mainly NiMh/NiCd 1.2V

    The 4LR44/4SR44 I've seen as an alternative to 4x LR44/SR44 held together in a plastic/cardboard tube. 6V either way.

    • Cancel
    • Vote Up 0 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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube