projekte:dvdlsm:start
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
projekte:dvdlsm:start [2021/02/07 00:05] – [Laser Diodes] thasti | projekte:dvdlsm:start [2021/02/07 09:21] – [Summary] thasti | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | ====== DVD-Drive-Based | + | ====== DVD-Drive |
- | {{ : | + | {{ : |
Due to an abundance of one specific type of DVD drives, plans were made to give a useful afterlife to these devices. A laser scanning microscope seemed to be the most useful project. | Due to an abundance of one specific type of DVD drives, plans were made to give a useful afterlife to these devices. A laser scanning microscope seemed to be the most useful project. | ||
Zeile 28: | Zeile 28: | ||
{{: | {{: | ||
- | ==== Laser Diodes ==== | + | ==== Laser Diodes, Lens and Actuators |
The OPU houses two laser diodes. As this is just a DVD/CD reader, the lasers are not very powerful but provide sufficient power for microscopic applications. The (red) DVD diode starts laser operation above approx. 60 mA and requires about 2-2.5 V of forward voltage. Its polarity can be easily determined by measurements. | The OPU houses two laser diodes. As this is just a DVD/CD reader, the lasers are not very powerful but provide sufficient power for microscopic applications. The (red) DVD diode starts laser operation above approx. 60 mA and requires about 2-2.5 V of forward voltage. Its polarity can be easily determined by measurements. | ||
- | ==== Lens Actuators ==== | + | The primary lens is positioned using electromagnetic actuators. These come in the form of three coils, which tilt or move the coil proportionally to the current flowing though them. Their polarity and required full-scale DC actuation |
- | The primary lens is positioned using electromagnetic actuators. These come in the form of three coils, which tilt or move the coil proportionally to the current flowing though them. Their polarity and required full-scale DC current can be easily found by using a lab power supply. | + | |
+ | The focusing control loop driving these coils is normally deriving its error signal from the astigmatic focus error detection method. It requires (in its basic form) a four-quadrant diode, and focus is optimized when all quadrants of the diode are equally illuminated. Deviation from this point will cause the circular illumiation to become elliptical and therefore illuminate two diagonal quadrants more strongly. A schematic explanation of that scheme can be found [[https:// | ||
==== PDIC ==== | ==== PDIC ==== | ||
- | The PDIC (Photo Diode Integrated Circuit), in a DVD reader application, | + | The PDIC (Photo Diode Integrated Circuit), in a DVD reader application, |
+ | |||
+ | First, the device | ||
{{: | {{: | ||
- | Initial pinout probing revealed only the power supply pins and a number of analog output voltages, however no datasheet for a PDIC with matching pinout could be found online. To be able to re-use this component, a little reverse-engineering effort was started. | ||
=== PDIC Reverse Engineering: | === PDIC Reverse Engineering: | ||
- | Using an IC inspection microscope, a die shot of the PDIC was produced. This could be used to get a better idea of the internal structure of the device. This was made way easier by the fact that it is an optical integrated circuit, and is therefore housed inside a clear plastic package with good optical properties, suitable for direct microscope inspection without decapsulation. The picture below could be used to identify some functional blocks of the circuit, however full tracing | + | Using an IC inspection microscope, a die shot of the PDIC was produced. This was useful |
{{: | {{: | ||
Zeile 48: | Zeile 51: | ||
=== PDIC Reverse Engineering: | === PDIC Reverse Engineering: | ||
- | + | On most of the pins, some change in output voltage | |
- | To facilitate Pinout reverse-engineering of the IC, a simple test fixture was soldered (see above). This gave easy access to any of the pins. On most of the pins, some effect to applying direct lighting | + | |
* Low light sensitivity: | * Low light sensitivity: | ||
* High light sensitivity: | * High light sensitivity: | ||
- | * Same magnitude, but opposite polarity outputs: 2 pins | + | * Same magnitude, but opposite polarity outputs |
* Negative output voltage: 1 pin | * Negative output voltage: 1 pin | ||
It was conjectured that the smaller inner quadrants were responsible for the low-sensitivity outputs, while the outer segments would produce a large amplitude (due to their larger light collection area). | It was conjectured that the smaller inner quadrants were responsible for the low-sensitivity outputs, while the outer segments would produce a large amplitude (due to their larger light collection area). | ||
- | In a second | + | In a second |
{{: | {{: | ||
- | The output producing negative voltages is not considered to be useful in the final application, | + | The output producing negative voltages is not considered to be useful in the final application, |
==== OPU Modification ==== | ==== OPU Modification ==== | ||
- | A breadboard header was added to the OPU, fanning out all required signals to the custom electronics on a ribbon cable. The analog output signals are separated on one side, while the current inputs for the laser diode and the lens actuators are kept to the other side. This should help mitigate electrical coupling between these signals, even though the diode outputs are actively driven by the PDIC. | + | The whole top assembly of the DVD drive is reused. This includes not only the OPU, but also the linear (worm gear) axis driven by a stepper motor and its base plate. |
+ | |||
+ | The other axis (below the drive mechanism) is built from a commercial precision linear actuator that was donated to the project. Other people have simply used another DVD drive in its place, which would certainly be a possibility here. | ||
{{: | {{: | ||
Zeile 77: | Zeile 81: | ||
It was pretty obvious that at least all the mechanical actuation and laser driving could be handled by an IC foreseen for an optical drive. Texas Instruments offers a line-up of such chips, which are one of the few types that can easily be sourced from common distributors. The [[https:// | It was pretty obvious that at least all the mechanical actuation and laser driving could be handled by an IC foreseen for an optical drive. Texas Instruments offers a line-up of such chips, which are one of the few types that can easily be sourced from common distributors. The [[https:// | ||
- | A PCB was designed around this IC, with an additional 16 bit ADC plus analog MUX for the PDIC outputs. The PCB was built to house an [[https:// | + | A PCB was designed around this IC, with an additional 16 bit ADC plus analog MUX for the PDIC outputs. The PCB was built to house an [[https:// |
{{: | {{: | ||
Zeile 83: | Zeile 87: | ||
{{: | {{: | ||
- | The PCB was designed in KiCad and is available publicly in its [[https:// | ||
===== FPGA Design ===== | ===== FPGA Design ===== | ||
The FPGA had to fulfill a couple of interfacing tasks, and the design uses the FOSS FPGA toolchain for the Lattice ice40 UP5k FPGA on the iceBreaker board. It mainly does the following things: | The FPGA had to fulfill a couple of interfacing tasks, and the design uses the FOSS FPGA toolchain for the Lattice ice40 UP5k FPGA on the iceBreaker board. It mainly does the following things: | ||
Zeile 109: | Zeile 112: | ||
The main laser microscope class provides a few methods for focus control and scanning a predefined area to an image file. The focusing is the most interesting aspect here. Generally, the focusing first performs a wide scan of the Z-height to find the linear region of the focus error detector. Following that, it implements a simple PI control scheme for successively minimizing the focusing error. | The main laser microscope class provides a few methods for focus control and scanning a predefined area to an image file. The focusing is the most interesting aspect here. Generally, the focusing first performs a wide scan of the Z-height to find the linear region of the focus error detector. Following that, it implements a simple PI control scheme for successively minimizing the focusing error. | ||
- | Given that relatively large areas should be possible, focus tracking is required. Initially, the software uses a relatively simple algorithm to achieve this: | + | As relatively large scan areas should be possible, focus tracking |
- | * Given a rectangular scan area, place a virtual grid inside this area with at least N points per millimeter | + | * Inside the rectangular scan area, place a virtual grid with at least N points per millimetre |
- | * At each grid point, perform | + | * At each grid point, perform |
* Least-Squares-Fit a 3D plane through all the points on the grid | * Least-Squares-Fit a 3D plane through all the points on the grid | ||
- | * During the actual scan, calculate the optimal Z-height for a given position | + | * During the actual scan, calculate the optimal Z-height for a given position |
Another noteworthy aspect is the Y-Axis (implemented using the DVD drive motor and mechanism). Given this whole mechanism is a made from a few cheap plastic pieces, | Another noteworthy aspect is the Y-Axis (implemented using the DVD drive motor and mechanism). Given this whole mechanism is a made from a few cheap plastic pieces, | ||
Zeile 145: | Zeile 148: | ||
- | Higher | + | Higher |
{{: | {{: | ||
- | Scan of an I2C test chip from my colleage Szymon (fabricated in 65nm CMOS, picture below). | + | Scan of an I2C test chip from my colleage Szymon (fabricated in 65nm CMOS, picture below). Scan area 1x1mm. |
{{: | {{: | ||
- | This picture shows some of the aforementioned nonlinearity in one axis, which introduces periodical distortions in the image. These could be corrected in principle, but I didn't bother. The nice CERN logo was placed on the top metal layer, and is composed | + | This picture shows some of the aforementioned nonlinearity in one axis, which introduces periodical distortions in the image. These could be corrected in principle, but I didn't bother. The nice CERN logo was placed on the top metal layer, and some of the lower level metals |
Also from this chip, here's a few very small scans performed at 200 nm step size. Small metal filling patterns on the top metal layer are imaged, each of which is only about a two micron wide square. Lithographic imperferfections can clearly resolved using this imaging technique. The horizontal (black) lines were caused by the erratic X-axis stage, sometimes going to places it was not told to go... | Also from this chip, here's a few very small scans performed at 200 nm step size. Small metal filling patterns on the top metal layer are imaged, each of which is only about a two micron wide square. Lithographic imperferfections can clearly resolved using this imaging technique. The horizontal (black) lines were caused by the erratic X-axis stage, sometimes going to places it was not told to go... | ||
Zeile 161: | Zeile 164: | ||
+ | Finally, here are two videos of the device in Action: | ||
+ | * Focusing: https:// | ||
+ | * Scanning: https:// | ||
+ | ===== Summary ===== | ||
+ | For not a lot of money, a rather capable little laser microscope could be built. At some point, more scanned objects will be added to the collection above. If you are interested in replicating this project or a part of it, all developments are publicly available in the following repositories: | ||
+ | * Hardware: https:// | ||
+ | * FPGA Gateware: https:// | ||
+ | * PC software: https:// | ||
+ | ===== References ===== | ||
+ | I'm of course not the first one to build something like this. Here's some sources of my own inspiration: | ||
+ | * http:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
projekte/dvdlsm/start.txt · Zuletzt geändert: 2021/02/07 22:25 von thasti