Technical University of Iasi - Fac. Automatic and
Embedded Computer
|
Monday, 4 Feb., Time 11: 3
|
|
Laboratory work no. 3
|
dsPIC DSC - Unipolar stepper motor control
The lab work aims to provide a one-step step-by-step control for the dsPIC DSC. The basic concepts of how to interfacing and generating sequences for precise control of the movement of the motor shaft are studied.
DsPIC Starter Kit development system, step-by-step motor extension, USB interconnect cable,
MPLAB C30 oscilloscope .
Schema dsPIC Interface - Stepper Motor
Prototype Program
Guide dsPIC DSC Starter Kit
L3.5 Experiment Run / Tracking Mode:
|
- MPLAB C30 is punched on the PC using the dsPIC Digital Signal Controller CD;
- Connect the USB cable between the PC and the dsPIC DSC Starter kit board to transfer the code.
- Connect the unipolar stepper motor control interface;
- A Step.c source project is created in a personal directory;
- Configure MPLAB and the corresponding programmer accordingly;
- It is intended to get the HEX file and transfer it to the dsPIC DSC Starter Kit;
- Analyzing files resulting from the compilation process;
- The correct execution of the program is being monitored;
- Solving prototype issues;
- - Analyze the dsPIC interconnection scheme of the single-pole stepper motor;
- - Examine the control signals to drive the engine step by step with the oscilloscope;
- - Using the appropriate documentation, analyze the motor current consumption step by step;
1. Make a program sequence that will allow the motor to rotate in a trigonometric sense;
2. Make a program that allows you to rotate the engine shaft at maximum speed;
3. Create a program that will allow the spindle to be rotated step-by-step;
4. Make a program sequence that will allow you to determine the steps required for a complete rotation.
5. Make a program that rotates the motor shaft with a 45-degree angle.
L3.7 The experiment may be extended to:
|
- Achieving accurate positioning systems;
- Establishment of vehicle acceleration control systems;
- manufacture of industrial equipment for mechanical processing;
- Control of rear-view mirrors; - Computer peripherals;
L3.8 Documentary references:
|
© 2019 Fl. Pantilimonescu - Fac. Automation and Computers Iasi
|
|