SlideShare a Scribd company logo
1 of 6
Download to read offline
International Journal of Emerging Technology and Advanced Engineering
Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012)
146
Modeling, Simulation and Implementation of Speed
Control of DC Motor Using PIC 16F877A
Payal P.Raval1
, Prof.C.R.mehta2
1
PG Student, Electrical Engg. Department, Nirma University, SG Highway, Ahmedabad, Gujarat, India.
2
Asst. Prof. Electrical Engg. Department, Nirma University, SG Highway, Ahmedabad, Gujarat, India.
1
10meep15@nirmauni.ac.in
2
chintanmehta@nirmauni.ac.in
Abstract— The Microcontroller based adjustable closed-loop
DC motor speed controller systems has already become an
important drive configuration for many applications across a
wide range of powers and speeds . This is due to their simple
control, high reliability, low cost and fast response. Control
System Design and Analysis technologies are widely suppress
and very useful to be applied in real-time development. Some
can be solved by hardware technology and by the advance
used of software, control system are analyzed easily.
Fractional HP DC Motors can be used in various applications
and can be used as various sizes and rates. The designed
circuit is stimulated using Real peak and MP LAB. In this
paper, control techniques of PIC 16F877A microcontroller
and MOSFET, mechanism assignments of analyzed by mainly
focusing with the “Modeling and Simulation of DC Motor
using MATLAB”.
Keywords—DC Motor, MATLAB/ Simulink , PIC.
I. INTRODUCTION
Traditionally, the DC Motors and the associate close
loop control systems used to drive them have been
modeled using classic control theory techniques, based on
transfer functions. Control system design and analysis
technologies are widely suppress and very useful to be
applied in real-time development. Some can be solved by
hardware technology and by the advance used of software,
control system are analyzed easily and detail. DC Motors
can be used in various applications and can be used as
various sizes and rates. The microprocessor computes the
actual speed of the motor by sensing the terminal voltage. It
then compares the actual speed of the motor with the
reference speed and generates a suitable control signal
which is fed into the triggering unit. This unit drives a
Power MOSFET amplifier, which in turn supplies a PWM
voltage to the dc motor.
The objective of this paper is to explore the approach of
designing a microcontroller based closed loop controller.
The interface circuit and the software are all designed to
achieve a better performance.
The microcontroller system is equipped with an LCD
display and a keypad and software was written to monitor
the registers on the LCD and read commands from the
keypad. Thus, by using the User Interface Module (UIM)
the operator can view and/or change all the control and
monitoring variables of the controller program.
II. MODELING A DC MOTOR
For modeling and simulation of a DC Motor, simple circuit
of its electrical diagram as shown in Figure 1 is to be
considered.
A. Closed-Loop System Consideration
To perform the simulation of the system, an appropriate
model needs to be established. Therefore, a model based on
the motor specifications needs to be obtained. Figure-1
shows the DC motor circuit with Torque and Rotor Angle
consideration.
Fig.1.Schematic Diagram of a DC Motor
International Journal of Emerging Technology and Advanced Engineering
Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012)
147
B. System Equation
The motor torque T is related to the armature current, i , by
a torque constant K;
(1)
The generated voltage, ea, is relative to angular velocity by
(2)
(3)
From Fig. 1 we can write the following equations based on
the
Newton’s law com bined with the Kirchoff’s law:
+ b = Ki (4)
+RI =V - K (5)
C. Transfer Function
Using the Laplace transform, equations (3) and (4) can be
written as:
(6)
(7)
Where s denotes the Laplace operator. From (7) we can
express I(s):
(8)
and substitute it in (5) to obtain:
(9)
This equation for the DC motor is shown in the block
diagram in Fig. 2. From equation (8), the transfer function
from the input voltage, V(s), to the output angle θ, directly
follows:
(10)
From the block diagram in Fig. 2, it is easy to see that the
transfer function from the input voltage, V(s), to the
angular velocity is:
(11)
D. MATLAB Representation
To represent the model with m-file, we can perform the
Fig. 2 data as follows;
Power P = 0.37 kW
Speed N = 1500 rpm ,
Rotor Inertia J is assumed to be 0.01
Supply voltage = 220 volts.
Calculate the torque constant K;
(12)
K=1.4
By using equation (3) for
(13)
At the steady state (used as analyzed data), both I and ω are
stabilized;
And
(14)
(15)
Following value are assigned to be used for our desire
DC Motor Model:
Vt = 220v; J=0.01; b=0.02; k=1.4; Ra=13.5 Ω; La=132.5
mH. By calculating and assuming the require data as above.
International Journal of Emerging Technology and Advanced Engineering
Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012)
148
Figure.2 Closed loop system that Representing the DC motor
D. Analysis
We plot the step, impulse and frequency responses of the
given motor model:
Fig.3(a) Step response using simulink model.
Fig. 3(b) Impulse response using simulink model.
III . SIMULINK MODEL
The block diagram of Fig. 2 can be represented and
created as a model as shown in Fig. 4. The approaching to
construct this model can easily be done by using Simulink
Library. The M- file and Simulink model can be combined
by the following commands and these are commands used
in M-file which can be solve it.
Figure.4 Model created in SIMULINK Toolbox of MATLAB
Figure.5. Final results using simulink model (with Step response)
International Journal of Emerging Technology and Advanced Engineering
Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012)
149
IV. SYSTEM DESCRIPTION
The input from the stable power supply unit (230 V AC)
is converted into 12v AC by means of a step down
transformer, the output of this is used as input to bridge
rectifier circuit. Here in this system bridge rectifier will
generate 5 V DC with the help of regulator 7805. The
output of the 7805 regulator is used as an input to the PIC.
The PIC will generate pulses to drive the DC motor
according to the requirement. As the output voltage of the
PIC is in mV, driver circuits are used to drive the DC motor
An optical encoder is used to measure the speed of the
motor. The output of the encoder is a stream of pulses with
variable frequency according to the speed of the motor. The
optocouplers were used to isolate the high voltage circuits
from the low voltage controlling signals. The rating of the
motor should be chosen according to the rating of the
power circuit.
For this study a dc shunt motor with ratings 1500 rpm,
220 V, 2.3 A, 0.37 kW is used. The entire operation of the
blocks is explained briefly as follows with the diagram as
shown in figure.6 below.
Fig.6.Circuit diagram for DC Motor speed control.
A. Microcontroller PIC16F877A.
Peripheral Interface Controller (PIC) is a term
introduced by Microchip technology. PIC 16F877A is a
family of CMOS 8-bit Flash microcontrollers[3]. Power
consumption is very low. PIC16F877A is a 40/44-pin
device which can operate at up to 20 MHz clock speed.
It has 8K * 14 words flash program memory, 368*8
RAM data memory, 64bytes of EEPROM nonvolatile
data memory, 8-bit timer with pre-scalar, watchdog
timer, Only 35 single-word instructions to learn, external
and internal interrupt sources and large sink and source
capability. The architecture is shown in Fig.3[3]
Fig.7.Architecture of PIC16F877A Microcontroller
B. Driver Circuit
This driver circuit is designed based on the DC motor
current ratings, The current rating of the DC motor is 2.3
Amp So driver circuit is needed. It is the most popular
and cost effective drive circuits for driving MOSFETs. A
bipolar, non-inverting totem-pole driver as shown in Fig 4.
Transistors can be used to supply higher current to the
motor. This circuit handles the current spikes and power
losses making the operating conditions for the PWM
controller more favorable.
Fig.8 Driver Circuit
International Journal of Emerging Technology and Advanced Engineering
Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012)
150
V . SIMULATION RESULTS
The proposed control circuit is implemented using software
module like Real PIC Simulator as shown in Fig 9. For the
purpose of coding the software package used is MPLAB.
Fig.9(a) Output pulses of PIC16F877A through MPLAB IDE for
ω=500rpm
Fig.9 (b) Output pulses of PIC16F877A through MPLAB IDE for
ω=1500 rpm
VI. HARDWARE SETUP AND RESULTS
A. Minimum Hardware connections of PIC16F877A
The results shown are for the motor having parameters:
V = 220 V, ω=1500 rpm, P = 0.37 kW, I=2.3 A.
The minimum hardware connections circuit board is as
shown in Fig.10. Two pins are used to provide supply
voltage tochip. The stable power supply of +5 V is used.
If any suddenly jerk is coming our PIC IC will not
damage. Two pins are also used for ground. In chips with
40pins and more, it is common to have multiple pins for
Vcc and GND. This will help reduce the noise (ground
bounce) in high-frequency systems. The PIC 16F has many
options for the clock source. Most often a quartz crystal
oscillator is connected to input pins OSC1 & OSC2. PIC
16F877A microcontroller can have speed of 0 Hz to 20
MHz.
Figure.10 PIC 16F877A Hardware Connection with Power Supply,
Driver circuit and LCD Display
B. Bridge Rectifiers, Regulator and Driver circuit
The bridge rectifiers,Regulator and driver circuit used to
convert 230 V AC to 12 V DC and 5 V DC to give as input
to the PIC 16F877A controller is shown in Fig.11
Fig.11. Bridge rectifiers, Regulators and driver circuit
C. Optical Encoder and Rotating disk
The most popular type of encoder is the optical encoder,
which consists of a rotating disk, a light source, and a photo
detector (light sensor). The disk .which is mounted on the
rotating shaft, has coded patterns of opaque and transparent
sectors.
Bridge ckt Driver
circuit
LCD
PIC
Power
supply
s
Driver ckt
International Journal of Emerging Technology and Advanced Engineering
Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012)
151
As the disk rotates, these patterns interrupt the light
emitted onto the photo detector, generating a digital or
pulse signal output. It is shown in fig. 12 .
Figure.12.Optical Encoder and rotating disc (8 Number of Slots)
which is mounted on the rotating shaft
The corresponding output pulse of PIC is as shown in
Fig 13 on CRO and Fig 14 on LCD
Fig.13Practical output pulse of pic16F877A in CRO
Fig.14.Practically Actual & Ref. speed on LCD ω = 750 rpm
VII. CONCLUSION
The DC machine is considered to be basic electric
machines. The aim of this paper is to introduce Technicians
to the modeling of power components and to use computer
simulation as a tool for conducting transient and control
studies. The Microcontroller based adjustable closed-loop
DC motor speed controller system has been developed. .
The results showed that the microcontroller is a reliable
instrument to control the motor. This system is applicable
to different sizes of motors and capable of controlling the
speed of the motors with very high precision.
VIII. REFERENCES
[1] Wai Phyo Aung, “Analysis on Modeling and Simulink of DC Motor
and its Driving System Used for Wheeled Mobile Robot” , PWASET
VOLUME 26 DECEMBER 2007 ISSN 1307-6884.
[2] Gopal K. Dubey, Fundamentals of Electrical Drives, 2nd edition,
Narosa Publishing House, New Delhi-2007.
[3] Muhammad Ali Mazidi, PIC Microcontroller and Embedded systems
using Assembly and C for PIC16, Pearson Education, 2008.
[4]Ajay V. Deshmukh, “Microcontrollers: Theory and applications”, Tata
McGraw-Hill
[5] 7805 and 7812 Voltage Regulator ICs-Data sheets.
[6] “PIC16F877A” Data sheet from Microchip Corporation.
[7] MPLAB IDE Software-Microchip technology.
Optical
encoder
Rotating
disk

