Forum Discussion
Altera_Forum
Honored Contributor
12 years agomotor speed variable using FPGA
Hi. How to design variable speed motor using FPGA. I want to design line follower robot in different surface application for example, on roughness(slow) or smooth floor(fast).
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- you will get any frequency. In many cases the exact pulse frequency wouldn't be as a clean clock but over a window of time it will be correct and for stepper motor it should be more than enough. example 50MHz * 2333456/2^32 = ? Anyway from 50MHz you cannot get exact frequencies except for cases like half/quarter etc unless you use variable analogue PLL --- Quote End --- you are right. "from 50MHz you cannot get exact frequencies except for cases like half/quarter etc." I have try s lot,but fail.I cannot get exact frequencies except for cases like half/quarter. I will try your suggestion,hope this is average frequency really enough for stepper motor.