encoders what is an encoder? an encoder is a sensor for converting rotary motion or position to a...

33
Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Upload: mervyn-simon

Post on 12-Jan-2016

241 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Encoders

• What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Page 2: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Types of encoders

1.Absolute encoders• Absolute encoders have a unique code that

can be detected for each angular position• Absolute encoders are much more complex and

expensive than incremental encoders

1. Absolute encoders2. Incremental encoders

Page 3: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses
Page 4: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

2.Incremental encoders • Pulses from LEDS are counted to provide

rotary position • Two detectors are used to determine

direction (quadrature)

Page 5: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses
Page 6: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Acceleration sensors• Although acceleration can be derived from the time history data obtainable from linear or rotary sensors,

• The accelerometers whose output is directly proportional to the acceleration is preferred

• Accelerometers are used to measure acceleration. The majority of these sensors are, by definition, force sensors, being based on Newton's second law of motion:

force = mass x acceleration.

Page 7: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Cantilever beam spring-mass system

When the object (and the accelerometer) accelerates, the mass exerts a force, which the transducer translates into a voltage output

Page 8: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• Certain materials were observed to generate a voltage when subjected to a mechanical strain, or undergo a change in physical dimensions under an applied voltage.

• In response to a mechanical strain the piezoelement generates a charge, which is temporarily stored in the inherent capacitance of the piezoelement.

Page 9: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Piezoelectric accelerometer and an equivalent circuit

Page 10: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• The relationship between an applied force and the surface charge generated is:

Q = DF, where Q is the surface charge, D is the piezoelectric constant and F is the applied force.

With time the charge dissipates due to leakage This makes piezoelements most useful for dynamic measurements, such as acceleration.

Page 11: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Force, Torque & Pressure Sensors

• Among many type of force/torque sensors, the strain gage dynamometers and piezoelectric type are most common

• Both are available to measure force and/or torque either in one axis or multiple axes

• The dynamometers make use of mechanical members that experiences elastic deflection when loaded

• These types of sensors are limited by their natural frequency

• On the other hand, the piezoelectric sensors are particularly suitable for dynamic loadings in a wide range of frequencies.

• They provide high stiffness, high resolution over a wide measurement range, and are compact.

Page 12: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Temperature Sensors• A variety of devices are available to measure

temperature, the most common of which are thermocouples, thermistors, resistance temperature detectors (RTD), and infrared types.

• Thermocouples are the most versatile, inexpensive, and have a wide range (up to 1200°C typical)

• A thermocouple simply consists of two dissimilar metal wires joined at the ends to create the sensing junction

• When used in conjunction with a reference junction, the temperature difference between the reference junction and the actual temperature shows up as a voltage potential.

Page 13: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• Thermisters are semiconductor devices whose resistance changes as the temperature changes.

• They are good for very high sensitivity measurements in a limited range of up to 100°C

• The relationship between the temperature and the resistance is nonlinear.

• RTDs use the phenomenon that the resistance of a metal changes with temperature. They are, however, linear over a wide range and most stable.

Page 14: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Infrared type sensors use the radiation heat to sense the temperature from a distance. These noncontact sensors can also be used to sense a field of vision to generate a thermal map of a surface.

Page 15: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Actuators

• DC Motors

• Stepper Motors

• AC Motors

• Hydraulics and Pneumatics

Page 16: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

DC Motors• The rotor of DC motor is wound in such a way that the

electromagnetic force causes the rotor to rotate

• If the currents in the motor’s conductors were constant, the rotor would move to some stable position, swing to and fro around it a few times, and then come to rest.

• But the current is not allowed to be constant.

• Long before the stable position is reached, a commutator breaks the current to that particular coil and energizes the next one in succession. The motor continues to rotate.

• In a brushless motor the coils are fixed and the magnet rotates.

Page 17: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Stepper Motors

In practice, the magnet of a stepper motor has a large number of poles, and the windings are helped by a similar large number of salient pole pieces (Fig.2) in the soft iron on which they are wound

Fig. 1

Page 18: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses
Page 19: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

AC Motors

AC motors are another family of motors depend on alternating current for their fundamental mode of operation

Page 20: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Hydraulics and Pneumatics

• construct a cylinder and place a piston in it, maybe resulting in something not very different from a bicycle pump (see Fig.3) When you pressurize the air or oil in one end of the cylinder, the piston will be forced away.

see Fig.3

Page 21: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

There are essential differences between hydraulics and pneumatics. Air is much more compressible than oil, but has much less inertia. Pneumatics will therefore have the edge in situations where rapid acceleration is needed, but where the power is not large. Hydraulics will flex its muscles for the heavier tasks.

