NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Hardware Computer Why not USB? (again)

Welcome, Guest
Username: Password: Remember me

TOPIC: Why not USB? (again)

Re:Why not USB? (again) 05 Okt 2011 14:51 #13689

  • kostas
  • kostas's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Karma: 3
jmelson wrote:
Intel just released the D525MW, a compact Atom board with a parallel port on the rear panel, even
more convenient that the D510MO with the parport on a header.

Just for the record, I'm using an Intel D425KT with a parallel port, which I think is still in production. Very nice board with low latency jitter values.

Btw, having jumped from the parallel port's software stepping to an FPGA hardware solution with closed pid loop, I'm sure I don't want to go back again. Closed loop is probably the top of the features that most people should value and use EMC for.
I also think (and this is probably an overstatement, but just to make my point here) that USB is a piece of crap for pretty much everything except keyboards and mice.
So, from my perspective, I'm pretty happy that EMC's developers make things this way and not Mach's way.
The administrator has disabled public write access.

Re:Why not USB? (again) 06 Okt 2011 07:01 #13706

  • kate
  • kate's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 2
jmelson wrote:
kate wrote:

I understand, i just tried to say that USB interface would benefit 90% of users and there is no technical reason why it could not work.
No, over and over we state that there ARE technical reasons why USB will not work. It is because
USB does not allow round trip operations to a single device in a frame, and that it is a deep
hardware feature of the USB chips, and therefore can't be overridden by software.
And over and over, 90% of use cases that uses open loop stepper motors does not need this round trip
because they are open loop. I have all time admitted that in these use cases where closed loop 50us loop
is required USB does not work. This is just limit that should be accepted when choosing technology.
In similar manner, it is not possible to get as much speed and force with steppers that you could get with servomotors.
Used technology should be selected use case basis and in most use cases steppers and USB are working choice.
What you are asking for is to turn EMC into Mach, and the developers have a number of reasons
not to do so. If you want to run open-loop stepper drives via software step generation, Mach
certainly works for the general case. Why do we need to duplicate what they already do?

Once again over and over, i have never even proposed removal any existing features from EMC, just
proposed one new, USB interface that can be used with steppers. I expect that 90% of emc users
uses it just as Mach, controlling open loop stepper controlled mill, plasma or lathe.
Why then have stepper interface at all if is just duplicating Mach ?

There is many other reasons to use EMC and not Mach. To me, EMC is GREAT software, i love it
and great thanks to developer. I am currently using it with open loop steppers with mill.
I chose EMC over Mach because I wanted Linux based FOSS software that i can manage and
tailor as i like.
very difficult
to find any more compact PC mother boards that even have the printer port
Intel just released the D525MW, a compact Atom board with a parallel port on the rear panel, even
more convenient that the D510MO with the parport on a header. The D525MW also has a
PCI (not PCIe) slot where you can plug in an additional parallel port if needed. A complete
system can be built for about $200, if you just want the board to put into a control cabinet,
you can do it even cheaper.

So, the argument that the parallel port is unobtainable is just not true.
I dot not say unobtainable, i just said that it becomes more and more difficult to obtain and
selection becomes smaller and smaller. Very difficult != unobtainable, Very difficult == very difficult to obtain

Kate
The administrator has disabled public write access.

Re:Why not USB? (again) 06 Okt 2011 07:18 #13707

  • kate
  • kate's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 2
kostas wrote:
jmelson wrote:
Intel just released the D525MW, a compact Atom board with a parallel port on the rear panel, even
more convenient that the D510MO with the parport on a header.

Just for the record, I'm using an Intel D425KT with a parallel port, which I think is still in production. Very nice board with low latency jitter values.

I succeeded to find VIA CPU based Travia C134, small compact box with parallel port. It just happened to have single core CPU without LAPIC and i needed to recompile kernel, rtai and emc from Live CD. I noticed that this was very common case because it was on FAQ but about no-one of basic users were able to do it.
Btw, having jumped from the parallel port's software stepping to an FPGA hardware solution with closed pid loop, I'm sure I don't want to go back again. Closed loop is probably the top of the features that most people should value and use EMC for.
I also think (and this is probably an overstatement, but just to make my point here) that USB is a piece of crap for pretty much everything except keyboards and mice.
So, from my perspective, I'm pretty happy that EMC's developers make things this way and not Mach's way.

What i have been looking, i estimate than more than 90% is running with steppers, so open loop. Closed loop is great thing in places where it is needed but when interface is open loop steppers, it is simply not needed. So, i value it as closed loop as a great feature that really gives more value in certain use cases but it just happens that my use case or use case of 90% of EMC users just does not need it. I still don't propose it's removal, it is important feature even it not needed in every use case.

I hope having some day BLDC servos replacing steppers. I would get more speed and torque. There is no technical reason why USB could not be used with BLDC when 50us servo PID loop is running on microcontroller, just similar way that it runs on brushed DC servo controller. Only difference is that pid loop runs with position mode, not speed mode, When input to controller is position command coming from 1ms loop, USB is enough fast .

Kate
The administrator has disabled public write access.

Re:Why not USB? (again) 06 Okt 2011 08:55 #13710

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
kate wrote:
Used technology should be selected use case basis and in most use cases steppers and USB are working choice.
FWIW I agree with this, and feel that EMC2 wouldn't necessarily lose anything by supporting (for example) SmoothStepper.
Someone has actually created a CNC machine using the Mesa 7i43 in USB mode, I am not sure how well it works in practice.
When input to controller is position command coming from 1ms loop, USB is enough fast .
I am not sure that this is necessarily true, though.
The motion commands are sent to the hardware on the assumption that very nearly exactly 1ms later there will be another update. The acceleration and deceleration curves rely on this. I think that USB is allowed a worst-case latency of 4mS (but might be wrong). To an extent you can compensate with buffering the position commands, but I am not sure how you recover the buffer. I suppose running a few % fast might be allowable assuming that the long-latency packets are rare.
Sending the axis positions direct to a driver in HAL seems emminently doable, and is certainly no worse than using a step-dir servo drive. I don't think that sending the positions back to close the loop would work too well, as the data might get quite stale.

However, compared to using a realtime-friendly PCI card, using a USB-connnected uC seems like re-inventing the wheel, but giving it 4 corners in the process. (Note that the SmoothStepper is significantly more expensive than several of the PCI cards supported by EMC2)
The administrator has disabled public write access.

Re:Why not USB? (again) 06 Okt 2011 10:23 #13712

  • kostas
  • kostas's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Karma: 3
andypugh wrote:
(Note that the SmoothStepper is significantly more expensive than several of the PCI cards supported by EMC2)

Do you also know, how does SmoothStepper's performance compare with other similar FPGA cards, Andy? Mesa's 7i43 for example.
I always wondered how does it perform using the USB interface under Windows.
The administrator has disabled public write access.

Re:Why not USB? (again) 06 Okt 2011 10:36 #13714

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
kostas wrote:
Do you also know, how does SmoothStepper's performance compare with other similar FPGA cards, Andy?

No idea. As it is more expensive, doesn't work with EMC2 and runs on Windows (none of my machines ever have) it has never been of any interest.
The administrator has disabled public write access.
Moderators: ArcEye
Time to create page: 1.611 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.