36 posts

Day #24: Bumpers, Wiring, and Continued Prototyping

2013 FRC Build SeasonFIRST Robotics

CAD

Students made some of the drawings for the conveyor shafts. The shafts with finished drawings should be finished tonight.

 

Manufacturing

Students manufactured a few of the shafts for the conveyor assembly. These hex shafts will used with the polyurethane rollers to move the frisbees from the intake to the piston-powered loader.

photo (2)

Manufactuing parts on the lathe

Bumpers

Students began measuring the dimensions of the bumper cordura based on the measurements of the robot bumper assembly in Solidworks. They will order 4 yd x 60 in cordura material from Seattle Fabrics for the red and blue bumpers. Particular effort will be spent making sure that the colors are according to the team standards. After confirmation of all details, they will place the order.

 

Wiring

Wiring today consisted of soldering connectors onto a mini CIM motor and another set of connnectors for the speed controller to test out the intake prototype.  The students discovered that the motor's shaft was spinning, while the gear was not.  After some modificaitons, the team was able to successfully control the speed of the intake with the speed controller, which was mapped to the Logitech gamepad.

photo (1)

The current drivebase chassis

Prototyping

Students continued design on the intake, revising the polyurethane rollers as well as the polycarb on top. This wasn't worked on much today, but the improvements drastically increased efficiency.

photo (4)

Student making adjustments to the intake

PR

Students continued to revise Chairman's as well as work on various sponsor things. Awards will be delivered later this week, and prospective sponsors are being contacted.

 

Programming

Today, the programmers continued work on tuning the PID controller for the shooter wheel.  The results were roughly about the same as yesterday's results.  When the actual shooter is built, the team will spend a great deal of time to tune the shooter controller very nicely and accurately.  But for now, this was a good exercise and experience the team can learn from.  The programmers are currently experimenting with a mix of filters, different controllers (bang-bang vs. PID), and feed-forward.

Meanwhile, other programmers wrote code for the intake prototype.  They mapped it to the Logitech gamepad, so that the shoulder buttons would increment or decrement the speed controller output by 0.005, the start button would set it to 0.0, and the back button would set it to +1.0.  This functionality was requested by the students working on the intake prototype, since they want to find the minimum required torque to intake a frisbee smoothly.  Tests are currently being conducted on this.

photo (3)

Programmers intently programming

Day #23: Wiring and Prototyping

2013 FRC Build SeasonFIRST Robotics

Wiring

Wiring the main robot chassis was continued today, as students and mentors mounted and wired 8 port solenoids. As well, the spike was wired and progress was made in the decision on how to mount the compressor. With majority of the base wiring complete, the team is currently waiting on new cRIO modules to arrive so that they can be mounted and wired as well.

 

DSC_0043

Wiring the solenoids

Prototyping

Prototyping was divided into multiple subgroups today, with students working on the loading mechanism, the conveyor, as well as mounting a mini CIM motor to power the intake prototype.

Loading Mechanism

A select group of students decided to prototype the loading mechanism which transfers the frisbee from the conveyor to the shooter. Using polycarb, wood, and pistons, they were able to manufacture a working prototype to serve as a successful proof-of-concept reinforcing designs already implemented into CAD.

DSC_0068
Students assembling the loading/indexing mechanism
DSC_0066
Testing the indexing prototype

Conveyor

Students worked to make a conveyor out of wood to use as a proof-of-concept with using 3/8" hex shafts versus the previously favoured 1/2". It is still a work in progress and is currently being assembled.

Intake

It was decided that to optimize the speed of rollers used in the intake, it is neccessary to modify the current intake design which had previously been powered solely by pneumatic drills to operate using a single mini CIM motor. To do so, students created 2 pulleys to direct power to the front rollers using polycord while the back rollers will be powered by gears at a 3:1 ratio. There was minor setbacks in the broaching of a 1/2" gear, and as such the project was slowed. The modifications are still currently underway and will be documented in depth once they are completed.

Last night the intake prototype was modified to have both rollers powered by a mini-CIM, as shown in the photos below.  The gears mentione above were used to power the bottom roller. This resulted in a theoretical max surface speed of 9.8 ft/s. When the frisbees were put through, there was virtually no observed speed reduction in the CIM due to the load.  Because of this, it is alright to gear the intake for 18 ft/s theoretical surface speed, so this design will be proceeded with.

intake2

The front intake roller, connected with polycord

 

intake1

Both rollers powered by a mini-CIM

 

intake3

Bottom roller, with 3:1 reduction

Brogramming

