7i80 and 7i77

More
07 Jan 2014 07:53 #42415 by DaBit
Replied by DaBit on topic 7i80 and 7i77
Ordering 7i76/7i77/whatever breakout board might be useful, but I do have working electronics on a (home brew) PCB that accepts a DB25. I might want to continue that route since I already use home-brew stepper drives around dsPIC33F DSP's and I do want to continue on the stepper-with-linear-scale-feedback path. My earlier experiments on the BF20 were quite promising, but that machine has too much mechanical backlash. The sound of a hunting 'servo' certainly makes you feel nervous. :)

I have this idea to run the steppers in velocity mode using FOC / vector drive as 'regular' high torque/low RPM motors. Voltage mode drive would make it easy to detect (and act upon) stall, would not suffer from the 90-degree phase shift a current-mode drive encounters when it runs out of bus voltage, and it doesn't produce the typical 'stepper noise'. And because a stepper with stall detect is fully synchronous I do not need a rotary encoder on the shaft and it makes life for the servo loop very easy since actual RPM is extremely close to commanded RPM. Final position feedback through 1 micron linear glass scales. Sounds like a great setup for machines that do not need more than ~200W of mechanical power to drive the screws. Stepper motor+drive+scale costs less than a single servo motor+drive.

a gantry style machine needs at least 4 axes worth of linear encoders, and possibly shaft encoders which totals to 8. Initially 4 step/dir interfaces are needed; and later on PDM (or a SPI protocol) to the drives to command velocity might be more suitable.

Whether a card supports the amount of encoderrs/stepgens or not depends on the firmware. In this[.url] document there is not much information about the 5i25/6i25.

Please Log in or Create an account to join the conversation.

More
07 Jan 2014 08:01 #42416 by andypugh
Replied by andypugh on topic 7i80 and 7i77

In this[.url] document there is not much information about the 5i25/6i25.


Almost no information, in fact.

The DB25 boards actually only use 17 pins, just like a parport. These pins tend to be either stepgens or encoder counters (the encoder counters may be muxed to double them up). The GPIO and analogue outputs are serially-interfaced using the mesa "Smart Serial" protocol, which is proprietary but fairly open. At least one business is making clone cards that run Mesa hostmot2 configs, but I think that is only for their own products, rather than being in direct competition.

So, you can probably do what you want with a 6i25 which has the 7i76 + 7i77 firmware, but without using those actual daughter cards.

Please Log in or Create an account to join the conversation.

More
09 Jan 2014 05:40 #42530 by uli12us
Replied by uli12us on topic 7i80 and 7i77
retrofit-plus.at in Austria sells the 7i80 card. But I asked him and he says, the card don't works correctly. Maybe he only have'nt the newest Software and drivers.

Please Log in or Create an account to join the conversation.

More
09 Jan 2014 06:09 #42531 by andypugh
Replied by andypugh on topic 7i80 and 7i77

retrofit-plus.at in Austria sells the 7i80 card. But I asked him and he says, the card don't works correctly. Maybe he only have'nt the newest Software and drivers.


If I was selling them I wouldn't sell the 7i80 to anyone at the moment unless they insisted. As a vendor it would be asking for support troubles.

Having said that, if you do not expect plug-and-play it does work.

Please Log in or Create an account to join the conversation.

More
09 Jan 2014 06:28 - 09 Jan 2014 06:29 #42532 by DaBit
Replied by DaBit on topic 7i80 and 7i77
It doesn't work out of the box.

andypugh had to use a kernel provided my Michael Haberler, fetch the development source tree, and build it. This is within my capabilities, and if it fails I am pretty sure the people here can help me out quickly. But it might not be for everyone and development releases are, well, development releases.

Once it work, I don't expect latency problems. Not sure how the LinuxCNC->7i80 interface exactly works, but there are not too many ways to do this. I don't know how large the packets sent over the link are, but you can send and receive at least around 4000 UDP packets a second over a point-to-point 100Mbit link. More than enough to support normal servo thread update rates. Latency would be larger than with PCI/PCIe or EPP since the UDP packet must be received completely and travel through some kind of lightweight IP stack before it can be processed. But compared to the bandwidth of the mechanical system itself it is still 'almost zero latency'.

But Andy is right; the 5i25/6i25 is a safer choice for now and it can do perfectly what I want using the 7i76+7i77 firmware (and 7i76 board to get the I/O). 7i77 uses a multiplexed scheme for the encoders, but it seems to be a simple 2:1 multiplexing scheme with a single selection bit. At least Mesa provides the VHDL sources so it is possible to figure out what they do exactly.

