Professional Documents
Culture Documents
PATH-FINDER
Robotics Club
Reach it
Sensory devices for direction and feedback Sensor data processing unit Actuators Locomotion system Control system for making decisions Power supply
Touch Sensors
One of the most simple ones---just a switch
electrical flow
force
voltage measurement
IR Sensor
This Consists of IR LED, IR sensor and a variable resistance (preset). The LED continuously emits and when any obstacle comes in front, the intensity is increased at the sensors, hence changing their state from OFF to ON. The range of these LEDs can be changed using the preset (changing threshold).
voltage measurement
voltage measurement
electrical flow
LDRs are light dependent resistances Two circuits are possible as shown and the formula for them is
Rvariable
Rvariable
Actuators
Wordweb:A mechanism that puts something into automatic action. They convert electrical energy into mechanical energy. Motors provide rotational motion Electromagnet provides linear motion
Types of Motors
DC motors :Extensively used, all purpose ones, driven by dc power supply AC motor : not used in robotics, driven by ac power Stepper motor: extensively used in robotics where controlled rotation is required Servo motor: geared dc motor with inbuilt feedback and error compensation
DC Motor
Working of a DC Motor
1. Direction of motion is controlled by polarity of voltage or direction of current 2. Speed is controlled by changing the average power (energy) fed to the DC motor
DC motor continued
DC motors are high speed and low torque devices Gears are used to decrease the speed and increase the torque They give a smooth shaft movement Easy to operate
DC motor drivers
Drivers are current amplifier circuits A low current control signal is converted into a proportionally higher current signal that can drive a motor
But How???? Power Transistors---Those which can handle current of the order of Amps
Switching circuit
H-bridge working
H-Bridge working
Actual Circuit
When both the points A & B are "HIGH" Q1 and Q2 are in saturation. Hence the bases of Q3 to Q6 are grounded. Hence Q3,Q5 are OFF and Q4,Q6 are ON . The voltages at both the motor terminals is same, so the motor is OFF. Similarly when both A and B are "LOW" the motor is OFF. When A is HIGH and B is LOW, Q1 saturates ,Q2 is OFF. The bases of Q3 and Q4 are grounded and that of Q4 and Q5 are HIGH. Therefore Q4 and Q5 conduct making the right terminal of the motor more positive than the left and the motor is ON. When A is LOW and B is HIGH ,the left terminal of the motor is more positive than the right and the motor rotates in the reverse direction. You can use only the SL/SK100s ,but BC148 used have a very low hFE ~70 and they would enter the active region for 3V(2.9V was what I got from the computer for a HIGH) . You can ditch the BC148 if you have a SL/SK100 with a decent value of hFE ( like 150).The diodes protect the transistors from surge produced due to the sudden reversal of the motor. The approx. cost of the circuit without the motor is around Rs.40.
Input: Operating voltage and control signal Output: Part of operating voltage according to control signal:
Voltage across the terminal of Motor can be changed by passing current through a variable resistor. But it is extremely energy inefficient A reduced average voltage is supplied to the motor by a technique called PWM
PWM
Pulse width modulation PWM is a technique to generate waveform of different duty cycles depending upon an input control voltage After feeding voltage waveform and changing its duty cycle ,speed can be controlled.
Duty cycle
Time period (T): duration after which the voltage waveform repeats itself Duty cycle: % time of T when the voltage is equal to operating voltage Average voltage:= Duty cycle x operating voltage ------------------------------------100
PWM generation
Stepper Motor
Widely use in Robotics ---why?? Because it is more precise than DC motor Measured rotation and can be held at a particular position Alignation is much better in a differential drive
Types of Stepper
Continued.
Bipolar motor: the current flows in both direction in the windings of the coils. i.e. the stator poles can be polarized both way.
Comparison
Unipolar
Bipolar
Current flow in one direction Simple drive circuit Less torque Smooth drive
Current flow in both direction Complicated drive Circuit High Torque Not Smooth
This kind of motor has four coils . When energized in the correct sequence, it causes the permanent magnet attached to the shaft to rotate. There are 4 basic step sequences. After step 4, the sequence is repeated from step 1 again. Reversing the order of the steps in a sequence will reverse the direction of rotation.
0100
0001
1000
1001
Note: The excitation of Coil 4 is always the inverse of the excitation of Coil 2. The excitation of Coil 1 is always the inverse of the excitation of Coil 3. So, with the right circuit, you can generate this sequence with only two data lines.
0100
0011
1001
0010
1000
0110
1100
0100
Comparison
Single coil
Low torque
Consume less energy Settling time is more
Double coil
High torque
Consume double energy Settling time is less
Circuit Diagram
Connections
Data Port1
Motor 1
Data Port2
Motor 2
Note connect a 15v zener diode to pin 10 of IC as shown to prevent damage to the IC due to "back emf" when loads such as motors switch on and off
PC parallel Port
The PC's Parallel Printer Port has a total of 12 digital outputs and 5 digital inputs accessed via 3 consecutive 8-bit ports in the processor's I/O space. 8 output pins accessed via the DATA Port 5 input pins (one inverted) accessed via the STATUS Port 4 output pins (three inverted) accessed via the CONTROL Port The remaining 8 pins are grounded