0% found this document useful (0 votes)
115 views216 pages

MECHATRONICS - Unit Notes

- The document discusses the history and evolution of mechatronics and microprocessors. It traces mechatronics from its origins in 1969 to its modern applications across various industries. - Key elements of mechatronics systems are described, including actuators and sensors, signal conditioning components, digital logic systems, software, and computers/displays. Examples of mechatronics applications are also provided. - The architecture of microprocessors like the 8085 is examined, with the main components being the ALU, timing/control unit, and register set. Different generations of microprocessors are outlined from early 4-bit designs to modern 64-bit processors.

Uploaded by

Sriram V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views216 pages

MECHATRONICS - Unit Notes

- The document discusses the history and evolution of mechatronics and microprocessors. It traces mechatronics from its origins in 1969 to its modern applications across various industries. - Key elements of mechatronics systems are described, including actuators and sensors, signal conditioning components, digital logic systems, software, and computers/displays. Examples of mechatronics applications are also provided. - The architecture of microprocessors like the 8085 is examined, with the main components being the ALU, timing/control unit, and register set. Different generations of microprocessors are outlined from early 4-bit designs to modern 64-bit processors.

Uploaded by

Sriram V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 216

INTRODUCTION

• 1969 -The ‘mechatronics’ word introduced by Tessturo Mori. He was a senior engineer of Japanese
company Yaskawa Electric Corporation.

• 1971 – the company was granted the trademark rights on the word.

• 1971- 80- mostly the servo technology is used in mechatronics

• 1981-90-IT introduced. Microprocessors were embedded in Mechanical system


• 1991 -2000 – Communication technology was added. Remote
operation and robotics were developed .

• 1996 – 1st journal IEEE on mechatronics was released.

• After 2000, finds application in aerospace, defence, bio-mechanics,


automotive electronics, banking(ATM) etc.,
DEFINITION

•Mechatronics is “ the synergistic integration


of mechanics and mechanical engineering,
Electronics, computer technology, and IT to
produce or enhance products and system”
Graphical representation of mechatronics
Elements of mechatronics system
Actuators and
sensors

Signals and
conditioning

Digital logic
systems

Software and data


acquisition systems

Computers and
display devices
Elements of mechatronics system
• Actuators and sensors
• Actuators – pneumatic & Hydraulic actuator, electromechanical actuators,
electrical motor such as DC motor, AC motor, stepper motor, servo motor & piezo
electric actuators
• Sensors – linear and rotational sensor, acceleration sensor, force, torque and
pressure sensor, temperature sensor, proximity sensors, light sensors
• Signals and conditioning
• Two types: input and output
• Input signal conditioning devices: discrete circuits, amplifiers, analog to
digital(A/D) convertors, Digital to Analog (D/A) convertors.
• Output signal conditioning devices: amplifiers, Digital to Analog (D/A) convertors,
display decoders (DD) convertors, power transistors.
Elements of mechatronics system
• Digital logic systems
• Logic circuits, micro controllers, programmable logic controllers(PLC), sequencing
and timing controls, control algorithm.

• Software and data acquisition systems


• Data logger, computer with plug in boards

• Computers and display devices


• LED, CRT, LCD, digital displays etc.,
Examples of mechatronics systems
• NC and CNC machine tools, flexible manufacturing system, Prototyping
& robots
• Photo copiers, laser printers & fax machines
• Automatic washing machines automatic ovens
• Automatic teller machine (ATM)
• Coin counter
• Automatic/digital camera, digital watch
• CT scan system, automatic blood testing equipment
• Automatic sliding door
Advantages of Mechatronics systems
• Cost effective and good quality products
• High degree of flexibility to modify or redesign
• Very good performance characteristics
• Wide area of applications
• Greater productivity in case of manufacturing organization
• Posibility or remote controlling as well as centralized monitoring and
control
• Greater extend of machine utilization
Disadvantages of Mechatronics systems
• High initial cost
• Multi-disciplinary engineering background required to design and
implementation
• Need of highly trained workers
• Complexity in identification and correction of problem in the system
System
Measurement system

