Re: stepper-servo system
Posted by
ballendo
on 2006-07-31 23:56:20 UTC
Hello,
Propellor has a 20Mhz crystal--or internal osc that is x4 for 80mhz,
Most instructions are two clocks, for 40MIPS.
Keep in mind that this is a PARALLEL processor, with 8 "cogs" running
at this rate! Memory can be an issue, as was brought up originally,
but IMO this chip is "smokin"!
(Seems a bit expensive, and the SPIN programming language is still
getting sorted out; but this one's MADE for our kinda stuff IMO.)
The SPIN topology is aimed at reusable modules of code that you'll
simply string together... (Some of the promised modules look pretty
interesting)
It was covered for three months running in recent Nuts and Volts mags.
Hope this helps,
Ballendo
--- In CAD_CAM_EDM_DRO@yahoogroups.com, Thomas J Powderly <tomp-
tag@...> wrote:
Propellor has a 20Mhz crystal--or internal osc that is x4 for 80mhz,
Most instructions are two clocks, for 40MIPS.
Keep in mind that this is a PARALLEL processor, with 8 "cogs" running
at this rate! Memory can be an issue, as was brought up originally,
but IMO this chip is "smokin"!
(Seems a bit expensive, and the SPIN programming language is still
getting sorted out; but this one's MADE for our kinda stuff IMO.)
The SPIN topology is aimed at reusable modules of code that you'll
simply string together... (Some of the promised modules look pretty
interesting)
It was covered for three months running in recent Nuts and Volts mags.
Hope this helps,
Ballendo
--- In CAD_CAM_EDM_DRO@yahoogroups.com, Thomas J Powderly <tomp-
tag@...> wrote:
>( 20mHz ) and clumsy loops.
> Graham,
>
> Â I'm interested in your EDM work.
>
> Â What is the instruction cycle time on the propeller?
> Â My work with 1656/7 pics as edm osc's were choked by slow clocks
> Âfor off )
> Â How many cycles to 'normal' instructions?
> Â This determines the max oscillator freq.
> Â But you may want 2 cpu's clocking each other ( one for on, one
>condition..
> Â Or you may be looking at a dynamic offtime based on gap
> Â Something like Iso-energetic pulses where the on time is precededby a process dependant voltage
> ( the sequence is: wait for the gap to allow a high-ish voltage(say 90 to 120 V=)
> Â wait for the high-ish voltage to drop into the discharge zone (say 35 to 28V=)
> Â then begin decrementing the 'on-time'velocity of position loop.
> Â then begin decrementing the off time,
> Â repeat 4ever )
>
> Now for your 'stepper in a servo loop',
> I think you mean to control a stepper motor by the process, not a
> I dont know of public algorithms, but there has been work done.average gap voltage into 3 classes,
> A hardware system I've used had 2 thresholds, which evaluated
> open, cutting, bad. ( A window comparator )amplifier's DIR signal, and enable the Step input )
>
> Open conditions allowed forward pulses ( changed state of
> Â The 'velocity' was proportional to the difference between adesired target voltage ( say 30V )
> Â and the actual average gap voltage ( say 28V ) , this gives a +2error.
> Â The proportion is determined by (Err / Range) * GainElectricalDischargeMachining
>
> Good conditions were a null point in the control system.
> The Step line is disabled ( or just not en-abled).
> No motion is desired when the cut has no error.
> Â Just wait a few pulses and it'll shift off this nullpunkt :-)
>
> Bad conditions changed the sense of the amplifier's DIR line.
> Â A separate gain can be used for 'running away'
>
> I wrote up an Eagle circuit for the EMC group
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?
> it's a gap sensor with gap-error out, with 0 to 5 V signal (where2.5 is null, 0 is runaway & 5 is charge! )
> So it's all analog, you'd have to add the window comaprator to getthe 3 state output ( fwd,wait,bwd).
> and some oscillator that output STEP pulses porportional to theERROR size would be needed.
>working system.
> I used a higher gain on runaway than for the infeed ( safer )
> You may even add another rate device for a 'jump'
>
> keep in touch with your progress.
>
> oh, and the guys at Heidenhain suggested a low pass filter at 500Hz,
> they said just chuck anything over that!
>
> If you use a dual trace scope with 1 on the sensor output
> and the other on the process, you can evaluate the circuit on a
> At this time the circuit is merely evaluating, not commanding anymotors.
> It's leeching off the working system.running system,
>
> By hooking the steppers up with no electrode, but driven by a
> and you previously tested sense circuit...screwdriver into the gap
> you can evaluate the motor response ( I like to stick a junk
> at this point to see how quick the system can react! Very effectand very practical.)
> These motor's are just 'pupetting' ,just reacting.the power leads
>
> Last to close the loop, attach the electrode to you system, move
> over to your tool and try cutting. :-)
> Leave the motor to leadscrew connection exposed ( belt or coupler)
> It's motion is more informative than a scope!
> Nervous but progressing is good. Sluggish is bad. Buzzing is bad.
>
> regards
> TomP
> tAG
>
Discussion Thread
Graham Stabler
2006-07-31 06:46:24 UTC
stepper-servo system
Alan Marconett
2006-07-31 09:00:48 UTC
RE: [CAD_CAM_EDM_DRO] stepper-servo system
Graham Stabler
2006-07-31 09:26:49 UTC
Re: stepper-servo system
Alan Marconett
2006-07-31 10:19:41 UTC
RE: [CAD_CAM_EDM_DRO] Re: stepper-servo system
Thomas J Powderly
2006-07-31 18:16:30 UTC
Re: stepper-servo system
ballendo
2006-07-31 23:56:20 UTC
Re: stepper-servo system
Graham Stabler
2006-08-01 01:45:37 UTC
Re: stepper-servo system
caudlet
2006-08-01 04:54:05 UTC
Re: stepper-servo system
ballendo
2006-08-01 05:23:42 UTC
Re: stepper-servo system
ballendo
2006-08-01 05:40:52 UTC
propeller corrections was Re: stepper-servo system
Thomas J Powderly
2006-08-01 19:41:12 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 01:33:17 UTC
Re: stepper-servo system
caudlet
2006-08-02 09:46:48 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 10:40:37 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 10:42:40 UTC
Re: stepper-servo system
turbulatordude
2006-08-02 11:16:15 UTC
Re: stepper-servo system
caudlet
2006-08-02 13:02:21 UTC
Re: stepper-servo system
turbulatordude
2006-08-02 13:34:41 UTC
Re: stepper-servo system
John Dammeyer
2006-08-02 13:46:33 UTC
RE: [CAD_CAM_EDM_DRO] Re: stepper-servo system
turbulatordude
2006-08-02 14:05:33 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 16:33:42 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 16:39:55 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 16:41:08 UTC
Re: stepper-servo system
Graham Stabler
2006-08-02 16:46:05 UTC
Re: stepper-servo system