Close

Spectrometer completion

A project log for DIY Optical spectrometer / spectrograph

The apparatus allows to take spectra of light sources in range from ~400 to ~1000 nm

pavelPavel 01/09/2021 at 14:250 Comments

The spectrometer structure is mostly complete now. 

The grating is made to be perpendicular to camera's line of sight, by affixing them both to the same turning base. Distance between camera and grating is 9 cm. The grating itself is cheap Chinese plastic 600 lines/mm from AliExpress, like this one. I made a frame for it from black cardboard for easier handling. 

As for collimating lens, I had one achromat doublet lying around, 50 mm diameter, and with focus distance of 200 mm, so I used it in this spectrometer.

The slit is made of two retractable knife blades. Its width is something between 80 and 100 micrometers, slightly varies along its length due to imperfections of blades themselves and in aligning them by hand. For controlling width single slit laser interferometry was used.

Below are snapshots of spectrometer building process:

1. The box was built using PVC foam sheet of 4 mm thickness; base made of 2 such sheets alongside the third one of hard polystyrene plastic sheet of 3 mm thickness, to make it stiffer. The turning base is made of the same polystyrene sheet. The collimating lens has very convenient metal shroud which helps with its handling.

2. Camera glued to turning base, with the grating. Alongside it is the schematic depiction from the software model.

3. Between the slit and collimating lens a conduit for light is made from black cardboard, with several internal apertures to cut down on stray light. Below is the test with bright white LED placed at slit:

3.1. The same test, just with the camera and grating, viewed from camera side:

4. Making the slit, controlling its width with laser:

4.1. Comparing diffraction pattern against pre-calculated ones for set slit widths:

5. This is how the completed spectrometer looks like (while recording spectra, all covers are closed):

The camera compartment is lined with black cardboard, or painted black in some places to reduce stray light. Camera itself is covered by the same cardboard to hide the screen (as camera accessed remotely, there is no need for it anyway). In the lower right there is a hole through base, which is used for access to camera SD card, so I can insert or remove it, as camera now is permanently integrated into the spectrometer structure.

6. A couple of test spectra acquired by the setup:

6.1. Compact fluorescent lamp:

6.2. The sky:

Currently other work is going on software for data processing.

As is evident from above spectra examples, there is a distortion (the "smile" distortion as I learned recently, which is real term) that causes spectral lines to arch. Also the slit is slightly tilted, as well as the grating, in its own way. It is possible to try to perfectly align the grating and the slit, but the distortion won't go away, as it is inherent to how the spectrometer works. It afflicts professional spectrometers as well, and the solution is in processing in software (unwarping, rotating, etc.).

I am in process of writing a program which will process this data, and now I try to devise a way to (semi-)automatically remove distortions, so the resulting spectrum would look cleaner and with spectral lines almost perfectly vertical. This way I would be able to integrate along the vertical axis over more than 1000 rows which will lead to acquiring spectra with very high signal to noise ratio.

Discussions