Overview

Productive Robotics designs and fabricates many of the parts and assemblies for their robots in-house; these parts require quality and feature analysis before being deemed production ready. Gear analysis used to be a manual process; the most skilled employee analyzed a gear in two minutes, but even that employee occasionally made mistakes, especially when switching from one gear type to another. This machine was created to automate the gear analysis process.

Note that due to the proprietary and confidential nature of some parts of this machine, some descriptions have been omitted and will seem incomplete.

The automated gear analyzer
The automated gear analyzer
CAD assembly (note that work was done in SolidWorks but is being viewed in Onshape)
CAD assembly (note that work was done in SolidWorks but is being viewed in Onshape)

Mechanical Design

The gear analyzer is composed of two main sub-systems: the clamp-rotor and the imaging system. The parts that move up and down the column share a common elevator design.

Elevator

A gear rack (1 module) and linear rail (HGH20) are attached to a 80/20 (36” 2040-S) column to allow the elevators to travel smoothly up and down. The commonized elevator is composed of an aluminum L-bracket and 3D printed platform. A motor (NEMA 17 with CAN control board) with a 16T gear is screwed directly to the L-bracket; the platform and L-bracket are screwed to a linear guide block (HGH20CA). The platform is modified for each specific use: a large hole with embedded magnets for holding the red LED disk, a hole and gear shroud for the upper clamp-rotor, and smaller holes for the camera and lens.

Front view of elevator
Front view of elevator
Back view of elevator
Back view of elevator

Clamp-Rotor

The clamp-rotor holds and aligns the gear perfectly vertical by closing the gear between a chamfer mill (1/4”) on the bottom and center (1/8”) on the top. The chamfer mill in the lower assembly is held in a ER16 collet chuck fit into a 3D printed gear. The center is embedded in a 1/8” thick clear acrylic disk clamped into a hollow gear in one of the column’s elevators; the clear acrylic is necessary to allow the camera to see the gear. Two motors are also fit with 3D printed gears and mated to the lower and upper rotor gears.

Alignment of the centers is essential to successful operation of the fixture. The bottom assembly is adjusted using oversized screw holes to fasten it to the base. The upper assembly is adjusted by sliding the acrylic plate between the gear and clamp plate before fully tightening its screws.

Section of lower clamp-rotor
Section of lower clamp-rotor
The lower clamp-rotor outlined in red
The lower clamp-rotor outlined in red
Bottom view of upper clamp-rotor
Bottom view of upper clamp-rotor
Top view of upper clamp-rotor
Top view of upper clamp-rotor

Imaging

The camera (Arducam B0498) and lens (50 mm) are mounted to two separate elevators, allowing the distance between camera and lens to be modified, varying focus depending on which gear is being analyzed. Gears with large diameters require that the camera be raised to the highest point of the 36” 80/20 column, otherwise a much smaller column would be used. A lens bellows was disassembled and placed between the camera and lens platforms to block light coming between the two platforms. The camera and lens are both mounted into 1/8” ABS plates that can be moved across the plaforms to adjust their alignment.

Camera elevator and lens elevator designs
Camera elevator and lens elevator designs
The camera and lens range of motion
The camera and lens range of motion

The feed from the USB camera is analyzed using OpenCV. The gears analzed with this machine are all machined from single pieces of steel. This lack of color contrast makes feature detection somewhat difficult. Two LED disks, a blue one mounted to the lower clamp-rotor and a red one on an elevator, light the background of the image blue and the top of the gear red leaving the middle of the part dark, allowing several planes of features to be detected.

Column and camera view (on screen) showing blue and red contrast
Column and camera view (on screen) showing blue and red contrast

Analysis Process

The old manual process has ~10 manual steps. The new process has been reduced to 3 manual steps, consisting mainly of pressing buttons. These 3 steps are planned to be automated with one of Productive Robotics’s cobot arms.

General Step Old Process New Process
1. Change gear type (if necessary) Select which gear type is being analyzed Select which gear type is being analyzed (no change)
2. Insert gear Manual: draw line with a marker on top of gear for visual reference  
  Manual: insert gear into chuck at bottom of fixture Manual: place gear between the clamping parts and press “close” button
3. Adjust components into proper position Manual: raise camera so that gear fills ~80% of the height of the image shown on screen (only necessary when changing gear type) Automatic: camera, lens, and upper clamp-rotor elevators move to pre-set heights when “close” button is pressed
  Manual: align the camera and gear to be perfectly vertical and coaxial  
4. Analyze Manual: capture camera image Manual: press “analyze” button
    Automatic: red LED elevator moves to pre-set height when “analyze” button is pressed.
  Manual: analyze image Automatic: when red LED elevator reaches proper height, camera image is captured and analyzed to find desired features using OpenCV
5. Finish and remove gear Manual: remove gear from fixture Automatic: upper and lower rotors spin the gear so the desired feature is at the bottom of the image
    Automatic: the red LED elevator moves up
     
    Manual: press “open” button and remove gear
    Automatic: upper clamp-rotor, camera, and lens elevators raise and red LED elevator lowers when “open” button is pressed. This opens up the machine to allow the gear to be removed by a person or robot arm.