An article in the magazine “Embedded Systems Design” describes an algorithm that produces linear acceleration in stepper motors, but without the heavy math overhead often required. This technique, presented by Pramod Ranade, CTO at SPJ Embedded Technologies, appears in the April 2009 issue of ESD: www.embedded.com/design/multicore/21640186.The author’s algorithm uses only addition and subtraction operations to produce a triangular or trapezoidal speed profile for a stepper motor. Due to space limits in a printed magazine, this article covers only the triangular algorithm. You can download the complete C code at: /www.embedded.com/code.new. You’ll find other code on this page, too.Although the author implemented his algorithm in a combination of an MCU and an FPGA, you can still adapt his code to an MCU-firmware-only approach. The C code should compile properly regardless of which compiler you use. The author used Microsoft’s C compiler.Stepper motors require a linear increase in speed based on the motor’s characteristics and the load it will drive. If you attempt to start a stepper motor by giving it a high-speed start–akin to stomping on your car’s gas pedal–the motor can stall and take time to get up to speed with many drive pulses wasted by generating heat. That’s not what you want. Most vehicle drivers realize they cannot get from 0 to 60 mph instantly. The same holds true for stepper motors. –Jon TitusFor more information about stepper-motor drive techniques, refer to:Austin, David, “Generate stepper-motor speed profiles in real time,” embedded.com/columns/technicalinsights/56800129. (Lots of math.)–, Industrial Circuits Application Note, “Stepper Motor Basics” www.solarbotics.net/library/pdflib/pdf/motorbas.pdf.–, “Stepper Motor Reference Design,” AN155, Silicon Laboratiories, www.silabs.com/Support%20Documents/TechnicalDocs/an155.pdf. (Reference information, circuit, and code.)
Almost every automaker has had to 'pick a side' when it comes to alternative fuel options and ways to divest from a reliance on gasoline. Fiat is looking to back compressed natural gas or liquid propane as an interim solution.
Plastic may not be the most beloved of materials to the more environmentally minded, but Plasti 2012 aimed to mold a different opinion of the material in people's minds.
The rare earth element market has become steadily more rational, and new sources coming online will continue to reduce costs. Still, it is unlikely that prices will drop to their former lows.
Against a backdrop of mounting product complexity and a need to keep a lid on development costs, companies are recognizing a need to make simulation a more integral part of the design process. In response, vendors in the CAD world are building out CAE functionality as part of their CAD suites while simulation vendors are building tighter integrations to leading CAD tools. Keith Meintjes, Ph.D., Practice Manager, Simulation and Analysis at CIMdata, Inc., joins Design News CAD Editor Beth Stackpole in this radio program to explore the new face of integrated CAD and CAE, how companies are benefitting from this tighter partnership between platforms, and how integrating CAE earlier in the development cycle pays off in optimized product designs.
To save this item to your list of favorite Design News content so you can find it later in your Profile page, click the "Save It" button next to the item.
If you found this interesting or useful, please use the links to the services below to share it with other readers. You will need a free account with each service to share an item via that service.