Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
A Low-Cost Automated Waveplate Rotator Cameron Johnson (Dated: June 12, 2015) Here I present a low-cost alternative to commercial automated wave plate rotators (AWPR). Included is the procedure to locally produce an AWPR with a programmable micro controller, stepper motor, a few electronic components and minimal machined aluminum and plastic parts. I will also review the level of precision and repeatability that the AWPR is capable of. I. BACKGROUND An automated wave plate rotator (AWPR) is an optical device that allows a user to remotely and precisely control the rotation of a half wave plate to change the direction of polarization of a laser beam. AWPR’s significantly facilitate optical research studies of materials, for example by providing optical intensity control. Half wave plates rotate linearly polarized light by twice the angle between the polarization incident on the plate and the fast axis of the half wave plate. By placing an AWPR with a mounted half wave plate between two stationary polarizing filters oriented in the same direction the intensity of light out of the second polarizer follows Malus’ Law I(θ) = Imax cos2 (2θ) where θ is the angle between fast axis of the half wave plate and stationary polarization axis of the filters. In this paper I have used the angle θ0 = θ + π4 as the zero angle for the AWPR making I(θ0 ) = Imax sin2 (2θ). In this convention I(0) = 0 . II. PURPOSE Commercial AWPR’s are expensive and here I present the design and implementation of a low-cost alternative that is remotely controlled via Matlab and includes features such as home detection and position feedback. Applications of an AWPR in a materials research lab are immediate. One such application is to optically detect magnetic resonance with optically excited nitrogen vacancy impurities in diamond. The AWPR can change the intensity of the excitation laser while an RF field frequency is scanned across the spin resonance frequencies of the impurities. These hands free tunings of the excitation lasers intensity allow for more continuous data acquisition. III. CONSTRUCTION OF THE AWPR The AWPR consists of two main parts the motor itself which holds the wave plate and the optical interrupter and the micro controller with interrupter and photodetector circuits. The following list contains all the commercial parts and part numbers needed to construct an AWPR: Arduino Uno Micro Controller (A000066)[2], Adafruit Motor Shield V2/Stacking Headers (1438/85)[1], Hollowshaft NEMA 17 Stepper Motor (17HS1001-12K62)[6], Optical Interrupter (EESV3)[4], Lens Tube (SM05M05)[7], Lens Tube Adapter (SM1A1)[8]. Before the AWPR can be assembled there are a few parts that need to be locally manufactured out of aluminum and plastic: the lens mount, the optical interrupter mount and the interrupter flag The lens mount can be made by the following procedure: Using a metal lathe bore out the internal treads of the the lens tube[7] from the side with external threads to an inside diameter of ∼13.7 mm and to a depth of ∼9.7 mm, making sure there is still at least 3 mm of internal threading on the opposite side of the lens tube[7]. Next, make an aluminum cylindrical shell with an outside diameter slightly less than 13.7 mm and an inside diameter slightly greater than 10 mm with a length of 9.7 mm such that it snuggly fits on the output shaft of the stepper motor[6] and lens tube[7] snuggly fits on the outside of the cylindrical shell. With a two part epoxy adhesive permanently adhere the outer surface of the aluminum cylindrical barrel to the inner surface of the lens tube[7]. Using a tap and die set tap 4-40 set screw threads about half way up the side of the lens tube[7]. Ensure that the threads go through the lens tube[7] and the machined cylinder and the head of the set screw will not protrude above or below the top and bottom of the lens tube[7]. Approximately 9 mm up from the non threaded end of the lens tube on the opposite side of the set screw file a thin groove ∼3 mm deep parallel to the top and bottom of the lens tube[7]. The interrupter mount can be cut from 1/8 inch acrylic sheet plastic with the dimensions specified in Appendix A Fig 8. Dimensions for the interrupter flag are also found in Appendix A Fig 9. The plastic used for the interrupter flag should be opaque so that it blocks the LED light in the optical interrupter[4]. Then, adhere the interrupter flag to the lens mount in the filed groove. The final product should look like Fig 1. Once the lens mount has been made the motor[6] and micro controller[2] can be assembled. First, screw the lens tube adapter onto the lens mount. Slide the lens mount onto to the output shaft of the stepper motor[6] and tighten the set screw. Attach the interrupter mount to to the motor[6] using the pre-tapped threads in the motor on the same side as the motor leads. Bolt the optical interrupter[4] to the interrupter mount. Ensure the interrupter flag has enough clearance to pass through the optical interrupter[4] and that it will break the beam 2 FIG. 1. Locally manufactured lens mount consisting of lens tube with cylindrical shell, set screw and interrupter flag. between LED and the phototransistor Fig 2a. Next, solder the stacking headers[1] onto the Adafruit motor shield[1] and stack the motor shield[1] onto the Arduino micro controller[2]. Attach a small circuit board to the top of the motor shield[1] and build the interrupter circuit on it Fig 2b. Create and connect a wiring harness that the connects the motor[6] to the motor shield[1] and the interrupter[4] to the interrupter circuit Appendix B Fig 5. Since the only resistance in the stepper motor[6] is from the internal inductor coils the motor tends to get warm very quickly. To remedy this I placed a 10 Ω 10 Watt wire wound resistor in series with each motor coil in the wiring harness. This reduces the current going through the motor[6] from 1 Amp to ∼300 mAmps. The resistors dissipate enough heat so that the motor can have power applied continuously without having to worry about it over heating. In order to use the Arduino Uno the appropriate software must me downloaded from the Arduino website[3]. The proprietary Matlab functions for the Arduino and the motor shield require a support package to be downloaded and installed from the Mathworks website[5]. For direct intensity measurement of the laser I used a photo diode and an op amp photo detector circuit Appendix B Fig 6. Voltage from the photo detector circuit was measured directly in Matlab from a data acquisition system (DAQ). The Matlab program for the graphical user interface (GUI) to control the AWPR includes a phase, max voltage and bias voltage constants[9]. The phase constant is needed in case you are unable to place the motor mount at exactly the right angle with respect to the incremented 1.8◦ motor steps. You should never need to use a phase constant > ±0.9◦ . To find the max voltage rotate the AWPR 90◦ via Matlab and take the difference between the max and min of the plotted sin2 (2θ) curve. The bias voltage constant can be found by applying power to the photo detector circuit and covering the detector so no light can get to it and taking the voltage reading from FIG. 2. a) Top image of assembled stepper motor with mounted optical interrupter and wave plate. b) Bottom image of assembled micro controller, motor shield and interrupter circuit. the DAQ. IV. RESULTS For all the tests I placed the AWPR in-between two aligned linear polarizers and measured the intensity of light that was able to get through with the photo detector. To test for precision the AWPR must first be zeroed by pressing the zero button on the the GUI. This rotates the fast axis of the wave plate so its angle to the axis of the two linear polarizers is 45◦ and sets the plate angle to zero in the program. Once the wave plate is at zero degrees enter 180 into the move to angle text entry box and press enter this will rotate the wave plate 180◦ in 1.8◦ increments recording the intensity of light incident on the photo detector after each step as a voltage across the DAQ. After the wave plate is done rotating the program will plot the measured intensity as blue dots and the theoretical intensity as a red line on the axes in the GUI Fig 3. To test the repeatability of the AWPR start by pressing the zero button. Once the wave plate has rotated to the zero position press the repeatability test button. This will rotate the wave plate to one hundred random angles 3 FIG. 3. A plot of a precision test of the AWPR. The blue dots are the ratio of measured intensity of the of the light incident on the photodetector and the max intensity as a function of the angle of the AWPR’s wave plate. The red line is the theoretical fit II(θ) = sin2 (2(θ + φ)), the phase constant φ = max ◦ 0.5 . ◦ ◦ between 0 and 45 and record the intensity of light incident on the photo detector after each rotation. It then rotates 360◦ and repeats for one hundred more random angles between 0◦ and 45◦ . The two hundred recorded intensities as blue dots and their theoretical counterparts as a red line are then plotted on the GUI axes Fig 4. V. FIG. 4. A plot of a repeatability test of the AWPR. The blue dots are the ratio of measured intensity of the of the light incident on the photodetector and the max intensity as a function of the 200 random angles between 0◦ and 45◦ of the AWPR’s wave plate. The red line is the theoretical fit I(θ) = sin2 (2(θ + φ)), the phase constant φ = 0.5◦ . Imax lars making it about 10 percent the cost of commercial AWPR’s which can cost over 1000 dollars. Appendix A: CONCLUSION The AWPR’s movement is limited by the number of steps per rotation of the stepper motor. The motor I used has 200 steps per rotation so motor steps are in 1.8◦ increments. This means there are a discrete number of intensities that the AWPR is capable of making. Rotating the AWPR from 0◦ to 45◦ will bring the intensity from 0 to Imax in 25 motor steps. Available intensities are discretized to I(θ) = Imax sin2 (2(1.8◦ n)), n ∈ Z. Continuous power must be applied to the motor[6] even while it is not rotating for the AWPR to remain precise. This makes continuous operation of the AWPR without any heat sinks problematic. The wire wound resistors in series with the stepper motor[6] provide this heat sink but reduce the torque of the motor by decreasing the current through the motor inductor coils. There was no measured loss in precision or repeatability throughout the performance tests after adding the resistors. Precision and repeatability tests show the AWPR is capable of confidently producing intensities with deviations from the theoretical predictions less than 0.002 percent. The AWPR in this paper was made with just over 100 dol- FIG. 5. Cross section view with dimensions of the machined aluminum cylindrical shell that lies between the output motor shaft and the lens tube. 4 FIG. 6. Cross section view with dimensions of the lens tube after machine work. FIG. 8. Dimensions of the interrupter mount to be cut from 1/8 inch thick acrylic sheet plastic. FIG. 7. Cross section view with dimensions of the finished lens mount consisting of the machined cylindrical shell, lens tube, set screw and interrupter flag. FIG. 9. Dimensions of the interrupter flag to be cut from 1 mm thick opaque sheet plastic. 5 Appendix B: FIG. 10. Circuit diagram of the optical interrupter[4] to the motor shield[1] and the stepper motor[6] to the motor shield[1]. Resistors R1 and R2 are 120Ω and 1kΩ respectively and resistors R3 are 10Ω 10W wire wound resistors. FIG. 11. Circuit diagram of the photo diode circuit. This circuit converts the photo-current from the photo diode into an output voltage following Vout = −Ip R where Ip is the photo-current and R is R1. The active low pass filter reduces 1 higher frequency noise by the cut off frequency fc = 2πRC . The resistor and capacitor are R1 = 1M Ω and C1 = 100 pF and the op amp is powered by a 5V supply voltage. 6 [1] Adafruit Inc. Adafruit motor/stepper/servo shield for arduino v2 kit - v2.3. http://www.adafruit.com/products/ 1438. Accessed: 2015-02-09. [2] Arduino Inc. Arduino uno board. http://arduino.cc/ en/main/arduinoBoardUno. Accessed: 2015-01-11. [3] Arduino Inc. Download the arduino software. http:// arduino.cc/en/main/software. Accessed: 2015-01-11. [4] Arrow Electronics Inc. Eesv3 - omron, photointerrupter. http://parts.arrow.com/item/detail/omron/ eesv3#zJ2F. Accessed: 2015-02-27. [5] Mathworks Inc. Arduino support from matlab. http://www.mathworks.com/hardware-support/ arduino-matlab.html. Accessed: 2015-01-13. [6] Robot Digg Inc. Nema17 hollow shaft stepper motor. http://www.robotdigg.com/product/21/ Nema17-Hollow-Shaft-Stepper-Motor. Accessed: 2015-01-05. [7] Thor Labs Inc. Sm05l05 lens tube. http://www.thorlabs. com/thorproduct.cfm?partnumber=SM05L05. Accessed: 2015-02-23. [8] Thor Labs Inc. Sm1a1 adapter. http://www. thorlabs.com/thorproduct.cfm?partnumber=SM1A1. Accessed: 2015-02-23. [9] C. Johnson. Arduino controlled automated wave plate rotator (awpr). http://www. mathworks.com/matlabcentral/fileexchange/ 51169-automated-wave-plate-rotator--awpr--program. Accessed: 2015-04-09.