Spring 2018 3DoT Hexy: Determine Gear Design

By: Eduardo De La Cruz (Project Manager and Manufacturing Engineer)

Verified by: Eduardo De La Cruz (Project Manager and Manufacturing Engineer)

Approved by: Miguel Garcia (Quality Assurance)

Table of Contents

Introduction

     Since we are going to base our design of Spring 2016 3DoT David, we will need to implement a functional cam system that is either similar or better in design then that constructed by the Spring 2016 team. In this blog post we will: go over current gear ratio from existing 3DoT david cam system, determine the cam system design for Hexy, potential driving and driven speeds for our design (based on motor selection), go over the gears we will use , and implementation.

Related Requirements

  • To keep cost down, and keep a toy aspect , the robot shall use only 2 micro motors to drive the movement of the robot.
  • The robot will need to navigate remotely through a custom built maze (built by AoSa image), memorize the path it took, start over, and autonomously travel through the path it took.
  • The robot shall operated in a tripod form, having three legs (2 outer in one side and middle leg in the other side) to provide stability while moving.

Update (March 15, 2018)

We decided that pursuing a 3:1 configuration would be the way to go. This is due mainly to the femur-to-gear joints. 20T gears have a smaller surface area over which to place joints that need to be made bigger based on assembled prototype.

Trade study (March 6, 2018)

3DoT David’s Cam

     Since we were given access to the 3DoT David robot and their blog post research, we were able to analyze the design more in detail. The manufacturing department even went the extra mile to model gears from the robot on solidworks by measuring the pitch diameter, outer diameter, tooth thickness, addendum, dedendum, pressure angle and face width using a digital caliper (click here for meaning of these variables). Below is a model of 3Dot David cam system:

Figure 1: Current cam design 

The gear ratio for 3DoT David’s cam is 3:1. The small gear has 10 teeth with a pitch diameter of 10 mm and the big gear has 30 teeth with a pitch diameter of 30 mm. The driving gear (where motor connects) is the lower left blue gear. According to, Spring 2016: 3DoT David Gear Train , 3DoT David is designed to drive the larger gears at 2 rev/sec, therefore, the driving speed of the motor should be 360 RPM. The 3DoT David team decided that it would be best to use geared motors rated at 450 RPM at 6V and use a booster shield to reach 5 V to get to 360 RPMs for the input gear (click here to read more on how they determined this motor choice). A video of 3DoT David cam performance can be seen by clicking here .

The cam system we will use

So far two potential cam designs are going to be used to experiment on. The first one will be 3DoT David’s 3:1 configuration, and the second one will be a 2:1 configuration shown below:

     Figure 2: Alternative design

For this configuration we would use small gears with 10 teeth and large gears with 20 teeth. Since gears sizes are scaler, modeling 20 tooth gears from 10 tooth gear, generated above, was not an issue. The reason for using this configuration is that it would reduce length of 3DoT Hexy by 6 mm from 3DoT David design, and reduces length of femurs that would connect to the red gears. This document will be updated when we determine the configuration we go with for our cam system.

Required Driving and Driven Speeds for our design choice, under ideal conditions

Note: Driving Gear (G1) = small gear connected to motor.

Driven Gear (G2) = large gear used to move legs.

 

For the most part we want our robot to rotate its legs anywhere between 1 and 2 rev/sec. Therefore we will calculate speeds for 1 and 2 rev/sec for 3:1 cam system, and 2:1 cam system, both shown above. Calculations were done using Gear train document as a reference from wikipedia.

Note: G1 speed = Wa, and G2 speed = Wb

Na = teeth on G1, and Nb = teeth on G2

Figure 3: Calculation for different cam configurations 

The Gears we will use

There are two methods of obtaining gears for our cam system: buying or fabricating gears. After consulting with Prof. Hill over the possibility of fabricating gears, Hill recommended we just pursue purchasing gears. Therefore, the manufacturing department went on a hunt for purchasable gear sets. Taking into account that we need gears with 10, 20, and 30 teeth to model our two configurations and the source material on gear instability done by the 3DoT David team we found the following two gear sets on Amazon:

