Shop OBEX P1 Docs P2 Docs Learn Events
Next large robot - Page 5 — Parallax Forums

Next large robot

1235737

Comments

  • tobdectobdec Posts: 267
    edited 2012-07-09 04:33
    Hey Diverbob....can I borrow EVERYTHING in your workshop? In all seriousness you have an amazing project going here keep it up!
  • Kevin CookKevin Cook Posts: 159
    edited 2012-07-09 10:13
    Looks like some good progress, nice pictures thanks for the update!
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-14 08:29
    Finally got almost all the parts I need for the main power distribution system. Unfortunatly they won't all fit inside the assembly I constructed. After a couple of days thinking about it I came up with a relatively simple modification to the assembly that should not only give me the room i need but also be easier to make future modifications. I'm updating the CAD files this morning and plan on cutting the parts later today. Then I can finally start actual wiring! This was a wrong turn but easily correctable.
    I was able to borrow a Molex crimper so that saves some money, I thought I had one but it was for smaller connectors. I'll post some photos after the weekends work is ready, the camera is downstairs ready to document everything.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-15 18:54
    It was a busy weekend, started wiring and finding out all the wire and terminals that I thought I had were either not enough of them or thy were the wrong size! I made 3 trips to the local hardware store just because I wasn't thinking far enough ahead to get everything on one trip.

    Saturday I got all the new panel pieces milled and fitted. Made some new brackets for the panels and drilled some new holes in the robots base plate for the battery housing and power distribution housing. After a break this morning for a nice fresh water quarry dive with some friends it was time to actually start wiring things together. I had made up a wiring diagram which I loosely followed and did the distribution power and then the relay control circuit with a key interlock and power switch for the main power relay.

    I still need to wire up the computer power distribution but it is almost identical to the motor distribution layout. The rest of my parts should arrive Monday so I'll be able to install the relays and test the system with the battery installed. I have to return the borrowed Molex crimper, need to get one of my own!

    I took photos but since there isn't much to see except for a mess of wires (I want to neaten up the rats nest!) I'll wait for a couple of days before I post them so I'll have something that makes sense.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-20 19:25
    The motor wiring for one leg is done and tested. The power plug panel on the motor controller assembly has been mounted also. I made up power cables to the motors using in line fuses to provide some additional protection. Tomorrow I'll be soldering plugs on the potentiometers and microswitches. This will simplify setting up the leg computer.

    I changed my mind on the power distribution again! I started to worry about the impact of induced voltages in the computer power system so I'm going to put the computer power distribution separate from the motor distribution. Between that and several large caps, should keep voltage fluctuations to a minimum.

    Speaking of the computers, so far I haven't seen or heard of any Prop boards that uses 8 channel ADC. Unless someone knows of one out there I'll have to design and build my own. Now I just need to find the time!mostq of the boards I design tend to be 4 layers with as small a SMT devices as I can find. I like to see how small I can get the circuit boards.....

    Bob
  • PublisonPublison Posts: 12,366
    edited 2012-07-21 06:00
    DiverBob wrote: »

    Speaking of the computers, so far I haven't seen or heard of any Prop boards that uses 8 channel ADC. Unless someone knows of one out there I'll have to design and build my own. Now I just need to find the time!mostq of the boards I design tend to be 4 layers with as small a SMT devices as I can find. I like to see how small I can get the circuit boards.....

    Bob

    Off the top of my head, the Eddie Control Board comes to mind. It has an eight channel A/D, but one channel is used for the Battery Sense line.

    Jim
  • PublisonPublison Posts: 12,366
    edited 2012-07-21 07:00
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-21 14:14
    Publison wrote: »
    That looks very promising! It has most everything I was thinking of putting on a board already there. It's always better to use something already out there, it usually works and building your own is always more expensive than you estimate! The Eddie board is nice but is over kill for my needs, also I'll be running one prop per leg, at $250 apiece that would take a lot longer to save up for....

    Taking a break to fill scuba tanks for tomorrows dive. I've been working on the wiring from the sensors to the computer. I'm ready to start soldering that next.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-23 19:09
    Here are the promised photos for current status.
    This photo is the center of the base plate and shows the mounting brackets for the power distribution panels. There will be matching blocks on the underside of the top plate. I also drilled a 1 inch hole in the center of the plate for passing the battery and switch wiring through.
    Power distribution panel mounting.jpg

    These are the four distribution panels. Originally I wanted to put the motor and computer distribution in here but I'm worried about induced voltages in the computer power so I removed the computer power plugs and terminal strips. I'll mount those outside of this setup.
    Power distribution panels populated.jpg

    This shows how the power panels slide onto the mounting blocks and are held together by some brass straps.
    Rev 1 Main power distribution.jpg

    This was taken while I was testing the distribution system electrically, it worked the first time!
    Testing main power distribution.jpg

    This is the motor controller assembly fully wired and the connector plate installed.
    Motor controller assembly wiring.jpg

    This is the box for the motor battery. This is mounted underneath the main base plate making it easy to change batteries. I also have enough space to add another 26 amp-hr battery if needed by using longer corner posts
    Complete battery box.jpg

    This shows the power distribution control switches. The key switch is the master control and the other switches are for the motor and computer supplies. These are mounted on the side of the battery box which may not be easily reachable in the event of an emergency so I'll probably add another more easily accessible switch for programming and testing the software in case things get out of hand!
    Main power control switches.jpg

    Tonight I finished soldering cable disconnects and pins for the various sensors and switches on the leg. I'm ready to start plugging things into the Quick Start breadboard. I'll test each sensor as it's added to avoid wiring issues and make it easier to troubleshoot if something stops working after adding a new sensor. This is going to take some time but I'm excited to finally be at this stage. I'm taking a weeks vacation in August to work on the software and start machining other leg parts. I'll have to see how much I can accomplish before the Norwalk Prop Expo. It won't be walking but the test leg should be moving on its own! I still need to get 15 more HB25 motor controllers before I can power up other legs (I'm watching for Parallax sales!)

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-28 20:13
    Got all the motors connected and the sensors hooked up and tested. Only ran into a couple of wiring errors that took some time to figure out. One problem was that apparently one channel on the MCP3208 ADC wasn't working right so that really took a lot of time to figure out. I kept asuming it was my programming since I'd checked the wiring several times and verified signals with a multimeter.

    Yesterday night was spent calibrating the Femur and Tibia motor and creating a table of position values. The motor routines work very well and will be a good basis for the kinematics work later.

    Tonight I was working on the Coxa calibration which turned out to be a lot harder than the other two axis. I finally determined that the precision pot I'm using on the Coxa is very linear so I'm just using the slope of the line to calculate the position. At least that is the plan, in reality the programming thinking cap isn't cooperating tonight. It just wants to slam the leg to one extreme or the other. This is definately a programming problem and it's to late to figure it out now. I'm diving in the morning and will get back to it in the afternoon, things should be clearer then!

    Another thing I've decided to change is the Coxa limit switch. I currently have just one limit switch that activates when the leg swivels 60 degrees either direction from the centerline. Programming a single limit switch isn't working out so well, I am adding in so many conditions it detracts from the code. The problem is that if the Switch is tripped then you stop the motor but how do you tell it that its ok to run the other direction? Ive tried Reading the ADC to see which direction its gone but that seems excessive. Ill give it one more go and if that doesn't work I'm going to design a new setup with separate limit switches for each direction. That will be a lot simpler to program and troubleshoot.

    Parts came in from McMaster Carr, I don't think there is much they don't carry. Assuming I figure out the Coxa program, I'll be writing the 'let's see what breaks if I run it for a long time' test. That should be fun to watch!

    Bob
  • ercoerco Posts: 20,257
    edited 2012-07-29 07:15
    Herculean effort, Bob! Beautiful work, you are really setting the standard for construction and documentation! My only comment is to keep an eye on the overall weight, all those beautiful "lightweight" parts add up surprisingly fast. :)
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-29 12:16
    With each actuator capable of moving 110 lbs, weight hasn't been a big concern! I've found some other 12v linear actuators capable of 250 lbs and a speed of 2 inches per second... A little pricy but they would fit with a little modification. I'm still heading to stay under the target weight of 170 lbs. I mainly want to see what the overall speed will end up as when this is walking, I'd like something faster than 'lumbering' and slower than out of control.

    Back from my dive, all refreshed and ready to get back to troubleshooting the programming. At this point there isn't much to show by way of photos but I will run video of the stress test later. The only photos at this point is of the rats nest of signal wires into the breadboard!

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-07-29 19:26
    Back into the programming! With a fresh start today I figured out where my problems were and got the coxa routine completed and working. Now I'm adding in additional code for it to react to impacts to the leg when its moving. That's turning out to be trickier than I initially thought but I'll power my way through it. I also need to add the limit switch on the coxa, I thought up another idea that just might work....

    Here is a photo of the breadboard setup, pretty messy right now. Lots of IO plugged in along the top for the prop to handle. I may try to run 2 legs per prop board but I'm limited due to the number of IO that each leg requires.

    Breadboarding leg sensors.jpg
    1024 x 575 - 119K
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-01 14:05
    Got the Coxa motor program routine running so started programming the stress test. I started with running the Femur motor up and down 20 times without an issue. The next test was the same thing with the Coxa motor, after several back and forth passes it started to hesitate while moving. I determined that one of the gears was slipping on the shaft. Took the reduction gear apart, preened the gear shaft, press fitted the gear back on. No more slippage but got some other unexpected movements. This time the gear shaft had popped out of the bushing causing problems. So the gear reduction was disassembled again but I can't get one of the gears to come off the shaft. Next step is to drill the shaft out and make a new shaft. I'll see about ordering some additional gears anyway, they'll be put to good use!

    The stress test is being successful in finding design weaknesses! As I was playing around I discovered there are positions that the tibia motor can't get to its full extension depending on the Femur position. This is occurs when the Femur is fully extended, there isn't room for the tibia to kick all the way out. I'm not sure there is an answer for this, I may just have to program around that condition.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-05 21:06
    This was the first day of my 'stay'-cation! Got a lot done on the motor controller assemblies. Machined all the parts for the assembly, the only thing left is to tap some holes and put all the parts together.

    Depending on when my gear order shows up, the next step is to drill out the old shaft and machine a new, longer shaft. I'm also going to machine the Coxa motor housing assemblies since those are not going to change either.

    Hopefully the later half of the week I will be able to concentrate on programming and start playing with some Inverse Kinematics routines.

    I'm still taking photos and videos of the process, I'll have to edit the videos into something that makes sense and get that posted. Luckily I have a very understanding wife who lets me spend a lot of time on this (it doesn't hurt that the Olympics are keeping her occupied too!).

    Bob Sweeney
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-06 21:51
    Here is a video link for the last couple of days of work. Finished up the assembly of the motor controller modules and mounted them on the base plate. The plate that looked so large before is getting pretty crowded!

    Starting machining of the leg swing motor assemblies in the morning.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-07 12:34
    Here is a video of today's work, machining the upper coxa motor assembly mounts. These are used as the pivot points for the leg and are bolted directly to the hexapod body. These videos and photos show the basic processes used for each assembly. I'm continuing to document the build process, it also helps me keep every thing straight and keeps me motivated! I also got a replacement bolt for the leg down sensor; the bolt is increasing in size from a 1/4 to 3/8 diameter and is a hardened steel that should resist bending. There will be a bit of modification to the housing to accomodate the bolt also.

    Since I got my gears in the mail I'm going to fix the gear reduction on the Coxa. That will be after a break for racquetball and a bike ride. So tonight will be working on the lathe for a while.

    Bob
  • photomankcphotomankc Posts: 943
    edited 2012-08-08 11:21
    God I cringe watching it work that close to the sides of the vice!


    Nice videos. Love watching that machine of yours work.
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-08 13:28
    I got a surprise today when I started to work with the new gears when I found the 12 tooth gears I ordered have transformed into 18 tooth gears! I verified that I ordered them correctly, they must have pulled from the wrong bin.. I called the company about shipping out the right ones and shipping the wrong ones back.... With that little setback changing my plans, I salvaged the old gear from the bad shaft and spent a lot of time making a new shaft. Just got done installing it, so re-calibrating the Coxa settings tonight instead of machining

    No photos today, a lot of tear down, manual lathe work and then putting it all back together again. Tomorrow I want to make the other reduction gear housings, that will put the mill to good use!

    I usually try to stay further away from the vise jaws but I was getting to much vibration that was showing up in the finish. I almost always 'air' cut and single step the first round of any part to verify that I don't get unexpected crashes. It doesn't always work, the top of the vise has several gouges from incorrect cutter length compensation. Luckily jaws are replaceable!

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-09 20:03
    Another day gone by and a little bit more done. First thing was CAD work on the reduction gear setup. That was converted to G-code and verified. Once that was done, material was loaded into the mill for cutting. Everything went as expected and a new motor mount was completed. I disassembled the old motor mount and put in the replacement. This exposed a problem with the gear shaft so back to the lathe! After two attempts and several tweaks to the design, I finally got a shaft that works. That pretty much took up most of the day.

    Tomorrow will be milling the rest of the mounting plates, side panels and worst of all, tapping 6 times 16 holes in the plates. That will make for a full day! Since its supposed to rain all day I shouldn't get distracted too much!

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-10 20:58
    Productive day, all the parts for the Coxa assemblies have been milled out. I have some cleanup work on some of the pieces to do yet and still have a lot more hand tapping to do. I finished one assembly and test fit it together and every thing fits without 'tweaking'!

    I should finish the tapping tomorrow and put all the assemblies on the base of the robot. It should start to look like something then. Once I get the test leg reassembled I'll get back to the programming and initial stress test completion.

    It's late but I'll have more video and photos soon. I'm spending too much time in the basement and little time on the computer prepping the camera files. I'll make sure to set aside some time later this weekend.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-11 21:06
    Here is a video of the Coxa assembly; finishing machining of parts and then assembly into the Coxa assemblies. I still have one more assembly to hand tap, my arm was getting too sore to finish today. Ran out of time to put the test leg reduction gear assembly back together, will do that tomorrow after diving. Once that is together then calibrating the Coxa assembly and continue the stress testing.

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-12 17:54
    Here is a 2 part video walk through of the current status of the hexapod. These show the assembled parts on the hexapod.

    Part 1

    [video=youtube_share;9FJCgwOeWew]

    Part 2

    [video=youtube_share;9g8ReFSBoLY]

    This completes most of the mechanical work I expected to finish before the Aug 25 Expo. The only remaining mechanical parts I want to finish will be the force sensor housing modifications and the attachment points for the housing.

    Today was a diving day (2 dives in Lake Michigan, 50 degree water to wake you up!) so didn't get much completed today. I have the reduction gear assembly to put back together then the coxa can be calibrated again for testing. Planning on continuing testing the various joints to see any weaknesses. I've already found several screws that want to unscrew themselves, replacing those with lock screws. I have to keep everything tight to minimize side to side flexing which could cause linkages to bend and throw out the alignment.

    Vacation is over, back to work tomorrow to support my habit! 3 weeks until my next vacation! (That's a week of shipwreck diving with our diving club)

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-20 17:58
    Last weekend before the Expo! Got lots of work done, finished the modifications to the knee housing that contains the force and leg down sensors. This seems to work OK under program control but I found when swinging the leg side to side there is enough inertia in the lower leg portion to briefly register as an impact. This causes the swing to stop prematurely. There are a couple of potential solutions to this problem. First, I could use a heavier duty spring which would resist the tendency of the lower leg to impact on the force sensor with the drawback that it would take more weight to set off the leg down sensor. The other option is to add another o-ring to the bottom of the knee housing that would resist the leg from moving from side to side. I'm going to try option 2 first (after the expo, not enough time to get that up and running just yet).

    I am continuing to study Inverse Kinematics and I am starting to get a handle on the concepts. The only thing that is still eluding me is how to determine what location the leg tip should be at. Since Inverse Kinematics gives the needed angles for the 3 motors to move the femur, tibia and coxa to a specific x, y, z position, how is that x, y, z position determined in the first place? It seems that it is coming from the gait generation but I just don't get it yet. Time for some more studying! I've downloaded and printed several Inverse Kinematics documents and source codes and hopefully something in there will finally make sense to me.

    Looking forward to the expo next weekend, will be arriving Friday at the Best Western in Norwalk. Hope to see lots of you there!

    Bob
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-24 15:26
    Made it to Norwalk for the Propellor Expo, everything in the car seems to have survived the trip! I had to disconnect the test leg in order to get it out of the basement so the first order of business will be re-connecting everything tomorrow morning and then testing.

    Looking forward to seeing everyone again and maybe some new faces. Stop by and say hi!

    Bob Sweeney
  • Roger LeeRoger Lee Posts: 339
    edited 2012-08-24 15:53
    That brings up a couple of questions:

    1) Why did you have to disconnect the leg? Size, Weigh t(mass), or Other?

    2) Will it be able to walk out on its own with all six legs installed?

    Just curious. I could wait and ask you in person in about half an hour.
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-25 04:44
    Roger Lee wrote: »
    That brings up a couple of questions:

    1) Why did you have to disconnect the leg? Size, Weigh t(mass), or Other?

    2) Will it be able to walk out on its own with all six legs installed?

    Just curious. I could wait and ask you in person in about half an hour.

    The size and weight made it awkward to carry up the basement stairs and for strapping it down in the SUV so it wouldnt roll around.

    Eventually it should be able to climb the stairs and get into the back of the SUV on its own! But that's a long way off yet...

    Time to head over to the Expo!

    Bob
  • doggiedocdoggiedoc Posts: 2,245
    edited 2012-08-25 05:02
    DiverBob wrote: »
    ...Eventually it should be able to climb the stairs and get into the back of the SUV on its own! But that's a long way off yet...
    I'm eager to see the video when that comes to fruition!

    Paul
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-25 11:35
    doggiedoc wrote: »
    I'm eager to see the video when that comes to fruition!

    Paul

    So am I!
  • DiverBobDiverBob Posts: 1,113
    edited 2012-08-25 18:11
    Finished up a fun day at UPENE. It was great to see familiar faces and meet some new folks. Lots of interesting projects and discussions with like minded people. I really look forward to next years get together!

    The Hexapod performed fairly well, initially had problems with the tibia motor, it wouldn't respond at all. Finally moved the signal wire from P12 to P13 and all was well again. I don't know if this means the I/O pin is bad or not, some additional testing will be required. Since the calibration for the Coxa isn't quite set properly I didn't run any of the continuous running programs and instead just manually ran each motor using push buttons.

    It's back to work again next week, fixing the impact sensor housing design, looking into making the leg section .5" wider. Lots of work ahead! It may be time to take a break and jump into the anodizing for a change of pace. Something new to learn and experiment with....

    Bob
Sign In or Register to comment.