Page 22: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

CH 7-Logic systems

Binary Numbers•In general, a number with a decimal point is represented by a series of coefficient as follows.

a5a4a3a2a1a0. a-1a-2a-3

•The aj coefficient are any of the 10 digits (0, 1, 2, . . . 9) and the subscript value gives the place value and hence, the power of 10 by which the coefficient must be multiplied. This can be expressed as:

Page 23: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• 105a5 + 104a4 + 103a3 + 102a2 + 101a1 + 100a0 + 10-1a-1 + 10-2a-2 + 10-3a-3

• The decimal system is said to be base or radix 10 because it uses 10 digits and coefficients are multiplied by powers of 10.

• The binary system is a different number system. The coefficient of the binary numbers system have only two possible values: 0 or 1. Each coefficient aj is multiplies by 2j. For example the decimal equivalent of the binary number 11010.11 is 26.75 as shown below:

1 × 24 + 1 × 23 + 0 × 22 + 1 × 21 + 0 × 20 + 1 × 2-1 + 1 × 2-2 = 26.75

Page 24: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• In general, a number expressed in a base r system has coefficient multiplied by powers of r.

an.rn + an – 1 rn – 1 + . . . + a2r2 + a1r1 + a0 + a-1r-1 + a-2r-2 + a-mr-m

• The coefficient aj range in value from 0 to r – 1 if the coefficient value for base 5 can only be 0, 1, 2, 3 & 4 the number system is a base 8 – system that has digits: 0, 1, 2, 3, 4, 5, 6, 7.

• Eq. 127.4 to determine its equivalent decimal value, we expand the number in a power series with a base of 8.

(127.4)8 = 1 × 82 + 2 × 81 + 7 × 80 + 4 × 8-1 = (87.5)10

Page 25: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• Note that digits 849 cannot appear in an actual number .

• The letters of the alphabet are used to supplement the 10 decimal digits when the base of the number is greater than 10. For example in hexadecimal (base 16) number system the letters A, B, C, D, E & F are used for digits 10, 11, 12, 13, 14 and 15 respectively.

• The digits in a binary number are called bits. When a bit is equal to 0, it doesn’t contribute to the sum during the conversion.

• Eg. (110101)2 = 32 + 16 + 4 + 1 = (53)10

Page 26: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

N 2n N 2n N 2n

0 1 8 256 16 65536

1 2 9 512 17 131072

2 4 10 1024 18 262144

3 8 11 2048 19 524288

4 16 12 4096 20 1048576

5 32 13 8192 21 2097152

6 64 14 16384 22 4194304

7 128 15 32768 23 8388608

The 1st 24 numbers obtained from 2 to the power of an are listed in the table below.

Page 27: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

In computer work210 referred as k (kilo)220 as M (Mega)230 as G (Giga)240 as T (tera)Thus 4K = 212 = 4096 and 16M = 224 = 16777, 216•Computer capacity is usually given in bytes. A byte is equal to eight bitts and can accommodate one key board character. •A computer hard disk with 4 giga bytes of storage has a capacity of 4G = 232 byte (approximately 10 billion bytes).

Page 28: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Equation of addition, subtraction & multiplication of two binary numbers:

Addition Subtraction Multiplication

101101

100111

sum1010100

101101

100111

000110

101

101

101

000

101

product 11001

Page 29: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Number base conversion

The binary equivalent of 41 is 101001.

Page 30: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Eg. 2 Convert (0.6875)10 to binary

0.6875 × 1 = 1.3750 = 1 + 0.37500.3750 × 2 = 0.7500 = 0 + 0.75000.7500 × 2 = 1.5000 = 1 + 0.5000 0.5000 × 2 = 1.000 = 1 + 0.000

Therefore the binary equivalent of (0.6875)10 is (0.1011)2 .

Page 31: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Octal and Hexadecimal numbers

• The conversion from and to binary, octal, & hexadecimal plays an important role in digital computers. Since 23 = 8 & 24 = 16, each octal digit corresponds to three binary digits and each hexadecimal digit corresponds to four binary digits.

• The 1st 16 numbers in the decimal, binary, octal and hexadecimal number system are listed below.

Page 32: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

Decimal (base 10)

Binary (base 2)

Octal (base 8)

Hexadecimal (base 16)

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15

0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 0010 0011 0012 0013 0014 0015

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Page 33: Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses

• The conversion from binary to octal is easily accomplished by partitioning the binary number into groups of three digits each, starting from the binary point and proceeding to the left & to the right.

Eg. 10110001110011111.100000110 = (26153.7 466)8