On Wed, 10 Jul 2013, andy pugh wrote: > Date: Wed, 10 Jul 2013 14:39:33 +0100 > From: andy pugh <bodge...@gmail.com> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] Custom firmware for MESA and BLDC motors > > On 10 July 2013 14:15, John Kasunich <jmkasun...@fastmail.fm> wrote: > >> As an aside, I really like the idea of doing the encoder to angle to >> sine-wave >> calculations in the FPGA. > > I think that softDMC probably already does that. >
Indeed, the 7I39 was made for SoftDMC (its 20 .. 50 KHz sample rate makes commutation quite smooth) Even if just commuation is done in a FPGA its probably a win do use a soft processor since you need to do mod_encoder_count --> scale multiply --> table_lookup with 0,120,240 deg offsets --> scale multiply sines --> 3_PWMGENS for each channel... > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users