Re: [Emc-users] Motor Resolvers
> > Hi Nico > This was the part that confused me the most. I did compile the terminal > but dont know how to use your HAL like framework. Would you mind giving > some pointers please. I have ordered my STM board already and I want to > really partake in testing your work. I have added some documentaion on how to use hal in the readme. you can play with it using only the discovery board. try for example connecting an encoder to PB4 and PB5. 3.3V only! Rene -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 2014-11-24 03:35, el cringo wrote: > Hi, > there is no current feedback yet and the over current protection is > copied from the UHU servo controller (http://www.uhu-servo.de/). > The next version will have a small cpu for this stuff (cheaper, neads > less space and is far more flexible). > We are planning to include a current prediction in software based an our > motor simulator. Our current pid component does it with an open loop PD > controller. > But the main problem is the noise amplification in position derivation > for velocity feedback. > Therefor the main development is currently done in realtime filter > algorithems without too much phase shift. We have plenty of calculation > power, so we can even experiment with stuff like total variation > denoising or polynomial fit at 5kHz (our current pid freqency, resolver > positions come in at 20kHz). > Our hal like framework and the terminal realy speeds testing up, as we > are able to rewire and reconfigure the hole system on the fly and get > instant feedback. Hi Nico This was the part that confused me the most. I did compile the terminal but dont know how to use your HAL like framework. Would you mind giving some pointers please. I have ordered my STM board already and I want to really partake in testing your work. > Nico > >> On 11/22/2014 12:49 PM, el cringo wrote: >>> Hi, >>> i just added pdfs for the current hw version. The eagle files are for >>> version 6.5.0. We once tried KiCad but we are a lot better with eagle. >> Thank you. I looked at your pdfs. I also installed the latest LinuxCNC ( >> 2.6 with Wheezy) on a PC and loaded Eagle 7, so I can open Eagle files >> now. It took a while to figure out Git Hub (I normally use Bitbucket) >> and downloaded your files. There really isn't that much magic in the >> hardware, except maybe the current feedback/limit bit. It seems the >> magic is in the software. I'm looking forward to watching your progress. >> >> > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
some screenshots of the term(already outdated), and our development hardware https://www.dropbox.com/s/gqx0h809odek0pj/Screenshot%202014-11-04%2016.03.51.png?dl=0 https://www.dropbox.com/s/5k7ji9ncqy5t3w7/Screenshot%202014-11-04%2016.06.08.png?dl=0 https://www.dropbox.com/s/m0s75igxbtm3qw8/2014-10-23%2012.27.22.jpg?dl=0 On 24 Nov 2014, at 02:50, Rene Hopf wrote: > > On 24 Nov 2014, at 02:02, Kirk Wallace wrote: > >> On 11/22/2014 12:49 PM, el cringo wrote: >>> Hi, >>> i just added pdfs for the current hw version. The eagle files are for >>> version 6.5.0. We once tried KiCad but we are a lot better with eagle. >> >> Thank you. I looked at your pdfs. I also installed the latest LinuxCNC ( >> 2.6 with Wheezy) on a PC and loaded Eagle 7, so I can open Eagle files >> now. It took a while to figure out Git Hub (I normally use Bitbucket) >> and downloaded your files. There really isn't that much magic in the >> hardware, except maybe the current feedback/limit bit. It seems the >> magic is in the software. I'm looking forward to watching your progress. > > There is no magic in the power stage, comes right from the iramx datasheet. > At the moment there is no current feedback to the MCU, only a hardware limit. > We give the motor a Voltage, which results in a current. > As we know how fast the motor is, we can compensate for induction. > The part that took us a while to figure out was the resolver driving hardware. > I took a lot of breadboarding and simulation in LTspice, which are included > in the git. > in fact we are still working on noise issues with resolver feedback. > The speed derived from the position amplifies the ADC noise, resulting in > jittering output. > It is not enough to move anything mechanical connected to the motor, but the > current makes an irritating noise. > A simple (software)lowpass is shifting the phase, resulting in oscillation. > > Rene > > > >> >> >> -- >> Kirk Wallace >> http://www.wallacecompany.com/machine_shop/ >> http://www.wallacecompany.com/E45/ >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 24 Nov 2014, at 02:02, Kirk Wallace wrote: > On 11/22/2014 12:49 PM, el cringo wrote: >> Hi, >> i just added pdfs for the current hw version. The eagle files are for >> version 6.5.0. We once tried KiCad but we are a lot better with eagle. > > Thank you. I looked at your pdfs. I also installed the latest LinuxCNC ( > 2.6 with Wheezy) on a PC and loaded Eagle 7, so I can open Eagle files > now. It took a while to figure out Git Hub (I normally use Bitbucket) > and downloaded your files. There really isn't that much magic in the > hardware, except maybe the current feedback/limit bit. It seems the > magic is in the software. I'm looking forward to watching your progress. There is no magic in the power stage, comes right from the iramx datasheet. At the moment there is no current feedback to the MCU, only a hardware limit. We give the motor a Voltage, which results in a current. As we know how fast the motor is, we can compensate for induction. The part that took us a while to figure out was the resolver driving hardware. I took a lot of breadboarding and simulation in LTspice, which are included in the git. in fact we are still working on noise issues with resolver feedback. The speed derived from the position amplifies the ADC noise, resulting in jittering output. It is not enough to move anything mechanical connected to the motor, but the current makes an irritating noise. A simple (software)lowpass is shifting the phase, resulting in oscillation. Rene > > > -- > Kirk Wallace > http://www.wallacecompany.com/machine_shop/ > http://www.wallacecompany.com/E45/ > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
Hi, there is no current feedback yet and the over current protection is copied from the UHU servo controller (http://www.uhu-servo.de/). The next version will have a small cpu for this stuff (cheaper, neads less space and is far more flexible). We are planning to include a current prediction in software based an our motor simulator. Our current pid component does it with an open loop PD controller. But the main problem is the noise amplification in position derivation for velocity feedback. Therefor the main development is currently done in realtime filter algorithems without too much phase shift. We have plenty of calculation power, so we can even experiment with stuff like total variation denoising or polynomial fit at 5kHz (our current pid freqency, resolver positions come in at 20kHz). Our hal like framework and the terminal realy speeds testing up, as we are able to rewire and reconfigure the hole system on the fly and get instant feedback. Nico > On 11/22/2014 12:49 PM, el cringo wrote: >> Hi, >> i just added pdfs for the current hw version. The eagle files are for >> version 6.5.0. We once tried KiCad but we are a lot better with eagle. > > Thank you. I looked at your pdfs. I also installed the latest LinuxCNC ( > 2.6 with Wheezy) on a PC and loaded Eagle 7, so I can open Eagle files > now. It took a while to figure out Git Hub (I normally use Bitbucket) > and downloaded your files. There really isn't that much magic in the > hardware, except maybe the current feedback/limit bit. It seems the > magic is in the software. I'm looking forward to watching your progress. > > -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/22/2014 12:49 PM, el cringo wrote: > Hi, > i just added pdfs for the current hw version. The eagle files are for > version 6.5.0. We once tried KiCad but we are a lot better with eagle. Thank you. I looked at your pdfs. I also installed the latest LinuxCNC ( 2.6 with Wheezy) on a PC and loaded Eagle 7, so I can open Eagle files now. It took a while to figure out Git Hub (I normally use Bitbucket) and downloaded your files. There really isn't that much magic in the hardware, except maybe the current feedback/limit bit. It seems the magic is in the software. I'm looking forward to watching your progress. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
Hi, i just added pdfs for the current hw version. The eagle files are for version 6.5.0. We once tried KiCad but we are a lot better with eagle. If you want to try our hal implementation connect a stm32f4-discovery (we use the old version with the stm32f407 cpu but it should work on all stm32f2 - stm32f4 devices with small changes) to your Linux/OS X machine and start the term (should work under Linux). Another serial terminal will work too, but you should change term.comp as we use control chars for plotting. "?" will print the available component pins. "comp0.sink = comp1.source" will link two pins. "comp0.sink = comp0.sink" will unlink. "comp0.sink = 23.42" will unlink and set the pin. "comp0.sink" shows the value and driving pin. Nets are pins without components. Chaining pins does only work up to depth 2 (only pin0 = pin1 or pin0 = net0, net0 = pin1 will work). Currently components are fixed and you can only link and set pins at runtime. The order of calculation is fixed in the component or triggered by reading the output pin (for small comps like plus, dont build loops with these). As the software is under heavy development and we have no stable branch yet not every uploaded version will work and there will be changes of syntax and workflow in the future. On the hardware side we try to follow KISS. The main part is done by the stm32f4(even motion would fit in here) and the iramx16up60b. In the next version we will even replace the overcurrent protection with a small cpu. We are aiming for one controller board with feedback interfaces commanding three to four driver boards over a serial bus. Command in will be quadrature, can, rs485 or ethernet. The main difference to other AC drives is that wie don't use current feedback for acceleration/force controll. In future we want to try state prediction with our ac motor simulator (sim/ in the git repo, simulates all from external load over resolver noise to motor induction except pwm freqency and motor heating). But even without it we get realy good result except for motor noise (resulting from resolver noise, not present with encoder feedback) but we are working on it. Better documentation will come. But our current goal is to get our four axis robot (bosch sr60) working for 31C3. Another opensource project i know: https://www.vbesmens.de/en/upcx530-power-pcb.html (the guy lives nearby but we haven't met yet) Feel free to ask any questions or suggest new ideas. We are especially looking for better filtering and control algorithms. Nico > On 11/22/2014 05:11 AM, Marius Liebenberg wrote: >> Sounds like you are moving in the right direction with this project. I >> for one will be watching with keen interest. >> If you need any assistance with pcb layouts or testing, let me know and >> I will gladly assist. >> >> On 2014-11-22 05:10, el cringo wrote: >>> Hi, >>> i am working with Rene on this project. >>> For the next hardware version we are planning to support resolvers >>> (3-8Vpp ref, 1-12Vpp sin/cos) and encoders/gms (ttl / 1Vpp / 11µA) with >>> a single interface. > ... snip > > I was hoping to get up to speed with this project: > https://github.com/rene-dev/stmbl > > But I need to use Ubuntu 10.04 on my PC (for development) and it looks > like the Eagle files are only compatible with the latest Eagle version > which doesn't load on 10.04. It would be better for a broader audience > if there were a doc directory with photos and PDF or open source > versions of the schematics. Personally, I would not use Eagle but rather > an open source program such as gEDA or KiCAD. > > In the past there have been other motor driver projects that have come > and gone. It would be nice to gather any links covering DIY drivers on > the wiki. I started a page a few years back: > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Bridges_-_Half%2C_Full%2C_Three_Phase > > which has been added to, but could use some updating. > -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/22/2014 05:11 AM, Marius Liebenberg wrote: > Sounds like you are moving in the right direction with this project. I > for one will be watching with keen interest. > If you need any assistance with pcb layouts or testing, let me know and > I will gladly assist. > > On 2014-11-22 05:10, el cringo wrote: >> Hi, >> i am working with Rene on this project. >> For the next hardware version we are planning to support resolvers >> (3-8Vpp ref, 1-12Vpp sin/cos) and encoders/gms (ttl / 1Vpp / 11µA) with >> a single interface. ... snip I was hoping to get up to speed with this project: https://github.com/rene-dev/stmbl But I need to use Ubuntu 10.04 on my PC (for development) and it looks like the Eagle files are only compatible with the latest Eagle version which doesn't load on 10.04. It would be better for a broader audience if there were a doc directory with photos and PDF or open source versions of the schematics. Personally, I would not use Eagle but rather an open source program such as gEDA or KiCAD. In the past there have been other motor driver projects that have come and gone. It would be nice to gather any links covering DIY drivers on the wiki. I started a page a few years back: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Bridges_-_Half%2C_Full%2C_Three_Phase which has been added to, but could use some updating. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
Sounds like you are moving in the right direction with this project. I for one will be watching with keen interest. If you need any assistance with pcb layouts or testing, let me know and I will gladly assist. On 2014-11-22 05:10, el cringo wrote: > Hi, > i am working with Rene on this project. > For the next hardware version we are planning to support resolvers > (3-8Vpp ref, 1-12Vpp sin/cos) and encoders/gms (ttl / 1Vpp / 11µA) with > a single interface. > The current resolver only interface is a bit noisy (resolution: > 12-13bit/rev, accuracy: 9-10bit/rev after sw filtering) and does not > work well with non-floating signals. > On the driver side we try to get rid of the ttl and analog parts whith a > small controller for current / voltage measuring, pwm generation, break > release, temperature control, ... > > We hope to have it ready for the 31C3. > > Nico > > > What are you changing on the hardware? >> On 2014-11-21 13:06, Rene Hopf wrote: >>> IRAMX-drv-v2 as a driver board, and res with the stm32f4discovery. >>> The video is only at 160V. >>> If we met in Stuttgart, it is the same hardware, running at higher voltage, >>> and improved software. >>> I am currently developing new hardware. >>> >>> Rene >>> On 21 Nov 2014, at 09:39, Marius Liebenberg wrote: Hi Rene Very interesting work you have done there. Which one of the hardware options is used in the video demonstration? On 2014-11-21 03:56, Rene Hopf wrote: >> On 20 Nov 2014, at 19:14, andy pugh wrote: >> >> On 20 November 2014 17:56, Kirk Wallace >> wrote: >>> I seem to recall, to get fast PWM, I had to use Timer1 and not use the >>> Arduino PWM library. I wonder if the resolver decoder might be improved >>> in a similar fashion? I haven't had the time to study Andy's code, but >>> it may already be optimized. >> It is all driven by interrupts and direct register writes, it doesn't >> use any Arduino libraries at all, not for PWM generation, not for >> analogue reading and not even for computing the arctan. >> (it uses an integer-only algorithm and a lookup table) >> >> http://wiki.linuxcnc.org/uploads/Resolver.pde > My servo amp has a very good resolver interface, featuring 10kHz > excitation with driver(8Vpp signal, to reduce noise), lowpass filter, and > 12 bit resolution. > included are eagle files, spice simulation, and code. > It could be used to make a converter to other interfaces, or you can just > use the whole project to drive your servos. > It has even got a hal implementation to configure things at runtime. > > https://github.com/rene-dev/stmbl > > Rene > > >> -- >> atp >> If you can't fix it, you don't own it. >> http://www.ifixit.com/Manifesto >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users >>>
Re: [Emc-users] Motor Resolvers
Hi, i am working with Rene on this project. For the next hardware version we are planning to support resolvers (3-8Vpp ref, 1-12Vpp sin/cos) and encoders/gms (ttl / 1Vpp / 11µA) with a single interface. The current resolver only interface is a bit noisy (resolution: 12-13bit/rev, accuracy: 9-10bit/rev after sw filtering) and does not work well with non-floating signals. On the driver side we try to get rid of the ttl and analog parts whith a small controller for current / voltage measuring, pwm generation, break release, temperature control, ... We hope to have it ready for the 31C3. Nico > What are you changing on the hardware? > > On 2014-11-21 13:06, Rene Hopf wrote: >> IRAMX-drv-v2 as a driver board, and res with the stm32f4discovery. >> The video is only at 160V. >> If we met in Stuttgart, it is the same hardware, running at higher voltage, >> and improved software. >> I am currently developing new hardware. >> >> Rene >> >>> On 21 Nov 2014, at 09:39, Marius Liebenberg wrote: >>> >>> Hi Rene >>> Very interesting work you have done there. Which one of the hardware >>> options is used in the video demonstration? >>> >>> On 2014-11-21 03:56, Rene Hopf wrote: > On 20 Nov 2014, at 19:14, andy pugh wrote: > > On 20 November 2014 17:56, Kirk Wallace > wrote: >> I seem to recall, to get fast PWM, I had to use Timer1 and not use the >> Arduino PWM library. I wonder if the resolver decoder might be improved >> in a similar fashion? I haven't had the time to study Andy's code, but >> it may already be optimized. > It is all driven by interrupts and direct register writes, it doesn't > use any Arduino libraries at all, not for PWM generation, not for > analogue reading and not even for computing the arctan. > (it uses an integer-only algorithm and a lookup table) > > http://wiki.linuxcnc.org/uploads/Resolver.pde My servo amp has a very good resolver interface, featuring 10kHz excitation with driver(8Vpp signal, to reduce noise), lowpass filter, and 12 bit resolution. included are eagle files, spice simulation, and code. It could be used to make a converter to other interfaces, or you can just use the whole project to drive your servos. It has even got a hal implementation to configure things at runtime. https://github.com/rene-dev/stmbl Rene > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users >>> -- >>> >>> Regards /Groete >>> >>> Marius D. Liebenberg >>> +27 82 698 3251 >>> +27 12 743 6064 >>> QQ 1767394877 >>> >>> >>> -- >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> ___ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pub
Re: [Emc-users] Motor Resolvers
What are you changing on the hardware? On 2014-11-21 13:06, Rene Hopf wrote: > IRAMX-drv-v2 as a driver board, and res with the stm32f4discovery. > The video is only at 160V. > If we met in Stuttgart, it is the same hardware, running at higher voltage, > and improved software. > I am currently developing new hardware. > > Rene > >> On 21 Nov 2014, at 09:39, Marius Liebenberg wrote: >> >> Hi Rene >> Very interesting work you have done there. Which one of the hardware >> options is used in the video demonstration? >> >> On 2014-11-21 03:56, Rene Hopf wrote: On 20 Nov 2014, at 19:14, andy pugh wrote: On 20 November 2014 17:56, Kirk Wallace wrote: > I seem to recall, to get fast PWM, I had to use Timer1 and not use the > Arduino PWM library. I wonder if the resolver decoder might be improved > in a similar fashion? I haven't had the time to study Andy's code, but > it may already be optimized. It is all driven by interrupts and direct register writes, it doesn't use any Arduino libraries at all, not for PWM generation, not for analogue reading and not even for computing the arctan. (it uses an integer-only algorithm and a lookup table) http://wiki.linuxcnc.org/uploads/Resolver.pde >>> My servo amp has a very good resolver interface, featuring 10kHz excitation >>> with driver(8Vpp signal, to reduce noise), lowpass filter, and 12 bit >>> resolution. >>> included are eagle files, spice simulation, and code. >>> It could be used to make a converter to other interfaces, or you can just >>> use the whole project to drive your servos. >>> It has even got a hal implementation to configure things at runtime. >>> >>> https://github.com/rene-dev/stmbl >>> >>> Rene >>> >>> -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users >>> -- >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> ___ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> -- >> >> Regards /Groete >> >> Marius D. Liebenberg >> +27 82 698 3251 >> +27 12 743 6064 >> QQ 1767394877 >> >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubad
Re: [Emc-users] Motor Resolvers
IRAMX-drv-v2 as a driver board, and res with the stm32f4discovery. The video is only at 160V. If we met in Stuttgart, it is the same hardware, running at higher voltage, and improved software. I am currently developing new hardware. Rene > On 21 Nov 2014, at 09:39, Marius Liebenberg wrote: > > Hi Rene > Very interesting work you have done there. Which one of the hardware > options is used in the video demonstration? > > On 2014-11-21 03:56, Rene Hopf wrote: >>> On 20 Nov 2014, at 19:14, andy pugh wrote: >>> >>> On 20 November 2014 17:56, Kirk Wallace wrote: I seem to recall, to get fast PWM, I had to use Timer1 and not use the Arduino PWM library. I wonder if the resolver decoder might be improved in a similar fashion? I haven't had the time to study Andy's code, but it may already be optimized. >>> It is all driven by interrupts and direct register writes, it doesn't >>> use any Arduino libraries at all, not for PWM generation, not for >>> analogue reading and not even for computing the arctan. >>> (it uses an integer-only algorithm and a lookup table) >>> >>> http://wiki.linuxcnc.org/uploads/Resolver.pde >> My servo amp has a very good resolver interface, featuring 10kHz excitation >> with driver(8Vpp signal, to reduce noise), lowpass filter, and 12 bit >> resolution. >> included are eagle files, spice simulation, and code. >> It could be used to make a converter to other interfaces, or you can just >> use the whole project to drive your servos. >> It has even got a hal implementation to configure things at runtime. >> >> https://github.com/rene-dev/stmbl >> >> Rene >> >> >>> >>> -- >>> atp >>> If you can't fix it, you don't own it. >>> http://www.ifixit.com/Manifesto >>> >>> -- >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> ___ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > -- > > Regards /Groete > > Marius D. Liebenberg > +27 82 698 3251 > +27 12 743 6064 > QQ 1767394877 > > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
Hi Rene Very interesting work you have done there. Which one of the hardware options is used in the video demonstration? On 2014-11-21 03:56, Rene Hopf wrote: >> On 20 Nov 2014, at 19:14, andy pugh wrote: >> >> On 20 November 2014 17:56, Kirk Wallace wrote: >>> I seem to recall, to get fast PWM, I had to use Timer1 and not use the >>> Arduino PWM library. I wonder if the resolver decoder might be improved >>> in a similar fashion? I haven't had the time to study Andy's code, but >>> it may already be optimized. >> It is all driven by interrupts and direct register writes, it doesn't >> use any Arduino libraries at all, not for PWM generation, not for >> analogue reading and not even for computing the arctan. >> (it uses an integer-only algorithm and a lookup table) >> >> http://wiki.linuxcnc.org/uploads/Resolver.pde > My servo amp has a very good resolver interface, featuring 10kHz excitation > with driver(8Vpp signal, to reduce noise), lowpass filter, and 12 bit > resolution. > included are eagle files, spice simulation, and code. > It could be used to make a converter to other interfaces, or you can just use > the whole project to drive your servos. > It has even got a hal implementation to configure things at runtime. > > https://github.com/rene-dev/stmbl > > Rene > > >> >> -- >> atp >> If you can't fix it, you don't own it. >> http://www.ifixit.com/Manifesto >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
> On 20 Nov 2014, at 19:14, andy pugh wrote: > > On 20 November 2014 17:56, Kirk Wallace wrote: >> I seem to recall, to get fast PWM, I had to use Timer1 and not use the >> Arduino PWM library. I wonder if the resolver decoder might be improved >> in a similar fashion? I haven't had the time to study Andy's code, but >> it may already be optimized. > > It is all driven by interrupts and direct register writes, it doesn't > use any Arduino libraries at all, not for PWM generation, not for > analogue reading and not even for computing the arctan. > (it uses an integer-only algorithm and a lookup table) > > http://wiki.linuxcnc.org/uploads/Resolver.pde My servo amp has a very good resolver interface, featuring 10kHz excitation with driver(8Vpp signal, to reduce noise), lowpass filter, and 12 bit resolution. included are eagle files, spice simulation, and code. It could be used to make a converter to other interfaces, or you can just use the whole project to drive your servos. It has even got a hal implementation to configure things at runtime. https://github.com/rene-dev/stmbl Rene > > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 20 November 2014 17:56, Kirk Wallace wrote: > I seem to recall, to get fast PWM, I had to use Timer1 and not use the > Arduino PWM library. I wonder if the resolver decoder might be improved > in a similar fashion? I haven't had the time to study Andy's code, but > it may already be optimized. It is all driven by interrupts and direct register writes, it doesn't use any Arduino libraries at all, not for PWM generation, not for analogue reading and not even for computing the arctan. (it uses an integer-only algorithm and a lookup table) http://wiki.linuxcnc.org/uploads/Resolver.pde -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/20/2014 09:25 AM, andy pugh wrote: ... snip > Yes, a more powerful MCU would be better, and it so happens that Mesa > and Pico sell exactly that all ready to go. > > Why will nobody believe me when I say that my experiment was rubbish? > Because Arduinos are so cute. I seem to recall, to get fast PWM, I had to use Timer1 and not use the Arduino PWM library. I wonder if the resolver decoder might be improved in a similar fashion? I haven't had the time to study Andy's code, but it may already be optimized. There are many new AVRs (and ARMs) that have plenty of higher resolution timers. Maybe there are too many options. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 2014-11-20 19:25, andy pugh wrote: > On 20 November 2014 14:29, Marius Liebenberg wrote: >> Andy why were you disappointed with the position feedback. >> Will it be ok on a slow moving bed? >> Do you think a more powerful MCU will do the trick? > It was noisy and dithered a lot. The Arduino has to measure 2 voltages > per measurement. To do it fast enough it had to be only 8 bits and the > shortest sample time that the Arduino could handle. Even then the > carrier was only 1kHz, whereas Resolvers normally work at at least > 5kHz. > > So, two noisy values divided by each other = a very noisy result, > which gives a noisy arctan and a lot of servo dither. > > Yes, a more powerful MCU would be better, and it so happens that Mesa > and Pico sell exactly that all ready to go. > > Why will nobody believe me when I say that my experiment was rubbish? Nobody will believe that of an esteemed gentlemen like you. I only need one channel so the mcu route seems ok but I might replace the resolver with an encoder and a reference location switch. -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 20 November 2014 14:29, Marius Liebenberg wrote: > Andy why were you disappointed with the position feedback. > Will it be ok on a slow moving bed? > Do you think a more powerful MCU will do the trick? It was noisy and dithered a lot. The Arduino has to measure 2 voltages per measurement. To do it fast enough it had to be only 8 bits and the shortest sample time that the Arduino could handle. Even then the carrier was only 1kHz, whereas Resolvers normally work at at least 5kHz. So, two noisy values divided by each other = a very noisy result, which gives a noisy arctan and a lot of servo dither. Yes, a more powerful MCU would be better, and it so happens that Mesa and Pico sell exactly that all ready to go. Why will nobody believe me when I say that my experiment was rubbish? -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 2014-11-18 20:28, andy pugh wrote: > On 18 November 2014 17:33, Kirk Wallace wrote: >> The more I think about it, adding Halls seems to be the way to go. > Resolvers are _really_ good transducers. It seems a shame not to use them. > > I have no boards left. But I can pass on the files to have a batch of > PCBs made ($10 for 10 boards at seeedstudio.com ) > > The results were disappointing for position feedback, but sending 3 > emulated Hall signals from Arduino GPIO and nothing else ought to work > pretty well. Each Arduino does 3 motors. Andy why were you disappointed with the position feedback. Will it be ok on a slow moving bed? Do you think a more powerful MCU will do the trick? -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 19 November 2014 19:15, Marius Liebenberg wrote: > What interface board would you typically use with the bldc component? > Not the parport I assume. It has been done, there is a Youtube video of someone running Fanuc Red-cap motors from the parport. The only reason not to are the usual problems with encoder counting speed. The component only ever runs in the servo thread regardless of interface hardware. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
Andy What interface board would you typically use with the bldc component? Not the parport I assume. On 2014-11-19 19:26, andy pugh wrote: > On 19 November 2014 17:21, Jon Elson wrote: >> The problem is as our resolver converter is, NOW, it only >> produces quadrature >> plus index. > ... >> But, it would need >> to know the number of motor poles and the angular offset. > The bldc component can handle that. There an indifferently-effective > magnetic homing mode that can get an accurate position the first time > it sees an index, and the component takes parameters for motor pole > count and index offset. > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 19 November 2014 17:21, Jon Elson wrote: > The problem is as our resolver converter is, NOW, it only > produces quadrature > plus index. ... > But, it would need > to know the number of motor poles and the angular offset. The bldc component can handle that. There an indifferently-effective magnetic homing mode that can get an accurate position the first time it sees an index, and the component takes parameters for motor pole count and index offset. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/19/2014 03:53 AM, andy pugh wrote: > On 19 November 2014 03:43, Jon Elson wrote: > >> I have also sold over 100 of the Pico Systems resolver to >> quadrature converter board. >> They can be used with any system that needs a quadrature >> encoder signal. > It should also be possible to use this with the "bldc" HAL component > to synthesize Hall sensor signals for a drive that requires them (or > direct phase amplitudes) > The problem is as our resolver converter is, NOW, it only produces quadrature plus index. So, until the motor is moved to the index position, there would be no absolute angle indication for commutation. The AD chip gives absolute angle output which we bring out to a header, so an additional board could be put in to generate the commutation signals from that. But, it would need to know the number of motor poles and the angular offset. So, such a board hasn't been designed. If enough people needed such a feature, we could come up with it. Jon -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 19 November 2014 03:43, Jon Elson wrote: > I have also sold over 100 of the Pico Systems resolver to > quadrature converter board. > They can be used with any system that needs a quadrature > encoder signal. It should also be possible to use this with the "bldc" HAL component to synthesize Hall sensor signals for a drive that requires them (or direct phase amplitudes) -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/18/2014 10:31 AM, Kirk Wallace wrote: > Andy, it has been a few years since this page changed: > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ResolverToQuadratureConverter > > How well is this working? I'm looking at getting some BLDC motors with > resolvers for commutation. > I have also sold over 100 of the Pico Systems resolver to quadrature converter board. They can be used with any system that needs a quadrature encoder signal. See http://pico-systems.com/osc2.5/catalog/product_info.php?products_id=32 for more info. Jon -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/18/2014 10:45 AM, Ben Potter wrote: ... snip > I have a couple of Andy's boards left. I had noise issues with them that is > more than likely how I was using them. As such I ended up picking up a > commercial drive for the motor I was using. > KW: If you want them, I'd be happy to send them on. Thank you Ben, I'm in California, so they might not be worth shipping that far. I'm planning to play in HAL on a PC and on breadboards for now. I'm also still trying to fix my stepper drive. It looks like the current limit circuit is bad and I'm still blowing out power transistors when I power up. I need to rig up a board on my bench and scope out what's going on. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 18 November 2014 18:45, Ben Potter wrote: > I have a couple of Andy's boards left. I had noise issues with them that is > more than likely how I was using them I think that might be the nature of the board and 8-bit sampling at high speed. It _probably_ doesn't matter as much for commutation duty. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
> From: andy pugh [mailto:bodge...@gmail.com] > Sent: 18 November 2014 18:29 > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Motor Resolvers > On 18 November 2014 17:33, Kirk Wallace wrote: > > The more I think about it, adding Halls seems to be the way to go. > Resolvers are _really_ good transducers. It seems a shame not to use them. >I have no boards left. But I can pass on the files to have a batch of PCBs made ($10 for 10 boards at seeedstudio.com ) I have a couple of Andy's boards left. I had noise issues with them that is more than likely how I was using them. As such I ended up picking up a commercial drive for the motor I was using. KW: If you want them, I'd be happy to send them on. From memory they may need some links removing before use. > The results were disappointing for position feedback, but sending 3 emulated Hall signals from Arduino GPIO and nothing else ought to work pretty well. Each Arduino does 3 motors. > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 18 November 2014 17:33, Kirk Wallace wrote: > The more I think about it, adding Halls seems to be the way to go. Resolvers are _really_ good transducers. It seems a shame not to use them. I have no boards left. But I can pass on the files to have a batch of PCBs made ($10 for 10 boards at seeedstudio.com ) The results were disappointing for position feedback, but sending 3 emulated Hall signals from Arduino GPIO and nothing else ought to work pretty well. Each Arduino does 3 motors. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 11/18/2014 08:43 AM, andy pugh wrote: > On 18 November 2014 16:31, Kirk Wallace wrote: >> Andy, it has been a few years since this page changed: >> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ResolverToQuadratureConverter >> >> How well is this working? I'm looking at getting some BLDC motors with >> resolvers for commutation. > > I am no longer using the Arduino, it was an interesting experiment > but the Mesa 7i49 works a lot better. > I have little doubt about the 7i49 working better, but it has six channels and I may need a single motor or stand alone solution. I will have screw encoders for table position, so I just need commutation sensors. I haven't fully researched the problem yet, but if an Arduino or more likely an AVR solution is possible at $15 - $25 per motor, it might be worth getting the motors. Another option is to add Hall sensors and not use the resolver, or just not get the motors. The more I think about it, adding Halls seems to be the way to go. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
Hi Andy Have you dumped those pcb's yet or shall I send you an address? On 2014-11-18 18:43, andy pugh wrote: > On 18 November 2014 16:31, Kirk Wallace wrote: >> Andy, it has been a few years since this page changed: >> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ResolverToQuadratureConverter >> >> How well is this working? I'm looking at getting some BLDC motors with >> resolvers for commutation. > I am no longer using the Arduino, it was an interesting experiment > but the Mesa 7i49 works a lot better. > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Motor Resolvers
On 18 November 2014 16:31, Kirk Wallace wrote: > Andy, it has been a few years since this page changed: > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ResolverToQuadratureConverter > > How well is this working? I'm looking at getting some BLDC motors with > resolvers for commutation. I am no longer using the Arduino, it was an interesting experiment but the Mesa 7i49 works a lot better. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users