Liquid level measurement system


Control systems

•A control system refers to a group of physical


component connected or related in such a
manner as to command direct or regulate
itself or another system.
Cooling level control system

Steering control system of an automobile


Temperature and blood pressure control
system of human body
TYPES OF CONTROL SYSTEM

•Open loop control system


•Closed loop or feedback control system
Open loop control system
• Open loop system are systems in which the output of
a system is not used as a variable to control the
system.
Element of open loop control systems

Bread toaster (open loop ) control system


Closed loop control system

• Closed loop system uses on a feed back loop to control the operation of
the system.
Room heating (Closed loop) control system
Open loop system • Closed loop system
• It does not uses feedback • It uses feedback system
• It is less accurate • It is more accurate
• It is simple in construction
• It is complicated in
• Presence of non-linearity causes
malfunctioning construction
• It perform accurately even
• The response is slow because in presence of non-
manual control linearity
• Easy maintenance because of no
complex electronic circuit • It perform task faster than
• Cost is less open loop
• It is difficult to maintain
and repair
• Cost is more
Automatic tank level control system
Sequential controllers

• A sequential control involve sequential execution of well defined


operations.
The working of modern automatic washing
machine is
• Step 1 : pre-wash cycle-(Cold water wash)

• Step 2: main wash cycle- (Hot water wash)

• Step 3: rinse cycle- (Number of preset time)

• Step 4: spin cycle- (Drain the water from clothes)


Block diagram of automatic washing machine system
Elements of control system for an automatic camera
Concept of mechatronic approach
Emerging area of mechatronics
• Machine vision
• Automation and robotics
• Development of unmanned vehicles
• Design of subsystem for automotive engineering
• Sensing and control system
• Operation and maintenance of CNC machine
• Expert system and artificial intelligence
• Industrial electronics and consumer products
• Medical mechatronics and medical imaging systems
• Micro/nano mechatronics
• Computer integrated manufacturing (CIM) system
Need for mechatronics

• Dynamic market conditions


• Producing next generation products
• Integration of modern technologies in products
• Variety in product ranges
• Batch production runs
• Change in design perspective
• Product quality and consistency
• Ease of reconfiguration of the process
• Demand for increased flexibility
Classification of Mechatronics
Working of a four stroke SI engine
Elements of control system for an
electronic engine management system
UNIT II
8085 MICROPROCESSOR AND
8051 MICROCONTROLLER
MICROPROCESSOR
• It is a semiconductor component that incorporates the functions of a central
processing unit (CPU) on a single integrated circuit (IC) . i.e., the central
processing unit (CPU) built on a single IC is called microprocessor.
MICROPROCESSOR
• It is multipurpose, programmable and clock driven,
• Register based electronic device that reads binary instructions from a
storage device called memory,
• Accept binary data as input, process the data according to the instruction
and provides results as output.
Functional Block diagram of Microprocessor

ALU Register Array

Control
Microprocessor
Functional Block diagram of Microprocessor

• ALU (Arithmetic and Logic Unit)


• It carries out arithmetic and logic operations on 8 bit word.
• Arithmetic operation – addition, subtraction , multiplication , division etc.,
• Logic operation - AND,OR,EX-OR
• The content of accumulator and temporary register are the input to the ALU.
• ALU output is stored in accumulator
• Register array
• Register is a storage unit within the microprocessor used to store the data,
address of instruction of any program.
• Microprocessor contained 6 general purpose register it has 8- bit memory
• Registers are B,C,D,E,H and L
• To hold 16-bit data a combination of two 8-bit registers can be used.
• The combination of two 8-bit registers is known as Register Pair (BC, DE and HL).
• These Registers are used to store data temporarily during execution of the
program.
• Control Unit
• The timing and control unit acts as the brain of a computer.
• It controls all operations of the CPU.
• It controls input, output and all other devices connected to the CPU.
Evolution of Microprocessor

• First generation Microprocessor


