UNIT 5 Mechatronics
UNIT 5 Mechatronics
UNIT 5 Mechatronics
v For this problem, a traditional mechanical system consists of rotating cam and
pivoted flexible arm as shown in fig 5.1.
v The cam is rotated at constant rate and the pivoted flexible arm which acts as
cam follower used to actuate a switch.
v The amount of time for which the switch is closed depending on the shape of
the cam and speed of the revolution of cam.
v Some of the possible solution for this problem using mechatronics approach is
explained below.
v Possible solution:
v The above problem can be solved by PLC arrangement as shown fig 5.2.
v The ladder program is also shown in this fig. To start the timer the following
requirements should be satisfied.
v In PLC system, the time duration can be easily adjusted by changing the timer
preset values (i.e., DATA) in the program whereas the traditional system
requires various sizes of the cams.
Possible soltuion2:
v The alternative for this problem is to use timer IC.
v The well- known IC for this purpose is 555.
v The external resister and capacitor are used to set the timing intervals in 555
timer. Fig 5.3 shows a internal circuit diagram of 555 timer with external
circuits.
v When applying the trigger, the output is turned ON and the time duration of
ON output being 1.1 R. C. where R = resistance in ohms and C = capacitors in
farads. Large times need larger value of R and C. R value varies from 1 kO to
I MO. The C value ranges from 0.1 to l0
v The accuracy of 555 timer is the best within the foresaid values of R and C
otherwise leakage capacitance becomes a problem.
v If more time duration is required, 555 timer can be replaced with ZN! 034E
timer. The circuit shown in fig 5.3 is limited to times less than about 11
seconds.
Fig 5.3. Circuits of 555 timer
Possible solution 3:
v Another alternative for this problem is to use the micro controller timer such
as 8051, 8096 and MC68HCI 1.
v Here we are using MC68HCI 1 micro controller. Fig 5.4 shows clock diagram
of MC68HC1I micro controller timer.
v This circuit consists of a 8MHz crystal, two 22PF capacitor, a 1 OOMQ
resister, and 2MHz E-clock.
v The timer is controlled by 16-bit count register (TCNT). When a system is
reset, TCNT is set to $0000. It counts continuously up to $FFFF.
v On the application of next pulse it overflows and reset to $0000.
v When it overflows, it will set timer flag TOF. Seventh bit of timer interrupt
flag register 2 (TFLG 2) is TOF.
v The system E-clock can be prescaled by setting bits in the timer interrupt mask
register2 (TMSK2).
v The prescaling factor is given in fig 5.5.
v The following program is used to control the micro controller to get the delay
of 0.55.
REGBAS EQU $1000
TFLG1 EQU $23
TCNT EQU $OE
TDC2 EQU $18
OC1 EQtJ $40
CLEAR EQU $40
D25MS E 50000
NTIMES EQU 20
ORG $1000
COUNT RMB 1
LDX #REGBAS
LDAP #NTIMES
STAA COUNT
LDAA #OC1
STAA TFLG1, X
LDD TCNT, X
AIT: ADDD #D25MS
STD TOC2, X
BRCLR TFLG1, X, OC1
LDAA #OC1
STAA TFLG1, X
DEC COUNT
BEQ OTHER
LDD TOC2, X
BRPi WAIT
v To rotate the stepper motor in forward direction the output sequence from the
micro controller is A-9-5-6-1.
v To rotate the stepper motor in the reverse direction the sequence from the
micro controller is 6-5-9-A.
2. Half-step configuration:
v If the stepper motor is in half step configuration then the data needed from
micro controller are shown on table 5.2.
Step!: Advance a step by applying a data. Step2: Call time delay routine to complete a
step.
To rotate the stepper motor in forward direction the output sequence from the micro
controller is A-8-9-1-5-4-6-2-A. to rotate stepper motor in the reverse direction the
output sequence from the micro controller is 2-6-4-5-1-9-8-A.
The basic steps of the program to run a stepper motor is given as follows.
Step3: Repeat step and step2 until the required number of steps completed in forward
direction.
Step4: To reverse the direction of stepper motor, the same steps given above are
repeated in the reverse order of data.
The C program can be written for three step forward and three step backward rotation
of stepper motor in full-step configuration as follows:
v The deflection of the leaf spring is transferred to the rack and pinion
arrangement where the linear movement of rack is converted into rotary
motion of the pinion about the horizontal axis.
v The rotary motion is transferred to the movement of a pointer across a scale
through bevel gears.
v With this arrangement the deflection is independent of where on the platform
the person stands.
v The mechatronics solution for this problem involves the use of a
microprocessor.
v The basic principle behind this approach is to use load cells employing
electrical resistance strain gauges.
v Fig 5.11 shows a Wheatstone bridge arrangement with ADC.
v Similarly for displaying number of 6 of 168 in the second LED are given as
follows:
5.4 CASE STUDIES OF MECHATRONIC SYSTEM
Mechatronics systems are widely used now a days in many industries
Some of the examples are explained here as per our university syllabus.
v When the barrier hits the limit switch, it will turns on the timer I give a
required time delay.
v After that time delay, the solenoid B activated which brings the barrier
downward by operating piston in th cylinder.
v This principle is used for both the barriers.
v Fig 5.17 shows a PLC arrangement to operate the barrier. Fig 5.1 shows the
ladder program for that PLC system.
5.4.3. Engine management system:
v Engine management system is, now-a-days, used in many of the modern cars
such as Benz, Mitsuibisi, and Toyota etc.
v This system uses many electronic control system involving micro controllers.
v The generalljse block diagram of this system is shown in fig 5.19.
v The objective of the system being to ensure that the engine is operated at its
optimum settings.
v The system consists of many sensors for observing vehicle speed, engine
temperature, oil and fuel pressure, airflow etc. These sensors are supplying
input signals to the micro controller after suitable signal conditioning and
providing output signals via drivers to actuate corresponding actuators. A
single cylinder engine consists of some of these elements in relation to an
engine is shown in fig 5.20.
v The engine sensor is an inductive type s It consists of a coil and sensor wheel.
The inductance of the coil changes as the teeth of the sensor wheel pass it and
so results in an oscillating voltage.
REVIEW QUESTIONS
1. Explain the various stages in designing mechatronics system.
2. Briefly explain traditional and mechatronics designs.
3. Compare the traditional and mechatromcs design.
4. Explain possible design solutions.
5. Describe the two configurations of stepper motor in operation.
6. How simple weighing works using traditional mechanical system?
7. Explain the working of a weighing scale using mechatronic solution compare this
over traditional mechanical system.
8. Describe pick and place robot with its movements.
9. Explain the working of an automatic car parking system with neat sketch.
10. Describe engine management system.