Hacker News new | ask | show | jobs
by paulkrush 1500 days ago
Anyone know of active DIY higher-er resolution spectrometer projects using image sensors? Is it possible to create a sharp image of 940-1240nm 3000 pixels across with less then $3000 in parts? I want to learn how to make a broader(uv to ir) but crappy-er version of this: https://solarsystem.nasa.gov/resources/390/the-solar-spectru...
10 comments

> Anyone know of active DIY higher-er resolution spectrometer projects using image sensors? Is it possible to create a sharp image of 940-1240nm 3000 pixels across with less then $3000 in parts? I want to learn how to make a broader(uv to ir) but crappy-er version of this: https://solarsystem.nasa.gov/resources/390/the-solar-spectru...

The linked project uses a 4000px wide image sensor and the second example in the article is a solar spectrum like what you want. It's not as sharp, but it's remarkably good given that the diffraction grating was a fragment of a DVD and the opening was a 3D printed slit.

940-1240nm isn't "uv to ir" like you described, though. That's just pure deep infrared. You'd have to test to see if the camera's image sensor was sensitive in those regions with any filters removed, but I doubt you'd get much signal in the deep IR region. Good sensitivity that far outside of the visible range requires a specialized sensor. Some security cameras designed for "invisible IR" will have such a sensor inside, so you could start by looking there.

Not going to happen!

Photons of different wavelength are absorbed and converted at different depth in silicon sensors. Blue photons mostly convert at the surface, while red go much deeper into the sensor. The pixel electronics of a regular cmos image sensor however will only collect the resulting electrons in a certain region at the surface. If an electron is generated somewhere else, it will recombine and be 'lost', not contributing to the signal.

Depending on the sensor, at 1000nm only <10% of the photons will result in electrons that are captured by the pixel electronics. The sensor does not give you any signal any more.

Why? Silicon has a band gap of 1.12eV - photons with lower energy will not interact. This corresponds to ~1100nm - you will need sensors with different materials

Thanks, this was very helpful(and interesting) for the IR part of the question.
You'd better start saving for a cryo setup as well then, because even if your sensor has the right sensitivity at those wavelengths it will be hard to avoid contaminating the results if the gear itself is not chilled, unless the signal you are sampling is overwhelmingly stronger than the stray photons produced by the gear.
As mentioned below, the main problem is the detector. Most detectors are Si CCD. meaning the Si is fundamentally limited to 1100nm due to bandgap. Going beyond that means you need a different material such as InGaAs or Ge, unfortunately CCDs are not as common or are expensive for these materials. Which then gives you two choices:

- an array detector, which is pricey.

- a single detector such as a photodiode behind a second slit. a detector such as these https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=12... With a moving(rotating) grating, so that the wavelengths can be reached by moving the grating.

The latter is quite common in lab spectrometers.

"Photodiode behind a second slit": Thanks for the link. This is looks like a practical way to go, and in price range.
Have a look at the work by Christian Buil [0]. He's been building incredible DIY astronomy widgets for years.

Off the shelf you're looking at around $8k for a spectrometer from Ocean Optics. Just point the fibre at sun on a white PTFE plate outside (teflon has pretty uniform reflectivity) and it should work. You generally need an InGaAs sensor to go beyond 1000 nm with any appreciable sensitivity. Silicon is still sensitive to around 1200, but performance drops significantly. The solar image from NASA is only in the visible anyway, but as I mentioned in another post the simplest way to do this is to use a high lines per mm grating (e.g. 1200) and rotate it so you capture multiple spectra in shorter ranges.

[0] http://www.astrosurf.com/buil/spectrographs.html

[1] https://www.oceaninsight.com/products/spectrometers/general-...

Do you need to collect all the wavelengths at the same time? If not could you simply rotate a grating/prism and use a single photodiode? Lots of spectrometers work like this.
You might be able to achieve it by placing the diffraction grating at the focal point of the optical path. Given the incident angle would vary across the field you would probably have to calibrate it and realign the samples, but it seems at least plausible.

I don't know how long most commercial imaging sensors typically go, but you'd also have to do some work to remove the IR filter that's typically added by the manufacturer. There are a number of tutorials for this.

When I worked for an imaging company, we used to have diffraction grating spectrographic plates (the DVD is a great idea) embedded in 35mm slide mounts.

We’d stick a standard CCD (like in any DSLR) behind them, and voila! You have a spectrometer! This would also give you a good optical path, for focusing light.

You’d still need to calibrate the driver, but that’s just paperwork.

That's a beautiful link, thanks for that.

I'm probably missing something obvious, but could it be done by using a larger number of inexpensive setups?

There's no reason that each camera has to be focused on the same part of the grating, right? 4x cameras, point each at a different region and stitch it in software.

It's easier to rotate the grating. That's how we did this in labs in undergraduate (we did a session on imaging the sun with a high res spectrometer). Or put it on a stepper or servo motor and sweep it in several positions. We used an SBIG camera and a micrometer-adjustable spectrometer. It seems like SBIG got bought up by the folks that make MaximDL. They used to sell these instruments off the shelf for $$$$.

It's more complicated to use multiple cameras on one grating because you'd need far more light shielding.

Yes you can stitch: have 4x cameras, or move the camera and take 16 images, or a single detector are all going to work. My question is what is the lens/optics set up? I think the answer in understanding optics and or know the right terms and or understanding all the different types of spectroscopy. It's a bit to look into. It's seems someone would be publishing DIY things like this already, but I don't know the right terms to search for.
One thing that nobody mentioned yet is that many things absorb a lot in the uv, so focusing optics etc will be tricky. As other said getting an ir to uv range on a single detector is tricky to impossible depending on what you call ir and uv.
I will add that I am willing to do some advanced image processing and 3D geometry to make this happen. I am unimpressed by projects I have seen so far, but it's not fair assessment because I don't know the field very well.