lab - 3 - dc motor control
DESCRIPTION
Control of a DC motor using BS2 on a Professional Development Board supplied by Parallax Inc.is attempted. All the control modes like P, PD and PID are carried. The Pulse Width Modulated signal is used to drive the motor at desired speeds. This is a part of the Mechatronics course offered by Mechanical and Aerospace Engg. Dept. in Spring 2010.TRANSCRIPT
![Page 1: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/1.jpg)
IMPLEMENTATION OF A
DC MOTOR SPEED CONTROL
MAE 576 [MECHATRONICS] LAB-3GROUP E
Chembrammel Elavunkal Srinivasan Vishwajeet
University at Buffalo, Mechatronics, Spring 2010
![Page 2: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/2.jpg)
Problem Statement
Creation and calibration of digital sensors - Building and interfacing a digital encoder to quantize and measure angular motions with focus on angular velocity measurement
Interfacing actuators along with necessary drive electronics –specifically examining the interfacing a DC fan motor to the BS2.
Using different control laws to try to achieve desired performance criteria-specifically examining one or more of the following control schemes(on-off ,P, PI,PD,PID);
Quantitatively logging the resulting data to evaluate the actual performance –specifically examining creation of a real time logging interface using Stamp Plot.
![Page 3: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/3.jpg)
Flow Chart
![Page 4: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/4.jpg)
Plant layout
![Page 5: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/5.jpg)
Circuit Diagram
Motor
![Page 6: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/6.jpg)
System implementation
![Page 7: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/7.jpg)
Calibration of optical switch
For white back ground
The binary value of the voltage switched states at 9mmThe range of operation is between 5mm and 9mm
![Page 8: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/8.jpg)
For Black back ground
CALIBRATION OF OPTICAL SWITCH CONTD.
![Page 9: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/9.jpg)
The encoder
Made out of QRB1114 The number of gradations on the
reflecting disc is 24 to get a count of 12 cycles per revolution Gives better RPM / count by the optical
sensor
![Page 10: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/10.jpg)
Measurement Authenticity
PIN HighPWM (255 Duty)
MAX RPM = 6500 +/- 10%MAX VOLT = 10VRPM = 10/12 X 6500 = 5400
![Page 11: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/11.jpg)
Motor drive
The motor is driven using PWM values changing the duty cycle
PWM
RPM
Range of operation
Calibration of PWM drive
![Page 12: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/12.jpg)
PWM drive calibration result
The PWM cannot drive the motor below the 34% duty-cycle, which corresponds to 1.7 volts for the amplifier gain of 2. This corresponds to a cut-off voltage of 3.5V of the motor, and a motor speed of 1000 rpm.
The range of operation of the motor is 34% to 100% of maximum duty cycle of the input signal.
![Page 13: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/13.jpg)
Tachometer testing
12V Input
Low noise
high noise
50 ms sampling time
100 ms sampling time
Tachometer calibration
![Page 14: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/14.jpg)
On-OFF control
1000 ms
100 ms
50 ms
![Page 15: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/15.jpg)
Differential Gap Control
Differential gap
![Page 16: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/16.jpg)
P control
![Page 17: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/17.jpg)
PI Control
![Page 18: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/18.jpg)
PD Control
![Page 19: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/19.jpg)
PID Control
![Page 20: Lab - 3 - DC Motor Control](https://reader036.vdocuments.mx/reader036/viewer/2022081422/5579ffb4d8b42a1c0a8b46a4/html5/thumbnails/20.jpg)
Conclusion
Achieved Encoder Implementation
Familiarized Motor Drive Techniques
PWM with RC with OPAMP with BJT
Understood Open Loop Control methods
Achieved Closed Loop Control Using ON/OFF
ON/OFF with differential gap
PID family
Understood Limitations of Digital Systems