The programmers continued graphing the 2012 robot's shooter wheel RPM versus time.  They experimented with both the bang-bang controller and a PID controller, as well as with and without a moving average filter.  When using the bang-bang controller to control the shooter wheel, students found that using a moving average filter to filter the motor outputs produced smoother and more consistent results.  The programmers spent a lot of time adjusting the P, I, and D terms of the PID controller.  Though the PID controller's graphs are relatively more stable and smoother than the graphs of the bang-bang controller, the PID controller either tends to overshoot its goal or to not reach it at all (mostly at 3500 rpm).

 

pidpid4

Graph of a PID-controlled shooter wheel (P = 0.007, I = 0.0, D = 0.003)

 

Action Items

  • Get a quote on wood for bumper assembly
  • Buy wood/cordura for bumper assembly
  • Finish design changes on conveyor and intake assemblies
  • Finish prototyping conveyor
  • Start designing control board
  • Start manufacturing bumper components
  • Hook up a speed controller to the intake to figure out the minimum required torque.
  • Measure the current draw with the ammeter.

Day #22: Prototyping & Intermediate Shaft Spacers

2013 FRC Build SeasonFIRST Robotics

Machining

The students and mentors finished machining the intermediate shaft spacers. After ordering gear box shafts from a sponsor, the team decided to manufacture twice as many to take the PTO into account. Because we are not able to manufacture a hex into the round part of a shaft with the tools at the lab, students are instead making our own out of a hex shaft and placing a spacer on one end to prevent the gear from moving.  Members also unsuccessfully searched for hex bearings from the storage crates.

 

IMG_20130129_220806[1]

The newly manufactured shaft spacers

Prototyping

Students also worked on the shooter indexer.  The two side blocks for the outer indexer had to be replaced, as the previous wooden blocks were not long enough.  Students successfully got the shaft through both parts of the prototype, such that the smaller one can pivot.  The next step for this project is to attach the pneumatic pistons to the main frame of the prototype.

 

IMG_20130129_220706[1]

Students assembling the shooter indexing prototype

 

IMG_20130129_220720[1]

The intake prototype

Programming

The programmers tested the gyro and were able to get accurate results from it.  They also retrieved the two S4 drive encoders from Skyfire for future use and storage. In addition, they finished translating the state space controller from C++ to Java. Though the new code has not yet been explicitly tested, it compiles fine.  More tests will be done at a later time.

Next, the programming team tested out the bang-bang controller, which controls the 2012 robot's shooter wheel. They also tested the graphing tool within the Smart Dashboard and made it display the velocity of the shooter wheel versus time.

 

bangbang2

Velocity (rpm) of the shooter wheel vs. time

Action Items

  • Finish constructing shooter indexing prototype

Build Season Recipes: Week 3

2013 FRC Build SeasonFIRST Robotics

The nutritional benefits from the intake of these brownies helped us finalize our intake geometry over the weekend.

Non-Strategy Brownies

  • 1 cup butter, melted

  • 1 cup sugar

  • 1 cup brown sugar

  • 3/4 cup cocoa powder

  • 1 1/2 tsp. vanilla extract

  • 3 eggs

  • 1 cup flour

  • 1 1/2 tsp. baking powder

Mix melted butter, sugars and cocoa. Add vanilla and eggs; beat. Add flour and baking powder and mix well. Pour into a greased 9"x13" pan and bake at 350°F for 20-25 minutes, or until an inserted toothpick comes out with fudgey crumbs. Best enjoyed served warm with vanilla ice cream.

Week #3, Day Off

2013 FRC Build SeasonFIRST Robotics

IMG_20130128_152424Today was a good day, as far as Mondays go. The parts for our drive gearbox were picked up from Modern Machine Company. The PTO Shafts, Output Shafts, Intermediate Shafts, and Wheel Shafts (small and medium) were returned. They turned out great! All that is needed to finish assembling the gearboxes are the parts from West Coast Products. Once those parts are received and the gearboxes are assembled, the drivebase will be driveable for the first time.

Cory and Pat worked on getting the new lathe working, which is running, but not currently useable as a main machine.

The season is going well and manufacturing is ahead of schedule. Design, on the other hand, is behind schedule. There will be a design freeze and a Order freeze on Friday. That means the design will be completed by the end of the week and all the known parts needed will be ordered by Friday.

Day #21: Conveyor and Stuff

2013 FRC Build SeasonFIRST Robotics

Conveyor

Today, students worked on the conveyor system. This is the part that will transfer the frisbee from the conveyor to the shooter. The frisbee is pressed into the polycarb, where it gets stuck due to two 30-degree hinges. Students first created an 11 x 11 inch box, then labored over the polycarb to get it just right, and finally unscrewed one of the sides of the square, creating a U shape. 

 

. DSC_0017

DSC_0016

DSC_0018

Day #21: Prototyping & Wiring

