Mechatronics 6TH Semester by Akash

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

-: Mechatronics :-

UNIT : 1
1. Introduction to Mechatronics: 1.8 Selection of Sensors and their specifications.
1.1 Introduction. In mechatronics, the selection of sensors depends
Mechatronics is an interdisciplinary field that on the specific application and requirements of the
combines mechanical engineering, electronics, system. However, I can provide you with a list of
computer science, and control engineering to commonly used sensors in mechatronics and their
design and create intelligent systems. It involves general specifications. Keep in mind that the
the integration of mechanical components, specifications may vary depending on the sensor
sensors, actuators, electronics, and computer manufacturer and model. Here are some examples:
systems to develop advanced machines and 1. Proximity Sensors:
systems that can perform complex tasks. • Type: Inductive, capacitive, or optical
1.2 Advantages of Mechatronics: Mechatronics • Sensing Range: Varies based on the type and
offers several advantages over traditional model, typically a few millimeters to several
engineering approaches, including: meters
1. Increased functionality: Mechatronic systems • Output: Digital (on/off) or analog (continuous)
can perform a wide range of tasks by integrating 2. Accelerometers:
mechanical, electrical, and software components, • Measurement Range: Typically expressed in units
leading to enhanced functionality and versatility. of acceleration (e.g., meters per second squared)
2. Improved performance: By incorporating • Sensitivity: Output voltage change per unit of
intelligent control systems, mechatronics can acceleration (e.g., volts per g)
optimize performance, accuracy, and efficiency • Bandwidth: The range of frequencies the
of machines and processes. accelerometer can measure accurately
3. Enhanced flexibility: Mechatronic systems 3. Gyroscopes:
can adapt to varying operating conditions and • Angular Rate Range: The range of angular
can be easily reprogrammed or reconfigured for velocities the gyroscope can measure (e.g., degrees
different tasks, making them highly flexible. per second)
4. Cost-effectiveness: By integrating multiple • Sensitivity: Output voltage change per unit of
functionalities into a single system, mechatronics angular velocity (e.g., volts per degree per second)
can reduce the overall cost of development, • Bias Stability: The sensor's ability to maintain a
maintenance, and operation. consistent output when not experiencing angular
5. Advanced sensing and actuation: Mechatronic motion
systems employ sophisticated sensors and 4. Force/Torque Sensors:
actuators, enabling them to interact with the • Measurement Range: Typically expressed in units
environment and respond to changes in real-time. of force (e.g., Newtons) or torque (e.g., Newton-
6. Integration with information technology: meters)
Mechatronics combines physical systems • Sensitivity: Output change per unit of force or
with information technology, enabling torque applied (e.g., volts per Newton or volt per
seamless communication, data acquisition, Newton-meter)
and analysis for improved decision- making. • Accuracy: The sensor's ability to measure force or
torque accurately
1.3 Basic building blocks of Mechatronic systems:
Mechatronic systems typically consist of the following 5. Temperature Sensors:
basic building blocks: • Type: Thermocouples, resistance temperature
detectors (RTDs), thermistors, or integrated circuit
1. Mechanical components: These include various
sensors (e.g., digital temperature sensors)
mechanical elements such as gears, belts, pulleys,
• Measurement Range: Varies based on the type and
motors, and linkages that enable motion and force
model, typically expressed in degrees Celsius or
transmission.
Fahrenheit
2. Electrical components: These encompass electrical • Accuracy: The sensor's ability to measure
devices like sensors, actuators, motors, power temperature accurately
supplies, and electronic circuits that interface with
6. Pressure Sensors:
the mechanical components.
• Type: Piezoresistive, capacitive, or piezoelectric
3. Control systems: Mechatronics relies on control
sensors
systems to regulate and manipulate the behavior of
• Measurement Range: Varies based on the type
the system. This involves the use of algorithms,
and model, typically expressed in units of pressure
feedback loops, and controllers to achieve desired
(e.g., Pascal, bar, psi)
performance.
• Output: Analog voltage or current proportional to
4. Computer systems: Computers and the applied pressure
microcontrollers play a crucial role in mechatronics
7. Position Sensors:
by processing data, executing control algorithms,
• Type: Potentiometers, encoders, Hall effect sensors,
and coordinating the operation of different
or optical sensors
components.
• Sensing Range: Varies based on the type and model,
1.4 Measurement systems of Mechatronics: typically linear or angular displacement
Measurement systems in mechatronics are used to • Output: Analog (voltage or current) or digital (pulses,
acquire data about the physical parameters of the quadrature signals) based on the sensor type
system and its environment. These systems employ
sensors to convert physical quantities such as
temperature, pressure, position, velocity, and force
into electrical signals that can be processed and
analyzed by the control system. Commonly used
sensors in mechatronics include accelerometers,
encoders, thermocouples, pressure transducers,
and proximity sensors.
1.5 Control systems and their types:
Control systems are integral to mechatronic
systems as they ensure the desired behavior
and performance. Various types of control
systems are used in mechatronics, including:
1. Open-loop control system: In this type of
control system, the output does not affect the
control action. The control input is determined
solely based on the desired output, without
considering the actual system behavior or
feedback.
2. Closed-loop control system: Also known as
feedback control, this system incorporates
feedback from sensors to continuously monitor
the output and make adjustments to the control
input. It compares the desired output with the
actual output and corrects any discrepancies.
3. Proportional-Integral-Derivative (PID) control
system: PID control is a popular control technique
used in mechatronics. It combines proportional,
integral, and derivative actions to achieve optimal
control performance by adjusting the control input
based on the error, its integral over time, and its rate
of change.

1.6 Closed-Loop Control System, Multi-input Multi-output


System:
1. Closed-loop control system: A closed-loop control
system, also known as a feedback control system, utilizes
feedback from the output to adjust the system's input and
maintain desired behavior. It continuously compares the
actual output with the desired reference signal and applies
corrective actions to minimize any deviation.
2. Multi-input multi-output system: A multi-input multi-output
(MIMO) system refers to a system that has multiple inputs and
outputs. In mechatronics, MIMO systems are commonly
encountered in complex applications where multiple variables
need to be controlled simultaneously. For example, a robotic
arm with multiple joints requires control signals for each joint
to achieve desired motions and positions.

1.7 Measurement System terminology:


a) Displacement, Position & Proximity Sensors. f) Temperature Sensors:
• Displacement Sensor: A sensor that measures • Temperature Sensor: A
the change in position of an object from its original sensor that measures the
position. It can provide information about the temperature of an object or
magnitude and direction of movement. the surrounding environment.
• Position Sensor: A sensor that determines the It can be based on various
exact location of an object or system. It provides principles, such as resistance,
information about the object's position relative thermocouples, or infrared
to a reference point. technology. Temperature
• Proximity Sensor: A sensor that detects the sensors are widely used in
presence or absence of an object within its numerous applications,
sensing range without physical contact. It is used including climate control
to sense the proximity or distance of an object. systems, industrial processes,
b) Velocity and Motion Sensors: and medical devices.
• Velocity Sensor: A sensor that measures the rate g) Liquid Level Sensors:
of change of displacement over time. It provides
information about the speed and direction of an • Liquid Level Sensor: A
object's motion. sensor that detects and
• Motion Sensor: A sensor that detects and measures the level or
measures the movement or motion of an object. It height of a liquid in a
can be used to sense various types of motion, such container or reservoir. It
as linear or angular motion. can provide information
about the quantity or
c) Fluid Pressure Sensors: volume of liquid present.
• Fluid Pressure Sensor: A sensor that measures the
pressure exerted by a fluid, such as a liquid or gas. It h) Light Sensors:
can be used to monitor and control pressure in various • Light Sensor: A
applications, including industrial processes, hydraulic sensor that detects
systems, and pneumatic systems. and measures the
d) Force Sensors: intensity or presence
• Force Sensor: A sensor that measures the force of light. It can provide
applied to an object or system. It can detect and information about the
quantify both static and dynamic forces and is used in brightness or
applications such as load monitoring, force feedback illumination level in a
systems, and robotic manipulators. given environment.
e) Flow Sensors: Light sensors can
include photodiodes,
• Flow Sensor: A sensor that measures the rate of phototransistors, or
flow or movement of a fluid, such as a liquid or gas. It other light-sensitive
can provide information about the volume or mass devices.
flow rate and is commonly used in applications like
flow meters, irrigation systems, and HVAC systems.
UNIT : 2 -
2.2.4 D.C Servomotor and A.C Servomotor, Specifications and Control of servo motors.
2.1 Mechanical Actuation Systems: 2.2 Electrical Actuation Systems:
Specifications of DC Servomotor:
2.1.1 Types of motion. 2.2.1 Switches & Relays, Solenoids. 1. Power Supply: DC servomotors typically operate on a DC power supply. The voltage
Mechanical actuation systems can produce various Switches: Switches are devices that can open or close an rating of the power supply depends on the motor's design and application
types of motion, including: electrical circuit. They are used to control the flow of requirements.
1. Linear motion: This type of motion involves electric current by interrupting or allowing it to pass 2. Torque: The torque rating indicates the motor's ability to exert rotational force. It is
movement along a straight line. It can be achieved through a circuit. Switches can be manually operated, typically specified in Nm (Newton-meters) or oz-in (ounce-inches).
through mechanisms such as linear actuators, such as push buttons or toggle switches, or they can be 3. Speed: The speed rating specifies the motor's maximum rotational speed, usually
which convert rotational motion into linear automatically controlled, such as limit switches or measured in RPM (rotations per minute).
motion. proximity sensors. 4. Feedback Device: DC servomotors are equipped with a feedback device, such as an
2. Rotational motion: This type of motion involves Relays: Relays are electrically operated switches that use encoder or resolver, which provides position and/or velocity feedback to the control
movement around an axis or a point. It can be an electromagnet to control the opening and closing of system.
produced by motors, gears, or pulleys. the switch contacts. They are commonly used to control 5. Frame Size: The frame size refers to the physical dimensions of the motor, including
3. Oscillating motion: This type of motion involves high-power circuits with low-power signals. Relays have the mounting and shaft dimensions. It is often specified using the NEMA (National
repetitive back-and-forth movement around a an input coil that, when energized, generates a magnetic Electrical Manufacturers Association) standard or similar conventions.
fixed point. Examples include pendulums or field that attracts or releases a set of contacts, thereby Specifications of AC Servomotor:
certain types of actuators. opening or closing the circuit. 1. Power Supply: AC servomotors typically operate on a three-phase AC power supply,
4. Reciprocating motion: This type of motion Solenoids: Solenoids are devices that convert electrical although single-phase AC servomotors are also available for specific applications.
involves back-and-forth movement in a straight energy into mechanical motion. They consist of a coil 2. Torque: The torque rating indicates the motor's ability to exert rotational force,
line. Examples include piston-driven engines or of wire wound around a ferromagnetic core. When an similar to a DC servomotor. It is specified in Nm (Newton-meters) or oz-in (ounce-
reciprocating saws. electric current passes through the coil, it creates a inches).
2.1.2 Advantages and Limitations: magnetic field that attracts or repels the core, causing 3. Speed: The speed rating specifies the motor's maximum rotational speed, usually
Mechanical actuation systems offer several linear or rotary motion. Solenoids are widely used in measured in RPM (rotations per minute).
advantages and limitations: applications such as door locks, valves, and electric 4. Feedback Device: AC servomotors also employ feedback devices, such as encoders or
Advantages: actuators. resolvers, to provide position and/or velocity feedback to the control system.
• Mechanical systems are often simpler and 5. Frame Size: Like DC servomotors, AC servomotors have frame sizes that define their
2.2.2 D.C Motors, A.C. Motors:
easier to understand and maintain physical dimensions and mounting options.
D.C. Motors: DC motors are electrical devices that
compared to other types of actuation Here's a general overview of how servo motors are controlled:
convert direct current (DC) electrical energy into
systems. 1. Signal Format: Servo motors typically use a pulse width modulation (PWM) signal for
mechanical motion. They operate based on the principle
• They are typically robust and can control. The signal consists of a train of pulses, with the width of each pulse determining
of electromagnetic induction. DC motors consist of a
withstand high loads and harsh operating the desired position or angle of the servo motor.
stator (stationary part) and a rotor (rotating part). The
conditions. 2. Pulse Width: The pulse width represents the position or angle command for the servo
stator contains a series of magnets or electromagnets,
• Mechanical actuation systems can provide motor. The width is usually specified in milliseconds (ms). For example, a pulse width of
while the rotor consists of a coil of wire that carries the
precise control over motion, allowing for 1 ms might correspond to the motor being in the fully counterclockwise position, while
electric current. When a current passes through the coil,
accurate positioning and repetitive tasks. a pulse width of 2 ms might correspond to the fully clockwise position.
it interacts with the magnetic field produced by the
• They can be more cost-effective 3. Control Interface: Servo motors are usually connected to a microcontroller or a
stator, generating a rotational motion.
compared to other actuation methods. dedicated servo motor controller. The controller generates the PWM signal and sends it
DC motors are commonly used in various applications,
Limitations: to the servo motor.
including robotics, industrial machinery, electric
• Mechanical systems can be limited by 4. Timing: The timing of the PWM signal is critical. The pulse width needs to be updated
vehicles, and household appliances. They offer
mechanical wear and tear, requiring regular at a regular interval, typically ranging from 20 ms to 50 ms. The specific timing
advantages such as speed control, high torque at low
maintenance and replacement of requirements may vary depending on the servo motor model, so it's important to refer
speeds, and ease of control.
components. to the motor's datasheet or documentation for accurate timing information.
• They may produce noise and vibrations A.C. Motors: AC motors are electrical devices that convert 5. Servo Library or Code: If you're using a microcontroller like Arduino, there are servo
during operation, which can be undesirable alternating current (AC) electrical energy into mechanical libraries available that simplify the control of servo motors. These libraries provide
in certain applications. motion. They also operate based on the principle of functions that allow you to set the angle or position of the servo motor using simple
• Mechanical systems may have limited electromagnetic induction. AC motors are classified into two commands. You can include the library in your code, initialize the servo motor object,
speed and acceleration capabilities main types: synchronous motors and induction motors. and then use the provided functions to control the servo motor.
compared to some other actuation Synchronous motors have a rotor that rotates at the 6. Position Control: To move the servo motor to a specific position, you need to set the
methods. same speed as the rotating magnetic field produced by desired pulse width corresponding to that position. The servo motor will automatically
• The complexity of mechanical systems the stator. They are used in applications where precise adjust its position to match the given pulse width.
increases with the number of components, speed control is required, such as in industrial 7. Continuous Rotation: Some servo motors can be modified for continuous rotation,
which can lead to increased design and machinery and synchronous clocks. allowing them to rotate continuously in either direction instead of being limited to
manufacturing challenges. Induction motors, also known as asynchronous specific positions. In this case, the pulse width determines the speed and direction of
motors, are the most commonly used type of AC rotation, with a neutral pulse width representing no movement.
2.1.3 Loading, Gear Trains, Pawl & Ratchet, Belt & Chain
motor. They have a rotor that rotates at a slightly
Drives, Ball & Roller Bearings: 2.2.5 AC & DC position control system.
slower speed than the rotating magnetic field
1. Loading: Mechanical actuation systems must be produced by the stator. Induction motors are widely AC Position Control System:
designed to handle the expected loads and forces used in applications such as fans, pumps, compressors, An AC position control system utilizes an alternating current (AC) power
applied during operation. This involves calculating the and conveyor systems. They offer advantages such as source to control the position of a motor or actuator. It typically consists of
static and dynamic loads on the system and selecting reliability, robustness, and low cost. an AC motor, a position sensor, and a controller. The position sensor
appropriate materials and components to ensure provides feedback on the current position of the motor, which is compared
structural integrity. 2.2.3 Stepper Motors: Specifications and Control of stepper motors. to the desired position set by the controller. The controller then adjusts the
2. Gear Trains: Gear trains are used to transmit and 1. Specifications of Stepper Motors: motor's speed and direction to achieve the desired position. Various control
control rotational motion between two or more • Step Angle: It refers to the angle of rotation for each step taken by the techniques, such as proportional-integral-derivative (PID) control or model-
shafts. They provide speed reduction, speed motor. Stepper motors can have step angles ranging from 0.9 degrees to based control, can be employed to achieve accurate position control.
increase, torque multiplication, or torque reduction 90 degrees or even higher. Smaller step angles provide higher resolution DC Position Control System:
depending on the gear ratios. The selection of gear and finer control. In a DC position control system, a direct current (DC) power source is used
types, such as spur gears, helical gears, bevel gears, • Holding Torque: This specification indicates the motor's ability to hold a to control the position of a motor or actuator. Similar to an AC system, it
or worm gears, depends on factors such as torque position when powered but not rotating. It is the torque required to includes a DC motor, a position sensor, and a controller. The position sensor
requirements, speed, efficiency, and noise overcome external forces and maintain the position. detects the motor's position and provides feedback to the controller. The
considerations. • Rated Current: It is the current that the motor windings are designed to controller compares the feedback with the desired position and adjusts the
3. Pawl & Ratchet: Pawl and ratchet handle continuously without overheating. It is an important parameter motor's speed and direction accordingly. Control techniques like PID control
mechanisms are used to convert rotational for selecting the appropriate motor driver and power supply. are commonly used in DC position control systems as well.
motion into unidirectional motion. The pawl is a • Voltage Rating: Stepper motors are designed to operate at a specific 2.2.6 A/D & D/A converter.
spring-loaded lever that engages with the teeth voltage range. The voltage rating should match the power supply voltage
A/D Converter:
of the ratchet wheel, allowing motion in one to ensure optimal performance.
An A/D converter converts continuous analog signals into discrete digital
direction while preventing backward motion. • Phase Configuration: Stepper motors can have various phase
representations. It takes an analog input signal, samples it at regular intervals,
4. Belt & Chain Drives: Belt and chain drives are configurations, including 2-phase, 3-phase, 4-phase, and 5-phase. The
and assigns digital values to each sample. The digital values represent the
used to transmit motion and power between phase configuration determines the sequence in which the motor
amplitude of the analog signal at each sampling point. The resolution of an A/D
two rotating shafts. Belts are made of flexible windings are energized to produce motion.
converter determines the number of discrete levels or bits used to represent
materials such as rubber or synthetic polymers, 2. Control of Stepper Motors: the analog signal. Common types of A/D converters include successive
while chains consist of interconnected links. • Step Pulse: Stepper motors are controlled by sending a series of step approximation, delta-sigma, and flash converters. A/D converters are widely
They provide a reliable and efficient means of pulses to the motor driver. Each step pulse causes the motor to move used in various applications, including data acquisition systems, digital audio
transferring motion over long distances and can one step in a specific direction. devices, and sensor interfacing.
accommodate misalignments. Belt and chain • Direction Control: The direction of rotation is controlled by a digital
selection involves considering factors such as D/A Converter:
signal that determines whether the motor should rotate clockwise or A D/A converter performs the opposite function of an A/D converter by
load capacity, speed, space constraints, and counterclockwise.
environmental conditions. converting digital signals into analog signals. It takes a digital input, typically
• Step Resolution: The step resolution determines the smallest angular in the form of binary data, and generates a corresponding analog output.
5. Ball & Roller Bearings: Bearings are crucial increment the motor can move. It is controlled by the number of steps The digital input is typically a binary representation of the desired analog
components in mechanical systems that per revolution and can be adjusted using microstepping techniques. waveform. The D/A converter uses various techniques such as pulse width
support rotating or oscillating shafts and reduce • Motor Driver: Stepper motors require specialized motor drivers to modulation (PWM), pulse density modulation (PDM), or ladder networks to
friction between moving parts. Ball bearings use provide the necessary current and voltage levels. Motor drivers receive reconstruct the analog signal from the digital input. D/A converters are used
rolling elements (balls) to minimize friction, control signals from a controller or microcontroller and deliver the in applications such as digital audio players, control systems, and waveform
while roller bearings use cylindrical or tapered appropriate current to the motor windings. generation.
rollers. The selection of bearings depends on • Microstepping: Microstepping is a technique used to achieve smoother
factors such as load capacity, speed, accuracy motion and finer resolution by dividing each step into smaller microsteps. 2.3 Pneumatic & Hydraulic Systems:
requirements, and environmental conditions. It involves energizing the motor windings at intermediate levels between
full steps. 2.3.1 Power supplies.
2.1.4 Mechanical Aspects of Motor Selection:
When selecting a motor for a mechanical actuation system, • Control Modes: Stepper motors can operate in various control modes, In pneumatic and hydraulic systems, power supplies are used to generate
several mechanical aspects need to be considered. These including open-loop control and closed-loop control. Open-loop control the necessary energy to operate the system. Here are some common
aspects include: relies on precise control of step pulses, while closed-loop control uses power supplies used in these systems:
feedback sensors to ensure accurate positioning. 1. Compressed Air: Compressed air is a widely used power supply in
1. Power and torque requirements: Determine the
power and torque needed to perform the desired pneumatic systems. It is generated by compressing atmospheric air using
motion. Consider factors such as load characteristics, an air compressor. Compressed air is clean, readily available, and
acceleration requirements, and operating conditions. relatively easy to store and distribute. It is commonly used in industries
Select a motor that can deliver the required power and for various applications.
torque output. 2. Hydraulic Fluid: Hydraulic systems use hydraulic fluid as their power
2. Speed requirements: Evaluate the required speed supply. Typically, a hydraulic pump is used to pressurize the hydraulic
range for the application. Motors have different speed fluid, creating a flow of fluid under high pressure. Hydraulic fluid is
capabilities, and selecting one that can achieve the usually oil-based and has excellent lubricating properties. It can transmit
desired speed range is essential. high forces and is used in applications where high power and precise
3. Size and weight constraints: Consider the physical control are required.
size and weight limitations of the actuation system. 3. Electric Motors: Electric motors can be used to drive compressors or
Motors come in various sizes and form factors, so pumps that supply compressed air or hydraulic fluid, respectively. The
choose one that fits within the available space and electric motors convert electrical energy into mechanical energy, which is
meets weight restrictions. then used to compress air or pressurize hydraulic fluid.
4. Efficiency: Assess the efficiency requirements of 4. Manual Power: In some cases, power supplies in pneumatic or
the system. Higher motor efficiency results in better hydraulic systems can be manual. For example, manual pumps or hand-
energy utilization and reduced heat generation. operated valves can be used to generate pressure or control the flow of
fluid in the system. Manual power supplies are commonly used in smaller
5. Environmental considerations: Evaluate the systems or in emergency situations.
operating environment of the actuation system.
Factors such as temperature, humidity, vibration,
2.3.2 Applications of Directional Control Valve (DCV). Pneumatic Control
or exposure to dust or water can influence motor
Valve, Cylinders, Rotary actuators.
selection.
Directional Control Valves (DCVs) play a crucial role in pneumatic systems by
controlling the direction of airflow to various pneumatic components such
as cylinders and rotary actuators. Here are some specific applications of
DCVs in these components:
1. Pneumatic Control Valve:
DCVs are used to control the direction of compressed air flow in pneumatic
control systems. They can be used to actuate various control devices such as
air-operated valves, air motors, and pneumatic cylinders.
2. Pneumatic Cylinders: DCVs are extensively employed in pneumatic cylinders
to control their extension and retraction movements. By adjusting the position
of the DCV, the flow of compressed air can be directed to either side of the
cylinder, causing it to extend or retract. This allows for precise and controlled
linear motion in applications such as industrial automation, material handling,
and assembly lines.
3. Rotary Actuators: DCVs are also used with rotary actuators to control their
rotational movements. Rotary actuators convert the linear motion of a piston
into rotary motion to drive mechanisms such as rotary valves, index tables, and
robotic arms. DCVs enable the actuator to rotate in different directions by
controlling the supply of compressed air to the actuator.
In both pneumatic cylinders and rotary actuators, DCVs provide precise
control over the speed and direction of motion. They allow for smooth
acceleration and deceleration, enabling precise positioning and sequencing
of operations in various industrial processes.
Unit: 3
3. Mathematical Model: 3.3 Electrical System building blocks. 3.7.2 Buffers, Handshaking, Polling and interrupts, Serial interfacing,
3.5 Thermal System building blocks.
3.1 Introduction to Mathematical model. The electrical system in a building consists of Introduction to PIA, Serial communications interface,
In thermal systems, there are several building
A mathematical model is a representation or description various building blocks that work together to Buffers: Buffers are temporary storage areas used to hold data while it
blocks or components that play crucial roles in
of a real-world system using mathematical concepts and provide electrical power, distribution, and is being transferred between different components or processes within
heat transfer, energy conversion, and
language. It is a simplified version of the system that control. Here are some common building a computer system. They are commonly used to smooth out differences
temperature regulation. The building blocks of
captures its essential features and relationships. blocks of an electrical system: in data transfer rates or to facilitate communication between different
a thermal system vary depending on the
Mathematical modeling is widely used in various fields, 1. Power Generation: The electrical system typically devices or subsystems. Buffers can be implemented in hardware or
specific application and complexity of the
including physics, engineering, economics, biology, and starts with a power generation source, such as a software, depending on the specific application.
system, but here are some common
many others. utility company's power grid, a generator, or components: Handshaking: Handshaking is a process used in communication protocols
The goal of creating a mathematical model is to gain renewable energy sources like solar panels or wind to establish a connection and synchronize the exchange of data between
1. Heat Source: The heat source is where
insights into the behavior of the system and make turbines. These sources generate the electrical two devices. It involves a series of predefined signals or messages
thermal energy originates in a system. It could
predictions or decisions based on the model's analysis. By power that is used in the building. exchanged between the devices to ensure that both parties are ready and
be a fuel combustion chamber, an electrical
formulating the system's key components, parameters, 2. Transformers: Transformers are used to step up or able to send or receive data. Handshaking protocols typically include
heating element, or even solar radiation.
and their interconnections mathematically, we can study step down the voltage of electrical power. They are mechanisms for flow control, error detection, and acknowledgment of
2. Heat Sink: A heat sink is a component that
its properties, analyze its behavior under different commonly used to increase the voltage for long- received data.
absorbs or dissipates heat from a system. It is
conditions, and even optimize its performance. distance transmission from power plants and step it Polling and Interrupts: Polling and interrupts are two common techniques
designed to have a large heat capacity and
A mathematical model typically consists of several down to a lower voltage suitable for distribution efficient heat transfer characteristics. Heat used for handling input/output (I/O) operations in computer
elements: within the building. sinks can be air-cooled (e.g., radiators, fans) or systems.
1. Variables: These are the quantities that represent 3. Distribution Panels: Distribution panels, also liquid-cooled (e.g., heat exchangers, coolant Polling involves periodically checking the status of an I/O device to
different aspects of the system. They can be physical known as breaker panels or distribution boards, loops). determine if it is ready to send or receive data. The processor or
quantities (e.g., position, temperature), abstract concepts receive the electrical power from the transformers 3. Heat Exchanger: A heat exchanger is a controller sends requests or queries to the device, and based on the
(e.g., demand, population), or even time-dependent and distribute it to different circuits within the device that transfers heat between two fluid device's response, the processor can decide whether to continue waiting
functions. building. They contain circuit breakers or fuses that streams while keeping them physically or proceed with the data transfer.
2. Parameters: These are fixed values that influence the protect the circuits from overloads and short circuits. separate. It allows for efficient heat transfer Interrupts, on the other hand, are signals generated by I/O devices to
behavior of the model. Parameters represent 4. Wiring and Cables: Electrical wiring and cables without mixing the fluids. Heat exchangers can indicate that they require attention from the processor. When an
characteristics of the system or external factors that connect the distribution panels to various outlets, be used for various purposes, such as heating, interrupt occurs, the processor temporarily suspends its current task and
affect it. They are often determined through switches, and electrical devices in the building. They cooling, or energy recovery. transfers control to an interrupt handler routine. The handler performs
experimentation or estimation. provide a pathway for electrical current flow and are 4. Fluid Circulation System: Fluid circulation the necessary operations to service the interrupt and resume normal
3. Equations: Mathematical equations describe the typically made of copper or aluminum conductors systems are used to transport heat-carrying execution.
relationships between variables and parameters. These insulated with materials like PVC or rubber. fluids, such as water, oil, or refrigerants, Serial Interfacing: Serial interfacing refers to the process of connecting
equations can be differential equations, algebraic 5. Switches and Outlets: Switches control the flow of throughout the thermal system. These devices or components using a serial communication protocol, where
equations, or other mathematical expressions. They electricity to lighting fixtures, appliances, and other systems typically consist of pumps, pipes, data is transmitted one bit at a time over a single communication line.
represent the underlying principles or laws governing the electrical devices. Outlets, also known as receptacles valves, and other components necessary for Serial interfaces are commonly used in various applications, such as
system. or sockets, provide a point of connection for fluid movement and control. connecting computers to peripherals (e.g., serial ports, USB-to-serial
4. Assumptions: Mathematical models are based on electrical devices to plug into the system. 5. Thermal Insulation: Thermal insulation is converters), communication between microcontrollers and sensors, or
simplifications and assumptions about the system. These 6. Lighting Fixtures: Lighting fixtures include various used to minimize heat transfer between data transmission over long distances (e.g., RS-232, RS-485, UART).
assumptions help in reducing complexity and making the types of light sources, such as incandescent bulbs, different components or regions within a Introduction to PIA: PIA stands for Programmable Interface Adapter. It
model tractable. However, it is important to be aware of fluorescent tubes, LED lights, or halogen lamps. They system. Insulation materials with low thermal is a versatile integrated circuit commonly used in older microcomputer
the limitations imposed by these assumptions. are connected to the electrical system through conductivity, such as foam, fiberglass, or systems for interfacing with external devices. The PIA typically includes
5. Validation: Once a mathematical model is formulated, switches and provide illumination in the building. ceramics, are employed to reduce heat losses multiple bidirectional input/output (I/O) ports, timers, and interrupt
it needs to be validated against real-world data or 7. Electrical Panels: Electrical panels, also known as or gains. control capabilities. It can be programmed to handle various I/O
observations. This involves comparing the model's control panels, house control components and 6. Control System: A control system is operations, including parallel data transfer, handshaking protocols, and
predictions or behavior with experimental results to devices that monitor and regulate the electrical responsible for monitoring and regulating interrupt handling.
ensure its accuracy and reliability. system. They may include circuit breakers, relays, various parameters within the thermal system.
timers, and other control devices for specific Serial Communications Interface: A serial communications interface is
3.2 Mechanical System building blocks. It may include sensors, actuators, and a
applications. a hardware or software module that facilitates the transmission and
control algorithm to maintain desired
Mechanical systems are composed of various building 8. Emergency Power Systems: In larger buildings or reception of serial data between devices. It provides the necessary
temperatures, pressures, or other operational
blocks that work together to perform specific functions. critical applications, emergency power systems such electrical signaling, timing, and protocol handling to enable reliable data
conditions.
These building blocks include: as uninterruptible power supplies (UPS) or backup transfer over a serial communication channel. Serial communication
7. Energy Conversion Device: In many thermal
1. Mechanical Components: These are the physical parts generators are employed. These systems provide interfaces can be implemented using dedicated hardware components
systems, there are devices that convert heat
that make up the mechanical system, such as gears, electricity during power outages to essential (e.g., UART, USART) or through software-based protocols running on a
energy into other forms of energy, such as
pulleys, belts, shafts, bearings, springs, and actuators. equipment like emergency lighting, security systems, microcontroller or computer system. Examples of serial communication
mechanical work or electrical power. Examples
These components are responsible for transmitting and or medical devices. interfaces include RS-232, SPI (Serial Peripheral Interface), I2C (Inter-
include heat engines (e.g., internal combustion
transforming forces, motion, and energy within the 9. Safety Devices: Safety devices are an essential part Integrated Circuit), and USB (Universal Serial Bus).
engines, turbines) and thermoelectric
system. of an electrical system. They include ground fault generators.
2. Power Sources: Mechanical systems require a power circuit interrupters (GFCIs) that protect against 3.7.3 Example of interfacing of a seven-segment display with a decoder.
8. Heat Transfer Fluid: Heat transfer fluids are
source to initiate and sustain their operation. The power electric shock, arc fault circuit interrupters (AFCIs) used to facilitate the transfer of thermal Interfacing a seven-segment display with a decoder involves using a
source can vary depending on the application and may that detect dangerous electrical arcs, and surge energy between different components of a decoder IC to convert a binary or BCD (Binary-Coded Decimal) input into
include electric motors, internal combustion engines, protectors that guard against voltage spikes. system. They can be liquids (e.g., water, oil) or the appropriate signals for driving the segments of the display. Here's an
hydraulic systems, pneumatic systems, or even human gases (e.g., air, refrigerants) with specific heat example of interfacing a seven-segment display with a BCD-to-seven-
power. 3.4 Fluid System building blocks. transfer properties suitable for the application. segment decoder:
3. Input Devices: Input devices are used to control the Components needed:
In fluid systems, there are several building blocks or
mechanical system or provide input signals. Examples of 3.6 System Model:Engineering Systems: Rotational, 1. BCD-to-seven-segment decoder IC (such as 74LS47 or 74HC47)
components that are commonly used to control and
input devices include buttons, switches, sensors, Translational Systems, Electro-Mechanical systems, 2. Seven-segment display (common cathode or common anode)
manipulate the flow of fluids. These building blocks
potentiometers, and joysticks. These devices allow users Hydro-Mechanical System. 3. Appropriate resistors (if required) for current limiting
serve specific functions and are combined in various
or automated systems to interact with the mechanical
configurations to create complex fluid systems. Here 1. Rotational Systems: Connections:
system and provide instructions or feedback.
are some of the common building blocks in a fluid Rotational systems involve the motion and behavior 1. Connect the BCD input lines (typically 4 lines for BCD) to the input pins
4. Output Devices: Output devices are responsible for
system: of objects that rotate around an axis. Examples of of the decoder IC.
conveying the results or responses generated by the
mechanical system. These devices can include displays, 1. Pipes and Tubing: Pipes and tubing are the primary rotational systems include engines, turbines, motors, 2. Connect the output pins of the decoder IC to the corresponding
lights, indicators, speakers, or any other means of conduits through which fluids flow in a system. They flywheels, and gears. These systems are characterized segments of the seven-segment display. The decoder IC will have seven
presenting information or output signals to the user or come in different sizes and materials depending on the by angular motion, torque, rotational speed, and output pins (a through g) for the segments and one additional output pin
other components of the system. application and fluid being transported. moment of inertia. The analysis of rotational systems for the decimal point (if your display has one).
5. Transmission Systems: Transmission systems are used 2. Valves: Valves are used to control the flow of fluids often involves concepts such as rotational dynamics, 3. If using a common cathode display:
to transmit and transfer motion, force, or power from one by opening, closing, or partially obstructing the passage angular velocity, angular acceleration, and torque. • Connect the common cathode of the seven-segment display to ground
component to another within the mechanical system. of fluid through a pipe or tubing. They can be manually 2. Translational Systems: Translational systems, on the (GND).
These systems can include mechanisms such as gears, operated or automated using actuators. other hand, involve the linear motion of objects without • If the decoder IC's outputs are active high, connect the output pins
belts, chains, pulleys, and shafts. The selection and 3. Pumps: Pumps are devices used to increase the any rotation. These systems are concerned with the directly to the corresponding segments.
arrangement of these transmission elements depend on pressure and flow rate of fluids. They are commonly behavior of objects moving in a straight line or along a • If the decoder IC's outputs are active low, you may need to use current-
the specific requirements of the system. used to transport fluids from one location to another or particular path. Examples of translational systems include limiting resistors between the decoder IC outputs and the segments to
6. Control Systems: Control systems are utilized to to overcome resistance in the system. vehicles, conveyor belts, pistons, and elevators. The prevent excessive current flow.
regulate and coordinate the operation of the mechanical 4. Filters: Filters are used to remove impurities, analysis of translational systems focuses on parameters 4. If using a common anode display:
system. They involve sensors, actuators, feedback loops, contaminants, or solid particles from the fluid. They are such as position, velocity, acceleration, force, and mass. • Connect the common anode of the seven-segment display to the VCC
and control algorithms. Control systems enable typically placed in the fluid system to protect (positive supply voltage).
3. Electro-Mechanical Systems: Electro-mechanical
automated or manual control over the system's behavior, downstream components such as valves, pumps, and • If the decoder IC's outputs are active low, connect the output pins
systems combine electrical and mechanical
allowing it to respond to external conditions or user instruments. directly to the corresponding segments.
components to achieve specific functionalities. These
inputs. 5. Flow Meters: Flow meters are instruments used to • If the decoder IC's outputs are active high, you may need to use
systems involve the conversion of electrical energy
7. Structural Components: Structural components provide measure the flow rate or quantity of fluid passing current-limiting resistors between the decoder IC outputs and the
into mechanical motion or vice versa. Examples of
the framework and support for the mechanical system. through a specific point in the system. They provide segments to prevent excessive current flow.
electro-mechanical systems include electric motors,
These components include frames, chassis, beams, crucial information for monitoring and controlling the Operation:
generators, actuators, and robotics systems. The
brackets, and other structural elements that ensure fluid flow. 1. Provide the BCD input signals to the input pins of the decoder IC.
analysis of electro-mechanical systems encompasses
stability, rigidity, and integrity of the system's physical 6. Pressure Gauges: Pressure gauges are devices that These signals represent the number or character you want to display
electrical principles such as voltage, current, power,
structure. measure the pressure of fluid within the system. They on the seven-segment display.
as well as mechanical principles like force, motion,
8. Safety Features: Safety features are essential building are used to monitor and ensure that the pressure is 2. The decoder IC will convert the BCD input into the appropriate
and energy conversion.
blocks in mechanical systems, especially in applications within the desired range for proper system operation. segment signals required to display the desired number or character on
7. Heat Exchangers: Heat exchangers are components 4. Hydro-Mechanical Systems: Hydro-mechanical
where human safety is a concern. These features can systems are based on the interaction of fluids (typically the seven-segment display.
include emergency stop buttons, protective guards, limit used to transfer heat between two fluids, typically for 3. The converted segment signals will be available at the output pins of
cooling or heating purposes. They are commonly used in liquids) and mechanical components. These systems
switches, fail-safe mechanisms, and various safety involve the control and manipulation of fluids to the decoder IC.
interlocks to prevent accidents or minimize risks. HVAC systems, industrial processes, and power plants. 4. The seven-segment display will illuminate the corresponding
8. Accumulators: Accumulators store fluid under perform specific tasks. Examples of hydro-mechanical
systems include hydraulic systems, pumps, valves, and segments based on the segment signals received from the decoder IC,
pressure, allowing for energy storage and the release of thereby displaying the desired number or character.
stored energy when needed. They can be used to turbines. The analysis of hydro-mechanical systems
focuses on fluid properties, such as pressure, flow rate, Note: The specific pin configuration and operation of the decoder IC
provide temporary power during peak demand or act as
viscosity, and the mechanical components involved in may vary depending on the manufacturer and model. Always refer to
shock absorbers in hydraulic systems.
fluid transmission and control. the datasheet of the decoder IC for accurate information regarding
9. Fittings and Connectors: Fittings and connectors are
pin connections, voltage levels, and current requirements.
used to join different components of the fluid system,
such as pipes, valves, and pumps. They ensure leak-free 3.7 Input/Output Systems:
connections and allow for easy assembly and 3.7.1 Interfacing system, Input/output ports,
disassembly.
Input/output (I/O) ports are physical connectors on a
10. Control Devices: Control devices, such as pressure
computer or electronic device that enable the transfer
regulators, flow control valves, and level sensors, are
of data between the device and external peripherals or
used to monitor and regulate specific parameters within
other devices. These ports serve as interfaces through
the fluid system. They help maintain system stability
which information can be both received (input) and sent
and control fluid flow as required.
(output).
Common types of I/O ports include:
1. USB (Universal Serial Bus): USB ports are widely used
for connecting devices such as keyboards, mice,
printers, external storage devices, cameras, and
smartphones to a computer.
2. HDMI (High-Definition Multimedia Interface): HDMI
ports are primarily used for connecting audio/video
devices, such as monitors, televisions, projectors, and
gaming consoles.
3. Ethernet: Ethernet ports are used for wired network
connections, allowing devices to communicate with
each other over a local area network (LAN) or connect
to the internet.
4. Audio jacks: Audio ports are used for connecting
headphones, speakers, microphones, and other audio
devices.
5. VGA/DVI/DisplayPort: These ports are used for
connecting monitors and display devices to a computer
or other video sources.
6. Serial and parallel ports: These ports are older and
less common nowadays. Serial ports were traditionally
used for connecting devices like modems and printers,
while parallel ports were used for printers and external
storage devices.
Unit: 4
4.6 Selection criteria of PLC.
Unit: 4 - Programmable Logic Controller (PLC): 4.3 Function of Input & Output module. 1. System Compatibility:
1. Input Module: The input module is responsible for receiving Ensure that the PLC you select is compatible with your existing system
4.1 Function of PLC in Mechatronics. data or instructions from external sources and transmitting them or can be easily integrated with other components such as sensors,
functions of a PLC in mechatronics: to the computer system for processing. Its main functions include: actuators, and human-machine interfaces (HMIs). Check for
1. Control Logic: The PLC acts as the brain of the mechatronic a. Data/Input Acquisition: The input module captures data from compatibility in terms of communication protocols, input/output (I/O)
system by executing control algorithms and logic based on the various input devices such as keyboards, mice, scanners, sensors, requirements, and programming languages.
inputs received from sensors and other devices. It processes microphones, or any other input source. It converts the input 2. Processing Power: Evaluate the processing power of the PLC based
these inputs and generates appropriate outputs to control the signals into a format that the computer can understand and on the complexity of the automation tasks you need to perform.
operation of motors, actuators, valves, and other components. process. Consider factors such as the speed of execution, the number of I/O
2. Data Acquisition: PLCs are responsible for acquiring data from b) Data Validation: The input module may perform validation points it can handle, and the ability to process complex logic and
various sensors and input devices connected to the system. They checks on the received data to ensure its accuracy, integrity, and calculations.
can read analog and digital signals, such as temperature, pressure, compliance with predefined rules or formats. It verifies if the data 3. Memory Capacity: Assess the memory capacity of the PLC, including
position, speed, and switch states, and use this data for decision- is within acceptable ranges and free from errors or both program memory (for storing the logic and program instructions)
making and control purposes. inconsistencies. and data memory (for storing variables and I/O states). Sufficient
3. Signal Processing: PLCs process the acquired data to filter, c) Buffering: The input module may utilize a buffer or temporary memory is necessary to accommodate the size and complexity of your
scale, convert, or perform calculations on the signals as required. storage area to hold the incoming data temporarily. This buffering application.
This can involve mathematical operations, such as addition, allows the computer system to handle the data at its own pace, 4. Scalability and Expansion: Consider the scalability and expansion
subtraction, multiplication, division, or more complex functions to decoupling the input speed from the processing speed. options of the PLC. Determine if it allows for easy expansion of I/O
derive meaningful information from the raw sensor data. d) Interrupt Handling: In some cases, the input module generates points, modules, or additional functionality, as your automation needs
4. Sequence Control: Mechatronic systems often involve complex interrupts to notify the CPU that new data has arrived and needs may grow or change in the future.
sequences of operations. PLCs excel at managing and processing. This mechanism enables real-time or asynchronous 5. Reliability and Durability: PLCs are often used in industrial
coordinating these sequences by executing pre-programmed input handling and allows the system to respond promptly to environments, so reliability and durability are crucial factors. Look for
instructions or ladder logic diagrams. They can control the order external events. PLCs from reputable manufacturers known for producing robust and
and timing of events, monitor conditions, and respond reliable equipment that can withstand harsh conditions, temperature
1. Output Module: variations, electrical noise, and vibration.
accordingly to ensure smooth and synchronized operation.
The output module is responsible for transmitting processed data 6. Programming and Software: Evaluate the programming capabilities
5. Human-Machine Interface (HMI): PLCs provide a means for
or results from the computer system to external devices or users. and software tools provided by the PLC manufacturer. Check if the
interaction between operators or users and the mechatronic
Its main functions include: programming language is intuitive and suitable for your team's skillset.
system. They can communicate with external devices like
a. Data Formatting: The output module formats the processed Consider the availability of software features like debugging tools,
operator panels, touch screens, or supervisory control and data
data into a suitable format for presentation or storage. This may simulation capabilities, and diagnostic functions that can aid in
acquisition (SCADA) systems. This allows users to monitor the
involve converting the data into different types, such as text, troubleshooting and maintenance.
system status, input commands, adjust parameters, and receive
images, audio, or video, depending on the output devices or 7. Support and Service: Consider the availability of technical support,
feedback.
requirements. training, and documentation provided by the PLC manufacturer or
6. Communication and Networking: PLCs can communicate with
b) Data Transmission: The output module transmits the supplier. Having reliable support can be beneficial during installation,
other devices and systems within a mechatronic setup. They
formatted data to the output devices such as monitors, printers, troubleshooting, and future maintenance requirements.
support various communication protocols, such as Ethernet,
speakers, storage devices, or network interfaces. It ensures that 8. Cost: Evaluate the initial cost of the PLC hardware, as well as any
Profibus, Modbus, or DeviceNet, enabling data exchange with
the data reaches the intended destination in the proper format. additional costs for software licenses, accessories, and required
sensors, actuators, controllers, and higher-level systems for
c) Synchronization: The output module synchronizes the data expansion modules. Also, consider the long-term cost implications of
monitoring, control, and coordination.
transmission with the display or output capabilities of the maintenance, spare parts, and system upgrades.
7. Fault Detection and Diagnostics: PLCs can implement fault
connected devices. It ensures that the data is presented at the 9. Standards and Certifications: Check if the PLC complies with relevant
detection mechanisms to monitor the system for abnormal
correct timing, avoiding issues like data overflows, underflows, or industry standards and certifications, such as those for safety (e.g., IEC
conditions, errors, or malfunctions. They can generate alarms, log
conflicts. 61508, ISO 13849) or environmental (e.g., IP rating) requirements,
events, and perform diagnostics to help identify and troubleshoot
d) Error Handling: The output module may include error detection depending on the specific application.
issues, improving system reliability and minimizing downtime.
and correction mechanisms to identify and rectify any errors that 10. Future Compatibility: Consider the future compatibility of the PLC,
8. Flexibility and Adaptability: PLCs are programmable, which
may occur during data transmission or output generation. It helps including its ability to adapt to emerging technologies, support cloud
means they can be easily reconfigured or modified to adapt to
maintain data integrity and ensures reliable output delivery. connectivity, or integrate with other automation systems or IoT
changing system requirements. By modifying the logic or
programming, the PLC can be adjusted to accommodate different platforms.
4.4 PLC Programming steps, Ladder diagram, logic functions,
control strategies, operational modes, or new functionalities
Latching and Sequencing. Timers, Internal relays and Counters, 4.7 Applications of Pl, PD, PID controller.
without requiring hardware changes.
Shift registers, Master and Jump Controls.
Proportional-Integral-Derivative (PID) controllers are widely used in
4.2 Basic block diagram and components of PLC. PLC (Programmable Logic Controller) programming is a key various applications to control and regulate system behavior. Here are
aspect of industrial automation. It involves designing and some common applications of PID controllers:
implementing control logic using ladder diagram (LD) 1. Temperature Control:
programming language, logic functions, timers, counters, shift PID controllers are commonly used in temperature control systems,
registers, and other control elements. Here are the steps such as industrial ovens, HVAC systems, and brewing processes. The
involved in PLC programming and an explanation of the various controller adjusts the heating or cooling elements based on the
concepts you mentioned: difference between the desired temperature setpoint and the
1. Understand the Control Objective: Before starting PLC measured temperature.
programming, it is crucial to understand the control objective or 2. Robotics: PID controllers are essential for controlling the movement
the desired behavior of the system you're automating. and position of robotic systems. They help in achieving precise and
2. Create a Ladder Diagram (LD): Ladder diagram is a graphical accurate motion control by adjusting the motor speeds and positions
programming language commonly used in PLC programming. It based on feedback from sensors.
resembles a ladder with horizontal rungs and vertical rails. Each 3. Process Control: In industrial processes, PID controllers are
rung represents a specific control function or operation. You extensively used to maintain and regulate process variables such as
build your control logic by connecting various ladder diagram pressure, flow rate, level, and pH. The controller continuously
elements. measures the process variable, compares it with the desired setpoint,
3. Add Input and Output (I/O) Modules: Identify the input and and adjusts the control action accordingly.
output devices required for your control system. PLCs are 4. Automotive Control: PID controllers are utilized in various
equipped with I/O modules that connect to sensors, switches, automotive applications, including engine control units (ECUs), cruise
actuators, and other field devices. Configure the I/O modules to control systems, and anti-lock braking systems (ABS). They help
match your hardware setup. maintain optimal engine performance, regulate vehicle speed, and
4. Develop Logic Functions: PLC programming involves using ensure stable and efficient braking.
logic functions to implement control operations. Common logic 5. Quadcopters and Drones: PID controllers are employed in flight
functions include AND, OR, NOT, XOR, timers, counters, and control systems of quadcopters and drones. They help stabilize the
comparators. These functions help you control the flow of aircraft by adjusting the motor speeds based on sensor feedback,
signals and make decisions based on input conditions. enabling smooth and balanced flight.
5. Latching and Sequencing: Latching refers to the ability to 6. Chemical Process Industries: In chemical plants and refineries, PID
maintain an output state even when the input signal is removed. controllers are used to regulate variables such as pressure,
1. Input/Output (I/O) Modules: These modules are responsible for connecting the PLC to the It is often used to hold a certain condition until a reset signal is temperature, and concentration in different stages of the production
external world. They receive signals from various input devices such as sensors and switches received. Sequencing involves organizing control operations in a process. They help maintain safety, stability, and efficiency in complex
and send output signals to actuators and other control devices. The I/O modules convert the specific sequence to achieve a desired outcome. chemical reactions.
analog or digital signals into a format that the PLC can process. 6. Timers: Timers are essential for time-based control 7. Water Treatment: PID controllers are employed in water treatment
2. Central Processing Unit (CPU): The CPU is the brain of the PLC. It executes the control operations. PLCs have different types of timers, such as on-delay systems to regulate the levels of various parameters like pH, chlorine
program stored in its memory and coordinates the overall operation of the PLC. It performs timers (TON), off-delay timers (TOF), and retentive timers. concentration, and turbidity. They ensure that water quality remains
tasks such as data processing, decision-making, and communication with other devices. The These timers allow you to introduce delays, control time-based within acceptable limits by adjusting the dosing of chemicals or other
CPU also manages the timing and sequencing of the program execution. events, and trigger specific actions after a certain time has control actions.
3. Memory: The PLC has different types of memory to store the control program and data. elapsed. 8. Power Electronics: PID controllers are utilized in power electronic
These include: 7. Internal Relays: Internal relays are virtual relays within the converters, such as DC-DC converters and motor drives. They help
a. Program Memory: It stores the control program, which is a set of instructions that define PLC's memory. They are used to store intermediate results, maintain stable and efficient power transfer by adjusting the switching
the logic and behavior of the system being controlled. The program memory is typically non- perform complex logic operations, or temporarily hold values. signals or pulse-width modulation (PWM) signals.
volatile, meaning it retains its content even when the power is turned off. Internal relays act as virtual control elements in ladder logic. 9. Biomedical Applications: PID controllers find applications in
b. Data Memory: It holds temporary data used by the control program during its execution. 8. Counters: Counters are used to keep track of events or biomedical devices such as insulin pumps, anesthesia control systems,
This includes variables, timers, counters, and other data needed for computation and decision- occurrences. PLCs typically offer up counters, down counters, and drug delivery systems. They play a crucial role in maintaining
making. The data memory is usually volatile, meaning its content is lost when power is and up/down counters. Counters are commonly used for batch desired physiological parameters within safe and optimal ranges.
removed. processing, material handling, or tracking production quantities.
4. Power Supply: The power supply unit provides the necessary electrical power to the PLC 9. Shift Registers: Shift registers are used to store and
system. It converts the incoming power supply to the appropriate voltage levels required by manipulate binary data over time. They allow you to shift data
the PLC components. bits from one memory location to another, typically in a
5. Communication Interface: PLCs often have communication ports or modules that allow sequential manner. Shift registers are useful for tasks like
them to exchange data with other devices or systems. This enables integration with other moving data through a system or tracking events over time.
control systems, human-machine interfaces (HMIs), supervisory control and data acquisition 10. Master and Jump Controls: Master control refers to a high-
(SCADA) systems, or even networking with other PLCs. level control that determines the overall behavior of a system. It
6. Programming Device/Software: To create and modify the control program, a programming coordinates and supervises the operation of multiple sub-
device or software is used. It provides an interface for programmers or engineers to develop control systems. Jump controls, on the other hand, allow you to
and debug the control logic. The programming device can be a dedicated programming console transfer control from one part of the program to another. They
or a computer running specialized PLC programming software. enable you to implement conditional branching or looping in
7. Operator Interface: This component provides a means for operators or users to interact with your ladder diagram.
the PLC system. It can include physical buttons, switches, touchscreens, or graphical interfaces 4.5 Data handling, Analog input/output.
displayed on HMIs. The operator interface allows users to monitor the system status, make
adjustments, and respond to alarms or notifications. Data handling refers to the processes and techniques used
to manage, manipulate, and process data in various forms.
It involves activities such as collecting, storing, retrieving,
analyzing, and presenting data. In the context of analog
input/output, data handling refers to how analog signals
are acquired and generated by a system.
Analog input refers to the process of converting
continuous analog signals from external sources, such as
sensors or transducers, into digital data that can be
processed by a computer or microcontroller. Analog input
involves sampling the analog signal at regular intervals and
quantizing it into discrete digital values. This process is
typically performed using an analog-to-digital converter
(ADC). The digital values obtained from the ADC can then
be stored, processed, or used for further analysis.
Analog output, on the other hand, involves generating
continuous analog signals based on digital data. This
process is typically performed using a digital-to-analog
converter (DAC), which converts digital values into
corresponding analog voltages or currents. Analog output
is commonly used to control actuators, such as motors or
valves, or to interface with analog devices that require
continuous signals.
Unit : 5
Unit : 5 - Applications in Mechatronics:
5.1 Design process stages,
The design process stages in mechatronics typically
involve several steps to develop and implement a
mechatronic system. Here are the key stages
involved in the design process:
1. Conceptualization:
This stage involves identifying the problem or need that
the mechatronic system aims to address. It includes
brainstorming ideas, conducting feasibility studies, and
defining the system's requirements and objectives.
2. System Design: In this stage, the overall architecture
and components of the mechatronic system are
designed. This includes selecting appropriate sensors,
actuators, control systems, and mechanical elements
based on the system requirements. System modeling
and simulation tools may be used to optimize the
design and predict system behavior.
3. Component Design: Once the overall system
architecture is defined, individual components are
designed. This involves detailed design of mechanical
parts, electronic circuits, control algorithms, and
software interfaces. Prototyping and testing of the
components may also take place during this stage.
4. Integration: This stage involves integrating the
designed components into a complete mechatronic
system. It includes assembly of mechanical parts,
integration of electronic circuits, and development of
software interfaces. Integration also involves ensuring
compatibility and communication between different
components.
5. Testing and Validation: After the mechatronic
system is integrated, it undergoes testing and validation
to ensure that it meets the specified requirements and
performs as intended. This may involve functional
testing, performance testing, reliability testing, and
safety testing. Feedback from testing is used to refine
the design and make necessary improvements.
6. Production and Deployment: Once the mechatronic
system has passed the testing and validation stage, it
moves into production. This stage involves
manufacturing the system components, assembling
them, and preparing the system for deployment.
Quality control processes are implemented to ensure
consistency and reliability of the manufactured
systems.
7. Operation and Maintenance: After deployment, the
mechatronic system enters the operation phase. During
this phase, regular maintenance and monitoring are
performed to ensure the system operates correctly and
efficiently. Troubleshooting, repairs, and upgrades may
also be conducted to address any issues that arise
during operation.

