Re: [Emc-developers] HAL scheduling question

2008-06-03 Thread Bas Laarhoven
Ok, thanks to all for your comments. For now I'll keep the sample rate at 1 ms and see how that behaves.If I'm not satisfied I'll remove the jitter from the output update cycle and see if that improves anything. Cheers, Bas --- Darren Conway wrote: > Hello > > All standard control theory books

Re: [Emc-developers] HAL scheduling question

2008-06-01 Thread Darren Conway
Hello All standard control theory books assume constant sample rates with no jitter. This makes the maths solvable. This consistent treatment in the books may lead to the assumption that jitter is bad. Jitter is noise and noise is never good but is it significant? Probably not so long as

Re: [Emc-developers] HAL scheduling question

2008-06-01 Thread Jon Elson
Bas Laarhoven wrote: > > Ah, thanks John, you made it very clear! So in my situation the input > sampling moment is fixed (at the start of the thread) and only the > update of the output varies with the variations in processing time. You > state this will probably have no noticeable effect, but

Re: [Emc-developers] HAL scheduling question

2008-06-01 Thread John Kasunich
Bas Laarhoven wrote: > Ah, thanks John, you made it very clear! So in my situation the input > sampling moment is fixed (at the start of the thread) and only the > update of the output varies with the variations in processing time. You > state this will probably have no noticeable effect, but a

Re: [Emc-developers] HAL scheduling question

2008-06-01 Thread Bas Laarhoven
John Kasunich wrote: > Bas Laarhoven wrote: > >> A question for a guru who has in depth knowledge of the HAL scheduling >> mechanism: >> >> I'm developing a driver for a my servo motor controller. The interface >> is via a PC parallel port. Only one RT thread is used that processes the >> pos

Re: [Emc-developers] HAL scheduling question

2008-06-01 Thread John Kasunich
Bas Laarhoven wrote: > A question for a guru who has in depth knowledge of the HAL scheduling > mechanism: > > I'm developing a driver for a my servo motor controller. The interface > is via a PC parallel port. Only one RT thread is used that processes the > position feedback from the controlle

[Emc-developers] HAL scheduling question

2008-06-01 Thread Bas Laarhoven
A question for a guru who has in depth knowledge of the HAL scheduling mechanism: I'm developing a driver for a my servo motor controller. The interface is via a PC parallel port. Only one RT thread is used that processes the position feedback from the controller, and calculates the speed signa