2013 FRC Build SeasonFIRST Robotics

Prototyping

Indexing

The intake prototype is taking shape. It is now at a point where it's working and we are almost ready to begin manufacturing. Along with the intake, the mechanism for transferring frisbees to the shooter is also in the process of being prototyped. This indexing mechanism will transfer frisbees from the intake and conveyor to load them up in the shooter. The prototype will use two pneumatic pistons to accomplish this. It doesn't yet work fully, but in terms of a proof of concept, in works fairly well.

DSC_0019

Students building the indexing prototype

Wiring

The robot wiring was worked on today on both the practice bot and the competeition bot. The PWM cables from the Talons were wired and put in place and the relays were wired to the power distribution board.

DSC_0020

Wiring on the drive chassis

Programming

The programmers did more work on control and filters.  They created a "bang-bang" controller; unlike the PID contoller, the bang-bang controller runs the control source until it reaches it goal, and stops once the goal is reached.  They used the control scheme to control the shooter wheel, which worked fairly well (aside from the funny noises of the motors going on and off).  The students also used a Counter instead of an Encoder to represent the encoder sensor, as the period of the encoder can be retrieved to calculate the RPM of the shooter wheel.  Next, they also wrote a moving average filter, which takes in a double as an input and stores it in an array.  The filter would return the average of the inputs as a single output.  This has not yet been used, but it is a good utility to have.

Finally, the programmers prettified the code significantly.  Many Javadoc comments and style-guide-cohering formatting fixes were included in the prettification process.

 

Action Items

  • Finish and test indexing prototype

Lab closing time for the night was 10:00 PM

Day #20: Funneling Intake and Wiring

2013 FRC Build SeasonFIRST Robotics

Intake

Today, many students worked on the funneling intake. We tested many angles, and elevations, to account for the robot in motion. This funneling intake works through 3 steps. First, the frisbee is sucked in to the intake assembly by a roller that spins over/on top of the frisbee. From there, the frisbee is funnelled by two plastic angled "walls" into a smaller chute. From here, a last conveyor moves the frisbee into the conveyor. Today the students worked on varying the distances the rollers were offset from the ground in addition to the angle/placement of the intake funnels. In addition a team branched off and worked on the CAD for a "real life" model, similar to one that would go on the robot with all variables accounted for.

The final decisions for the intake:

  • Funneling walls would be at a 45 degree angle
  • The intake will be symmetrical (no staggering of walls to let one frisbee go in ahead of another)
  • The funnelling walls and extra lexan pieces would all be made out of one piece of lexan (using bends)
  • The back of the intake would rest on the bumpers (students: refer to current CAD in the Sandbox)

DSC_9986

Students test different angles and heights using the wooden prototype

 

cadintake

Students model the intake in Solidworks

Wiring

The students and mentors today worked on the electronics for the two chassis we got back from powdercoating. Currently on both the "practice" and "competition" robots, there are Power Distribution Boards, On/Off switches, Talons (speed controllers) and battery boxes.  The team began wiring the Talons to the power distribution board.

DSC_9993

Chassis with electronics

Programming

The programmers began the day by creating a command to shift the drivebase gearbox from high gear to low gear.  This was done by creating a Solenoid object and switching it on or off with the press of a button.  In addition, the students mapped four buttons on the gamepad (A, B ,X, Y) to the 2012 robot's shooter.  Each of the four buttons, when pressed, sets the shooter wheel at a predetermined speed.  This implementation will be helpful for adjusting shooter wheel speeds on the actual robot this year.

Next, the programmers tried to come up with ways to display a graph of values from a Controller (speed, distance, etc) versus time.  They brainstormed ideas on how to implement this, such as using the Smart Dashboard or a webpage.  Students are looking into Flot, a jQuery library for plotting values on a dynamic graph.  This graph will help with PID tuning and other testing.

Action Items

  • Continue Wiring Robot Chassis
  • Take steps toward a moving drivebase
  • Continue on intake CAD/prototyping - Finalize dimensions

Lab closing time for the night was: 11:59 pm

Day #19: Reconstructed Intake

2013 FRC Build SeasonFIRST Robotics

Prototyping

Intake

Students continued to make modifications to the intake prototype. They scrapped the entire aluminum model because they decided it would be too time inefficient to drill and redrill holes into metal. Instead, the team constructed the front of the robot frame and the intake prototype with wood.  A life-size drawing of the intake arms was printed out and glued onto a wooden block.  Then, the intake arms were cut out with the vertical bandsaw along the traces.

In addition, shafts were manufactured on the lathe for the intake prototype.  The team plans to have the intake mechanism fully designed and tested by Saturday, or Sunday at the latest.

 

Team 254 Blog by Chanan Walia_003

Students assembling an intake prototype with wood

 

At around midnight last night, the team decided to remove the vertical rollers and add a bottom roller.  This resulted in a much simpler two roller design which worked really well.  The front roller is still 25" long, while the back roller is 12" long.  Students also added passive polycarbonate funnels on each side so that the frisbee is in the center by the time it hits the roller.

 

workingintake1

Intake with bottom horizontal roller

 

workingintake2

Intake attached to wooden bumper frame

Meanwhile, students also created a wooden bumper frame out of wood to mount the intake mechanism.  Like the new wooden intake, a wooden frame would allow the team to more easily drill and make modifications to the prototype.

 

woodbumper

Creating wooden bumper frame

Programming

Sensor Testing

The programmers had a very successful day.  They began by bringing in and testing two additional VEX ultrasonic sensors from the VEX lab.  Upon testing, the students found that one of the additional sensors was significantly better than the previous single ultrasonic sensor.  The better sensor can detect surfaces of a distance greater than 12 inches, whereas the old sensor could only detect up to 3 inches.  Though the VEX ultrasonic sensor works when tested with the shooter prototype, the team is still exploring other sensors as ways of detecting the orientation of the frisbee.

 

programming

Testing the three VEX ultrasonic sensors

Control

The programming team traveled upstairs for a group programming session, using one single laptop and a projector.  The students worked together to implement a Controller class and reimplement WPILib's PIDController.  Instead of having multiple threads for each of the controllers, the team created a way to update each controller in one thread.  This was done by making the Controller class and abstract class that held onto a static Vector of Controller objects.  Then, in the constructor of the Controller class, "this" controller would be added to the Vector.  Finally, a method called updateAll() would iterate through the Vector to update all of the controllers.  This was a breakthrough moment for the programmers, as a solution utilizing fewer threads would make the whole process more light-weight.

When this new code was deployed to the 2012 robot Skyfire, no exceptions were thrown and no errors seemed to pop up.  Miraculously, the code worked flawlessly on the first try!

Action Items

  • Continue assembling intake prototype
  • Reimplement and commit state space controller class
  •  Add conveyor to intake prototype for the purpose of constraining the frisbee in all directions.
    • Prevent frisbees from getting stacked once they were through the intake
  • Turn down front roller to 3/8" so that it can be driven with the pneumatic drill
  • Model new intake in Solidworks

Lab closing time for the night was 2:30 AM

Day #18: Powder-Coated Parts

2013 FRC Build SeasonFIRST Robotics

Prototyping

Intake & 2010 Robot

Students continued to develop an intake prototype, now attached to Onslaught, and the intake will be completed as soon as possible. However, due to the arrival of the chassis, students removed Talons from Onslaught to be placed on the new drive chassis. This transfer means that we do not know which robot (Onslaught or Skyfire) that the drivers will practice on, but Onslaught will still be used for testing sensors.

Manufacturing

Today, GIlbert Spray Coat returned the powdercoated chassis a day earlier than expected, and students began working on putting electronics onto the frame, such as the power distribution board, ten Talons each, digital sidecar, the Spike relay, the power switch, and solenoid. Additionally, Pacific Coast Metals returned other anodized parts, such as gearbox plates and spacers.

If the shafts are returned from Modern Machine Company tommorrow, work on assembling the gearboxes will begin. However, there are a few missing parts that still need to be aquired. The 40T gears, shifting dogs, shifter shafts, and a few other parts from West Coast Products are still missing.

The bearing housings were received from Pacific Coast. Mentors and students worked on pushing the bearings into these housings

D7K_3617

The two powdercoated chassis

Programming

Today, the students spent most of the time trying to make a VEX ultrasonic sensor work on an FRC robot, in order to determine the orientation of a Frisbee.  Most of the time was spent debugging the sensor, as the sensor was returning arbitrary and random values.  The programmers discovered that the two port numbers should be switched in the code, which made the ultrasonic sensor work.  However, during testing, the sensor seemed to be able to detect surfaces a maximum distance of around 3 inches away.  This is a problem, as the VEX ultrasonic sensors are designed to be able to detect distances of up to 115 inches away.  The team thinks that interference from the surroundings could possibly affect the sensor's abilities, but more tests and debugging will be done tomorrow to get to the root of the problem.

In addition, a couple of the robotics laptops were transfered to the lab for programming use; however, the nature of the Bellarmine servers prevented work from being done on the laptop.  Currently, the team needs to reinstall the wireless card driver on the laptop.

Action Items

  • Debug and test ultrasonic sensor
  • Continue working on the intake
  • Continue adding electronics to the chassis
  • Continue designing the shooter, climbing mechanism, and intake
  • Start wiring