Biomedical Engineering  ·  Level 6
Microcontrollers And Microprocessors I

Chapter 2: Establish complexity of the task

📚 3 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Clearly identify the intended task by analyzing job specifications.
  • Accurately calculate the cost required for the task according to job requirements.
  • Determine the most suitable microcontroller device for the job based on specific work requirements.

Mastering these skills will help you plan and execute microcontroller projects efficiently and confidently in real-world situations.

In the biomedical engineering field, understanding the complexity of process control systems is fundamental for designing, implementing, and maintaining devices that interact with biological systems. These systems regulate critical parameters such as temperature, pressure, and chemical concentrations in medical equipment, ensuring patient safety and therapeutic efficacy. In Kenya, where biomedical devices are increasingly integrated into hospitals and clinics, grasping the intricacies of process control enables engineers to optimize device performance and troubleshoot effectively. This chapter explores the nature and complexity of process control systems, their types, components, and the essential reasons for their use in biomedical applications.

2.1 Introduction to process control systems

A process control system holds a physical quantity, such as temperature, pressure, flow or concentration, at a value that has been chosen for it. In biomedical equipment the quantity belongs to a patient or to a treatment, so the system must be accurate, must react in time and must fail safely. The task becomes complex because many components interact, biological conditions change from one patient to the next, and the response has to be quick. This topic defines the terms, names the types of control system, describes the components of a control loop and explains why such systems are needed in medical equipment.

2.1.1 Terms and definitions

Control engineers use a small set of terms every time they describe or fault-find a system. A technician who uses them correctly can read a service manual, discuss a fault with a colleague and describe a design clearly.

Definition of process control

Process control is the use of control mechanisms to keep a physical or chemical process within chosen limits. In an infusion pump or a ventilator it keeps a quantity such as flow rate or oxygen concentration steady even when something disturbs it, for example a kinked tube or a change in the patient's breathing.

Complexity in process control tasks

Complexity comes from several interacting variables, nonlinear behaviour and the changing nature of living tissue. A dialysis machine, for example, has to adjust fluid removal as a patient's blood chemistry and blood pressure change, so its control algorithm must cope with changes nobody can predict exactly. A system that controls one slow quantity, such as the temperature of a water bath, is much simpler.

Control system terminology

  • Setpoint: the desired value of the controlled variable, such as the air temperature chosen for an infant incubator.
  • Process variable: the present measured value, such as the air temperature the sensor reports.
  • Error: the difference between the setpoint and the process variable.
  • Controller: the device or program that decides what corrective action to take from the error.
  • Actuator: the component that carries out the controller's command, such as a heater or a valve.
  • Disturbance: an unwanted influence on the process, such as an open incubator port letting warm air escape.
  • Feedback loop: the path that carries the measured process variable back to the controller.

Task definition in a biomedical context

The task is to keep a physiological or treatment parameter within safe and effective limits in spite of differences between patients and changes in the surroundings. This calls for sensors, a controller and actuators that respond quickly and accurately, and for alarms that tell staff when the limits cannot be held.

Importance of precision and reliability

A drug delivery system that overshoots its setpoint can overdose a patient, so precision protects the patient. Reliability matters because a life-supporting device such as a ventilator must keep running through power dips, noise and sensor faults. Designers therefore add checks, backup power and alarms to the control loop.

2.1.2 Types of process control systems

Control systems differ in how they use measurements. The choice depends on how large the disturbances are, how much accuracy is needed and how serious a failure would be.

Open-loop control systems

An open-loop system acts on its settings without measuring the result. A simple syringe driver that moves the plunger at a fixed speed, without checking how much fluid has left the syringe, is open-loop. Such systems are simple and cheap, but they cannot correct for disturbances such as a partly blocked line.

Closed-loop control systems

A closed-loop system measures the process variable and adjusts its output to reduce the error. A demand pacemaker is an example: it senses the heart's own beats and delivers a pulse only when a beat does not arrive in time. Closed-loop control copes with disturbances and patient variation, so it is used where accuracy matters.

Feedforward control systems

Feedforward control measures a disturbance before it affects the process and acts in advance. An incubator controller that measures the temperature of the incoming room air can increase heater power before the air inside the incubator cools. Feedforward is usually combined with feedback, because the disturbance measurement alone cannot remove every error.

Adaptive control systems

An adaptive system changes its own control settings as the process changes. A ventilator controller may adjust how it delivers a breath as the stiffness of a patient's lungs changes during treatment. Adaptive control is more complex to design and to verify, so it needs careful testing.

