Documente Academic
Documente Profesional
Documente Cultură
Mechatronics (12OE442)
Digital Control Architecture
SESSION OUTCOMES
At the end of 6th session, Students will be able to:
1. Understand the digital control system composition
based on Microcontrollers/ PLCs
2. Understand interfacing issues in digital architecture
based on Microcontrollers / PLCs
Stores data
Processes arithmetic/logic functions
Used for data acquisition
Essentially used in embedded control systems
MICRO CONTROLLER
The Microcontroller, which is a single IC containing
specialized circuits and functions that are applicable to
Mechatronic system design
e.g. Microchips PIC, Motorolas 68HC11, and Intels
8096
Microcontroller Board
Microcontroller Specifications
Microcontroller
ATmega328P
Operating Voltage 5V
Input Voltage
7-12V
(recommended)
Input Voltage
6-20V
(limit)
Digital I/O Pins
14 (of which 6 provide PWM output)
PWM Digital I/O
6
Pins
Analog Input Pins 6
DC Current per I/O
20 mA
Pin
DC Current for
50 mA
3.3V Pin
32 KB (ATmega328P)
Flash Memory
of which 0.5 KB used by bootloader
SRAM
2 KB (ATmega328P)
EEPROM
1 KB (ATmega328P)
Clock Speed
16 MHz
PLC VERSUS
MICROCONTROLLER
PROGRAMMABLE LOGIC
CONTROLLER (HITACHI)
Pin 13
LED
Digital pins
header
Reset
button
USB
connect
or
ATmega328
MCU
Analog pins
header
Barrel
jack
ARDUINO
MICROCONTROLLER
Power-ground
header
Micro controller
CPU, RAM, ROM, I/O and timer are
all on a single chip
fixed amount of on-chip ROM, RAM,
I/O ports
for applications in which cost, power
and space are critical
single-purpose (control-oriented)
Low processing power
Low power consumption
Bit-level operations
Instruction sets focus on control and
bit-level operations
Typically 8/16 bit
Typically single-cycle/two-stage
pipeline
2)
3)
contd.
Temperature Control