bldc output to Aerotech drives

More
15 Mar 2013 01:25 #31424 by PCW
Replied by PCW on topic bldc output to Aerotech drives
Just a note on the 7I39, Its rather misleading to compare a two channel
3 phase drive with a single channel brush motor drive.

Software generated PWM is not much practical use as a servo drive signal
except for very low end systems Even if you can manage a 50 KHz base
thread, this only gives you about 3 bits of resolution
at a barely tolerable 5 KHz PWM rate

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

More
15 Mar 2013 01:46 #31425 by green751
Yes, sorry for the bad comparison. I was just attempting to illustrate why I found this method of control interesting, and I'm really not qualified to make wild suggestions like this (yet I keep on doing it, somehow...).

Anyway, I'm going to experiment with my drives and see how things work.

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

More
15 Mar 2013 02:00 #31426 by andypugh

I'm thinking someone could produce a basic H bridge module (with eg. 6 big MOSFETs) capable of interfacing with a high speed parallel port using bitwise output controlled by LinuxCNC and the bldc module, say for use with brushless motors under 20 amps peak and 75-90 volts.


Have you seen: uk.rs-online.com/web/p/motor-driver-ics/6880732/

You would need a PWM speed converter (frequency to voltage to frequency maybe) to run it from a parallel port. Keeping the three PWMs in phase with each other might be tricky.

I have run one with an Arduino, but that was trapzoidal commutation, and I had one PWM gating 6 bits through an interface chip.

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

More
15 Mar 2013 02:00 #31427 by PCW
Replied by PCW on topic bldc output to Aerotech drives
I dont want to throw too much of wet blanket on all software systems. Thats one of LinuxCNCs strengths. If you want to drive a 3 phase servo motor via a H-bridge from a parallel port and the BLDC component, it _will_ work. Maybe a little bit crunchy but possible.

There may even be ways to improve software PWM generation to at least get better resolution at low PWM duty cycles using a technique similar to the stepgens "reset" mode

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

More
15 Mar 2013 02:18 #31428 by andypugh

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

More
26 Apr 2013 20:56 #33244 by green751
Just want to get a check on my math here... I'm working on a system to run LinuxCNC that can run a 4khz servo thread. Am I right in thinking that what I need is a servo thread with max interval no more than 200,000ns, and max jitter as low as possible (<20k)?

So far the motherboards with the lowest latency have all been 1Ghz semi-antiques. I'm wondering if they can do this though... even though their latency is good, I am not sure they have enough CPU speed to process the motion loop code when the servo thread is called before it's time to context switch again.

Can you guys give me any idea of how much processing happens when the servo thread is called and how long it takes, assuming I'm using Linuxcnc for commutation of three axes?

Erik

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

More
26 Apr 2013 21:46 #33245 by PCW
Replied by PCW on topic bldc output to Aerotech drives
See section 1.4 about .time and .tmax:

www.linuxcnc.org/docs/2.4/html/hal_basic_hal.html

Reading these parameters will allow you to see where the time goes...

Its known that the Atom MBs will not do more than ~2 KHz servo threads

A couple modern low power MBs that can do 4 KHZ servo threads are:

GIGABYTE GA-E350N
ASUS E45M1-M PRO

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

More
27 Apr 2013 19:14 #33275 by btvpimill

Thinking about it... with an appropriate H bridge setup, could bldc be used to control "outrunner" type DC brushless motors like the Turnigy types?


You need to look up how BLDC motors are controlled. It is true that 3 half bridges are needed, but there is also a feedback needed to let the "controller" know when to fire what phase. In almost all of the hobby motors they are sensorless, so they measure the BEMF of the phase not being fired to determine when to fire next sequence. Sensored work the same except they have sensors instead on relying on BEMF, this gives them better ability to run at low speeds.

So the minimum connections for any BLDC is 6 dirve signals (could use some hardware to get complement of A B C) and 3 feedback. So with some creative hardware you can get away with 6 total.

Of course this does not at all address the software side. for a spindle control just use a suitable ESC from the same site as the outrunner. then you need 1 pin to drive it from LinuxCNC. Of course you only have rough estimate of the speed, but in most cases that is prolly fine.

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

More
27 Apr 2013 20:12 #33277 by andypugh

Thinking about it... with an appropriate H bridge setup, could bldc be used to control "outrunner" type DC brushless motors like the Turnigy types?


You need to look up how BLDC motors are controlled. It is true that 3 half bridges are needed, but there is also a feedback needed to let the "controller" know when to fire what phase.


I missed this part first time round.
The answer is, as was said above, "it depends'.
Adding Hall sensors is actually pretty straightforward, and then it becomes easy. Without Hall sensors it is not at all easy and requires the drive to monitor the voltage on the non-driven phase.
This web page describes how to add Halls to a Turnigy:
e0designs.com/documentation/finding-moto...sensor-combinations/
But in the LinuxCNC case, all the sensor swapping can be done in software, so you can align one sensor with one pole, then just change the value of bldc.N.pattern in HAL until you find the one that makes the motor spin.

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

More
30 Apr 2013 20:53 #33443 by green751
I ordered a GA-E350N.

I'll probably update my mesa hardware to a 5i25+7i77 soon, too.

Erik

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

Time to create page: 0.086 seconds
Powered by Kunena Forum