User Tools

Site Tools


mcmaster:cnc_microscope

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mcmaster:cnc_microscope [2015/09/04 05:39] mcmastermcmaster:cnc_microscope [2018/12/26 14:29] (current) – removed mcmaster
Line 1: Line 1:
-First section is about what the system does as of today.  Below that shows how it arrived there 
- 
-"pr0nscope" 
- 
-====== Current configuration ====== 
- 
-Driver controller: New Focus ethernet controller 
- 
-Joystick: New Focus MODEL 8754 PICOMOTOR JOYSTICK 
- 
-==== XY stage ==== 
- 
-Klinger/Micro-Controle/Newport variable reluctance UT100-50PP (50 mm).  I've read these are rated to 0.1 um accuracy.  IIRC they use UE30PP motor but you can get a stepper version. 
- 
-However, instead of using the variable reluctance motor a stepper motor was attached via a custom machined adapter plate, flexible shaft coupler, and 4-40 standoffs from discarded computers 
- 
-==== Optics ==== 
- 
-Olympus BH2-UMA illuminator 
- 
-Olympus LH50A lamphouse 
- 
-Think Nikon makes the lamp power supply 
- 
-Misc Mitutoyo Plan Apo, a couple Olympus NeoSPlan DIC 
- 
-NeoSPlan DIC prism set 
- 
-Sensitive tint plate 
- 
-Polarizer, analyzer 
- 
-AmScope MD800E camera (using Linux GSPCA driver I wrote) 
- 
-==== Misc ==== 
- 
-CD4069 to convert 3.3V indexer logic level to 5V stepper drive logic level 
- 
-Unknown who makes the base but its very heavy duty 
- 
-====== mk0 ====== 
- 
-Failed attempts that never made a working system 
- 
-===== 0.0 ===== 
- 
-{{:mcmaster:cnc_microscope:mk0:overview.jpg?300}} 
- 
-Above: manually operated system.  Clicked point and shoot camera to take pictures.  t-slot aluminum lines it up to the monocle. 
- 
-===== 0.1 ===== 
- 
-{{:mcmaster:cnc_microscope:mk0:linear_stage_springy_planning.jpg?300}} 
- 
-Above: stepper motors with (to be added) springs to couple them to the linear stages.  IIRC it took way too much force to turn the stags leading the springs to turn the stages in unpredictable bursts. 
- 
-===== 0.2 ===== 
- 
-{{:mcmaster:cnc_microscope:mk0:stage_almost_there_perspective.jpg?300}} 
- 
-Above: Instead tried to spring load some gears onto the stages.  Slightly non-linear but very predictable.  I don't recall what the specific problem was with this system, but probably just difficult to keep the gears aligned 
- 
-====== mk1 ====== 
- 
-Purchased a Unitron inverted metallurgical microscope because it was the least expensive metallurgical microscope I could buy ($200 shipped IIRC). 
- 
-===== 1.0 ===== 
- 
-{{:mcmaster:cnc_microscope:mk1:a_unitron_n.png?200}} 
- 
-Above: an unmodified microscope of the same model 
- 
-===== 1.1 ===== 
- 
-{{:mcmaster:cnc_microscope:mk1:overview2.jpg?300}} 
- 
-Above: basic idea of setup.  Microscope stage has been removed and the microscope has been turned upside down to make it right side up.  Point and shoot similar to mk0.  I soldered wires onto the shutter controllers and routed them to EMC2 (LinuxCNC) software that ran g-code to move Sherline 2000 mill stages (something I already had…and the only "nice" thing I had at the time).  Pictures were snapped by sending coolant mist (focus), coolant flood (snap picture), followed by coolant off (release shutter).  $20 laptop with a wireless card from a scrapped access point. 
- 
-{{:mcmaster:cnc_microscope:mk1:z_axis.jpg?200}} 
- 
-Above: since the original stage had been removed I needed a way to focus it.  Linear stage removed from a broken spectrometer found in school dumpster and spring loaded with a rubber band to maintain position (intended to be gravity spring loaded but I'm holding it the "wrong" way) 
- 
-====== mk2 ====== 
- 
-===== 2.0 ===== 
- 
-Original microscope without computer control 
- 
-===== 2.1 ===== 
- 
-{{:mcmaster:cnc_microscope:mk2:stage.jpg?300}} 
- 
-Above: very first test before installing the tip tilt.  Note riser block is still present below stage.  This takes a way a lot of my clearance making it so that I couldn't use Mitutoyo objectives 
- 
-{{:mcmaster:cnc_microscope:mk2:tip_tilt.jpg?300}} 
- 
-Above: tip tilt installed shortly thereafter. 
- 
-Used motors, mixed types.  Minebea size 17 frames 
- 
-PMC VS series drivers that I found in the trash 
- 
-"USBIO DAQ" board used to bit bang step/direction signals 
- 
-===== 2.2 ===== 
- 
-{{:mcmaster:cnc_microscope:mk2:picomotor_prototype.jpg?200}} 
- 
-Added picomotor theta X/Y.  have drivers and stage setup for Z but never installed picomotor mostly becasue I never replaced the cable 
- 
-Ultimately it turned out I didn't really need the picomotors.  The real issue was that the original leadscrew was poor quality.  I just use them as leadscrews and don't use the motorized capabilities.  At first I had problems bumping stage and so used the joystick to avoid touching things but now I'm quicker just adjusting by hand without issue. 
- 
-===== 2.3 ===== 
- 
-Got new motors: 17PM-K318-04V 
- 
-    * 17PM-K:     [[http://www.eminebea.com/en/product/rotary/steppingmotor/hybrid/standard/17pm-k.shtml|http://www.eminebea.com/en/product/rotary/steppingmotor/hybrid/standard/17pm-k.shtml]] 
-      * Datasheet: [[http://www.eminebea.com/en/product/rotary/steppingmotor/hybrid/standard/data/17pm-k.pdf|http://www.eminebea.com/en/product/rotary/steppingmotor/hybrid/standard/data/17pm-k.pdf]] 
-    * General motor guide: [[http://www.nmbtc.com/pm-step-motors/engineering/pdf/pm_select.pdf|http://www.nmbtc.com/pm-step-motors/engineering/pdf/pm_select.pdf]] 
- 
-Tried OEM650 drivers but burned out a motor and ultimately went back to old drivers 
- 
-New motors: TYPE 17PM-K318-04V 
- 
-    * Yellow   A-1 
-    * Black:   A-C 
-    * Red   A-2 
-    * Blue   B-1 
-    * White   B-C 
-    * Orange   B-2 
- 
-Driver settings (PMC VS series): 
- 
-<code> 
-Motor current 
-S2-3:S2-8: 001111 
-    0.95 + 0.19A 
-switch off selects it 
- 
-Seems to be stalling...upgrade to 0.38A 
-    1 
-        1 1 
-        2 1 
-        3 1 
-        4 1 
-        5 1 
-        6 1 
-        7 0 
-        8 1 
-    2 
-        1 1 
-        2 1 
-        3 1 
-        4 1 
-        5 0 
-        6 1 
-        7 1 
-        8 1 
-</code> 
- 
-===== 2.4 ===== 
- 
-{{:mcmaster:cnc_microscope:mk2_3.jpg?300}} 
- 
-As of 11/09/2013 
- 
-Recent changes: 
- 
-    * Use of hardware DIY indexer has enabled microstepping.  Significant noise/vibration reduction 
-      * [[:mcmaster:pr0ndexer_protocol|proposed protocol]] 
-    * Implemented acceleration/decceleration logic in hardware indexer 
-    * On UPS (I haven't had a problem, but its right next to my room UPS) 
- 
-Y motor drive box may be beginning to see mechanical failure but move to  microstepping and hardware indexer has smoothed acceleration profiles  significantly which seems to have sufficiently mitigated suspected  stripped gear for the time being 
- 
-==== Control software ==== 
- 
-Revisions: 
- 
-    * pr0ntools: 1dea224a62bef5f0a02e2c41e81d85553db30ab0, Sat Nov 9 20:21:30 2013 -0800 
-    * uvcada: c550026a99c50a63e70f278c2e98e98d6e0486ef, Sat Nov 9 19:51:01 2013 -0800 
-    * python: 2.7 
- 
-==== Indexer ==== 
- 
-Revisions: 
- 
-    * pr0ndexer 010652d4ddc8f06d54ff01062372cb9ba916f12e, Sat Nov 9 19:50:36 2013 -0800 
-    * Toolchain: arm-none-eabi-gcc (GNU Tools for ARM  Embedded Processors) 4.7.4 20130913 (release) [ARM/embedded-4_7-branch  revision 202601] 
-    * STM32 eval borad.  CPU rev L1 
- 
-==== Driver ==== 
- 
-Drivers (2): Precision Motion Controls PMC VS series 
- 
-    * {{:pmc:vsbro1.pdf|Product brief}} 
-    * {{:pmc:vsmanual.pdf|Manual}} 
- 
-Switches 
- 
-<code> 
-  1 
-      1 0 
-      2 1 
-      3 0 
-      4 1 
-      5 1 
-      6 1 
-      7 0 
-      8 1 
-  2 
-      1 1 
-      2 1 
-      3 1 
-      4 1 
-      5 0 
-      6 1 
-      7 1 
-      8 1 
-</code> 
- 
-Switch/current: off means add current 
- 
-    * S2-3: 0.095 A 
-    * S2-4: 0.19 A 
-    * S2-5: 0.38 A 
-    * S2-6: 0.76 A 
-    * S2-7: 1.52 A 
-    * S2-8: 3.04 A 
- 
-Microstepping: 
- 
-^Level ^S1-1 ^S1-2 ^S1-3 | 
-|50000 |OFF |OFF |OFF | 
-|25000 |ON |OFF |OFF | 
-|<nowiki>*</nowiki>10000 |OFF |ON |OFF | 
-|2000 |ON |ON |OFF | 
-|51200 |OFF |OFF |ON | 
-|25600 |ON |OFF |ON | 
-|6400 |OFF |ON |ON | 
-|400 (none?) |ON |ON |ON | 
- 
-==== Theta control ==== 
- 
-Mirror mount: Newport P100-P2 
- 
-Motors: Picomotor, model ??? 
- 
-Drivers (2): New Focus something 
- 
-==== Adafruit serial adapter ==== 
- 
-Wires: 
- 
-    * red: 5V @ 500mA direct from USB port 
-    * black: ground 
-    * white: 3.3V RX into USB port 
-    * green: 3.3V TX out of the USB port 
- 
-===== 2.5 ===== 
- 
-{{:mcmaster:cnc_microscope:mk2_4.jpg?300}} 
- 
-07/19/2014: is currently out of service due to broken laptop (and has been for a while).  replacement parts in the mail.  cleaning up electronics while its down 
- 
-07/28/2014: back online!  Down for a few months but rolling once more 
- 
-built t-slot cage around desk.  mounted pegboard to which I attached the various electronics to clean them up and get them off the desk (the idea cabinet thing just wasn't working very well) 
- 
-want to add: 
- 
-    * finish rewiring electronics.  either make pcb or use phoenix contact DIN mount screw terminals 
-    * get a cabinet to store spare carasols loaded with objectives 
-    * Can fit the confocal microscope next to it now that I have more room on the desk? 
-    * would be nice to get a real anti-vibration table 
-    * consider adding continuous running hepa filter at top (make it like laminar flow workstation) 
-      * problems blowing dies away? 
- 
-====== 2015-08-29 ====== 
- 
-NEMA 17 motor pinout 
- 
-Original connectors: 
- 
-    * P1: DB25 controller interface 
-    * P2: limit switch? 
-    * P3: limit switch? 
-    * P4: motor encoder 
-    * P5: motor main (motor P1) 
-    * P6: motor power (removed) 
- 
-===== P1: controller interface ===== 
- 
-^   \\ DB25           \\   \\ Pin  ^   \\ To  ^  Wire color  ^  Function ^  Notes | 
-|  1 |    |    |  |  | 
-|2 |  |Green |  |  | 
-|3 |  |white |  |  | 
-|4 |  |  |  |  | 
-|5 |   \\ Old: P2.5   \\   \\ New: P5.1  |  Black |   \\ Old: lim sw    \\   \\ New: ground  |  | 
-|6 |  |  |  |  | 
-|7 |   \\ P3.2   \\   \\ New: P5.1  |  Black |   \\ Old: lim sw    \\   \\ New: ground  |  | 
-|8 |  |  |  |  | 
-|9 |  |  |  |  | 
-|10 |  |  |  |  | 
-|11 |P5.3 |Red |OPTO |   \\   \\ 5V        \\  \\ Orange       \\  \\ BBB P9.5-6  | 
-|  12 |  P5.5 |  Black |  EN |   \\   \\  \\ N/C  | 
-|  13 |  |  |  |  | 
-|14 |P4.6 |Brown |  |  | 
-|15 |P4.8 |Blue |  |  | 
-|16 |P4.3 |Black |  |  | 
-|17 |   \\ P2.1   \\   \\ New: P5.2  |  White |   \\ Old: limit sw    \\   \\ New: +V  |  | 
-|18 |   \\ Old: P2.3   \\   \\ New: N/C  |  Black |   \\ Old: shield    \\   \\ New: N/C  |  | 
-|19 |   \\ Old: P3.1   \\   \\ New: P5.2  |  White |   \\ Old: limit sw    \\   \\ New: +V  |  | 
-|20 |   \\ Old: P3.3   \\   \\ New: N/C  |  Black |   \\ Old: shield    \\   \\ New: N/C  |  | 
-|21 |  |  |  |  | 
-|22 |  |  |  |  | 
-|23 |  |  |  |  | 
-|24 |P5.4 |Green |SCLK |   \\ BBB P8.13        \\   \\ Blue  | 
-|  25 |  P5.6 |  White |  DIR |   \\ BBB P8.12        \\   \\ White  | 
- 
-NOTE: original cables had these two ports which were repurposed into power lines: 
- 
-    * P2 
-    * P3 
- 
-Probably intended to be used for limit switches 
- 
-===== P2/P3: limit switches ===== 
- 
-P2 (original wiring): 
- 
-^   \\ P2      \\   \\ Pin  ^   \\ DB25 pin  ^  Wire color  ^  Function ^  Notes | 
-|  1 |  17 |  White |  |  | 
-|2 |5 |Black |  |  | 
-|3 |18 |Black |Shield |N/C as power | 
- 
-P3 (original wiring): 
- 
-^   \\ P3      \\   \\ Pin  ^   \\ DB25 pin  ^  Wire color  ^  Function ^  Notes | 
-|  1 |  19 |  White |  |  | 
-|2 |7 |Black |  |  | 
-|3 |20 |Black |Shield |N/C as power | 
- 
-===== P4: encoder ===== 
- 
-^   \\   \\ Mot  \\  \\ P1  ^  P1  ^  Wire color  ^  Function ^  Notes | 
-|  1 |    |    |    |  | 
-|2 |    |    |    |  | 
-|3 |  |  |  |  | 
-|4 |  |  |  |  | 
-|5 |    |    |    |  | 
-|6 |  |  |  |  | 
-|7 |  |  |  |  | 
-|8 |  |  |  |  | 
-|9 |  |  |  |  | 
-|10 |  |  |  |  | 
- 
-===== P5: motor main ===== 
- 
-2.4.3 Motor P1 - Power, communications and logic (universal inputs) 
- 
-^   \\   \\ Mot  \\  \\ P1  ^  P1  ^  Wire color  ^  Function ^  Notes | 
-|  1 |   \\ 5  \\   \\ 7  |  Black |  Ground |  | 
-|2 |   \\ 17  \\   \\ 19  |  Red |  V+ |  | 
-|3 |11 |Red |OPTO |  | 
-|4 |24 |Green |SCLK |  | 
-|5 |   \\ 12  |  Black |  EN |  | 
-|6 |25 |White |DIR |  | 
-|7 |  |  |+5V |  | 
-|8 |  |  |CLK |  | 
-|9 |  |  |CGND |  | 
-|10 |  |  |MOSI |  | 
-|11 |  |  |CS |  | 
-|12 |  |  |MISO |  | 
- 
-===== P6: power ===== 
- 
-Removed.  Never pinned out but was just red + black wire 
- 
-=====   ===== 
- 
-====== Misc notes ====== 
- 
-T7 star to take off BH2-UMA 
- 
-7/64" allen to remove nosepiece adapter from Z assembly 
- 
-5/32" allen to remove fine/medium focusing assembly from Z assembly 
- 
-3/16" allen to remove fine/medium backplate to expose gears 
- 
-7/16" socket to remove fine/medium knobs (remove circular cover first) 
- 
-    * left side comes off, right side doesn't 
-    * remove by holding left fine focus in place and turning 
- 
-\\ 
  
mcmaster/cnc_microscope.1441345161.txt.gz · Last modified: 2015/09/04 05:39 by mcmaster