• 1st Microprocessor, Intel 4004, a 4 bit PMOS Microprocessor introduced in
1971 by the Intel corporation, USA.45 instructions and 2300 transistors
• It has limited memory-simple aplications.
• An enhanced version of Intel 4004 is Intel 4040.
• e.g., Toshiba’s 73472, Rockwell International’s PPS-4 National IMP-4 etc.,
Evolution of Microprocessor

• Second generation Microprocessor


• In 1972, Intel introduced 8- bit Microprocessor named as Intel 8008, which
also uses PMOS technology.
• But this technology was slow and not compatible with TTL logic
• In 1973, Intel introduced more powerful and fast 8- bit NMOS
Microprocessor called Intel 8080-3 power supplies.
• 1975-Intel 8085 is the improved version of Intel 8080
• Third generation Microprocessor
• In 1978 Intel introduced a 16- bit Microprocessor called Intel 8086.
• Other 16- bit Microprocessor are Intel 80186, Intel 80286, zilog’s z8000,
Motorola’s 68000, 68010 etc.,
• Forth generation Microprocessor
• In 1980-32bit-Iapx432-not popular
• In 1985 Intel introduced a 32- bit Microprocessor called Intel 60386-desktop -
386MP
• Fifth generation Microprocessor
• Intel i860 is a 64 bit RISC microprocessor
Architecture of 8085

• Three main section


• ALU
• Timing and Control unit-
• Set of register
ARCHITECTURE OF 8085
• ALU
• Addition, Subtraction, Logical AND,OR…etc
• Timing and Control Unit
• timing and control signals –execution of instructions
• Controls the entire operation of the microprocessor
• Register
• 1- 8 bit Accumulator….i.e.-register A (ACC)
• 6-8 bit general purpose register (B,C,D,E,H & L)
• 1- 16 bit register –SP(Stack Pointer)
• 1 -16 bit –PC (Program Counter)
• Instruction register
• Temporary register
• Flag register
• Flag register
• Carry flag (CY) – it is set, If carry or borrow occurs during the arithmetic
operation.
• Parity flag (P) – it is set, if the result has even number of it otherwise made 0.
• Auxiliary carry flag (AC) – Binary coded decimal operations (BCD)
• Zero flag (z) – is set if the result becomes 0
• Sign flag (S) – is set if the result becomes –ve, if +ve, it is set to 0
• 2 bit (don’t care )
Pin diagram
Signals in 8085
• 6 group of signals
• Address bus (A15-A8)-
• unidirectional
• Data bus (AD7-AD0)
• bi-directional both data and
address
• Control and Status signals
• ALE (Address Latch Enable)
• RD,WR,IO/M,S0,S1
• Power supply and Clock frequency
• VCC +5
• VSS-Ground
• X1,X2
• CLK
• Externally initiated signals
• INTR
• INTA
• TRAP
• RST 7.5,RST6.5,RST 5.5
• READY
• HOLD
• RESET IN
• RESET OUT
• HLDA
• Serial I/O Ports
• SID
• SOD
ADRESSING MODES IN 8085

