Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 3 / 16   >   >>
Aeroengineer
User Rank
Blogger
Re: XY Arm
Aeroengineer   7/22/2014 9:11:34 PM
NO RATINGS
Sorry for the late reply.  I was traveling and prefered to spend the time with the family over being on the computer ;)  I appreciate your thoughts and would love to heare some of your experiences that you had in looking at your machine.

 

As to looking at motors, this actually plays into the cost, size and weight considerations.  If one can use hobby motors, this would open up a lot of doors as well as keep cost low.  Hobby BLDC motors tend to have higher power to weight ratios than other motors, though, there are some other considerations that make them not as desireable. 

 

Once again, thanks for sharing, and I hope that you share more about your experiences.

mikeuk
User Rank
Rookie
XY Arm
mikeuk   7/19/2014 7:23:42 AM
NO RATINGS
I worked on a similar PnP design many years ago, and used a grid to store components, that worked fine.  IMO, you should choose a gantry/carriage design before comparing motors etc.  There's some designs of XY arms where all the motors are static, so the arm is very lightweight. For low volume PnP, the capital cost of the system is more important than speed, so I think steppers+belt are OK (all low-end 3D printers use steppers).

Max The Magnificent
User Rank
Blogger
Re: Any chance offf...
Max The Magnificent   7/14/2014 11:26:56 AM
NO RATINGS
@salbayeng: A couple of good reasons not to do this...

All good points!

Aeroengineer
User Rank
Blogger
re: CS5047 encoder
Aeroengineer   7/13/2014 3:11:45 PM
NO RATINGS
I am familiar with the feedforward terms from when I designed a high cycle fatigue rig for simulating flight loads for composite rotor blades.  It was a hydrauliclly controlled system that used a Delta Motion controller.  That was a fun rig.  I understood the mechanical needs of the rig, but had no clue about the hydraulics.  We hired a company to help us, and they failed miserably.  We ended up learning a lot about hydraulic design and control in a very short time (about 2 months).  The rig ended up being very successful. 

 

We were able to run at just over 1Hz with about 6" deflections on a fully reversing ~1700lb load.  In total there were 4 axis of control and the highest one had 17,000lbs of load.  The limiting factor ended up being that the feedback control was based upon load cells and not displacement.  Because of the mass of the system, this caused it to get unstable at higher speeds of operation.  Unfortuantly my boss would not let me get actuators that had linear encoders in them.  So because he did not want to spend about $2000 more, we ended up spending $20,000+ more because we could not up the cycle rate.

salbayeng
User Rank
Rookie
re: CS5047 encoder
salbayeng   7/13/2014 9:24:46 AM
NO RATINGS
I like to think of it as funnelling down to the end position, if you are aware you are in the top part of the funnel then you need more braking, if you are in the bottom part you need less. 

It's a bit like staying on a glidescope for an ILS landing , as this also funnels you into touchdown. 

The "quasi open loop model " you describe can be integrated into the trapezoidal trajectory. So if you consider that maintaining a target velocity that is some constant value above the measured velocity results in a constant acceleration (and a target velocity below actual results in deceleration). Then you take the trapezoidal trajectory , and add a constant amount to the upslope, and subtract a constant amount from the downslope. So the resultant motor motion (from using the open loop modified trapezoid , without feedback ) will be very close to that required to get the exact move position. Now all the closed loop has to do is mop up the difference. The "model" is basically just accounting for the extra force required to accelerate the mass of the carriage, so the constant offset is proportional to mass and acceleration. You do this all the time when driving and don't notice, you need to squeeze the pedal more when the car is heavier to keep up with the traffic when the lights change.

I would normally call these model terms "feedforward" ,  most of them can be pre-calculated before the move. You can also calculate them on the fly. You might end up with 75%control effort from the feed-forward terms and 25% from closed loop.  The other feedforward model term to add is to shift the aim point slightly, you will find that the control algorithm/ settings that produce the most repeatable, smooth stable trajectories will consistently overshoot or undershoot, so simply shift the aim point temporarily, then when you are almost at the destination, set it back again. No different to aiming a dart high so it hits the bullseye. Expect to use maybe 4 or 5 parameters at most to describe some simple feedforward terms.

