MLA150 - Large Image GDS Generation
Jump to navigation
Jump to search
How to convert a regular rasterized image (eg. JPG, BMP, PNG etc.) and into a vectorized format (GDS,DXF) compatible with the MLA150. This produces a much smaller file than a raw BMP image, because large-area polygons are created, as opposed to the BMP file defining each ~4µm pixel across a 150mm wafer (which hits the RAM limit on the computer).
In this example, we convert the image into a 1-bit black-and-white image using the free software GIMP, and then convert to a Vector format using the free software InkScape. Then we correct the scale and convert to GDS using the free software KLayout., which is then ready for exposure on the MLA.
Procedure
- In GIMP: (can also do in another image editor, such as Paint.exe)
- open the Image (JPG, PNG, BMP etc.),
- Image > Mode > Indexed > 1-bit
- Optional: Dither to handle grey values (haven't tried this).
- Can edit by painting etc.
- Save as any JPG, PNG, BMP format
- In Inkscape: vectorize into DXF
- Open the Image file, default options
- Click on the Image with the Arrow tool, to select it.
- Path > Trace Bitmap (options affect curves/resolution)
- Use the “Update” button to show a Preview of the Path that will be created.
- Set the Options: Trace BitMap > Single-Scan > AutoTrace (dropdown menu).
- [OK] to create the Path, then Close the “Trace Bitmap” window.
- Creates a new Path object that outlines the image
- Use the Arrow select tool to select the Image
- Bottom status bar shows what object is selected
- Option/Alt-Click to select obscured objects
- Make sure PATH is Not selected
- Delete the Image object. File should now have only the Path object in it.
- File > Save a Copy… > DXF (Autocad R14)
- UNCHECK "Robo" and "LWPOLYLINE" - important, or the lines won’t be connected as a single object.
- You now have a DXF vector file of the image.
- In Klayout: convert to GDS
- Open the DXF in Klayout
- Use Cell Instance to scale up to desired size:
- Create a new Cell
- Instance the original Cell into that.
- Edit Cell Instance properties to adjust scaling
- Use Move tool to Center image at 0,0
- Save as GDS
- Change file extension to lower case “gds” important, or MLA convert software won’t see the file.
- Take note of which Cell & Layer should be printed
- On the MLA: load for exposure
- [Convert Design] and Import the GDS,
- Choose correct Cell from dropdown for "GDS Structure"
- Set correct Layer: set 1st line to correct layer & uncheck the others
- [Viewer] to make sure scale is correct
- Ready to expose the pattern as normal.