• Direct addressing
• Register addressing
• Register indirect addressing
• Immediate addressing
• Implicit addressing
• Direct addressing
• LDA 240H (Load register A with the contents of memory location 240FH)
• STA 2400H (Store the content of the accumulator in the memory location
2400H)
• Register addressing
• MOV B, D (move the content of register D to register B)
• INX H (increment the content of [H-L] register pair
• Register indirect addressing
• LXI H, 2500H (Load H-L pair with 2500H)
• MOV A, B (move the content of the memory location, whose address is in H-L
pair(H-L Pair) to accumulator)
• HLT (halt)
• Immediate addressing
• MVI A, 05 (Move 05 in register A)
• 3E, 05 (the code format of an instruction)
• Implicit addressing
• There are certain instruction which operate the content of the accumulator.
• Such instruction do not require the address of the operand
• CMA
• RAL
• RAR
Instruction sets 8085

• Data transfer group


• Arithmetic group
• Logical group
• Branch group
• Stack, I/O and Machine control group
Data transfer group

• MOV r1,r2
• MOV r, M (Move the content of memory to
register)
• MOV M, r
• MVI r1, data (Move Immediate DATA to register)
• MVI M, data
• LDA data (Load accumulator direct)
• STA addr (store accumulator direct)
• XCHG (exchange the content of H-L with D-E pair)
• LHLD addr (Load HL pair direct)
• SHLD addr (Store HL pair direct)
• STAX xp ( store accumulator Indirect)
Arithmetic group

• ADD r • INR r
• ADD M • INR M
• ADI data • DCR r
• ADC r • DCR M
• ADC M
• SUB r
• SUB M
• SUI data
• SBB r
• SBB M
Logical group

• ANA r • CMA (complement acc)


• ANA M • CMC(complement carry)
• ANI data • CMP r (compare)
• ORA r • CMP M
• ORA M • CPI data
• ORI data • RLC (rotate)
• XRA r • RRC
• XRA m • RAL
• XRI data • RAR
Branch group

• Two branch instruction

•Conditional
•The conditional branch instructions
transfer the program to the specified
label when certain condition is
satisfied
•Unconditional
•The Unconditional branch instructions
transfer the program to the specified
label when certain condition is not
satisfied
• Conditional jumb addr (label)
• If the condition is true and the program jumps to the specified label, the
execution of a conditional jump takes 3 machine cycles and 10 states
• If the condition is not true, only two machine cycles and 7 states are required
for the execution of the instruction.
• JZ addr (label) [jump if the result is zero]

[PC] address (label), jump if z=0

Machine cycle – 2/3


States – 7/10
Addressing mode – Immediate
Flags - None
• JNZ addr [ jump if the result is not zero]
[PC] address (label), jump if z=1

• JC addr [ jump if there is a carry ]


[PC] address (label), jump if CS = 1

• JNC addr [ jump if there is no carry ]


[PC] address (label), jump if CS = 0
• JP addr [ jump if the result is plus)
[PC] address (label), jump if S = 0

• JM addr [ jump if the result is minus)


[PC] address (label), jump if S = 1
• JPE addr [ jump if even parity)
[PC] address (label), jump if P = 0
• JPE addr [ jump if odd parity)
[PC] address (label), jump if P = 1

•CALL addr (label)


• Call the subroutine identified by the operand
• CC addr (call subroutine if carry status CS=1)
• CNC addr (call subroutine if carry status CS=0)
• CZ addr (call subroutine if result is zero)
• CNZ addr (call subroutine if result is not zero)
• CP addr (call subroutine if result is plus)
• CM addr (call subroutine if result is minus)
• CPE addr (call subroutine if even parity)
• CPOE addr (call subroutine if odd parity)
• Unconditional
• RET(Return from Subroutine)
• CALL addr
• RSTn (Restart)
Stack ,I/O and Machine control Group

• PUSH rp [push the content of register pair to stack)


• PUSH PSW [push the program status to word]
• POP rp [pop the content of register pair which was saved from the
stack]
• POP PSW
• IN PORT
• OUT PORT
• EI (enable interrupts)
• DI(disable interrupts)
• HLT (halt)
• NOP( notion oper)
• RIM(read interrupts mask)
• SIM (set interrupts mask)
SIM(Set Interrupts Mask)
RIM (Read Interrupts Mask)
Timing diagram of 8085

• Opcode fetch cycle (4T or 6T)


• Memory Read cycle (3T)
• Memory write cycle (3T)
• I/O read cycle (3T)
• I/O write cycle (3T)
• Interrupt acknowledge (6T or 12T)
• Bus idle cycle (2T or 3T)
Opcode fetch cycle
Memory Read cycle
Memory write cycle
I/O read cycle
I/O write cycle
Microcontroller

• A Microcontroller is a small computer on a single integrated circuit


containing a processor core, memory and programmable
input/output peripherals.
Features Microcontroller

• 8 bit CPU
• On chip oscillator
• 4Kb of ROM
• 128 bytes of RAM
• 21 special functions register
• 32 I/O lines
• 64 KB address space for external data memory
• 64 KB address space for program memory
• 2 16-bit timer/counter
Block diagram of 8051
UNIT 3
PROGRAMMABLE PERIPERAL INTERFACE
Content

• Introduction
• Architecture of 8255
• Keyboard interfacing
• LED display –interfacing
• ADC and DAC interface
• Temperature Control
• Stepper Motor Control
• Traffic Control interface
Introduction
• To communicate with the outside world, microprocessor use peripherals
(I/O devices)
• Input devices – Keyboards, A/D converters etc.,
• Output devices – CRT, Printers, LEDs etc.,
• Peripherals are connected to the microprocessors through electronic
circuit known as interfacing circuits.
Microprocessors unit with I/O devices

Input Output
Micro
devices devices
(keyboard) processors
(LED)

Input Output
peripherals peripherals
• Some of the general purpose interfacing devices
• I/O ports
• Programmable peripherals interface (PPI)
• DMA controllers
• Interrupt controller

• Some of the special purpose interfacing devices


• CRT controller
• Keyboard
• Display
• Floppy Disc controllers
Peripheral interfacing Chips are used
generation of I/O ports
• Programmable peripherals interface Inter 8255 (PPI)
• Programmable Interrupt controller (PIC) Intel 8259
• Programmable communication interface (PCI) Intel 8251
• Keyboard display Controller Intel 8279
• Programmable counter /Inverter timer Intel 8253
• A/D and D/A Converter Interfacing
Advantages

• To perform specific functions by giving a control word to the internal


register.
• Control word –instructions informs the peripheral about various
functions to perform.
• Format (CW) specified by the manufacturer.
Microprocessors unit with I/O devices

Input
Micro Output
devices PPI 8279
proce device
(key 8255 Display
ssors (LED)
board)

Peripheral Display
Interface Interface
Address Space Partitioning

• The Microprocessors uses 16 bit wide address bus for addressing


memories and I/O devices.
• Using 16 bit wide address bus, it can access 216 = 64k bytes of
memory and I/O devices
• Two schemes for the allocation of addresses to memories and I/O
devices
• Memory mapped I/O
• I/O mapped I/O
Memory mapped I/O

• It has only one address space


• Address space is defined as the set of all possible addresses that a
microprocessor can generate
• Some addresses assigned to memories and Some addresses to I/O
devices
• Memory locations are assigned with addresses from 8000 to 84FF
• I/O devices are assigned with addresses from 8500 to 85FF
I/O mapped I/O scheme

• In this scheme, addresses assigned to memories locations can also be


assigned to I/O devices
• Since the same address may be assigned to memories locations or an
I/O devices
• The microprocessor has a signal to distinguish whether the address
on the address bus is for memories locations or an I/O devices
I/O mapped I/O scheme

• When signal is high, then address on the address bus is for an I/O
devices
• When signal is low, then address on the address bus is for memory
locations
• Two extra instruction IN and OUT are used to address I/O devices.
• The IN instruction is used to read the data of an input devices.
• The OUT instruction is used to send the data of an input devices.
• This scheme is suitable for a large system.
PROGRAMMABLE PERIPHERALS INTERFACE INTER
8255 (PPI)
Operating mode of 8255

• Bit Set Reset (BSR) Mode


• I/O Mode
Bit Set Reset (BSR) Mode

BSR control word format


I/O Mode

• The 8255 has the following 3 modes of operation


• Mode 0 – Simple Input/output
• Mode 1 – Input / Output with the Handshake or strobed
• Mode 2 – Bi-directional I/O
I/O Mode

Mode 0 – Simple Input/output


• Port A and port B are used as two simple 8-bit I/O port
• Port C as two 4-bit port
• Features
• Outputs are latched
• Inputs are buffered not latched
• Ports do not have handshake or interrupt capability
I/O Mode
• Mode 1 – Input / Output with the Handshake
• Input or output data transfer is controlled by handshaking signals.
• Handshaking signals are used to transfer data between devices whose data
transfer speeds are not same.
• Port A and Port B are designed to operate with the Port C.
• When Port A and Port B are programmed in Mode 1, 6 pins of port C is used for
their control.
I/O Mode
• D0-D7 data bus
– bi directional, tri state data bus line
– It is used to transfer data and control word from 8085 to 8255
• RD (Read)
– When this pin is low, the CPU can read data in the port or status word through
the data buffer
• WR (write)
– When this pin is low, the CPU can write data in the port or in the control register
through the data buffer
I/O Mode
• Mode 2 – Bi-directional I/O
• Port A can be programmed to operate as a bidirectional port.
• The mode 2 operation is only for port A
• When port A is programmed in Mode 2, the Port B can be used in either
Mode 1 or Mode 0.
• Mode 2 operation the port a is controlled by PC3 to PC7 of port C.
PIN DIAGRAM
OF 8255
PROGRAMMING and OPERATION of 8255

• Programming in MODE 0
• D7 –set to 1
• D6,D5,D2- all set to 0 –MODE 0
• D4,D3,D1 and D0- determine weather the corresponding ports are to
configured as input or output
A B GROUP A GROUP B
D4 D3 D1 D0 PORT A PORTC U PORT B PORT C L

0 0 0 0 OUT OUT OUT OUT


0 0 0 1 OUT OUT OUT IP
0 0 1 0 OUT OUT IP OUT
0 0 1 1 OUT OUT IP IP
0 1 0 0 OUT IP OUT OUT
0 1 0 1 OUT IP OUT IP
0 1 1 0 OUT IP IP OUT
0 1 1 1 OUT IP IP IP
1 0 0 0 IP OUT OUT OUT
1 0 0 1 IP OUT OUT IP
1 0 1 0 IP OUT IP OUT
1 0 1 1 IP OUT IP IP
1 1 0 0 IP IP OUT OUT
1 1 0 1 IP IP OUT IP
1 1 1 0 IP IP IP OUT
Programming in MODE 1
• IBF- input buffer full
• INTR- interrupt request
• INTE-interrupt enable

• OBF-output buffer full


• INTR-interrupt request
• INTE-interrupt enable
Programming in MODE 2
Interfacing cable
Basic Key operation
2 X 2 Key operation
Keyboard Microprocessor Interface software Flowchart
INTERFACING-keyboard
LED Operation
Microprocessor interface to LED (Common
anode)
Microprocessor interface to 7 segment
LED (Parallel)
Microprocessor interface to 7 segment LED
(serial)
Serial interface of 7
segment LED to
Microprocessor
software flowchart
INTERFACE-LED display
ADC INTERFACE
BLOCK diagram of ADC 0808
PIN diagram of ADC 0808
DAC INTERFACE
Pin diagram of DAC
Pin diagram of DAC
INTERFACING diagram for DAC
TEMPERATURE CONTROL

• Temperature sensor –convert temp to electrical signal by thermistor


• Transducer convert physical data into electrical signal
• Physical data –temp, light, flow, speed etc…
• LM34 & LM35 –temperature sensor by NATIONAL SEMICONDUCTOR
CO-OPERATION
• LM34 • LM35
• Output voltage is linearly • Output voltage is linearly
proportional to Fahrenheit temp proportional to Celsius temp
• No external calibration • No external calibration
• 10mV for each degree of • 10mV for each degree of
Fahrenheit temp Centigrate temp
STEPPER MOTOR CONTROL interface
• Digital motor used to translate electrical pulse into mechanical
movement
• Center tap winding connected to 12 V supply
• Motor can be excited by grounding four terminals of the two windings
• ROTOR-Stepper motor has permanent magnet rotor .It is also known as
shaft
• STEP ANGLE-It is minimum degree of rotation associated with a single
step
Stepper Motor Interface
Excitation Table

Step X1 X2 X3 X4
1 0 1 0 1
2 1 0 0 1
3 1 0 1 0
4 0 1 1 0
1 0 1 0 1
Traffic Light Control System
• Allow traffic from W to E and E to W transition for 20 seconds
• Give transition period of 5 seconds (yellow bulbs ON)
• Allow traffic from N to s and S to n for 20 seconds
• Give transition period of 5 seconds (yellow bulbs ON)
• Repeat the process
Traffic Light Control System
Interfacing diagram for Traffic Light Control
System
UNIT 4
PROGRAMMABLE LOGIC CONTROLLER
Content

• Introduction
• Basic structure
• Input and output processing
• Programming
• Mnemonics
• Timers, counters and internal relays
• Data handling
• Selection of PLC
PROGRAMMABLE LOGIC CONTROLLER

• A Programmable Logic Controller(PLC) is a digital computer used for


automation of typically industrial electromechanical processes, such
as control of machinery on factory assembly lines, amusement rides
or light fixtures.
Applications

• Automated manufacturing process equipment and machinery


• Packaging and filling equipment
• Chemical mixing
• Conveyor systems and distillation etc.,
Features and specification
• They are rugged and designed to withstand vibration, temperature,
humidity and noise
• The interfacing for inputs and outputs is inside the controller.
• They are easily programmed and have an easily understood
programming language.
• Programming is primarily concerned with logic and switching operation.
Hardwired motor circuit
Hardwired motor circuit with PLC
Basic structure
• PLC is designed as a replacement for the hardwired relay and timer
logic, where PLC provides ease and flexibility of control based on
programming and executive logical instruction.
• The internal functions such as timers, counter and shift registers
making sophisticated control possible using even the smallest PLC.
• PLC capable of performing function such as
• counting,
• logistics,
• numerical application,
• comparing and processing of signals.
• A PLC is divided in to 4 parts. They are
• Input/output module (I/O)
• Central processing Unit (CPU)
• Memory
• Programming unit
i) Input/output module (I/O)
• It is used to transfer the data between external devices and CPU
• It is incorporated into PLC in two ways
I. Fixed I/O – it is a small unit that comes in one piece with processor i.e., the
I/O terminals cannot be changed in fixed I/O
II. Modular I/O – it is packed together i.e., there are several compartment of
I/O module are plugged together.
Central processing Unit (CPU)
• It is consisting of a microprocessor which interrupts the input signal and
carries out the control actions according to the program stored in the
memory, communicating the decision as an action signal to the output.
• It scan the total information package stored in the memory and input and
output devices continuously.
• During the scan the CPU executes instruction based on input data, sends
appropriate output responses to the output devices, updates data
acquisition systems and indicate condition changes
• Scan time for larger unit depends on the size of the memory and
configuration of the system
• Power supply unit is needed to convert the AC voltage to the low DC
voltage necessary for the processor and to supply power to other
circuit in the input and output interface module.
Memory Unit