Aeroengineer
User Rank
Blogger
re: CS5047 encoder
Aeroengineer   7/13/2014 1:20:27 AM
NO RATINGS
I guess that there is another way than by going completly open loop, and that would be a quasi open loop mode that would rely on a model of the motor and go open loop in velocity, but stay closed loop in the displacement.  In this it would control velocity based upon this model estimating the needs, and then once the move is made, checking with the position side of things to see if the target was hit within a certain accuracy.

David Ashton
User Rank
Blogger
Re: Any chance of...
David Ashton   7/13/2014 12:50:19 AM
NO RATINGS
@Salbayeng, thanks for that very detailed analysis.

Ah well, it was a nice thought :-)

salbayeng
User Rank
Rookie
Re: Any chance of...
salbayeng   7/13/2014 12:44:19 AM
NO RATINGS
@Adam , I saw the hackaday article about a month ago. 

Seemed to me to more difficult than the toner-transfer method, it's only viable if you happen to have a laser cutter/etcher lying around. 

I did a bit of messing around with a 500mW IR laser diode last year, trying to see if I could cut a stencil with it, but it would only melt (not properly vaporise) thin black plastic , wouldn't touch clear mylar :(  

Another mate bought vinyl plotter and uses it as stencil cutter, So I get him to do the one off proto stencils for me. 

Not withstanding all the above, there is no reason not to mount a laser on your PnP machine at some later stage. Although you need to think about laser power and wavelength.

Aeroengineer
User Rank
Blogger
re: CS5047 encoder
Aeroengineer   7/13/2014 12:28:48 AM
NO RATINGS
There is no issue as this chip has both SPI and Quad out.

salbayeng
User Rank
Rookie
re: CS5047 encoder
salbayeng   7/13/2014 12:26:42 AM
NO RATINGS
@Adam. I'm kind of biased to reading the encoder directly from the AS50xx chip, although keeping the quad outputs is beneficial as it allows plug and play with other servo-motors / optical encoders and most motor-controllers.

I've used the LS7366 quadrature to SPI chip, and it's good as it has a 64bit counter , HP also make a 4 channel quad to spi? / parallel chip too.

Typically the controller algorithm would be attempting to force a certain velocity profile as the motor slews to a stop, so if you can force a (14bit) target velocity profile of 256 192 128 64 0 , with an accuracy of 16 counts at each step, this will result in a final worst case position error of 64counts (in 14bits) which gives you 8 bit positioning accuracy. Note that a velocity accuracy of 16 in 64 is a fairly modest requirement. Of course once the carriage has stopped, the velocity is zero, and can't be used for control (it would limit cycle if you tried).

As you have said, one would normally switch to open loop once in position, this means running the motor in "stepper motor" mode, (with a fixed current flowing in all three windings) , normally you would also switch to a lower motor current to let it cool down (1/2 current = 1/4 heat), the problem with a "coggy" motor is that it may move slightly when the current drops.

Another approach is to switch to a low gain position holding algorithm, this is severely limited in torque ability, so that it provides no more than say 75% of the stiction torque, so if the carriage gets bumped enough to unstick it, it will move in the direction that reduces the position error.

<<   <   Page 3 / 16   >   >>


Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Vetinari Clock: Decisions, Decisions, Decisions …
Max Maxfield
32 comments
Things are bouncing merrily along with regard to my uber-cool Vetinari Clock project. The wooden cabinet is being handcrafted by my chum Bob (a master carpenter) using an amazing ...

Jolt Judges and Andrew Binstock

Jolt Awards: The Best Books
Jolt Judges and Andrew Binstock
1 Comment
As we do every year, Dr. Dobb's recognizes the best books of the last 12 months via the Jolt Awards -- our cycle of product awards given out every two months in each of six categories. No ...

Engineering Investigations

Air Conditioner Falls From Window, Still Works
Engineering Investigations
2 comments
It's autumn in New England. The leaves are turning to red, orange, and gold, my roses are in their second bloom, and it's time to remove the air conditioner from the window. On September ...

David Blaza

The Other Tesla
David Blaza
5 comments
I find myself going to Kickstarter and Indiegogo on a regular basis these days because they have become real innovation marketplaces. As far as I'm concerned, this is where a lot of cool ...