420 likes | 797 Views
Contents. IntroductionParameters consideration for AutomationSelecting microcontrollerInternal architecture of MicrocontrollerApplications. Introduction. AutomationThe control of an industrial process (e.g manufacturing, production etc) by automatic rather that manual means is often called aut
E N D
1. Industrial automation Using MicrocontrollerBy: Engr. Tarique Rafique MemonDepartment of Electronic EngineeringQUEST Nawabshah
2. Contents Introduction
Parameters consideration for Automation
Selecting microcontroller
Internal architecture of Microcontroller
Applications
3. Introduction Automation
The control of an industrial process (e.g manufacturing, production etc) by automatic rather that manual means is often called automation
Automation can be defined as a technology that uses programmed commands to operate a given process
4. Basic building block diagram of Automation
5. Sensors/ Transducers Level
Flow
Pressure
Temperature
Humidity
6. Controllable applications Motors
Solenoid valves
Control valves
7. Display Input Parameters
Set point
Indication for Output (alarm)
8. Controller Takes Input
Verifies the conditions
Controls the equipment &
Displays the output
9. Microcontrollers The prime use of a microcontroller :
To control the operation of a machine using a fixed program that is stored in ROM and that does not change over the lifetime of the system
10. Typical Microcontrollers The most common microcontrollers are 8-bit.
4-bit are used in high volume very low cost applications
16 & 32 bit are used in high-end applications.
Typical clock frequencies are 12 - 24 MHz
11. Different manufacturers of microcontroller Intel
Atmel
Philips
Dallas Semiconductors
Microchip
Motorola
12. Criteria for Selecting microcontroller meeting the computing needs of the task efficiently and cost effectively
speed, the amount of ROM and RAM, the number of I/O ports and timers, size, packaging, power consumption
easy to upgrade
cost per unit
availability of software development tools
assemblers, debuggers, C compilers, emulator, simulator, technical support
wide availability and reliable sources of the microcontrollers.
14. Test case: 8051
15. History of 8051 1981, Intel MCS-51
The 8051 became popular after Intel allowed other manufacturers to make and market an flavor of the 8051.
different speed, amount of on-chip ROM
code-compatible with the original 8051
form a 8051 family ? Intel ????????? 8051 IC ?, 8051 ???? popular.? Intel ????????? 8051 IC ?, 8051 ???? popular.
16. Block Diagram
19. MICROCONTROLLER I/O pins I/O pins are very useful for the following :
reading Inputs/ reading keypads
Displaying output
controlling Motors (PWM) etc.
20. A Pin of Port 1
21. Writing “1” to Output Pin P1.X
22. Writing “0” to Output Pin P1.X
23. Reading “High” at Input Pin
24. Reading “Low” at Input Pin
25. 8051 Family Mask programmable
factory fitted Programs
OTP one time programmable
User Programmable
Reprogrammable
User Reprogrammable
26. Comparison of the 8051 Family Members ROM type
8031 no ROM ; requires external Rom
80xx mask ROM
87xx EPROM
89xx Flash EEPROM
89xx
8951
8952
8953
8955
898252
891051
892051
Example (AT89C51,AT89LV51)
AT= ATMEL(Manufacture)
C = CMOS technology
LV= Low Power(3.0v)
31. How to interface Devices Inputs and Outputs
Compatibility of I/Os
Impedance matching
Selecting right microcontroller
32. General diagram of Automation
35. Controller Universal controllers
Input in form of 0 ~5v
4 ~ 20mA
0 ~20mA
Conversion using Transmitter
Exp. Temperature transmitter, pressure transmitter. etc
36. Applications of microcontroller Personal information products: Cell phone, pager, watch, pocket recorder, calculator
Laptop components: mouse, keyboard, modem, fax card, sound card, battery charger
Home appliances: door lock, alarm clock, thermostat, air conditioner, TV remote, VCR, small refrigerator, exercise equipment, washer/dryer, microwave oven
Industrial equipment: Temperature/pressure controllers, Counters, timers, RPM Controllers
Toys: video games, cars, dolls, etc.
40. Sample projects