VISION BASED �CONTROL OF SERVO MOTOR��
GROUP MEMBERS
ROLL-14/EE/13
ROLL-14/EE/20
ROLL-14/EE/19
ROLL-14/EE/47
MENTORS
I would like to express my special thanks of gratitude to my professors who gave me the golden opportunity to do this wonderful project on this topic, which also helped me in doing a lot of Research and I came to know about many new things. I am really thankful to them.
ACKNOWLEDGEMENT
OBJECTIVE
WORKFLOW
IMAGE CAPTURE AND
GESTURE DETECTION
WIRELESS DATA TRANSFER
PRECISE SERVO MOTOR CONTROL
SERVO MOTOR CONTROL -�BLOCK DIAGRAM
INPUT
OUTPUT
ARDUINO
MOTOR
H-BRIDGE
(DESIRED POSITION)
0 1 - CCW
1 0 - CW
(OBTAINED POSITION)
BLOCK DIAGRAM
-
INPUT
ENCODER
OUTPUT
+
ARDUINO
MOTOR
H-BRIDGE
(DESIRED POSITION)
(OBTAINED POSITION)
ERROR
SERVOMECHANISM
BLOCK DIAGRAM OF SERVOMECHANISM
QUADRATURE ENCODER
H BRIDGE
Structure of an H bridge
The two basic states of an H bridge
Truth table of H-Bridge
CIRCUIT DIAGRAM
INTRODUCTION OF PID CONTROLLER
PROPORTIONAL CONTROLLER
�
Error = Set Point – Process Variable
Integral = Integral + Error
Control Variable = (Kp * Error) + (Ki * Integral)
INTEGRAL CONTROLLER
where Error is the current error value and Last Error is the error value for the previous iteration.
Last Error = Error
Error = Set Point – Process Variable
Derivative = Error – Last Error
Control Variable = (Kp * Error) + (Kd * Derivative)
DERIVATIVE CONTROLLER
Last Error = Error
Error = Set Point – Process Variable
Integral = Integral + Error
Derivative = Error – Last Error
Control Variable = (Kp * Error) + (Ki * Integral) + (Kd * Derivative)
PID CONTROLLER
Block diagram of PID controller
1. Find and segment the hand region from the video sequence.
2. Count the number of fingers from the segmented hand region in the video sequence.
HAND GESTURE RECOGNITION
FLOWCHART
SEGMENTATION OF
HAND REGION
BACKGROUND SUBTRACTION AND THRESHOLDING
Segmenting hand region in a real-time video sequence
COUNTING THE FINGER
WORKING OF HAND GESTURE RECOGNITION
1. Background image is captured first
2. One finger recognized correctly
3. Two fingers are recognized correctly
CONFIGURING THE HC-05 BLUETOOTH MODULE – AT COMMANDS
SLAVE CONFIGURATION
MASTER CONFIGURATION�
EXAMPLE OF
COMMUNICATION BETWEEN TWO
HC-05 BLUETOOTH MODULE
FUTURE ASCPECT
THANK YOU