5.2 Case studies of Mechatronics systems:


a) A pick-and-place robot.
b) Car parking.
c) Automatic water level measurement.
d) Sequential control of washing machine.
a) Pick-and-Place Robot: A pick-and-place robot is a
common application of mechatronics in industrial
automation. It involves the use of a robotic arm equipped
with a gripper or suction cup to pick up objects from one
location and place them in another. This type of system is
often used in assembly lines, warehouses, and
manufacturing plants to automate repetitive tasks.
• Case Study: Company XYZ is a manufacturing company
that produces electronic devices. To increase efficiency and
reduce labor costs, they implement a pick-and-place robot
in their assembly line. The robot is programmed to pick up
electronic components from a conveyor belt and accurately
place them onto the circuit boards. The robot uses sensors
and cameras to detect the position and orientation of the
components, ensuring precise placement. This
mechatronics system significantly speeds up the assembly
process and improves product quality.
b) Car Parking: Mechatronics plays a crucial role in modern car
parking systems, especially in crowded urban areas.
Automated car parking systems utilize various technologies
such as sensors, motors, and control systems to optimize
space utilization and enhance convenience for drivers.
• Case Study: City Parking Solutions is a company that
provides smart parking solutions for urban areas. They
develop a mechatronics-based car parking system that utilizes
automated lifts and conveyors to park and retrieve vehicles.
Drivers can simply drop off their cars at the entrance, and the
system takes care of the rest. Sensors and cameras monitor
the available parking spaces, and the system guides the car to
the appropriate location. The mechatronics system ensures
precise positioning and prevents collisions between vehicles.
This solution effectively maximizes parking space utilization
and reduces the time and effort required for parking.
c) Automatic Water Level Measurement: Automatic water
level measurement systems are used in various applications,
such as water tanks, reservoirs, and industrial processes.
These systems employ sensors and control algorithms to
measure and maintain desired water levels automatically.
• Case Study: ABC Water Supply Corporation manages a
large water distribution network. They implement a
mechatronics-based automatic water level measurement
system in their water storage tanks. The system uses
ultrasonic sensors to continuously monitor the water level
and relays the information to a control unit. Based on the
measured levels, the control unit regulates the inflow and
outflow of water to maintain a predetermined level. This
mechatronics system ensures efficient water management,
prevents overflow or depletion, and provides real-time data
for monitoring and maintenance.
d) Sequential Control of Washing Machine: Washing
machines incorporate mechatronics systems to automate
the washing process and provide user-friendly controls.
Sequential control involves coordinating different
components, such as motors, valves, and sensors, to
perform specific washing cycles.
• Case Study: XYZ Appliances develops advanced washing
machines with mechatronics-based sequential control.
Their washing machine incorporates various sensors, such
as load sensors, temperature sensors, and water level
sensors, to optimize the washing process. The control unit
interprets user settings and coordinates the operations of
the motor, water inlet valve, detergent dispenser, and other
components. For example, the system adjusts the wash
time and intensity based on the load and fabric type,
ensuring efficient cleaning while minimizing water and
energy consumption. This mechatronics system offers a
user-friendly interface, customizable wash programs, and
improved washing performance.
e) Automatic Camera: Mechatronics systems are employed
in automatic cameras to enhance functionality and capture
high-quality images. These systems integrate mechanical
components, image sensors, lens mechanisms, and
electronic control circuits to automate various camera
operations.
• Case Study: Camera Tech Corporation developed an
automatic camera with advanced mechatronics features.
The camera included autofocus capabilities, image
stabilization, and intelligent scene recognition. The
autofocus system utilized a combination of motorized lens
movements and image analysis algorithms to ensure sharp
focus on the subject. The image stabilization system
incorporated gyroscopic sensors and actuators to
compensate for camera shake and deliver steady shots. The
intelligent scene recognition system employed machine
learning algorithms to analyze the scene and optimize
camera settings for the best image quality. By integrating
mechatronics principles, Camera Tech Corporation created
a camera that offered enhanced user experience and
superior image capture capabilities.

You might also like