Figure 4: Out sourced gears 

Both sets have the desired pitch diameters of 10, 20 ,and 30 mm. The advantage of picking Set 2 is that it will be the same gear set that 3DoT David used.

In case these gears don’t work, we always have the gears the manufacturing department accurately created from scratch using solidworks for CNC cutting:

 

Figure 5: Gear generated in Solidworks 

Note:

These gears cannot be found in Solidworks libraries. These models were accurately obtained by determining the pitch diameter, outer diameter, tooth thickness, addendum, dedendum, pressure angle and face width using a digital caliper and using 3DoT David’s Gears as a reference.

 

Files for these gears can be found below:

Gears

How final design would look with legs connected

3:1 System:

Figure 6: One side of assembled cam 

This design will be mirrored along the vertical axis and femurs will be positioned in opposite order of the ones above: outer legs in an middle leg out to have 3 legs on the ground at all time for balance (tripod).

Note:

2:1 system will have the femurs connected to the red gears and would be positioned in the same way as above .

Conclusion

Currently we are more interested in pursuing the 3:1 cam system for our design, however, we will attempt to model the 2:1 system to see if it would be better for our design instead of 3:1. We will update this document after the rapid prototype has been made modeling both gear designs. From this blog post our E&C was able to determine motor selection based on the gear calculations above. We will be using a 530 RPM at 6 V high torque micro gear box motor, will see RPM rating at 3.7 V (battery rating) and determine whether or no we need a boost shield to drive the cam system at the desired RPM.

Resources

  1. https://www.arxterra.com/3dot-david-gear-train/
  2. https://www.arxterra.com/3dot-david-rapid-gear-instability/
  3. https://en.wikipedia.org/wiki/Gear_train/

 

Spring 2018 3DoT Hexy: RGB Color Sensors

By: Kris Osuna (Electronics & Control Engineer)

Verified by: Eduardo De La Cruz (Project Manager and Manufacturing Engineer)

Approved by: Miguel Garcia (Quality Assurance)

Table of Contents

Introduction

   A RGB sensor is going to be needed to allow 3DoT Hexy to detect intersections. A different color will be placed at every intersection to allow our robot to know the type of intersection.  We will be using the RGB Light Sensor – ISL29125 to get values from printed paper.

Components

  • Arduino Uno
  • Light Sensor – ISL29125

Related Requirements

  • Light sensor must be able to tell the difference between colors

Update 2: (March 20, 2018)

 

     Color sensors will no longer be implemented for our projects due to a customer revision of the maze definition. According to the customer, since we plan on using UV sensors for our line following design, it would be more optimal to implement intersection detection using a UV grid (as shown in the maze definition). Also color sensing was out of the question for robots like biped or velociraptor whom would have difficulty reading RGB due to required placement position.

Update 1: (March 8, 2018)

Setup

We used the RGB Light Sensor – ISL29125 (figure 1) to get values from printed paper. The sensor was zip tied to a ruler to detect values from 1 inch away (figure 2). We obtained the red, green and blue values and recorded the range that appeared. In the software we added the red, green and blue values and found the average. The table is arranged from lowest average to highest average to show which color would be the most beneficial to use.

Results

Table 1: Sensor Values 

Purple, blue, red and yellow would be ideal to use due to the difference in averages making it harder to confuse each other. If you use the average as a data point the sensor can tell the difference between the colors since none of the color averages overlap.

Figure 1: Left – RGB color sensor ISL29125

 

Figure 2: Set-up for measurements

Resources

  1. RGB Sensor Datasheet
  2. Light Sensor Code

Spring 2018 3DoT Hexy: Decision of Movement Mechanism

By: Eduardo De La Cruz (Project Manager and Manufacturing Engineer)

Approved by: Miguel Garcia (Quality Assurance)

Table of Contents

Introduction

     Taking into account the level 1 requirement of using only 2 micro motors to drive the movement of the robot, and by using designs from previous semesters as a reference. We as engineers had to determine the most optimal mechanism that would take full advantage of the 2 micro motors. References, such as that of  Spring 2016: 3DoT Spider-Bot Mechanism Research, pretty much covered the most promising designs to implement using 2 motors. However, we decided to focus more on the two models that were successfully built in the past: the Klann Linkage mechanism of Spring 2017’s Spiderbot, and the Hex Bug 2 mechanism Spring 2016. The goal we wish to accomplish by picking from the former or the latter is to:  reduce the amount of time invested in researching new designs, increase the probability of success, and invest more time building on improving existing designs.  

Related Requirements

  • To keep cost down, and keep a toy aspect , the robot shall use only 2 micro motors to drive the movement of the robot.
  • The robot will need to navigate remotely through a custom built maze (built by AoSa image), memorize the path it took, start over, and autonomously travel through the path it took.
  • The spiderbot shall have an allocated budget of $250, however to compete with the existing robot toy market we shall try to minimize the cost of production as much as possible.  
  • In order to minimize manufacturing cost, and packaging cost the robot shall be able to be constructed from subassemblies within 10 minutes.
  • For quick production of the prototype, the preliminary project shall be restricted to six hours of total printing time with a 2 hours limit for each single print.

Design 1: Spring 2017 SpiderBot, Klann Linkage Mechanism

Figure 1: Klenn Linkage Mechanism 

     Eight legged Klenn linkage spiderbots follows a 4 inner and 4 outer rule for stability.  This means that the spider will always have 4 points of contact: Case 1: outer legs lift and inner legs thrust, and Case 2: inner legs lift and outer legs thrust.

Pros:

  • Parts can be fabricated using laser cutter, reducing our 3D print times
  • Design will have 8 legs like an actual spider due to the need of bilateral symmetry
  • Design can be implemented using 2 motors
  • Can turn in place if programmed correctly

Cons:

  • A lot of parts will increase weight of the robot
  • The width of the robot will need to increase in order to fit 3DoT board and all components in the middle.  

 

A lot of resources on this model can be found online. Below are links to a couple of useful references on the Klann Linkage mechanism.  

  1. How it works
  2. Two Motor controlled Klann Linkage mechanism that can turn
  3. Going over objects
  4. Movement Dynamics
  5. Sample model built from start to finish

 

Design 2: Spring 2016 3DoT David, Hex Bug 2 Mechanism

 

Figure 2: Hex Bug Mechanism

 

This design can be accomplished using a cam system and by configuring the legs to move either as:

Shown above:

Case 1: Outer 4 legs lift, inner 2 legs thrust

Case 2: Inner 2 legs lift, Outer 4 legs thrust.

Design requires small lift height, in order to reduce time outer legs remain of the ground for stability.

 

Or:

can be reconfigured by adjusting the position of the legs on the gears to follow a tripod motion(as shown below).

Figure 3: Tripod Movement 

This was what Spring 2016s 3DoT David design had to do, click here.

 

Pros:

  • Design looks simple, not as many parts compared to Klenn linkage model
  • Can be designed to be small and compact because 3DoT board and other components can be placed over the mechanism without interfering leg movement .
  • Can turn if properly programmed, as demonstrated in the Spring 2016 video.
  • Can be driven using only 2 motors  
  • A lot of components can be made with either 3D or laser cutter.
  • Uses only 6 legs which reduces weight and cost of manufacturing.

Cons:

  • Leg to floor clearance during lift will be small, therefore, won’t be able to go over big objects

 

Resources:

  1. https://www.arxterra.com/spring-2016-3dot-spider-mechanism-research/
  2. http://robotics.hobbizine.com/knexapod.html