• The memory in PLC stores the digital control logic, the process
program and the necessary instruction to operate the system.
• The memory used in PLC are
• Non-volatile memory
• Volatile memory
• According to purpose of usage
• RAM –volatile memory
• ROM- permanent storage
Programming unit

• It is used to enter the required program into the memory of the


processor
• There are normally 3 approaches followed by the program
• Use of hand held programmer
• Terminal with video display unit
• PC with appropriate software
Architecture
• Buses
• Data buses – it is used for communicating data b/n elements
• Address buses-it is used to read the address of locations for accessing stored
data
• Control buses- it is used for internal control action carried by the CPU
• System buses- it is used for communication b/n Input/output ports and
input/output units
• Memory
• RAM
• ROM
• PROM
• EPROM
• Electrically EPROM
Optoisolator

• Electrical connection from the external world is usually by means of


optoisolator
• When a digital pulses passes through the LED, a pulse of Infrared
radiation is produced.
• This pulses is detected by the phototransistor and gives rise to a
voltage in that circuit.
Optoisolator
Input channel with optoisolator
• Common input voltage is 5V and 24V
• Output voltage is 24V and 240V
• Output are often specified as being of
• Relay type
• Transistor type
• Triac type
Relay type of output

The relay type output is used for both ac and dc switching