More Related Content

What's hot

IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...
IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...
IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...IRJET Journal
 
A Review on Rapid Control of a Brushless Motor in an Hybrid System
A Review on Rapid Control of a Brushless Motor in an Hybrid SystemA Review on Rapid Control of a Brushless Motor in an Hybrid System
A Review on Rapid Control of a Brushless Motor in an Hybrid Systemsunil kumar
 
Hybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed controlHybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed controlIOSR Journals
 
FPGA Based Speed Control of BLDC Motor
FPGA Based Speed Control of BLDC MotorFPGA Based Speed Control of BLDC Motor
FPGA Based Speed Control of BLDC MotorRajesh Pindoriya
 
Speed Control of Brushless Dc Motor Using Fuzzy Logic Controller
Speed Control of Brushless Dc Motor Using Fuzzy Logic ControllerSpeed Control of Brushless Dc Motor Using Fuzzy Logic Controller
Speed Control of Brushless Dc Motor Using Fuzzy Logic Controlleriosrjce
 
Adaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc Motor
Adaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc MotorAdaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc Motor
Adaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc MotorIOSR Journals
 
Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...
Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...
Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...IOSR Journals
 
Comparisons of fuzzy mras and pid controllers for ems maglev train
Comparisons of fuzzy mras and pid controllers for ems maglev trainComparisons of fuzzy mras and pid controllers for ems maglev train
Comparisons of fuzzy mras and pid controllers for ems maglev trainMustefa Jibril
 
