Systems Embedded Microcontroller · Embedded Microcontroller Systems ... Remote Terminal Units...

43
1/17/2007 http://www.rajkamal.org 1 Embedded Microcontroller Embedded Microcontroller Systems Systems Dr. Raj Kamal http://www.rajkamal.org

Transcript of Systems Embedded Microcontroller · Embedded Microcontroller Systems ... Remote Terminal Units...

1/17/2007 http://www.rajkamal.org 1

Embedded Microcontroller Embedded Microcontroller SystemsSystems

� Dr. Raj Kamal

http://www.rajkamal.org

1/17/2007 http://www.rajkamal.org 2

Part 1MicrocontrollersMicrocontrollers

1/17/2007 http://www.rajkamal.org 3

�(A) Intel, Motorola, Hitachi, TI, and Philips Microcontrollers and Road ahead

�(B) Comparative Features�(C) Advantage of PLCs with

Microcontroller with Network Processing and Media Processing Units

1/17/2007 http://www.rajkamal.org 4

Intel®Embedded Microcontrollers

MCS® 51, 151, 251, 96 and 296 Microcontrollers

1/17/2007 http://www.rajkamal.org 5

Motorola Microcontrollersfor Embedded Systems

68HC11, 68HC12, 68HC16, and MCORE M2001

1/17/2007 http://www.rajkamal.org 6

Hitachi Embedded Microcontrollers

H8S/2646F - Member of the 2nd

generation new high performance, H8S/CAN range of Microcontrollers from Hitachi

1/17/2007 http://www.rajkamal.org 7

4 th Generation Performance improvement with adoption of

0.18µm process

Hitachi introduced recently its latest 4th generation embedded Flash technology. Adoption of the 0.18µm process resulted in a quantum leap in Flash memory access speed and CPU operating speed.

1/17/2007 http://www.rajkamal.org 8

1/17/2007 http://www.rajkamal.org 9

� Compared with the 0.8µm process, memory access speed is 10 times faster and CPU operating frequency is 5 times speedier.� Besides, programming time has been significantly reduced: it only takes about 10 seconds to program 512Kbyte Flash of a 4th generation microcontroller !

1/17/2007 http://www.rajkamal.org 10

0.8µm1) 0.6µm2) 0.35µm3) 0.18µm4

)Cell Desgin Hot Electron

FN Tunneling

FN Tunneling

Hot ElectronProgramming

Voltage12V internal internal internal

Programming Method

User Code

User Code

User Code

FirmwareMinimum

Programming Size1 Byte 32 Bytes 128

Bytes128 BytesRelative

Programming times1 1.3 0.3 0.1

Data Retention 10 years Years

10 Years 10 Years 10 YearsNumber of W/E cycles

100 100 100 10k 5)

Maximum Flash size 128kBytes

256kBbytes

512kBytes

1 MByteMaximum Operating Frequency)

16 MHz 28 MHz 60 MHz 80 MHz

Not recommended for new designs, 2) Available now, 3) Available now and recommended for new designs,4) Introduction now, 5) Planned (with ECC)

1/17/2007 http://www.rajkamal.org 11

1/17/2007 http://www.rajkamal.org 12

New features coming with the 4th generation F-ZTAT such as integrated firmware and an extra user boot mat. (Boot mat is a sector reserved for storing once only a boot program of PLC and becomes protected flash like a ROM)

1/17/2007 http://www.rajkamal.org 13

4th G Flash - Key Features and Benefits

•High integration, up to 1 MB Embedded Flash •High speed, 12.5 ns read access time at 80 MHz

1/17/2007 http://www.rajkamal.org 14

•Fast programming (about 2.5s for 128 Kbytes) which significantly reduces end-of-line programming time Integrated firmware which considerably simplifies handling

•Extra boot mat which enables user-specific bootstrapping, via any com-port

•Wide temperature range, up to –40/+125 °C

1/17/2007 http://www.rajkamal.org 15

RELIABILITY Products are planned that guarantee 10,000 times re-writing of the Flash memory. The majority of today's products guarantee 100 times re-writing, some already 1,000 times. The data retention period is guaranteed for 10 years as well.

1/17/2007 http://www.rajkamal.org 16

Texas Instruments C28x Series Digital Control Microcontrollers

1/17/2007 http://www.rajkamal.org 17

Most comprehensive line of DSP solutions that are driving the digital revolution of digital controlIndustry's highest performing and most code efficient DSPs.

1/17/2007 http://www.rajkamal.org 18

TMS320C2000 family of DSP controllers sets the standard for performance and peripheral integration by offering a unique combination On-chip peripherals such as flash memory, Ultra-fast A/D converters, and Robust CAN modules.

1/17/2007 http://www.rajkamal.org 19

McBSP: Multi-channel Bi-directional Serial Port

1/17/2007 http://www.rajkamal.org 20

Feature in C2000TM series Platform

Feature in C24xTM series DSPs

Example from 15 devices in TMS320C24x TM

generation DSPs, TMS320FC2402A

Clock Rate 20 MHz to 40 MHz

40 MHz

DSP Core Processor

