By the end of this chapter, you will be able to:
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.
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.
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.
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 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.
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.
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.
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.
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.
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 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.
Automatic control exists to meet needs of safety, accuracy and efficiency in patient care and in the equipment that supports it.
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.
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.
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.
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.
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.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis 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.
At the start of this chapter we promised you would be able to:
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.