Final Design Decision

     Having had studied both design more in depth we decided that implementing the Hex Bug 2 design was the way to go. The Hex Bug 2 design takes advantage of gears configured as a cam system to provide sufficient torque to the legs for movement. This will reduce amount of 3D components needed since we will most likely be able to purchase gear set from an online retailer. Also this design only requires 6 legs meaning we will have less weight and less 3D printed parts to worry about. The only components that will most likely need to be 3D printed will be the femurs, and tibias. The chassis will most likely be laser cut. Since we need to fit the robot in small maze rooms, current maze rooms are  3’’x3’’, the Hex Bug 2 design allows us to make everything small and compact because we can place the 3DoT board and other components on a platform over the gear mechanism without interfering leg movement. The issue of floor clearance during lift won’t be an issue because going over objects is not a mission requirement.  

 

Spring 2018 3DoT Hexy: Improving 3DoT David Design

By: Eduardo De La Cruz (Project Manager and Manufacturing Engineer)

Approved by: Miguel Garcia (Quality Assurance)

Table of Contents

Introduction

     Since we decided to model 3DoT Hexy of Spring 2016’s 3DoT David, Prof. Hill recommended that we get in contact with the owner of 3DoT David to have access to the robot. Luckily, we were able to get in touch with the owner and were permitted to use the robot as a reference. From 3DoT David, we have learned a lot about: movement dynamics, overall dimensions, and weakest points in the structural design. In this blog post we will highlight the weakest points in the structural design of 3DoT David and provide solution that will be implemented in our design of 3DoT Hexy.

Related Requirements

  1. In order to minimize manufacturing cost, and packaging cost the robot shall be able to be constructed from subassemblies within 10 minutes
  2. For quick production of the prototype, the preliminary project shall be restricted to six hours of total printing time with a 2 hours limit for each single print
  3. The robot shall be designed in such a way that there are no dangling or exposed wires and the final fabrication is pleasing to the customer
  4. To keep cost down, and keep as a toy aspect , the robot shall use only 2 micro motors to drive the movement of the robot.
  5. The spiderbot shall have an allocated budget of $250, however to compete with the existing robot toy market we shall try to minimize the cost of production as much as possible.

Gear Capture System

     According to Chris (one of the engineers behind 3DoT David) 3DoT David’s cam system has a tendency of “gear popping”. This means that at high speeds the gears tied to the shafts slip off. To solve this problem the 3DoT David team relied on melting the tips of the shafts to prevent the gears from lifting. This also was a problem for the gears tied to the motors which could not rely on the previous solutions do to having a steel shaft. This solution solved the gear popping problem, however, it complicates the mission task involving assembly and disassembly. Below are images of how it looks:

Figure 1: Old gear capture design

Caps for gear shafts

Figure 2: Gear Capture solution

      To solve this problem we decided to use caps obtained online from a different gear set. The caps have a diameter of 3.2 mm which will be the diameter of the shafts we will use in order to ensure we have a tight fit without heating or gluing. This will make our cam system easier to assemble and disassemble.

 

Top shaft to prevent gear tied to motor from popping:

Figure 3: Old design: Nothing prevents the gear from popping off

Figure 4: Gear capture solution for driving gears

We will incorporate a shaft positioned over the driving gears that will be part of the 3D print of the top panel. This will keep the driving gear from coming off.

Gear to motor shaft connection

     3DoT David relied on gears that have a bore greater in diameter than the shaft diameter of the motors. The solution the 3DoT David team used to solve this problem was to insert a piece of a pen tube into the bore to provide a tight fit. The problem with this solutions is that there is no real mechanism that locks the gear to the shaft to prevent the gear from slipping from the shaft.

Figure 5: Old driving gears Motor shaft held to gear bore via the use of a cut piece of pen tubing.   

Figure 6: New driving gears 

     The motor shaft has a D shaped shaft, therefore using a gear with a D shape bore would lock the gear to the motor shaft. Luckily, our manufacturing engineer was able to find gears that have the 10 mm pitch diameter for our driving gears with a smaller bore, as shown above. This means that we can cut out the D shape using a dremel tool or other precision cutting tool.

Lift Mechanism

     3DoT David’s Lifting mechanism works well in thrusting and lifting the spider forward, however, the amount of lift of the current design is proportional to the length of the femurs. Since we want to reduce the overall width of our robot (to give it a better aspect ratio relative to a 4”x 4”  maze room),  figuring out a way to reduce the length of femurs while providing an acceptable amount of lift is desirable. 

 

