Re: [Emc-users] Bldc_Hal

2012-04-28 Thread Joachim Franek
See my little report on bldc comp on this list: http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg33911.html Until now not tested: component delay_rising_edge http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg34466.html Joachim

Re: [Emc-users] Bldc_Hal

2012-04-27 Thread andy pugh
On 27 April 2012 02:38, Gabriel Willen wrote: > Yes i have seen that video, i actually commented on it asking for the > sketch.  I haven't heard from him though so i assume he either doesn't want > to share it or hasn't checked the comments yet. It seems to have been flagged as spam, so I didn't

Re: [Emc-users] Bldc_Hal

2012-04-27 Thread Erik Christiansen
On 26.04.12 09:31, Gabriel Willen wrote: > Andy would you care to enlighten me a little on your sign lookup table? I > have an xmega laying around I have been playing with. I have it decoding > and picking up the hall positions. But I'm not grasping the sign lookup > table. I have read a half a

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Gabriel Willen
Marlin, i was starting to suspect that was the case. But no i didn't officially know that. Gabe On Thu, Apr 26, 2012 at 9:09 PM, Martin Dobbins wrote: > > > > Gabe, > > That video is Andy's, in case you didn't know. > > Martin > > > > Andy, > > > > Yes i have seen that video, i actually comme

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Martin Dobbins
Gabe, That video is Andy's, in case you didn't know. Martin > > Andy, > > Yes i have seen that video, i actually commented on it asking for the > sketch. I haven't heard from him though so i assume he either doesn't want > to share it or hasn't checked the comments yet. > > Gabe > > On Th

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Gabriel Willen
Andy, Yes i have seen that video, i actually commented on it asking for the sketch. I haven't heard from him though so i assume he either doesn't want to share it or hasn't checked the comments yet. Gabe On Thu, Apr 26, 2012 at 10:48 AM, andy pugh wrote: > On 26 April 2012 15:31, Gabriel Will

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread andy pugh
On 26 April 2012 15:31, Gabriel Willen wrote: > Andy would you care to enlighten me a little on your sign lookup table? I am not sure what you mean. "bldc" uses normal maths functions to work out the sine values. Are you asking about how the Hall-sensor table works? Have you seen: http://youtu.b

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/26/2012 9:31 AM, Gabriel Willen wrote: > But I'm not grasping the sign lookup table. I have read a half a > dozen articles on it. In sure I will figure out, I always do but I > figured maybe you could help. > I'm still learning LinuxCNC, but I

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Gabriel Willen
Andy would you care to enlighten me a little on your sign lookup table? I have an xmega laying around I have been playing with. I have it decoding and picking up the hall positions. But I'm not grasping the sign lookup table. I have read a half a dozen articles on it. In sure I will figure out,

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Gabriel Willen
Excellent that is what I figured. Thanks Gabe On Apr 26, 2012 8:02 AM, "Viesturs Lācis" wrote: > 2012/4/26 Gabriel Willen : > > > > Is it supposed to generated sinus pwm signals on > > the outputs or is this a middle man for another price of hardware that > > would generate the pwm. > > No, it d

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread andy pugh
On 26 April 2012 13:01, Gabriel Willen wrote: > Is it supposed to generated sinus pwm signals on > the outputs or is this a middle man for another price of hardware that > would generate the pwm. No, bldc doesn't generate PWM, it generates amplitudes for a PWM generator based on measured rotor p

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread samco
Emc has pwmgen as a hal componant... Tecnically you could use the software pwmgen componant to generate pwm. I have run a rather large brushed servo as others have. Might be good for testing theories.. sam On Thu, 26 Apr 2012 15:59:35 +0300 Viesturs L?cis wrote: > 2012/4/26 Gabriel Willen

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread Viesturs Lācis
2012/4/26 Gabriel Willen : > > Is it supposed to generated sinus pwm signals on > the outputs or is this a middle man for another price of hardware that > would generate the pwm. No, it does not do actual pwm generation. Mesa FPGA cards have 3-phase pwm generator module. Viesturs ---

[Emc-users] Bldc_Hal

2012-04-26 Thread Gabriel Willen
I don't know if I'm miss understanding the bldc Hal component. I have a 3 phase half bridge driver ic that uses cmos, or ttl as inputs. So I configured bldc with q for encoder, h for halls, and B for 6 bit inverting, and 6 for output signal. Is it supposed to generated sinus pwm signals on the o