53
DC MOTOR LAKSHMI.B.E.

DC MOTOR

  • Upload
    zaide

  • View
    148

  • Download
    0

Embed Size (px)

DESCRIPTION

DC MOTOR. DC MOTOR WORKING. H BRIDGE DC MOTOR. INTERFACING WITH DC MOTOR. OPERATION:. TRANSLATE ELECTRIC ENERGY MECHANICAL MOVEMENT + TO – LEADS PRODUCE THE MOTOR CLOCKWISE REVERSE POLARITY MOTOR REVERSES LOAD VOLTAGE SPEED IS REPRESENTED BY RPM. - PowerPoint PPT Presentation

Citation preview

Page 1: DC MOTOR

DC MOTOR

LAKSHMI.B.E.

Page 2: DC MOTOR

DC MOTOR WORKING

LAKSHMI.B.E.

Page 3: DC MOTOR

H BRIDGE DC MOTOR

LAKSHMI.B.E.

Page 4: DC MOTOR

LAKSHMI.B.E.

Page 5: DC MOTOR

LAKSHMI.B.E.

Page 6: DC MOTOR

MOTOR OPERATION

SW1 SW2 SW3 SW4

OFF OPEN OPEN OPEN OPEN

CLOCKWISE CLOSED OPEN CLOSED OPEN

ANTICLOCKWISE

OPEN CLOSED OPEN CLOSED

INVALID CLOSED CLOSED CLOSED CLOSED

LAKSHMI.B.E.

Page 7: DC MOTOR

INTERFACING WITH DC MOTOR

LAKSHMI.B.E.

Page 8: DC MOTOR

OPERATION:TRANSLATE ELECTRIC ENERGYMECHANICAL

MOVEMENT+ TO – LEADS PRODUCE THE MOTOR

CLOCKWISEREVERSE POLARITY MOTOR REVERSESLOAD VOLTAGE SPEED IS REPRESENTED BY RPM

LAKSHMI.B.E.

Page 9: DC MOTOR

USING L293,RUN A DC MOTOR, SWITCH P2.0 IF SW=0,ROTATE CLOCK,SW=1 , ROT ANTICLOCKORG 0HMAIN:

SETB P1.0 ; ENABLEJNB P2.0 ,CLOCK ;CHECK THE CLOCKCLR P1.1;INPUT 1 ;COUNTER CLOCKWISESETB P1.2;INPUT2 ;

CLOCK:SETB P1.1;INPUT 1 ; CLOCKWISECLR P1.2;INPUT2 SJMP MAINEND

LAKSHMI.B.E.

Page 10: DC MOTOR

LAKSHMI.B.E.

Page 11: DC MOTOR

DS 12887:

LAKSHMI.B.E.

Page 12: DC MOTOR

DS 12887:

LAKSHMI.B.E.

Page 13: DC MOTOR

DS 12887:

LAKSHMI.B.E.

Page 14: DC MOTOR

PIN DIAGRAM FOR DS 12887

LAKSHMI.B.E.

Page 15: DC MOTOR

LAKSHMI.B.E.

Page 16: DC MOTOR

LAKSHMI.B.E.

Page 17: DC MOTOR

LAKSHMI.B.E.

Page 18: DC MOTOR

Memory:128 bytes of non volatile ram14 bytes of RAM ,for clock ,calender and control register114 bytes of NV-RAM

LAKSHMI.B.E.

Page 19: DC MOTOR

AS:ADDRESS STROBE is an input pin,on the falling edge it will cause the address to be latchedMOT: DS:

MOT is connected to ground

MOT=GND

DATA STROBEDS=READ DS is connected to RD

of 8051

LAKSHMI.B.E.

Page 20: DC MOTOR

R/W:input pin .MOT=GNDWrite signalCS: IRQ:

Active low signalTo access read and writeIt only access external

vge>4.25v

Output pinActive low pinIt is in “B”register

LAKSHMI.B.E.

Page 21: DC MOTOR

SQW: RESET:

Output pin .it produce 15 different square wave

Pin 18 is reset.It is an input.Active low pin

LAKSHMI.B.E.

Page 22: DC MOTOR

LAKSHMI.B.E.

Page 23: DC MOTOR

LAKSHMI.B.E.

Page 24: DC MOTOR

LAKSHMI.B.E.

Page 25: DC MOTOR

LAKSHMI.B.E.

Page 26: DC MOTOR

LAKSHMI.B.E.

Page 27: DC MOTOR

Setting the time(16:15:50 pm)MOV R0,#10;ADDR OR ’A’

REGISTER

MOV A,#20H; D6-D4 010 OSC

MOVX @R0,A;SEND IT TO REG

MOV R0,#11; REG BMOV A,#83H; BCD 24

HRS,DAYLIGHT

MOV X @R0,A

MOV R0,#0; SECONDS AT ADDR 0

MOV A,#50H;SECONDS=50

