keepcalculator

06 Numbers and Powers

3D Printed Color Routers for Low Light Photography

Card No. 06·19768 · Updated · Standard formula, shown below

3D printed color routers are tiny optical devices that can split incoming light by color and direct each color to a specific sensor pixel. In low light, they help by concentrating photons more efficiently than traditional color filters, potentially improving signal and reducing noise. This guide explains how to design, print, and test a basic color router for a camera sensor.

What You’ll Need

  • A 3D printer with high resolution (SLA or resin printer recommended; FDM with 0.1mm layer height may work for larger features)
  • UV-curable resin or filament (transparent or clear for best light transmission)
  • 3D modeling software (e.g., Blender, Fusion 360, or OpenSCAD)
  • Optical simulation software (e.g., Lumerical, COMSOL, or free tools like MEEP) – optional but helpful for design
  • Camera with a removable lens or a bare sensor (for testing)
  • Microscope or macro lens to inspect the printed part
  • Isopropyl alcohol and cleaning supplies for resin prints

Step-by-Step

  1. Define your target wavelengths. Decide which colors you want to route. For low light, you might focus on red, green, and blue (RGB) or a single band like near-infrared. Write down the center wavelengths (e.g., 450 nm, 550 nm, 650 nm).
  2. Design the router geometry. A simple color router can be a periodic array of dielectric pillars or a grating. Use simulation software to optimize the shape (height, width, spacing) to diffract each wavelength to a different lateral position. Start with a simple design: a 1D grating with period around the wavelength of interest.
  3. Export the design as an STL file. Ensure the dimensions are in millimeters and the smallest feature is larger than your printer’s resolution (typically 50–100 µm for resin printers).
  4. Prepare the print file. Slice the STL using your printer’s software. For resin, set layer height to 25–50 µm for fine detail. For FDM, use a 0.1 mm layer height and a small nozzle (0.25 mm) if possible. Add supports if needed, but avoid touching the optical surface.
  5. Print the router. Use transparent resin or filament. If using resin, follow the manufacturer’s curing instructions. For FDM, use a clear PETG or PLA. Ensure the print is free of bubbles or defects.
  6. Clean and post-process. For resin, wash in isopropyl alcohol and remove supports carefully. For FDM, remove supports and sand any rough edges. Do not polish the optical surface with abrasives; instead, use a clear coat if needed.
  7. Mount the router on the sensor. Place the printed router directly on top of the camera sensor’s protective glass, aligning it with the pixel array. Use a thin layer of optical adhesive or just press it gently. Ensure it is parallel to the sensor.
  8. Test in low light. Set up a scene with dim illumination (e.g., a single candle or a dim LED). Take a photo without the router as a baseline, then with the router. Compare the brightness and noise in the red, green, and blue channels.
  9. Analyze the results. Use image processing software to measure the average pixel values in each color channel. Ideally, the router should increase the signal in the intended color while reducing crosstalk.

Common Mistakes

  • Using opaque material. Color routers must be transparent to let light through. Opaque resin or filament will block most light.
  • Ignoring the pixel pitch. The router’s period must match the sensor’s pixel size. If the sensor has 3 µm pixels, the router’s features must be on that scale, which is below most 3D printers’ resolution.
  • Overcomplicating the design. Start with a simple grating before trying multi-layer or 3D structures.
  • Not cleaning the print properly. Residual resin or dust can scatter light and ruin performance.
  • Forgetting to align the router. Even a slight rotation can misdirect colors to the wrong pixels.

Tips

  • Use a high-resolution resin printer (e.g., 4K or 8K) for the best chance of achieving sub-10 µm features.
  • Simulate first. Free tools like MEEP can save hours of trial and error.
  • Print multiple versions with slight parameter variations to see which works best.
  • If your printer cannot achieve the needed resolution, consider using a larger router for a macro-scale demonstration, but note that it won’t work on a real sensor.
  • Keep the router thin (under 100 µm) to minimize absorption and scattering.

Troubleshooting

  • No improvement in low light: Check alignment. If the router is not aligned with the pixel grid, it may actually reduce performance. Also, verify that the material is truly transparent at your target wavelengths.
  • Colors are smeared: The router may be too thick or the features are not sharp. Re-print with finer layer height or adjust the curing time.
  • Image is darker overall: The router might be absorbing light. Try a different material or reduce the thickness.
  • Physical interference: The router may be touching the sensor’s microlenses. Use a spacer or thin glass cover if needed.
  • Print fails: For resin, increase exposure time for small features. For FDM, reduce print speed and use a brim for adhesion.

Frequently Asked Questions

Can a 3D printed color router really improve low light photography?

Potentially, yes, but it’s challenging with current 3D printing resolution. The concept is valid, but the feature sizes needed for visible light are often smaller than what most printers can produce. It works better for longer wavelengths like near-infrared.

What is the ideal feature size for a color router?

The features should be on the order of the wavelength of light, which is 400–700 nm for visible light. That’s sub-micron, which is beyond standard 3D printing. For NIR at 1 µm, it’s still very small but slightly more feasible.

Can I use a regular FDM printer?

FDM printers typically have a minimum feature size around 0.2 mm, which is too large for visible light. For a proof-of-concept with larger wavelengths (e.g., 10 µm), it might work, but for real photography, resin is the only option.

Do I need to simulate the design before printing?

Yes, simulation is highly recommended. Without it, you’re just guessing. Free tools like MEEP or even online grating calculators can help predict the diffraction angles.

How do I align the router with the sensor pixels?

Use a microscope to align the router’s pattern with the sensor’s pixel grid. You can also print alignment marks and use a camera to check.

Is this practical for everyday photography?

Not yet. This is a research-level technique. For most users, traditional Bayer filters and image processing are more effective. But it’s a great learning project for optics and 3D printing.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →