Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Department of Electrical Engineering University of Lahore, Lahore Room No. NE 124 (1st Floor) Email: usman.mushtaq@ee.uol.edu.pk
Microcontroller
An integrated electronic computing device that includes three major components on a single chip
Microprocessor (MPU) Memory I/O (Input/Output) ports
Microcontroller
Microcontrollers are 'single chip' computers specifically designed to:
Read input devices, such as buttons and sensors Process data or information Control output devices, such as lights, displays, motors and speakers
RISC vs CISC
RISC = Reduced Instruction Set Computer CISC = Complex Instruction Set Computer Microcontrollers = mostly RISC Microcomputer for PC = x86 is CISC Pipelining = easier in RISC
Applications
Embedded Inside:
Automotive systems Airplanes Toys Medical Devices Furniture
Billions of units
Examples: Refrigerator
From left to right: PIC 12F508, PIC 16F84A, PIC 16C72, Motorola 68HC05B16, PIC 16F877, Motorola 68000
Advantages
Design and Simulation: Reduces chances of Errors, while coding Flexibility: Easy to Reprogram using Flash, EEPROM and EPROM High Integration: I/O devices Cost Easy to Use
Microcontroller Manufacturers
Analog Devices Atmel Dallas Semiconductor Freescale Semiconductor Hitachi Semiconductor Intel Microchip National Semiconductor Renesas STMicro Texas Instruments Zilog
FPLDs
Before we move to FPLDs: Compare the Standard Logic Circuits and Programmable Logic Circuits
FPLDs Representatives
PLA - Programmable Logic Arrays PAL - Programmable Array Logic
Why CPLDs???
For larger applications, we could simply increase the number of inputs and outputs in a conventional SPLD
e.g., 16V8 20V8 22V10 why not keep this trend going 32V16 128V64 ?
Problems:
n times the number of inputs and outputs requires n2 as much chip area too costly logic gets slower as number of inputs to AND array increases
Solution:
multiple PLDs with a relatively small (fast) programmable interconnect less general than a single large PLD, but we can use software to partition our design into smaller PLD blocks
Examples of CPLDs
Xilinx Spartan-3E
Hardware: Xilinx Spartan-3E Software: Xilinx ISE
FPGA
LEDs
switches
FPGA Structure
CLB
SB
CLB
SB
SB
SB
MUX
SET
CLR
FPGA Families
PLC
A Programmable controller is a solid state user programmable control system with functions to control logic, sequencing, timing, arithmetic data manipulation and counting capabilities. It can be viewed as an industrial computer that has a central processor unit, memory, input output interface and a programming device. It accepts data, status information from various sensing devices like limit switches, proximity switches, executes the user control program store in the memory and gives appropriate output commands to devices like solenoid valves, switches etc.
PLC Architecture
PLCs contain three basic sections: Central processing unit (CPU). 2. Memory: EPROM, RAM, and so on. 3. Input/output section for communication with peripherals (ADC, DAC).
Applications of PLC
The batch processes in chemical, cement, food and paper industries which are sequential in nature, requiring time of event based decisions is controlled by PLCs. In large process plants PLCs are being increasingly used for automatic start up and shut down of critical equipment. A PLC ensures that equipment cannot be started unless all the permissive conditions for safe start have seen established. It also monitors the conditions necessary for safe running of the equipment and trips the equipment whenever any abnormality in the system is detected. The PLC can be programmed to function as an energy management system for boiler control for maximum efficiency and safety. In automation of blender reclaimers In automation of bulk material handling system at ports. In automation for a ship unloader. Automation for wagon loaders. For blast furnace charging controls in steel plants. In automation of brick moulding press in refractories. In automation for galvanizing unit. For chemical plants process control automation.
In automation of a rock phosphate drying and grinding system. Modernization of boiler and turbogenerator set. Process visualization for mining application. Criteria display system for power station. As stored programmed automation unit for the operation of diesel generator sets. In Dairy automation and food processing. For a highly modernized pulp paper factory. In automation system for the printing industry. In automation of container transfer crane. In automation of High-speed elevators. In plastic moulding process. In automation of machine tools and transfer lines. In Mixing operations and automation of packaging plants. In compressed air plants and gas handling plants. In fuel oil processing plants and water classification plants. To control the conveyor/classifying system.
DCS
DCS (Distributed Control System) is a computerized control system used to control the production line in the industry
DCS was introduced in 1975 by Honeywell (TDC2000) and Yokogawa (CENTUM) Other vendors: ABB (Bailey etc), Foxboro, Emerson (Fischer, Rosemount etc)
DCS Architecture