MOVX @R0,A; SET SECONDS

MOV R0,#02;MOV R0,#15H;MOVX @R0,A;MOV R0,#04;MOV R0,#16HMOVX @R0,A;

LAKSHMI.B.E.

Page 28: DC MOTOR

LAKSHMI.B.E.

Page 29: DC MOTOR

ROMNon-volatile DataMask ROM

Data written during chip fabricationPROM

Fuse ROM: Non-rewritableEPROM: Erase data by UV raysEEPROM: Erase and write through electrical means

Speed 2-3 times slower than RAM Upper limit on write operations Flash Memory – High density, Low Cost

LAKSHMI.B.E.

Page 30: DC MOTOR

ROM:MEMORY

IC NO. CAPACITY

ORG. PINS ADDRESS LINES

DATA LINES

UV EPROM

27162732

2764

16K32K

64K

2K×84K×8

8K×8

2424

28

11(2K=210×21)12(4K=210 ×22 )

13(8K=210 ×23 )

88

8

EEPROM 2816 16K 2K×8

MEMORY

IC NO. CAPACITY

ORG. PINS ADDRESS LINES

DATA LINES

UV EPROM

27162732

2764

16K32K

64K

2K×84K×8

8K×8

2424

28

11(2K=210×21)

12(4K=210

×22 )

13(8K=210

×23 )

88

8

EEPROM 2816 16K 2K×8 24 11(2K=210×21)

8

FLASH 28F010-15

1024K 128K×8 32 17(128K=210

×27)8

LAKSHMI.B.E.

Page 31: DC MOTOR

LAKSHMI.B.E.

Page 32: DC MOTOR

RAM Random write and read operation for any cell

Volatile data

Most of computer memory

DRAM

Low Cost

High Density

Medium Speed

SRAM

High Speed

Ease of use

Medium CostLAKSHMI.B.E.

Page 33: DC MOTOR

RAM:MEMO

RY

IC NO: CAPACITY

ORG. PINS ADDRESS LINES

DATA LINES

SRAM 6264P 64K 8K×8 24 13 8

NV RAM DS 1220Y-

150

16K 2K×8 24 12 8

DRAM 41256-6

256K 256K×1

16 17 1

LAKSHMI.B.E.

Page 34: DC MOTOR

LAKSHMI.B.E.

Page 35: DC MOTOR

LAKSHMI.B.E.

Page 36: DC MOTOR

LAKSHMI.B.E.

Page 37: DC MOTOR

ADC :ADC is widely used for data acquisitionDigital computers are digital but physical world is

analog(continuous)TRANSDUCER:Physical quantity is converted to electrical quantityEx: load cell, strain gaugeTo translate this analog to digital converter is used.

LAKSHMI.B.E.

Page 38: DC MOTOR

Step size:The smallest change that can discerned by adc.

Conversion time:The time takes to convert analog to digital

LAKSHMI.B.E.

Page 39: DC MOTOR

LAKSHMI.B.E.

Page 40: DC MOTOR

CS:Active low inputRD: WR:START CONVERSION)

Input signalActive low signalAnalogdigitalWhen CS=0 is applied to RD pinRDOE

Active low signalAnalogdigitalWhen CS=0 is applied to WR pin

LAKSHMI.B.E.

Page 41: DC MOTOR

CLK IN CLK R

Input signalExternal clock is used for

timing

For internal clock generator CLK IN and CLK R are connected together to a capacitor and resistor

LAKSHMI.B.E.

Page 42: DC MOTOR

Vcc:+5v power supplyVin(+) and Vin(-): INTR:

They are differential anlog inputs Vin=Vin(+) -Vin(-)

Output pinActive lowIt is normally high,When

conversion is finished ,it goes to low to CPU

LAKSHMI.B.E.

Page 43: DC MOTOR

D0 to D7:DIGITAL DATA OUTPUTPARALLEL ADC.Dout= Vin

step sizeVref/2 Vin(v) Number of

steps(2^n)Step size(mv)

Not connected 0 t05 2^8=256 5/256=19.53

2.0 0 t0 4 2^8=256 4/255=15.62

1.5 0 t03 2^8=256 3/256=11.71

1.28 0 t0 2.56 2^8=256 2.56/256=10

LAKSHMI.B.E.

Page 44: DC MOTOR

LAKSHMI.B.E.

Page 45: DC MOTOR

LAKSHMI.B.E.

Page 46: DC MOTOR

LAKSHMI.B.E.

Page 47: DC MOTOR

LAKSHMI.B.E.

Page 48: DC MOTOR

LAKSHMI.B.E.

Page 49: DC MOTOR

LAKSHMI.B.E.

Page 50: DC MOTOR

LAKSHMI.B.E.

Page 51: DC MOTOR

LAKSHMI.B.E.

Page 52: DC MOTOR

LAKSHMI.B.E.

Page 53: DC MOTOR

LAKSHMI.B.E.