Relay are slow to operate
Transistor type output

The transistor type output is used for dc switching


This give faster switching action
Triac type of output

The triac type output is used for switching AC voltages


Programming

• The programming of PLC is based on the ladder diagram.


• Ladder diagram involve writing a program in a similar maner to
drawing a switching circuit.
Switch controlling Solenoid

Ladder Diagram for


Switch Control

e.g., solenoid valve


open to allow water
to enter a vessel
Temperature Control System
Logic functions

An AND System

An OR System
NOT System

NOR System
NAND System

XOR System
Cylinder Sequencing
A+, B+, A- and B-
List of Mnemonics used for the Mitsubishi f
Series PLC
Mnemonics for Logic system
Mnemonics for Logic system
Timer
Timer circuit programmed to cause an output to go
ON for 0.5s, then OFF for 0.5s, then OFF for 0.5s and
so on

ON-OFF
cycle timer
Internal relay
Counter
Master control relay
JUMP Instruction
Data handling

• Data movement
• Data comparison
• Arithmetic operation
• Code conversion
Data Movement
Controlling the speed of motor
Selection of PLC
• System definition
• Choosing the I/O hardware
• I/O timing consideration
• Analog I/O module –resolution, voltage level
• Conversion speed
• Analog closed control
• Communication
• Counter, encoders and positioning
• Selecting suppliers
UNIT 5
ACTUATORS AND MECHATRONICS SYSTEMS DESIGN
CONTENT