Supervisory control systems

A supervisory system sits above several control loops, sets their setpoints and watches their status. In an automated medicine dispensing cabinet, a supervisory controller may coordinate door locks, temperature control and stock records, and raise an alarm when a loop fails.

2.1.3 Process Control Components

A control loop is built from a few kinds of component: sensors that measure, a controller that decides and actuators that act. Indicators and displays tell the user what is happening. The signal passes through processing and conditioning stages on its way to the controller.

2.1.3.1 Sensors and transducers

A sensor detects a physical or chemical quantity, such as temperature, pressure, position or glucose concentration. A transducer converts one form of energy into another. In control work the words are often used for the same device, because many sensors turn the measured quantity into an electrical signal. A continuous glucose monitor, for example, gives a signal that the controller can read.

2.1.3.1.1 Inductive sensors

An inductive sensor works through a coil. A metal object near the coil changes the coil's inductance, and the electronics turn that change into a signal. Inductive proximity sensors detect metal without touching it, so they can confirm the position of a metal part, such as the carriage of a syringe driver or a door in a sterilising chamber. They do not respond to non-metals.

2.1.3.1.2 Capacitive sensors

A capacitive sensor works through the capacitance between two conductive surfaces. When the material between or near the plates changes, for example when a liquid level rises or a hand comes close, the capacitance changes and the electronics measure it. Capacitive sensors are used to detect liquid level in a reservoir and as touch inputs. They are sensitive to moisture and to stray electrical fields, so shielding and careful layout are needed.

2.1.3.1.3 Resistive sensors

A resistive sensor changes its electrical resistance when the measured quantity changes. A thermistor changes resistance with temperature, a strain gauge changes resistance when it is stretched or compressed, and a light-dependent resistor changes with light. The controller measures the resistance by placing the sensor in a voltage divider or a bridge circuit and reading the resulting voltage.

2.1.3.2 Actuators

An actuator receives a command from the controller and acts on the process. It converts electrical energy into motion, heat, flow or force. Pumps, motors, heaters and valves in infusion devices and incubators are actuators. An actuator usually needs more power than a microcontroller pin can supply, so a driver circuit sits between them.

2.1.3.2.1 Electric motors

Electric motors turn electrical energy into rotation. Direct current motors run faster when the average voltage rises, which is why they are driven by pulse width modulation. Stepper motors move in fixed angular steps and suit accurate positioning, such as the plunger of a syringe pump. Servo motors combine a motor with a position sensor and a control circuit so they can move to a commanded angle.

2.1.3.2.2 Hydraulic and Pneumatic actuators

Hydraulic actuators use a liquid under pressure to produce force, and pneumatic actuators use compressed air. A cylinder with a piston gives straight-line motion. Hydraulic systems can deliver large forces and are found, for example, in some patient beds and operating table adjustments. Pneumatic systems are lighter and cleaner, and they are used where air supply is available, such as pneumatic valves and compression devices.

2.1.3.2.3 Electromechanical actuators

An electromechanical actuator combines an electrical part with a mechanical part. A solenoid is a coil that pulls an iron core when current flows, and it can operate a pinch valve on a tube. A relay is an electrically operated switch with moving contacts. A motor with a lead screw turns rotation into straight-line motion for a linear actuator that raises a bed or tilts a table.

2.1.3.3 Indicators

An indicator tells the user the state of the system in a simple way. Examples are LEDs that show power, running or fault, and buzzers that sound an alarm. In a medical device an indicator must be clear and unambiguous, so colours, sounds and flash patterns are chosen so that staff can tell a normal condition from an alarm.

2.1.3.4 Signal processing

Signal processing is what the controller does to a measurement before it uses it. In a microcontroller system it is carried out on the digital value, for example by averaging several readings to reduce noise, scaling a reading into units such as degrees Celsius, or applying a digital filter. Processing turns raw readings into values that the control algorithm can use.

2.1.3.5 Signal conditioning

Signal conditioning prepares the sensor signal, before it is converted to digital form, so the controller can measure it properly. Typical steps are amplification of a small signal, filtering of unwanted frequencies, shifting the voltage level into the range of the converter and electrical isolation for patient safety. A signal from an electrode may be only a few millivolts, so it must be amplified before an analogue-to-digital converter can read it accurately.

2.1.3.6 Display

