The following resources come from the 2009/10 BEng in Digital Systems and Computer Engineering (course number 2ELE0065) from the University of Hertfordshire. All the mini projects are designed as level two modules of the undergraduate programmes.
The objectives of this project are to design, develop and test software for an embedded system that will smoothly control the rotation of a stepper motor, taking into account the physical constraints on the maximum operating speed of the motor.
Each student will be required to design a ‘C’ program can rotate a stepper motor to a number of user-defined positions as quickly as possible. This will include sensing of the marker pulse, the implementation of an appropriate speed profile and the use of timer-generated interrupts.
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Mini Project- Stepper Motor Control
1. Mini Project - Stepper Motor Control Author: University of Hertfordshire Date created: Date revised: 2009 Abstract The following resources come from the 2009/10 BEng in Digital Systems and Computer Engineering (course number 2ELE0065) from the University of Hertfordshire. All the mini projects are designed as level two modules of the undergraduate programmes. The objectives of this project are to design, develop and test software for an embedded system that will smoothly control the rotation of a stepper motor, taking into account the physical constraints on the maximum operating speed of the motor. Each student will be required to design a ‘C’ program can rotate a stepper motor to a number of user-defined positions as quickly as possible. This will include sensing of the marker pulse, the implementation of an appropriate speed profile and the use of timer-generated interrupts. In addition to the resources found below there are supporting documents which should be used in combination with this resource. Please see: Mini Projects - Introductory presentation. Mini Projects - E-Log. Mini Projects - Staff & Student Guide. Mini Projects - Standard Grading Criteria. Mini Projects - Reflection. You will also need the ‘Mini Project- Stepper Motor Control’ text document. This work is licensed under a Creative Commons Attribution 2.0 License .
2.
3.
4. BH Mar 09 DSCE Miniproject - Stepper Motors Stepper motors are motors which are designed to produce a defined angle of rotation for each input pulse applied. Thus, the speed of rotation is proportional to the frequency of the input signal (unlike, for example, a dc motor where the speed is approximately proportional to the input voltage). They are very useful in open loop control situations, particularly for controlling output position. They are also used in closed loop position control applications where an approximate output position can be attained very quickly.
5. The Hardware You Will Use BH Mar 09 DSCE Miniproject - Stepper Motors
8. Timing of Index Pulses BH Mar 09 DSCE Miniproject - Stepper Motors
9.
10. Bitwise Boolean Functions BH Mar 09 DSCE Miniproject - Stepper Motors OR (x|y) x bit 0 0 1 1 y bit 0 1 0 1 result 0 1 1 1 AND (x&y) x bit 0 0 1 1 y bit 0 1 0 1 result 0 0 0 1 XOR (x^y) x bit 0 0 1 1 y bit 0 1 0 1 result 0 1 1 0
11.
12.
13.
14.
15.
16.
17.
18.
19.
20. Structure Charts with Functions BH Mar 09 DSCE Miniproject - Stepper Motors main celsius_to_fahrenheit output_temp fahrenheit get_celsius celsius celsius fahrenheit use the variable names from the calling functions shows that a parameter has been passed to a function shows that a value has been returned from a function