Fixed Point DSP

Fixed Point DSP

RAM in words 544 words or 1k

1k

ROM in words 0, 4 k, 6 k, 8k, 16 k or 32 k

0k

Flash in words 0, 4 or 16 k 8k

1/17/2007 http://www.rajkamal.org 21

ADC 10 bit channels

2, 5, 8 or 16 8

ADC conversion time in ns

6100, 900, 500, 425 or 375

500

CAN module None or yes No

PWM Channels

7 or 8 or 12 8

Timers 2, 3 or 4 2

1/17/2007 http://www.rajkamal.org 22

Serial Ports 1 or 2 1

Boot Loader None or ROM or flash

ROM

Perform-ance in 20 to 400 MIPS

20 or 40 MIPS

40 MIPS

External Memory Interface

None or yes None

1/17/2007 http://www.rajkamal.org 23

1/17/2007 http://www.rajkamal.org 24

1/17/2007 http://www.rajkamal.org 25

1/17/2007 http://www.rajkamal.org 26

SERIAL BUSESSERIAL BUSES

1/17/2007 http://www.rajkamal.org 27

UART (512 kBaud/s), 1-wire CAN (33 kbps), Industrial I2C (100kbps), SM I2C Bus (100 kbps), SPI (100 kbps), Fault tolerant CAN (110 kbps), Serial Port (230 kbps), MicroWire (300 kbps)

1/17/2007 http://www.rajkamal.org 28

I2C (400 kbps,2 meter), High Speed CAN (1 Mbps), IEEE 1284 (2.4 Mbps), High Speed I2C (3.4 Mbps, 0.5 meter), USB 1.1 (Low Speed Channel 1.5 Mbps and 3 meter, High Speed Channel 12 Mbps and 25 meter)

1/17/2007 http://www.rajkamal.org 29

SCSI parallel (40 Mbps), Fast SCSI (8M to 80 Mbps) , Ultra SCSI-3 (8M to 160 Mbps), FireWire/IEEE 1394 (400 Mbps, 72 meter), High Speed USB 2.0 (480 Mbps, 25 meter)

1/17/2007 http://www.rajkamal.org 30

Remote Terminal Units (Remote Terminal Units (RTUsRTUs))

1/17/2007 http://www.rajkamal.org 31

1/17/2007 http://www.rajkamal.org 32

Benefits of Internet Connectivity

�Remote monitoring, control or updating of PLC programs from anywhere using a web browser. (username and password access

requirements protect the system from unauthorized access)

1/17/2007 http://www.rajkamal.org 33

PLCs, which are Internet-ready -can be remotely programmed, monitor or control PLC-controlled equipment via the Internet at any time. PLC can also dial up via modem to get connected to the Internet, send an email or to save data to a remote location.

1/17/2007 http://www.rajkamal.org 34

1/17/2007 http://www.rajkamal.org 35

1/17/2007 http://www.rajkamal.org 36

Phillips Media Processors for Processing Streaming and Data Networks and Image, Video and Speech

PNX1300 and PNX 1500 (2002)

1/17/2007 http://www.rajkamal.org 37

What is a Media Processor?What is a Media Processor?

� It is a processor, which acts as Data processor as well as DSP and Network Processor

1/17/2007 http://www.rajkamal.org 38

1/17/2007 http://www.rajkamal.org 39

Expected Benefits of Internet Connectivity through Streaming cum Data Networks Using Media Processors

� Voice Controlled and Image Controlled Smart Remote monitoring, control or updating of PLC programs from anywhere using a web browser.

1/17/2007 http://www.rajkamal.org 40

One of the Best ReferencesOne of the Best References

1) PLC and Interfacing Concepts: Chapters 11 and 9. “The Concepts and Features of Microcontrollers 68HC11, 8051 and 8096) includes PLCs” by Raj Kamal now with S.Chand & Co. (Sultan Bazar, Hyderabad Ph.24651135 [email protected])

1/17/2007 http://www.rajkamal.org 41

One of the Best References …One of the Best References …

2) PLC Concepts: PLCs – The Industrial Computers, by M. Costanzo, Pubs: Arnold (and John Wiley), 1997

3) Internet and Web Concepts: Internet and Web Technologies, by Raj Kamal, Pubs: Tata McGraw-Hill, 2002 (Available [email protected])

1/17/2007 http://www.rajkamal.org 42

One of the Best References …One of the Best References …

4) Embedded Microcontroller Concepts: “Embedded Microcontrollers” by Todd D. Morton, Prebtice Hall, USA, 2001

5) “Embedded Systems – Architecture, Programming and Design” by Tata McGraw-Hill, 2002 by Raj Kamal (Available shortly from May [email protected])

1/17/2007 http://www.rajkamal.org 43

One of the Best References …One of the Best References …

5) Microcontroller Circuit Designing Concepts:”Designing with Microcontrollers and Microcomputers, by J.B.Peatman, Publs: McGraw-Hill, 1988

6) “Embedded Systems – Architecture, Programming and Design” by Tata McGraw-Hill, 2002 by Raj Kamal (Available shortly from May [email protected])