CAD CAM EDM DRO - Yahoo Group Archive

Re: SLO-SYN 12.7 Amp motors

Posted by Jon Elson
on 2000-01-10 16:39:57 UTC
"Harrison, Doug" wrote:

> From: "Harrison, Doug" <dharrison@...>
>
> > -----Original Message-----
> > From: Jon Elson [SMTP:jmelson@...]
> > Sent: Monday, January 10, 2000 3:24 PM
> > To: CAD_CAM_EDM_DRO@onelist.com
> > Subject: Re: [CAD_CAM_EDM_DRO] SLO-SYN 12.7 Amp motors
> >
> >
> > This is a real problem, and not easy to solve with a scheduler that either
> > emits or doesn't emit a step pulse on a fixed interval. Let's build an
> > example.
> > Let's say you need to output 999 steps/sec to achieve the desired feed
> > rate
> > on that axis. let's say that you have the processor interrupted 1000
> > times
> > per second to see whether to output a pulse then. Well, you output a
> > pulse every interval for 500 intervals, skip one interval, and then output
> > 499 more pulses at every interval. That omitted step makes the whole
> > mechanism clunk. This specific example might not make the steppers
> > lose sync, but there are an infinite number of other combinations like
> > this,
> > and some of them most certainly will excite resonances that can cause
> > lost steps.
> >
> The operative word here is interrupt. Software that relies on the
> PC's interrupt system is doomed to a bumpy ride. The closest thing to true
> timing control (short of a dedicated board with its own clock and profiler)
> would be had by addressing the clock chip directly with an assembler
> routine.

Yes, that's exactly how the real time scheduler works on RT Linux. It
takes over the system interrupt clock, and sets the interrupt rate at
whatever rate you need. RT tasks take priority over the OS tasks.

> I believe this is how Doug Yeager's program works. It works well
> too. I ran three axis' simultaneous last night at 15,000 steps/sec and it
> didn't even flinch. This is with a 486.
>
> At least one large CNC control builder has solved the PC profiler
> vs. PC windows interface conflict by going to twin (not parallel)
> processors. One (running under DOS) runs the machine while the other (under
> W95) provides the cute and fuzzy windows graphical interface we all want.
> When you consider how cheap motherboards are, and how powerful the PC is
> when you leave the video out, this seems like a good approach.

Yup, that is really the way to go. But, I don't think the RT Linux environment
would support that. Of course, an off-the-motherboard CPU could do
this, and no OS is really needed, just the RT scheduler and some I/O
management routines. I know some proprietary motion control boards
work this way.

Jon

Discussion Thread

Charles Hopkins 2000-01-09 16:48:51 UTC SLO-SYN 12.7 Amp motors Darrell 2000-01-10 00:04:09 UTC Re: SLO-SYN 12.7 Amp motors Dan Mauch 2000-01-10 08:20:40 UTC Re: SLO-SYN 12.7 Amp motors Matt Shaver 2000-01-10 10:50:52 UTC Re: SLO-SYN 12.7 Amp motors Darrell 2000-01-10 11:21:33 UTC Re: SLO-SYN 12.7 Amp motors Jon Elson 2000-01-10 12:23:51 UTC Re: SLO-SYN 12.7 Amp motors Darrell 2000-01-10 12:43:02 UTC Re: SLO-SYN 12.7 Amp motors Harrison, Doug 2000-01-10 13:24:06 UTC RE: SLO-SYN 12.7 Amp motors Jon Elson 2000-01-10 16:39:57 UTC Re: SLO-SYN 12.7 Amp motors Matt Shaver 2000-01-10 17:53:53 UTC Re: SLO-SYN 12.7 Amp motors Harrison, Doug 2000-01-10 18:10:24 UTC RE: SLO-SYN 12.7 Amp motors Les Watts 2000-01-10 20:29:23 UTC Re: SLO-SYN 12.7 Amp motors Jon Elson 2000-01-10 23:21:26 UTC Re: SLO-SYN 12.7 Amp motors Jim Fackert 2000-01-10 15:43:57 UTC Re: SLO-SYN 12.7 Amp motors tyler@g... 2000-01-11 09:48:30 UTC Re: SLO-SYN 12.7 Amp motors Jon Elson 2000-01-11 12:16:58 UTC Re: Re: SLO-SYN 12.7 Amp motors Harrison, Doug 2000-01-11 12:21:53 UTC RE: SLO-SYN 12.7 Amp motors