Biomedical Engineering  ·  Level 6
Microcontrollers And Microprocessors II
Chapter 3: Perform Controller system test and inspection
📚 7 Topics

3.1 Importance of testing

Testing a microcontroller-based system means checking, by planned measurements and trials, that the hardware and firmware do what the design requires, safely and reliably, before the system is put into use and after every repair or change. In biomedical equipment such as infusion pumps, patient monitors, incubators and syringe drivers, a hidden fault can injure or kill a patient, so testing is not optional: it is required by standards such as IEC 60601-1 (safety of medical electrical equipment), IEC 62304 (medical device software life cycle) and IEC 62353 (tests after repair and in service). Example: the biomedical engineering unit at Mama Lucy Kibaki Hospital in Nairobi tests every repaired infusion pump controller with a flow analyser before it returns to the wards.

Reasons for testing

  • Patient and user safety: Confirms that the system cannot give a dangerous output (for example over-infusion, overheating or electric shock) and that alarms and safety cut-outs work.
  • Correct function: Confirms that every input, output and function behaves as the specification requires.
  • Accuracy of measurements: Confirms that readings (temperature, pressure, heart rate) are within the stated tolerance, since clinical decisions depend on them.
  • Early detection of faults: Finding a fault on the bench is cheaper and safer than finding it in a ward.
  • Compliance with standards and regulations: Test records are evidence for regulators (the Pharmacy and Poisons Board for medical devices in Kenya), accreditation bodies and insurers.
  • Reliability: Burn-in and stress tests reveal weak components and timing faults before the device is in service.
  • Verification of repairs and modifications: After a component or firmware change, tests prove that the fault is fixed and nothing else was disturbed (regression testing).
  • Documentation and traceability: Test results become part of the device history and support future fault-finding.
  • User confidence: Clinicians trust and use equipment that is known to be tested.

When testing is done

Stage Purpose
Design and development Unit tests of firmware functions and tests of each circuit block
Production Board-level tests (in-circuit, functional) on every unit built
Acceptance (incoming inspection) Confirms a new device meets the order and works on arrival
Commissioning Confirms correct installation and operation in the user's environment
Planned preventive maintenance Regular checks of safety and performance
After repair or firmware update Confirms the fault is cleared and the device is safe

Consequences of inadequate testing

  • Patient harm: Wrong drug dose, missed alarm, burns or electric shock.
  • Equipment damage: A short circuit or software lock-up can destroy outputs and sensors.
  • Costly recalls and downtime: Faulty units must be withdrawn, repaired and retested.
  • Legal and professional liability: Failure to test and record can lead to disciplinary or legal action.
  • Loss of reputation: For the hospital, the supplier and the technician.

Testing and the system blocks

A microcontroller measurement or control system is tested block by block and then as a whole:

  • Sensor and signal conditioning: Amplifiers, filters and level shifters (see 3.2.6).
  • Signal processing: The analogue to digital converter and the firmware that calculates results (see 3.2.7).
  • Data presentation: Displays, alarms, printers and data links (see 3.2.8).
  • Power supply and protection: Correct voltages, ripple, battery backup and protection circuits.
  • Integrated system: All blocks working together under realistic conditions (see 3.5.11).
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
🔒3.2 Meaning of terms

Testing and inspection of controller systems uses a set of terms that every technician must use precisely, because test procedures, reports and standards are written in them. This topic explains the key terms: inspection, testing and the types of tests, and th…

🔒3.3 Testing tools and equipment

Testing a controller system needs instruments that can measure voltages, currents, resistances, waveforms and timing, and instruments that can supply known test signals. The three basic tools are the multimeter, the oscilloscope and the signal generator; in bi…

🔒3.4 Troubleshooting techniques

Troubleshooting is the logical, step-by-step process of finding the cause of a fault in a system and correcting it. A good troubleshooter does not change parts at random: they gather information, form a theory of the fault from how the system works, test that…

🔒3.5 Performance characteristics

Performance characteristics describe how well a measuring or control system does its job: how close its readings are to the true value, how repeatable they are, how small a change it can detect, how fast it responds and how stable it stays over time. They are…

🔒3.6 Need for end user training

End user training is the instruction given to the people who will operate a system (nurses, clinicians, laboratory staff, patients at home) so that they can use it correctly, safely and effectively. A well-designed and fully tested controller system can still…

🔒3.7 Commissioning documents

Commissioning is the process of confirming that a newly installed (or modified) system is complete, correctly installed, safe and working to its specification in its place of use, and then handing it over to the user. Commissioning documents are the written re…