Figure 7: Old leg design, note: units = cm

Solution:

     We decided that integrating the lift mechanism into the femurs of the legs would give us more control over the lift angle (since it will be based on the angle of the contour we define), as well as reduces the width of the robot since femur lengths can be reduced and will eliminate the need of the protruding lift mechanism. As an added extra, we also expect to see reduced 3D print times for the femurs.

 

     Our solution involves re-designing the femurs and the base to have a guide that will increment the angle of the femur as the femur rotates outward, providing lift. How it works:

Figure 8: Gear-to-Femur relation

     At point A the femur should be touching the floor and preparing for thrust. At point B, the femur begins ascending. At point C the femur is at its peak lift. At point D, femur is descending.This solution enables us to control the lift of the legs based on the angles of the femur contour. The guide that the femurs will follow will also have an angle to provide a smooth transition from point A to point C. As shown below:

 

Figure  9: New leg design 

     As can be seen above, the length the leg extends is 31.69 mm from the chassis, compared to 3DoT david’s 38mm leg extensions our leg design will reduce the overall width of the robot by 2*(38mm – 31.69mm) = 12.62mm. Our legs will have a lift distance of 5.56 mm which is 1.24mm less than 3DoT David Design. Also note, the top panel will have a protrusion that will keep the legs down when they are in there innermost point to keep them grounded as can be seen by the image above in the upper left corner. The height of our robot will be 28.28mm vs 38.1mm therefore our design will be 9.82mm lower meaning we should have a better reading for our sensors.

     Below are the calculations for our leg’s profile. Note, calculations for determining our leg profile were obtained from Spring 2016 3DoT David Leg Movement Angle Study.  

Circumference of femur tied to gear:  

C = 41.54 mm

Initial Lift do to inner contours:

7.89 deg – 3.59 deg = 4.3 deg

sin(4.3) = x/41.54    

x  = 3.12 mm

Final Lift Obtained = 11.92 deg

41.54 mm * sin(11.92 deg) = 8.58 mm

8.58 mm – 3.12 mm = 5.46 mm of lift of the ground

 

From our actual results, we can see that our design is .1 mm of the actual Lift.

If we wished to modify the height clearance of our design we would just change the value of the initial lift by changing the angle of the leg contours.

Leg Joints

      3DoT David’s leg joints where not a pretty sight to the eye. Since the design relied on a single contact point for the femur to tibia joint, 3DoT’s joints would loosen and become flimsy as the robot walked. The solution the 3DoT david engineers had was hot gluing the joints to make them stick together better (as shown below). However, this beats the purpose of the assembly and disassembly portion of the mission. To solve this problem we decided to redesign the leg joints to have more contact points.

 

Figure 10: Old legs and femurs 

 

Figure 11: New leg design

     By implementing this design, we had to redesign the tibias to give the joints 5 contact points. This will make the joint more sturdy. To prevent the joint from being a flexible joint, we will thread the hole the hole shown in the image above and insert a screw across to prevent the joint from moving the femur and tibia.

Wire Management

Purpose: Provide a path for wires from top panel to bottom panel that does not protrude out of the robot or interferes with cam movement.

 

Figure 12: Old design -Wires are wrapped in electrical tape and are susceptible to interfere with gear rotation.

 

Figure 13: New design

      Wires will have an isolated passage from top to bottom panel through two different apertures. Both holes will will have an 8 mm diameter opening giving plenty of space for all wires that will be connected to components on the underside of Hexy.  

Redesigning top and bottom panel

      We will be re-designing the top and bottom panel to accommodate new design changes made from old design review. We will also take this opportunity to give Hexy a unique appearance different from that of 3DoT David, and try to improve on reducing 3D print times.

 

Figure 14: Old design