Speed control of a dc motor a matlab approach
Speed control of a dc motor a matlab approachSpeed control of a dc motor a matlab approach
Speed control of a dc motor a matlab approachIAEME Publication
 
BLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTBLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTAmiya Ranjan Behera
 
Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...
Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...
Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...IOSR Journals
 
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLABDesign of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLABijsrd.com
 
Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...
Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...
Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...ijsrd.com
 
Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...Mustefa Jibril
 
IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...
IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...
IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...IRJET Journal
 
Reviews of Cascade Control of Dc Motor with Advance Controller
Reviews of Cascade Control of Dc Motor with Advance ControllerReviews of Cascade Control of Dc Motor with Advance Controller
Reviews of Cascade Control of Dc Motor with Advance Controllerijsrd.com
 
SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTC
SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTCSPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTC
SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTCijics
 
Report pid controller dc motor
Report pid controller dc motorReport pid controller dc motor
Report pid controller dc motorchea kimsairng
 

What's hot (19)

IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...
IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...
IRJET- Modeling and Control of Three Phase BLDC Motor using PID and Fuzzy Log...
 
A Review on Rapid Control of a Brushless Motor in an Hybrid System
A Review on Rapid Control of a Brushless Motor in an Hybrid SystemA Review on Rapid Control of a Brushless Motor in an Hybrid System
A Review on Rapid Control of a Brushless Motor in an Hybrid System
 
Hybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed controlHybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed control
 
FPGA Based Speed Control of BLDC Motor
FPGA Based Speed Control of BLDC MotorFPGA Based Speed Control of BLDC Motor
FPGA Based Speed Control of BLDC Motor
 
Speed Control of Brushless Dc Motor Using Fuzzy Logic Controller
Speed Control of Brushless Dc Motor Using Fuzzy Logic ControllerSpeed Control of Brushless Dc Motor Using Fuzzy Logic Controller
Speed Control of Brushless Dc Motor Using Fuzzy Logic Controller
 
Adaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc Motor
Adaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc MotorAdaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc Motor
Adaptive Fuzzy PID Regulator for the Speed Control of Brushless Dc Motor
 
Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...
Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...
Speed Control of FSTP Inverter Fed Induction Motor Drive with a Neural Networ...
 
Comparisons of fuzzy mras and pid controllers for ems maglev train
Comparisons of fuzzy mras and pid controllers for ems maglev trainComparisons of fuzzy mras and pid controllers for ems maglev train
Comparisons of fuzzy mras and pid controllers for ems maglev train
 
Speed control of a dc motor a matlab approach
Speed control of a dc motor a matlab approachSpeed control of a dc motor a matlab approach
Speed control of a dc motor a matlab approach
 
BLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTBLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPT
 
Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...
Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...
Brushless Dc Motor Speed Control Using Proportional-Integral And Fuzzy Contro...
 
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLABDesign of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
 
Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...
Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...
Digital Signal Controller Based Four Switch Three Phase Inverter Fed BLDC Mot...
 
Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...
 
IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...
IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...
IRJET- Control Strategy of Induction Motor Drive by using Universal Controlle...
 
Final Report
Final ReportFinal Report
Final Report
 
Reviews of Cascade Control of Dc Motor with Advance Controller
Reviews of Cascade Control of Dc Motor with Advance ControllerReviews of Cascade Control of Dc Motor with Advance Controller
Reviews of Cascade Control of Dc Motor with Advance Controller
 
SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTC
SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTCSPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTC
SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTC
 
Report pid controller dc motor
Report pid controller dc motorReport pid controller dc motor
Report pid controller dc motor
 

Similar to Ijetae 0312 24

Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...
Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...
Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...IJECEIAES
 
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLERDC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLERTridib Bose
 
Simulation Design of DC Motor Control System Based on MC9S12D64 MCU
Simulation Design of DC Motor Control System Based on MC9S12D64 MCUSimulation Design of DC Motor Control System Based on MC9S12D64 MCU
Simulation Design of DC Motor Control System Based on MC9S12D64 MCUIJERA Editor
 
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLERFOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLERJournal For Research
 
IRJET - IoT based Speed Control of DC Motor using PWM Technique
IRJET -  	  IoT based Speed Control of DC Motor using PWM TechniqueIRJET -  	  IoT based Speed Control of DC Motor using PWM Technique
IRJET - IoT based Speed Control of DC Motor using PWM TechniqueIRJET Journal
 
Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...Mustefa Jibril
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)inventionjournals
 
Speed control of motor usinng matlab
Speed control of motor usinng  matlabSpeed control of motor usinng  matlab
Speed control of motor usinng matlabshadabshaikh102
 
Design and Implementation of speed control for 3 phase induction motor using ...
Design and Implementation of speed control for 3 phase induction motor using ...Design and Implementation of speed control for 3 phase induction motor using ...
Design and Implementation of speed control for 3 phase induction motor using ...IRJET Journal
 
Simulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID ControllerSimulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID Controllerijtsrd
 
A NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVES
A NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVESA NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVES
A NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVEScscpconf
 
IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...
IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...
IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...IRJET Journal
 
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATIONAN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATIONJournal For Research
 
Bi directional speed control of dc motor and stepper motor through mat lab us...
Bi directional speed control of dc motor and stepper motor through mat lab us...Bi directional speed control of dc motor and stepper motor through mat lab us...
Bi directional speed control of dc motor and stepper motor through mat lab us...eSAT Journals
 

Similar to Ijetae 0312 24 (20)

Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...
Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...
Efficient bridgeless SEPIC converter fed PMBLDC motor using artificial neural...
 
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLERDC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
 
Simulation Design of DC Motor Control System Based on MC9S12D64 MCU
Simulation Design of DC Motor Control System Based on MC9S12D64 MCUSimulation Design of DC Motor Control System Based on MC9S12D64 MCU
Simulation Design of DC Motor Control System Based on MC9S12D64 MCU
 
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLERFOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
 
IRJET - IoT based Speed Control of DC Motor using PWM Technique
IRJET -  	  IoT based Speed Control of DC Motor using PWM TechniqueIRJET -  	  IoT based Speed Control of DC Motor using PWM Technique
IRJET - IoT based Speed Control of DC Motor using PWM Technique
 
Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...
 
D0262019026
D0262019026D0262019026
D0262019026
 
D0262019026
D0262019026D0262019026
D0262019026
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
Speed control of motor usinng matlab
Speed control of motor usinng  matlabSpeed control of motor usinng  matlab
Speed control of motor usinng matlab
 
Design and Implementation of speed control for 3 phase induction motor using ...
Design and Implementation of speed control for 3 phase induction motor using ...Design and Implementation of speed control for 3 phase induction motor using ...
Design and Implementation of speed control for 3 phase induction motor using ...
 
