Prop Powered Lobotomized Servo Multicontroller: LoboServo Limb Controller
Rayman
Posts: 14,889
Just dissected a "Parallax Standard Servo", now that I'm inspired to make a cool robot.
I think that instead paying extra for a digital servo, I'll use a Prop, a logic chip, and a few mosfets to make an H-bridge driver.
Also, I'll use some delta-sigma to read the pot.· And, maybe I'll add a CVR and do delta-sigma to read the load current.
So, I guess that's 8 pins per servo, but the robot leg I have in mind only has 3 servos.· So,·1 Prop can control a leg.
Anyway, I think I can do a whole lot better than regular servos do by using a Prop chip.· But, is it worth the effort?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Post Edited (Rayman) : 5/20/2010 9:45:43 PM GMT
I think that instead paying extra for a digital servo, I'll use a Prop, a logic chip, and a few mosfets to make an H-bridge driver.
Also, I'll use some delta-sigma to read the pot.· And, maybe I'll add a CVR and do delta-sigma to read the load current.
So, I guess that's 8 pins per servo, but the robot leg I have in mind only has 3 servos.· So,·1 Prop can control a leg.
Anyway, I think I can do a whole lot better than regular servos do by using a Prop chip.· But, is it worth the effort?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Post Edited (Rayman) : 5/20/2010 9:45:43 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
Announcement: To cut costs in the current economic climate, we have switched-off the light at the end of the tunnel.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
If you short out the servo motor it is very difficult to turn, but draws no power.
I see this as a very significant energy savings tactic.· Just turn on both low side switches on your h-bridge and you turn on the brakes.
Here's a photo of my poor Parallax Standand Servo with shorted motor experiment:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Also, I've decided I only need 2 pins to control the H-bridge because there are only 4 states I'm interested in: left, right, open (free), short (brake).
I'm waivering on measuring current... I think I'll skip it since the pot should give enough info to deduce the motor current (or am I wrong?)...
Just measured the "standard" servo's POT and it's 5 kOhms...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
But, here's the real beauty of this idea...
To create perfect animations, you just move the servos into a position you want and the read out the Pot's value for each servo.
Do this for each position in your motion and you then have the Prop move smoothly between these positions...
This is going to allow for some very complex movements to be recorded and played back very easily...
I figure I can control 7 servos using 4 pins each, leaving 4 pins for RS232 and I2C busses with 1 propeller.
7 is enough for a limb of the robot I'm dreaming about...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Model# HX12K
Look pretty good for me on the inside! Really are all metal and have ball bearing on the output.
The circuit board has a PIC microcontroller (going in the trash) with a 6 MHz crystal.
I think I see a 8-pin SOIC H-bridge chip that I'll try to recover.
This is a digital servo, but I'm going to rip out the circuit board and control it remotely with a Prop.
Reviews of the this servo were pretty poor, but I'm hopefull it's a PIC controller issue, not a fundamental hardware issue.
I'm hoping to have a direct Prop controlled servo by UPEW!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
This really depends on how much info you want back from the motors. With just the potentiometer just have position information, and be able to approximate velocity and acceleration from that. Current measurement adds the ability to measure motor torque. Motor torque + a simple predictive system model + position sensing allows the construction of an Observer. (why doesn't Wiki have a block diagram...) One of the more useful things an observer can calculate is the external load on the servo system. i.e. tactile feedback. (more accurately, it will give the sum of any system torques NOT modeled in the observer)
Lawson
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lunch cures all problems! have you had lunch?
I think your way over thinking this, Why reinvent the wheel. I would ditch the old 80's servo technology and move on to something newer. Maybe something with serial commands. This would free up a boat load of I/O pins on the Host controller. I don't mean to sound negative here,Its just that their is a lot of better ways to position a motor.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
want speed!__RIDE THE LIGHTIN__ with PropBaisc___www.propbasic.com__
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
Announcement: To cut costs in the current economic climate, we have switched-off the light at the end of the tunnel.
Lawson:· I may reverse course and put current measurement back in later, but for now, I'll try it this way.
simonl:· You asked for it!· Here's some photos of yesterday's lunchbreak progress:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
just use a ramp-function that slowly steps toward the new end-position instead of setting the endposition immediatly
best regards
Stefan
Probably, a better way to go would be to just reprogram the PIC and make the PWM input a 1-wire type I/O interface instead...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
Announcement: To cut costs in the current economic climate, we have switched-off the light at the end of the tunnel.
So, I'm going to proceed with my remote Prop controlled version. But, I am ordering a PIC programmer kit from Digikey, just in case I decide to take the plunge one day...
Just tested out ADC of the servo's pot with my free expo USB protoboard (thanks Ken!) and it works great.
I put a 1uF cap to the pot's wiper output to stabilize the voltage there and it was rock solid. But now, I'm concerned that 1uF is too big and may cause excessive currents in the pot and decrease it's lifetime. So, I'll probably drop the capacitance and see if it is still stable...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Here's·a diagram and photo of how I'm using 2 Prop Pins and one 74ACT00 logic chip to provide the 5V logic signals to
the H-bridge for 4 states (forward, reverse, free, and brake).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
I've just learned how to program the onboard PIC chip. Actually, compared to 80x86 assembly or even Propeller assembly, PIC assembly programming is fairly simple... But, learning PIC assembly does make one appreciate the Prop a whole lot more!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
But, since it's not strictly a Propeller project, I'm moving further updates over to this thread in the Robotics forum:
http://forums.parallax.com/showthread.php?p=925237
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm