element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 4747 views
  • Likes 14 likes
  • Comments 28 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! (There is also a version of this project that has nanosecond-level response; see further below, and in the comments, for detail on that).

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

Even Faster Responding! S5973 Version

In the comments below, someone asked for nanosecond-level response capability. There's a S5973 diode from Hamamatsu, which is suitable for that! It uses a different PCB:

image

The main difference is now some more care is needed with the capacitor placement (and a 0402 capacitor is also required), and a short (100mm) U.FL to SMA cable is used to attach the output from the front PCB to the rear PCB.

This is the circuit diagram:

image

Parts List:

Ref  Value          Description                   Farnell Code
C1 100n Cap X7R 0603 3013413
C2 10u 25V Cap 10u 25V TPSC106K025R0500 570450
C3 100p Cap 0402 1414603
D1 S5973 Photodiode Hamamatsu 1495575
J2 U.FL-R-SMT(01) Hirose U.FL Connector 3908021
R1 100R Res 0603 9238360
n/a U.FL Cable U.FL to SMA 100mm MC000812 2452708
n/a Batt Holder AA Holder MP000328 3126564
n/a 6V Batt x 2 4LR44 (6V) Batteries (2 required)
n/a SMA/BNC Cable SMA to BNC cable to connect to Oscilloscope

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 1 month ago in reply to JApetWophy

    Hi,

    I've made the changes, and the file is called export-gerbers-s5973-rev1.zip available at the project GitHub repo. You'll need that plus the export-gerber-pd-sma-rev1.zip file, which is the rear panel.

    This is what the s5973 board looks like top-side, where the S5973 photodiode will fit.

    image

    Board underside:

    image

    With the parts fitted:

    image

    The circuit is shown below, it has an extra capacitor (0402 sized), and uses a U.FL connector (both of these are required now that such a higher speed photodiode is being used), the connector will attach to a short 100mm length U.FL to SMA cable, and from there you can use any SMA-to-BNC cable to connect to an oscilloscope (which needs to be set to 50 ohm input impedance as mentioned in the blog post, otherwise, you'll need a BNC T-adapter and a good quality 50 ohm terminator (which mostly doesn't exist in good quality in BNC form, so then you'd need to buy a SMA BNC terminator and a SMA-to-BNC adapter).

    image

    Here is the parts list, if you're not ordering from Farnell then you'd need to find alternatives, but the parts here are what I'd recommend:

    Ref  Value          Description                   Farnell Code
    C1 100n Cap X7R 0603 3013413
    C2 10u 25V Cap 10u 25V TPSC106K025R0500 570450
    C3 100p Cap 0402 1414603
    D1 S5973 Photodiode Hamamatsu 1495575
    J2 U.FL-R-SMT(01) Hirose U.FL Connector 3908021
    R1 100R Res 0603 9238360
    n/a U.FL Cable U.FL to SMA 100mm MC000812 2452708
    n/a Batt Holder AA Holder MP000328 3126564
    n/a 6V Batt x 2 4LR44 (6V) Batteries (2 required)
    n/a SMA/BNC Cable SMA to BNC cable to connect to Oscilloscope

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • JApetWophy
    JApetWophy 1 month ago in reply to shabaz

    Hello Sir! May I also ask about the placement of the components in the circuit? I'm having a bit of difficulty understanding the PCB layout you provided. Do you happen to have a picture showing the actual placement of the components on the PCB?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • JApetWophy
    JApetWophy 1 month ago in reply to JApetWophy

    Silly me I've already have the value 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • JApetWophy
    JApetWophy 1 month ago in reply to shabaz

    Yes, sir! I will send a picture of the experiment. However, I have a question regarding the components of the circuit. Since I'm from the Philippines, it's rather hard to find SMD components, and I'm having trouble finding the 0603-sized ohm resistor. Could I please request the required value of the resistor for the circuit? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 1 month ago in reply to JApetWophy

    Hi! 

    I don't have a nanosecond-level source to try : ) and I don't know what z pinch is, but the limit is around a few tens of nanoseconds for the particular photodiode that I used, and the response can be seen in the oscilloscope screenshot showing the laser firing pulses (which had a repetition of 17.8 million times per sec).

    However, you could replace the photodiode with this one, model S5973: https://uk.farnell.com/hamamatsu/s5973/photodiode-760nm-1ghz-to-18/dp/1495575  (it wasn't previously stocked by Farnell otherwise I would have bought that instead). 

    Datasheet PDF link.

    From the chart in that datasheet, at the same 12V reverse voltage as used in this project, you'd get about 1.3 pF of capacitance, so using this:

    BW = 1/ (2 x pi x Rload x 1.3pF)

    and setting BW to 1 GHz (max the part supports) then Rload needs to be about 120 ohms or less, to be able to respond down to nsec, so connecting to an oscilloscope with a 50 ohm terminator should work fine.

    In summary, I think it could work if you swapped out to that part. However, the PCB has 5.08 mm spaced holes for the photodiode, whereas the new part has 2.54 mm spaced holes so the PCB design would need to be modified. 

    It's not a big job to do the modification, so if you wish me to do it I'm happy to, just let me know and I can get that done and then I'll upload the files on GitHub so you can order the PCB for yourself from any low-cost PCB manufacturer. In return it would be great if you could share a photo or two in a comment when you can, since it would be interesting to know if it worked for you.

    • 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