Chapter 1 - Introduction To Mechatronics
Chapter 1 - Introduction To Mechatronics
Chapter 1 - Introduction To Mechatronics
Introduction to mechatronics
Chapter objectives
When you have finished this chapter you should be able to:
1
2 Mechatronics
consumer products such as VCRs, and driver-less vehicles are all examples of
mechatronic systems.
The genesis of mechatronics is the interdisciplinary area relating to mechanical
engineering, electrical and electronic engineering, and computer science. This
technology has produced many new products and provided powerful ways of
improving the efficiency of the products we use in our daily life. Currently, there is
no doubt about the importance of mechatronics as an area in science and
technology. However, it seems that mechatronics is not clearly understood; it
appears that some people think that mechatronics is an aspect of science and
technology which deals with a system that includes mechanisms, electronics,
computers, sensors, actuators and so on. It seems that most people define
mechatronics by merely considering what components are included in the system
and/or how the mechanical functions are realized by computer software. Such a
definition gives the impression that it is just a collection of existing aspects of
science and technology such as actuators, electronics, mechanisms, control
engineering, computer technology, artificial intelligence, micro-machine and so
on, and has no original content as a technology. There are currently several
mechatronics textbooks, most of which merely summarize the subject picked up
from existing technologies. This structure also gives people the impression that
mechatronics has no unique technology. The definition that mechatronics is simply
the combination of different technologies is no longer sufficient to explain
mechatronics.
Mechatronics solves technological problems using interdisciplinary knowledge
consisting of mechanical engineering, electronics, and computer technology. To
solve these problems, traditional engineers used knowledge provided only in one of
these areas (for example, a mechanical engineer uses some mechanical engineering
methodologies to solve the problem at hand). Later, due to the increase in the
difficulty of the problems and the advent of more advanced products, researchers
and engineers were required to find novel solutions for them in their research and
development. This motivated them to search for different knowledge areas and
technologies to develop a new product (for example, mechanical engineers tried to
introduce electronics to solve mechanical problems). The development of the
microprocessor also contributed to encouraging the motivation. Consequently,
they could consider the solution to the problems with wider views and more
efficient tools; this resulted in obtaining new products based on the integration of
interdisciplinary technologies.
Mechatronics gained legitimacy in academic circles with the publication of the
first refereed journal: IEEE/ASME Transactions on Mechatronics. In it, the authors
worked tenaciously to define mechatronics. Finally they coined the following:
This definition supports the fact that mechatronics relates to the design of
systems, devices and products aimed at achieving an optimal balance between basic
mechanical structure and its overall control.
Digital 1
Electronics
control 1
\ /
Mechatronics
y \
1 Sensors Information
1 and technology
1 actuators
1.2.1 Electronics
p n P n
0 Q^cT- © © ©©
© Q^r - © © © © © ©©
© © Q_ -@-^© © © ©©
© © 0 ©-©*© © © ©©
Diode Diode
- v(t) + + v(t) -
Transistors are active circuit elements and are typically made from silicon or
germanium and come in two types. The bipolar junction transistor (BJT) controls
current by varying the number of charge carriers. The field-effect transistor (FET)
varies the current by varying the shape of the conducting volume.
By placing two p-n junctions together we can create the bipolar transistor. In a
pnp transistor the majority charge carriers are holes and germanium is favored for
these devices. Silicon is best for npn transistors where the majority charge carriers
are electrons.
The thin and lightly doped central region is known as the base (B) and has
majority charge carriers of opposite polarity to those in the surrounding material.
The two outer regions are known as the emitter (E) and the collector (C). Under the
proper operating conditions the emitter will emit or inject majority charge carriers
into the base region, and because the base is very thin, most will ultimately reach
the collector. The emitter is highly doped to reduce resistance. The collector is
lightly doped to reduce the junction capacitance of the collector-base junction.
The schematic circuit symbols for bipolar transistors are shown in Figure 1.3.
The arrows on the emitter indicate the current direction, where IE = IB + IC.
The collector is usually at a higher voltage than the emitter. The emitter-base
junction is forward biased while the collector-base junction is reversed biased.
Figure 1.3 (a) npn bipolar transistor; (b) pnp bipolar transistor.
rather than the time domain. The Laplace transform is used to map the time
domain representation into the frequency domain representation.
If x(t) is the input to the system and y(i) is the output from the system, and the
Laplace transform of the input is X(s) and the Laplace transform of the output is
Y(s), then the transfer function between the input and the output is
Y(s)
(1.1)
X(s)'
Gc(s)Gu(s)
Y(s) = X(s). (1.2)
1 + Gc(s)Gu(s)
US?\) +^ Y{s)
v>
X(s) Gu(s) fc Gc(s)
> w
* w
-f
Figure 1.4 Block diagram of closed-loop system with unity gain.
Introduction to mechatronics
H(s)
Figure 1.5 Block diagram of closed-loop system with transfer function in feedback loop.
Sometimes a transfer function, H(s), is included in the feedback loop (Figure 1.5).
For negative feedback this is expressed as:
G(s)
Y(s) = X(s). (1.3)
1 + H(s)G(s)
1.2.3.1 Sensors
Sensors are elements for monitoring the performance of machines and processes.
The common classification of sensors is: distance, movement, proximity, stress/
strain/force, and temperature. There are many commercially available sensors but
we have picked the ones that are frequently used in mechatronic applications.
Often, the conditioned signal output from a sensor is transformed into a digital
form for display on a computer or other display units. The apparatus for
manipulating the sensor output into a digital form for display is referred to as a
measuring instrument (see Figure 1.8 for a typical computer-based measuring
system).
1.2.4.1 Communication
Signals to and from a computer and its peripheral devices are often communicated
through the computer's serial and parallel ports. The parallel port is capable of
sending (12 bits per clock cycle) and receiving data (up to 9 bits per clock cycle).
The port consists of four control lines, five status lines, and eight data lines.
Parallel port protocols were recently standardized under the IEEE 1284 standard.
These new products define five modes of operation such as:
• Compatibility mode
• Nibble mode
• Byte mode
• EPP mode (enhanced parallel port)
• ECP mode (extended capabilities mode)
This is the concept on which the PC printer operates. Therefore, the code required
to control this port is similar to that which makes a printer operate. The parallel
port has two different modes of operation: The standard parallel port (SPP) mode
and the enhanced parallel port (EPP) mode. The SPP mode is capable of sending
and receiving data. However, it is limited to only eight data lines.
The EPP mode provides 16 lines with a typical transfer rate in the order of
500 k B s - 1 to 2 M B s _ 1 (WARP). This is achieved by hardware handshaking and
strobing of the data, whereas, in the SPP mode, this is software controlled.
In order to perform a valid exchange of data using EPP, the EPP handshake
protocol must be followed. As the hardware does all the work required, the
handshake only needs to work for the hardware. Standard data read and write
cycles have to be followed while doing this.
Engineers designing new drivers and devices are able to use the standard
parallel port. For instance, EPP has its first three software registers as Base + 0,
Base-Hi, Base+ 2 as indicated in Table 1.1. EPP and ECP require additional
hardware to handle the faster speeds, while Compatibility, Byte, and Nibble mode
use the hardware available on SPP.
Compatibility modes send data in the forward direction at a rate of
50-150 k b s - 1 , i.e. only in data transmission. In order to receive the data the
Mechatronics
mode must change to Nibble or Byte mode. Nibble mode can input 4 bits in the
reverse direction and the Byte mode can input 8 bits in the reverse direction. EPP
and ECP increase the speed of operation and can output at 1-2 MB s _ 1 . Moreover
ECP has the advantage that data can be handled without using an input/output
(I/O) instruction. The address, port name, and mode of operation of EPP are
shown in Table 1.1.
Problems
Q l . l What do you understand by the term 'mechatronics'?
Further reading
[1] Alciatore, D. and Histand, M. (1995) Mechatronics at Colorado State University,
Journal of Mechatronics, Mechatronics Education in the United States issue,
Pergamon Press.
[2] Jones, J.L. and Flynn, A.M. (1999) Mobile Robots: Inspiration to Implementation,
2nd Edition, Wesley, MA: A.K. Peters Ltd.
[3] Onwubolu, G.C. et al. (2002) Development of a PC-based computer numerical
control drilling machine, Journal of Engineering Manufacture, Short Communications
in Manufacture and Design, 1509-15.
[4] Shetty, D. and Kolk, R A . (1997) Mechatronics System Design, PWS Publishing
Company.
[5] Stiffler, A.K. (1992) Design with Microprocessors for Mechanical Engineers,
McGraw-Hill.
[6] Bolton, W. (1995) Mechatronics - Electronic Control Systems in Mechanical
Engineering, Longman.
[7] Bradley, D.A., Dawson, D., Burd, N.C. and Leader, A. J. (1993) Mechatronics -
Electronics in Products and Processes, Chapman & Hall.
[8] Fraser, C. and Milne, J. (1994) Integrated Electrical and Electronic Engineering for
Mechanical Engineers, McGraw-Hill.
12 Mechatronics