C010141422
C010141422C010141422
C010141422
 
Simulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID ControllerSimulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID Controller
 
25. 23248.pdf
25. 23248.pdf25. 23248.pdf
25. 23248.pdf
 
Design of a discrete PID controller based on identification data for a simsca...
Design of a discrete PID controller based on identification data for a simsca...Design of a discrete PID controller based on identification data for a simsca...
Design of a discrete PID controller based on identification data for a simsca...
 
A NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVES
A NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVESA NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVES
A NEW APPROACH TO DTC METHOD FOR BLDC MOTOR ADJUSTABLE SPEED DRIVES
 
IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...
IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...
IRJET- Design & Implementation of Sensorless BLDC Motor Drive with Digital Fi...
 
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATIONAN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
 
Presentation200 (1).ppt
Presentation200 (1).pptPresentation200 (1).ppt
Presentation200 (1).ppt
 
Bi directional speed control of dc motor and stepper motor through mat lab us...
Bi directional speed control of dc motor and stepper motor through mat lab us...Bi directional speed control of dc motor and stepper motor through mat lab us...
Bi directional speed control of dc motor and stepper motor through mat lab us...
 

Recently uploaded

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

Ijetae 0312 24

  • 1. International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012) 146 Modeling, Simulation and Implementation of Speed Control of DC Motor Using PIC 16F877A Payal P.Raval1 , Prof.C.R.mehta2 1 PG Student, Electrical Engg. Department, Nirma University, SG Highway, Ahmedabad, Gujarat, India. 2 Asst. Prof. Electrical Engg. Department, Nirma University, SG Highway, Ahmedabad, Gujarat, India. 1 10meep15@nirmauni.ac.in 2 chintanmehta@nirmauni.ac.in Abstract— The Microcontroller based adjustable closed-loop DC motor speed controller systems has already become an important drive configuration for many applications across a wide range of powers and speeds . This is due to their simple control, high reliability, low cost and fast response. Control System Design and Analysis technologies are widely suppress and very useful to be applied in real-time development. Some can be solved by hardware technology and by the advance used of software, control system are analyzed easily. Fractional HP DC Motors can be used in various applications and can be used as various sizes and rates. The designed circuit is stimulated using Real peak and MP LAB. In this paper, control techniques of PIC 16F877A microcontroller and MOSFET, mechanism assignments of analyzed by mainly focusing with the “Modeling and Simulation of DC Motor using MATLAB”. Keywords—DC Motor, MATLAB/ Simulink , PIC. I. INTRODUCTION Traditionally, the DC Motors and the associate close loop control systems used to drive them have been modeled using classic control theory techniques, based on transfer functions. Control system design and analysis technologies are widely suppress and very useful to be applied in real-time development. Some can be solved by hardware technology and by the advance used of software, control system are analyzed easily and detail. DC Motors can be used in various applications and can be used as various sizes and rates. The microprocessor computes the actual speed of the motor by sensing the terminal voltage. It then compares the actual speed of the motor with the reference speed and generates a suitable control signal which is fed into the triggering unit. This unit drives a Power MOSFET amplifier, which in turn supplies a PWM voltage to the dc motor. The objective of this paper is to explore the approach of designing a microcontroller based closed loop controller. The interface circuit and the software are all designed to achieve a better performance. The microcontroller system is equipped with an LCD display and a keypad and software was written to monitor the registers on the LCD and read commands from the keypad. Thus, by using the User Interface Module (UIM) the operator can view and/or change all the control and monitoring variables of the controller program. II. MODELING A DC MOTOR For modeling and simulation of a DC Motor, simple circuit of its electrical diagram as shown in Figure 1 is to be considered. A. Closed-Loop System Consideration To perform the simulation of the system, an appropriate model needs to be established. Therefore, a model based on the motor specifications needs to be obtained. Figure-1 shows the DC motor circuit with Torque and Rotor Angle consideration. Fig.1.Schematic Diagram of a DC Motor
  • 2. International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012) 147 B. System Equation The motor torque T is related to the armature current, i , by a torque constant K; (1) The generated voltage, ea, is relative to angular velocity by (2) (3) From Fig. 1 we can write the following equations based on the Newton’s law com bined with the Kirchoff’s law: + b = Ki (4) +RI =V - K (5) C. Transfer Function Using the Laplace transform, equations (3) and (4) can be written as: (6) (7) Where s denotes the Laplace operator. From (7) we can express I(s): (8) and substitute it in (5) to obtain: (9) This equation for the DC motor is shown in the block diagram in Fig. 2. From equation (8), the transfer function from the input voltage, V(s), to the output angle θ, directly follows: (10) From the block diagram in Fig. 2, it is easy to see that the transfer function from the input voltage, V(s), to the angular velocity is: (11) D. MATLAB Representation To represent the model with m-file, we can perform the Fig. 2 data as follows; Power P = 0.37 kW Speed N = 1500 rpm , Rotor Inertia J is assumed to be 0.01 Supply voltage = 220 volts. Calculate the torque constant K; (12) K=1.4 By using equation (3) for (13) At the steady state (used as analyzed data), both I and ω are stabilized; And (14) (15) Following value are assigned to be used for our desire DC Motor Model: Vt = 220v; J=0.01; b=0.02; k=1.4; Ra=13.5 Ω; La=132.5 mH. By calculating and assuming the require data as above.
  • 3. International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012) 148 Figure.2 Closed loop system that Representing the DC motor D. Analysis We plot the step, impulse and frequency responses of the given motor model: Fig.3(a) Step response using simulink model. Fig. 3(b) Impulse response using simulink model. III . SIMULINK MODEL The block diagram of Fig. 2 can be represented and created as a model as shown in Fig. 4. The approaching to construct this model can easily be done by using Simulink Library. The M- file and Simulink model can be combined by the following commands and these are commands used in M-file which can be solve it. Figure.4 Model created in SIMULINK Toolbox of MATLAB Figure.5. Final results using simulink model (with Step response)
  • 4. International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012) 149 IV. SYSTEM DESCRIPTION The input from the stable power supply unit (230 V AC) is converted into 12v AC by means of a step down transformer, the output of this is used as input to bridge rectifier circuit. Here in this system bridge rectifier will generate 5 V DC with the help of regulator 7805. The output of the 7805 regulator is used as an input to the PIC. The PIC will generate pulses to drive the DC motor according to the requirement. As the output voltage of the PIC is in mV, driver circuits are used to drive the DC motor An optical encoder is used to measure the speed of the motor. The output of the encoder is a stream of pulses with variable frequency according to the speed of the motor. The optocouplers were used to isolate the high voltage circuits from the low voltage controlling signals. The rating of the motor should be chosen according to the rating of the power circuit. For this study a dc shunt motor with ratings 1500 rpm, 220 V, 2.3 A, 0.37 kW is used. The entire operation of the blocks is explained briefly as follows with the diagram as shown in figure.6 below. Fig.6.Circuit diagram for DC Motor speed control. A. Microcontroller PIC16F877A. Peripheral Interface Controller (PIC) is a term introduced by Microchip technology. PIC 16F877A is a family of CMOS 8-bit Flash microcontrollers[3]. Power consumption is very low. PIC16F877A is a 40/44-pin device which can operate at up to 20 MHz clock speed. It has 8K * 14 words flash program memory, 368*8 RAM data memory, 64bytes of EEPROM nonvolatile data memory, 8-bit timer with pre-scalar, watchdog timer, Only 35 single-word instructions to learn, external and internal interrupt sources and large sink and source capability. The architecture is shown in Fig.3[3] Fig.7.Architecture of PIC16F877A Microcontroller B. Driver Circuit This driver circuit is designed based on the DC motor current ratings, The current rating of the DC motor is 2.3 Amp So driver circuit is needed. It is the most popular and cost effective drive circuits for driving MOSFETs. A bipolar, non-inverting totem-pole driver as shown in Fig 4. Transistors can be used to supply higher current to the motor. This circuit handles the current spikes and power losses making the operating conditions for the PWM controller more favorable. Fig.8 Driver Circuit
  • 5. International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012) 150 V . SIMULATION RESULTS The proposed control circuit is implemented using software module like Real PIC Simulator as shown in Fig 9. For the purpose of coding the software package used is MPLAB. Fig.9(a) Output pulses of PIC16F877A through MPLAB IDE for ω=500rpm Fig.9 (b) Output pulses of PIC16F877A through MPLAB IDE for ω=1500 rpm VI. HARDWARE SETUP AND RESULTS A. Minimum Hardware connections of PIC16F877A The results shown are for the motor having parameters: V = 220 V, ω=1500 rpm, P = 0.37 kW, I=2.3 A. The minimum hardware connections circuit board is as shown in Fig.10. Two pins are used to provide supply voltage tochip. The stable power supply of +5 V is used. If any suddenly jerk is coming our PIC IC will not damage. Two pins are also used for ground. In chips with 40pins and more, it is common to have multiple pins for Vcc and GND. This will help reduce the noise (ground bounce) in high-frequency systems. The PIC 16F has many options for the clock source. Most often a quartz crystal oscillator is connected to input pins OSC1 & OSC2. PIC 16F877A microcontroller can have speed of 0 Hz to 20 MHz. Figure.10 PIC 16F877A Hardware Connection with Power Supply, Driver circuit and LCD Display B. Bridge Rectifiers, Regulator and Driver circuit The bridge rectifiers,Regulator and driver circuit used to convert 230 V AC to 12 V DC and 5 V DC to give as input to the PIC 16F877A controller is shown in Fig.11 Fig.11. Bridge rectifiers, Regulators and driver circuit C. Optical Encoder and Rotating disk The most popular type of encoder is the optical encoder, which consists of a rotating disk, a light source, and a photo detector (light sensor). The disk .which is mounted on the rotating shaft, has coded patterns of opaque and transparent sectors. Bridge ckt Driver circuit LCD PIC Power supply s Driver ckt
  • 6. International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, Volume 2, Issue 3, March 2012) 151 As the disk rotates, these patterns interrupt the light emitted onto the photo detector, generating a digital or pulse signal output. It is shown in fig. 12 . Figure.12.Optical Encoder and rotating disc (8 Number of Slots) which is mounted on the rotating shaft The corresponding output pulse of PIC is as shown in Fig 13 on CRO and Fig 14 on LCD Fig.13Practical output pulse of pic16F877A in CRO Fig.14.Practically Actual & Ref. speed on LCD ω = 750 rpm VII. CONCLUSION The DC machine is considered to be basic electric machines. The aim of this paper is to introduce Technicians to the modeling of power components and to use computer simulation as a tool for conducting transient and control studies. The Microcontroller based adjustable closed-loop DC motor speed controller system has been developed. . The results showed that the microcontroller is a reliable instrument to control the motor. This system is applicable to different sizes of motors and capable of controlling the speed of the motors with very high precision. VIII. REFERENCES [1] Wai Phyo Aung, “Analysis on Modeling and Simulink of DC Motor and its Driving System Used for Wheeled Mobile Robot” , PWASET VOLUME 26 DECEMBER 2007 ISSN 1307-6884. [2] Gopal K. Dubey, Fundamentals of Electrical Drives, 2nd edition, Narosa Publishing House, New Delhi-2007. [3] Muhammad Ali Mazidi, PIC Microcontroller and Embedded systems using Assembly and C for PIC16, Pearson Education, 2008. [4]Ajay V. Deshmukh, “Microcontrollers: Theory and applications”, Tata McGraw-Hill [5] 7805 and 7812 Voltage Regulator ICs-Data sheets. [6] “PIC16F877A” Data sheet from Microchip Corporation. [7] MPLAB IDE Software-Microchip technology. Optical encoder Rotating disk