❖Types of stepper and servo motors – construction, working principle


❖Design process - Stages in designing mechatronics system
❖Traditional and mechatronic design concept
❖Possible design solution
❖Case studies of mechatronics systems
❖Pick and place robot
❖Engine management system
❖Automatic car park barrier
Stages in designing mechatronics system
Need for design

Analysis of problem

Preparation of specification

Generation of possible solution

Evaluation

Production of detailed design

Production of working drawing

Implementation of design
Traditional design

A mechanical system

Mechanical Hydraulic Electrical


linkages , drives and motors,
etc., pneumatic switches
actuators etc.,
Mechatronic design

A
mechanical
system

Mechanical Hydraulic Electrical


linkages , and motors,
drives etc., pneumatic switches
actuators etc.,

Electronic
components,
computers & IT
systems
Comparison of traditional and mechatronics
design

Traditional design Mechatronics design


• It is based on a traditional • It is based on mechanical,
systems such as mechanical, electronics, computer
hydraulic and pneumatic technology and control
systems engineering.
• Less flexible • More flexible
• Less accurate • More accurate
• More complicate mechanism in • Less complicate mechanism in
design design
• It involve more components • It involve fewer components
and moving parts and moving parts
Possible design solution

• Timer switch
• Windscreen wiper motion
• Weighing scales
Timer switch
Possible solution for timer switch
Windscreen wiper motion
Possible solution for Windscreen wiper
motion
Weighing scales

Weighing Scales Weighing Scales mechanism


Wheatstone bridge arrangement with ADC
Wheatstone bridge with microcontroller
Case studies

• Pick and place robot


• Autonomous mobile robot
• Wireless surveillance balloon
• Engine management system
• Automatic car park barrier
Pick and place robot
Gripper mechanism of a robot
Microcontroller circuit for pick and place robot
Autonomous mobile robot
Elements of autonomous mobile robot
Wireless surveillance balloon
Applications of wireless surveillance Ballon

• Border security (TARS) in military


• Enhancing battle field situational awareness
• Coastal surveillance
• Platform for mounting telecommunication, television, radio
transmitters etc.,
• Aerial platform for scientific instrument testing
Engine Management System
Basic components
• Electronic control unit
• Fuel delivery system
• Ignition system
• Various sensors
• Throttle position sensors
• Exhaust gas oxygen sensors
• Manifold absolute pressure sensors
• Temperature sensors
• Engine speed/Timing sensors
• Exhaust gas regulation sensors
• Mass sir flow sensors
Interfacing of sensors with controller in Automatic car park barrier

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy