On Sun, 2012-03-04 at 13:19 +0200, Roland Jollivet wrote: > On 3 March 2012 19:03, Kirk Wallace <kwall...@wallacecompany.com> wrote: > > > > > I was thinking of using an AVR analog input to sense the IRAMS internal > > sense resistor then use software to look for current peaks and separate > > the leg currents if needed, but this is much easier to plan, than to > > make real. > > > > > > > Maybe this was discussed already... > > If you're using an AVR, and this is a spindle motor, then why not use an > encoder on the motor, or at least the index pulse, to create your own phase > signals. You could even shift the phase(3) to optimize the power, much like > the offset brushes on DC motors (for reverse too). So it's all 'soft' > commutation. > > Regards > Roland ... snip
In my study, I want to have as many functions as possible stay in LinuxCNC and use the AVR for analog conversion or processing that may be better done locally at the driver, such as fault detection or backup. If the commutation signals where analog, I would tend to digitize them in the AVR, then pass the data to LinuxCNC for processing. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users