Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: fast controller

2012-08-22 by enkitec@gmail.com

On 22-Aug-12 17:12, farshid alipour wrote:
> perhaps it is possible to use AVR i'll try it .i made a up/down counter by a mega16 for counting an encoder it was 2048 pulse when i rotate it slowly there was no any problem but when i rotate it over 500rpm it lost some pulses finally i made it by TTL ICs and now it work at 11000rpm.AVRs isnot fast enough for this project.

     11000 RPM is just 184 RPS.  It is awfully slow for any AVR.  My 
guess your program is too slow, not the AVR.


> i want to make a position loop (like cnc machine) i already tried it by a mega16 i could not be successful the motor start to shake when the axis arrived to the destination. perhaps the last loop in program which check the position is too long and if i improve the program the motor would shake less, any way if i use faster controller it will work properly.in some servo drives like Fanuc and Mitsubishi is used DSPs like TMS320C25 forpositioning control they are very fast but  expensiveFarshid Alipour.
>

     Have you ever programmed a TMS320C25?  An AVR at 20MHz can do 
things faster, except for DSP routines.

     Mark

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.