Possible to generate HDL Code from Stepper Motor model?
5 views (last 30 days)
Show older comments
Hi all,
I am trying to run a stepper motor model on an FPGA and I thought mathlab may help me with this. At the moment I am checking with the 'power_steppermotor' example. Is it possible to generate HDL Code using stepper models from the Simscape/SimPowerSystems library?
Thank you and kind regards, Kitz
0 Comments
Answers (2)
Tim McBrayer
on 27 Jan 2014
No Simscape blocks are supported for HDL Code generation.
I am curious as to what sort of HDL Code you would expect to be generated for a model of a stepper motor. Modeling the control circuitry for a stepper makes sense; the motor itself does not really make sense. You may need to reconsider what portion of your design you wish to convert into HDL.
0 Comments
Matt Kitz
on 28 Jan 2014
2 Comments
Tim McBrayer
on 29 Jan 2014
This does sound like an interesting project. You will need to build your model for the stepper motor by hand for this. If you run the hdllib command, it will create a library containing all the HDL-capable blocks that you have installed and licensed.
Communities
More Answers in the Power Electronics Control
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!