Figure 15: New Design

      For the bottom panel we will fit gear lift guides into the chassis instead of having them stick out like in 3DoT David’s design (as explained in the lift mechanism section). We will extrude cut patterns in top and bottom panel to reduce 3D print times while at the same time giving our design a symmetric and appealing view. Top and bottom panel will have holes for the wire management and for the driving motor connection. The design will have more holes upon determination of the position of the custom PCB board, battery, and 3DoT board

 

Adding Washers

Figure 16: Adding washers 

     3DoT David didn’t see the need of adding washers to reduce friction, however we will incorporate washers along with grease in order to reduce friction between the gears and the chassis.

 

References

  1. https://www.arxterra.com/spring-2016-3dot-david-design-innovation/
  2. https://www.arxterra.com/3dot-david-rapid-gear-instability/
  3. https://www.arxterra.com/3dot-david-rapid-joint-connection-between-gear-and-leg/
  4. https://www.arxterra.com/3dot-david-leg-movement-angle-study/

Spring 2018 3DoT Hexy: 3D Print Times

By: Raymundo Lopez-Santiago (Mission,Systems, and Testing)

Verified by: Eduardo De La Cruz (Project Manager and Manufacturing Engineer)

Approved by: Miguel Garcia (Quality Assurance)

 

Update: 04/17/18

After the first protype, the design was changed accordingly to fix issues identified from testing the robot (under stress). The new design has been sent to Ridwan and we are currently waiting for a response. A new table with the 3D print times will be updated later.

 

Introduction    

This blog post covers the overall 3D print time for parts used in the 3DoT Hexy robot. Eduardo De La Cruz (Project Manager/Manufacturing Engineer) has made a sketch and model for 3DoT Hexy in Solidworks. A preliminary 3D print time for 3DoT Hexy is determined using a 3D Print quote from the Long Beach Makers Society and Ridwan. The quote is for using PLA/ABS material. In Fig.1, print times for each part are shown as well as the total print time for all parts using the Long Beach Makers Society’s quote. In Fig.2, print times for each part are shown as well as the total print time for all parts using Ridwan’s quote.  As defined in the core level 2 requirements, 3D printing time shall not exceed the 6-hour limit. Each part should also not exceed a 2-hour limit of printing. At this moment we are planning to 3D print most of the parts needed in the project. We are not including any PCB housing in this print time estimate. The total print time estimated from the Long Beach Makers Society quote with the current design is 6.8 hours which exceeds the total 3D print 6-hour limit requirement. Only one part exceeds the 2-hour limit of 3D printing requirement per part and that is the bottom plate. Our initial plan to tackle both these issues was to pursue an alternative design to reduce the print time for the bottom plate and to manufacture the top plate using laser cutting instead of 3D printing which will reduce our total print time to 4.8 hours. After requesting a quote from Ridwan, we no longer needed to change our project design since the total 3D print times quoted for this project reduced to 5 hours which meets the total 3D print requirement limit. This quote also states that the 2-hour limit of 3D printing requirement per part is not exceeded.

 

Related requirements:

Level 1 Requirements:

C-11:

For quick production of the prototype, the preliminary project shall be restricted to six hours of total printing time with a two hour limit for each single print.

Level 2 Requirements

L2-5:

The robot shall use 3D printed chassis and legs. This follows from the project level requirement about using 3D printed parts.

L2-5a:

The robot shall use PLA or ABS filament in the fabrication of the chassis and legs. This will minimize the mass of the robot, while at the same time being strong enough to hold its weight.

 

Fig.1: 3D print time estimate based on Long Beach Makers Society’s quote

 

Fig.2: 3D print time estimate based on Ridwan’s quote

 

Conclusion

To further get ahead on this project, we went ahead and used the 3D printing services from the Long Beach Makers Society for our prototype due to Ridwan taking longer to respond with the 3D print quote. We plan on using Ridwan’s 3D printing services for our final project print.

 

References

  1. https://docs.google.com/document/d/1GCPoru2ZqR_VMB8tJ2FTlfe8vI3Ci1x_8kVdWjqsFGM/edit?usp=sharing