retrofit-plus.at doesn't sell the 6i25 either, or at least not on their site. duzi.cz didn't either. I wonder why? Today i can go to the local store and get a mainboard with PCI support. But this will soon be over, at least for consumer mainboards and gems like the Atom mainboards. PCI support nowadays is already provided by a bridge, and not native. Using PCIe makes more sense IMHO.

[edit]
Andy was faster..
[/edit]
Last edit: 09 Jan 2014 06:29 by DaBit.

Please Log in or Create an account to join the conversation.

More
16 Jan 2014 07:46 #42856 by accuartisans
Replied by accuartisans on topic 7i80 and 7i77
First posting! So, I am in the beginning stages of my first retrofit of my bed milling machine finally. I am pretty convinced that I want to go the LinuxCNC approach vs Mach for multiple reasons :)

So from what I gather the Mesa 7i80DB + 7i77 = 7i77E? and the same code and configuration for the 7i80DB +7i77 would work for the 7i77E? My thoughts here are that I could use a microITX (Biostar A68I-350 DELUXE R2.0?) and the 7i77E in the pendant of the mill and run cabling to the drivers in a different cabinet and keep chances for noise level down.

I don't have any problem with the Linux building that Andy outlined to get it running as well as I won't be ready for full blown milling till late spring/summer most likely, so I think that would be enough time to work out any issues. Andy, do you know of any latency issues that have come up? I only ask as there's not much information as of yet and I realize this is a bit on the bleeding edge.

Please Log in or Create an account to join the conversation.

More
17 Jan 2014 01:45 #42883 by andypugh
Replied by andypugh on topic 7i80 and 7i77

So from what I gather the Mesa 7i80DB + 7i77 = 7i77E? and the same code and configuration for the 7i80DB +7i77 would work for the 7i77E? My thoughts here are that I could use a microITX (Biostar A68I-350 DELUXE R2.0?) and the 7i77E in the pendant of the mill and run cabling to the drivers in a different cabinet and keep chances for noise level down

You can wire the same way with the 5i25, with a long-ish cable to the 7i77.

I don't have any problem with the Linux building that Andy outlined to get it running as well as I won't be ready for full blown milling till late spring/summer most likely, so I think that would be enough time to work out any issues. Andy, do you know of any latency issues that have come up? I only ask as there's not much information as of yet and I realize this is a bit on the bleeding edge.

I didn't do any latency testing, but the motor seemed to run smoothly. The PC was running headless, though, and not be called upon to do anything else at all.

You could start with the Xenomai kernel etc, see how that goes, then decide on the hardware.

Please Log in or Create an account to join the conversation.

More
13 Sep 2014 02:33 #51131 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Its a long time ago, since I asked about the 7i80. Now I have received the board and have time to try the part.
In the first page#41426 andypugh wrote that I must type in . ./scripts/rip-environment, but unfortunately Linux answerd
File or folder not found, what can I do to get the file from whereever.

Please Log in or Create an account to join the conversation.

More
13 Sep 2014 03:00 #51132 by andypugh
Replied by andypugh on topic 7i80 and 7i77

Its a long time ago, since I asked about the 7i80. Now I have received the board and have time to try the part.
In the first page#41426 andypugh wrote that I must type in


It has become rather easier in the meantime.

www.linuxcnc.org/docs/devel/html/man/man9/hm2_eth.9.html
Is now included in the Master (development) version of LinuxCNC, and so all you need to do is follow the instructions here:
buildbot.linuxcnc.org
to get a precompiled package.

Please Log in or Create an account to join the conversation.

More
22 Sep 2014 15:08 - 22 Sep 2014 17:26 #51422 by uli12us
Replied by uli12us on topic 7i80 and 7i77
I have now tried some days to run linuxcnc, but unfortunately without any success. I get always errorcodes like can't find loadrt and similiar. If I follow the description on the first page #41426 It runs without any problem but after I try to get the name of the rt system, I get the same, as before the installation. Its a rt System as well, but an older one, 2.6.32 122 rtai iirc. The change of the directory is a bit different, I must add a / before, but then I'm in the correct directory. But the problems occured, from the point "cd linuxcnc-dev
git branch --track ubc3-7i80 origin/ubc3-7i80" After that I get one errormessage after another.
But, if I try to run it don't work. If I run halcmd before I run hm2_eth
it can load it, but nothing happens from that point on.

Sorry, I'm a complete linux Greenhorn, I don't know, what I have to do, that I can run the program.
The Linuxcnc program runs, but I can't communicate with the Mesa boards.
Last edit: 22 Sep 2014 17:26 by uli12us.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.095 seconds
Powered by Kunena Forum