|
Posted by BobH on January 19, 2010, 1:03 pm
Joe Pfeiffer wrote:
>
>> Joe Pfeiffer wrote:
>>> A *lot* more, and you've still got the sensor problem. That parallel
>>> USB adapter still seems a better bet....
>> I have used the FTDI chips and associated driver to do parallel
>> I/O. The latency for USB scheduling and transmission means that 1mS is
>> as fast as it could get and around 3mS is what I have observed. The
>> platform that I was running under was windows xp, but I doubt that
>> makes a lot of difference in the scheduling latency. 480 mBit/second
>> USB II still only ships a frame per millisecond. This much latency
>> would be fine for whisker sensors, but you could not close a servo
>> loop for motion control with it.
>> I have messed with the Microtic router boards. They have a compact PCI
>> board interface for up to 3 boards. That seems like the path for I/O
>> to me.
>
> I can't imagine trying to close a servo loop with a processor running a
> "real" OS (Linux, XP, or anything else worthy of the name), no matter
> what hardware was doing the details of control and sensing. Things like
> that are what $1 specialized MCUs are for.
Joe, I wasn't commenting on the sanity of using a standard OS for
running a servo loop. I agree completely with your comment on that. I
was commenting on the long and variable latency that I/O done over USB
gets. Measurement data in + control data out could not happen in less
than 2 mS, even with no scheduling or calculation latency.
There are certainly plenty of things that this would not be a problem
for, but it is a limitation.
Regards,
BobH
|
> of $1 MCU's can provide a very flexible and cost effective control
> platform for robotics.
> -Wayne