A display shows measurements and settings in numbers, text or graphs. It may be a set of seven-segment digits, a character screen or a graphic screen. A display lets the operator read the process variable, set the setpoint and see alarms, so its readability under hospital lighting and from a distance affects how safely the device is used.

Controllers

The controller compares the setpoint with the process variable and decides the corrective action. It may be an analogue circuit or a microcontroller running a program. A ventilator controller, for example, reads pressure and flow and adjusts the blower accordingly.

Feedback loops

A feedback loop lets a system correct itself by continuously comparing the process variable with the setpoint. A fluid warmer that compares its measured outlet temperature with the setpoint and changes the heater power to remove the difference is working through such a loop.

Communication interfaces

Communication modules connect the components of a system and pass data to other equipment. A wired or wireless interface can send patient readings from a bedside monitor to a central display at the ward station.

2.1.4 Need for process control system

Automatic control exists to meet needs of safety, accuracy and efficiency in patient care and in the equipment that supports it.

Ensuring patient safety

A control system monitors vital parameters and prevents hazardous deviations. An automated external defibrillator analyses the heart rhythm and delivers a shock only when the analysis calls for one, which limits the risk of a wrong shock.

Enhancing treatment accuracy

Close control of a dose or a physiological variable keeps treatment near the prescribed value. A controlled infusion keeps the delivered amount close to the programmed amount, which avoids an overdose or an underdose.

Reducing human error

Automatic control reduces manual steps in giving medicine and operating equipment. An infusion pump with alarms warns staff of a blocked line or a wrong rate that a person might miss.

Improving system efficiency

Control uses energy and consumables sensibly. A refrigerator that keeps its temperature within limits with a thermostat and a controller avoids wasting energy, and an oxygen concentrator whose controller runs the compressor only as hard as the set flow needs avoids wasting power.

Facilitating real-time monitoring and response

A control system measures continuously and responds within a fixed time. In an intensive care unit a patient's condition can change quickly, so a monitor that detects a change and raises an alarm within seconds lets staff act without delay.

Practice Questions

  1. Define process control and explain why it is particularly complex in biomedical engineering applications. (6 marks)
  2. Differentiate between open-loop and closed-loop control systems with examples relevant to biomedical devices. (8 marks)
  3. List and describe five key components of a process control system and their roles in biomedical devices. (10 marks)
  4. Discuss five reasons why process control systems are necessary in biomedical engineering. (10 marks)
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒2.2 Introduction to microcontroller technology

A microcontroller is the small computer at the centre of many electronic medical devices, from a handheld glucose monitor to a bedside patient monitor. It reads sensors, runs a control program and drives outputs on a single chip. A biomedical technician who un…

🔒2.3 Estimation of Materials

In biomedical engineering projects involving microcontrollers and microprocessors, precise estimation of materials is crucial for budgeting, procurement, and successful implementation. Accurate material estimation ensures that healthcare devices or systems dev…

Chapter Summary

This chapter begins by exploring the complexity inherent in process control systems, defining key terms and outlining various types of these systems. It delves into the essential components of process control, including sensors and transducers, actuators, indicators, as well as signal processing and conditioning elements, before highlighting the importance of displays in monitoring. The discussion then shifts to the necessity of process control systems in managing industrial and technological operations. Following this, an introduction to microcontroller technology is provided, covering fundamental definitions and a detailed block diagram of a microcontroller system. The chapter further examines microcontroller architecture, memory organization, and a range of peripherals such as system clocks, communication channels, GPIO, interrupt controllers, timers, ADC/DAC, PWM, watchdog timers, real-time clocks, CCP modules, touch sensing, and LCD controllers. Finally, it addresses the practical aspect of estimating materials through the preparation of a bill of quantities, linking the theoretical knowledge to real-world application.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Define a process control system and explain its relevance in biomedical engineering devices. (4 marks)
  2. Identify and describe the main components of a process control system used in a hospital patient monitoring device. (6 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Define a process control system and explain its relevance in managing biomedical equipment such as patient monitoring devices at Kenyatta National Hospital. (4 marks)
  2. Differentiate between open-loop and closed-loop process control systems with examples from biomedical engineering applications. (4 marks)
🔒18 more in this section.
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 14 questions Start quiz ▾
0%
0 / 2
🔒

12 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Clearly identify the intended task by analyzing job specifications.
  • Accurately calculate the cost required for the task according to job requirements.
  • Determine the most suitable microcontroller device for the job based on specific work requirements.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.