Sei sulla pagina 1di 10

47

Validation of Control Systems


Steven Ostrove
Ostrove Associates, Inc., Elizabeth, New Jersey, U.S.A.

INTRODUCTION opening or closing of valves, take in process samples, or


assist an analyst to determine if the process meets its
As discussed in chapter 46, the FDA has considered predetermined acceptance criteria.
computer systems as equipment that needs to be formally Several types of “controllers” are used in the
qualified. The general approach to qualifying a piece of pharmaceutical industry. Each one has its own purpose
equipment can be found in chapter 46. All types of in production control. Starting with the simplest to the
equipment used in or for the purpose of producing or most complex there are microprocessors (i.e., “chip”), the
releasing a pharmaceutical or device product must be PLCs, the PCs, SCADA, and DCS.
qualified; computers and computer systems are no excep- Microprocessors are found in almost every type of
tion. The use of computerized control for manufacturing unit used in the manufacturing (such as the digital
and quality control has grown substantially over the last thermometer, barcode readers, etc.). PLCs are found in
decade. In fact, the FDA guideline on PAT discusses this such units as packaging line printers, filling machines or
technology as it is gaining acceptance in the the control of blenders, or other process equipment. PCs
pharmaceutical industry. are often found in laboratory settings and in online
Chapter 46 discussed the history of computer vali- testing and report generation equipment. Each of these
dation and further discussed the development of can be used as stand-alone (that is operate indepen-
software validation. This chapter will focus on the dently) or linked together in a network with other
control devices themselves. These components or components. Even if linked into a system, they may
systems usually are part or under the control of the still perform functions independently of the others in
Process Automation or IT department. These areas the system, or they may call on another unit to complete
are expert in maintaining the systems and providing the the process. SCADA or DCS systems are used to control
necessary service and training to allow the end user a larger portion of the process. For example, SCADA
(operations) the ability to employ their benefits. and/or DCS systems can control, monitor, or assist in the
However, qualification of the control components and full operation of a process from the initial blending
their software must still be performed by qualified through granulation and drying. DCSs may even be
personnel. involved in inventory control, warehousing, or other
Throughout this chapter, reference will be made to functions needed for total plant operation.
computers, computer systems, automated devices, and Each of these system or individual units (as in the
controllers (or control systems). In short, all of these names PLCs) can and usually are linked in a network designed
apply to components that control or cause to be controlled and maintained to control, monitor and report on the
any step or operation in the production of a drug or production or quality of a pharmaceutical product
medical device. These include units that control the (including medical devices). As with any other qualifica-
tion, their qualification ranges from the relatively simple
Abbreviations used in this chapter: BMS, building management to the very complex depending on the unit, its use, and
systems; CFR, Code of Federal Regulations; COTS, commercial its configuration.
off-the-shelf; CSQMP, Computer System Qualification Master The validation of automated control systems is
Plan; CSV, computer system validation; DCS, distributed control
substantially more complex than just the qualification
systems; EEPROM, erasable electronically programmed random
only memory; EPROM, electronically programmed random only
of the hardware (equipment). One must also take into
memory; EMI, electromagnetic interference; FAT, factory accep- account the software being run on the system and the
tance test; FDA, Food and Drug Administration; GAMP, good interaction between the hardware and the software. The
automated manufacturing practice; GMP, good manufacturing software qualification is discussed in Chapter 46 of this
practice; HMI, human–machine interface; I/O, input/output; IQ, book and is only touched on or referenced in this
installation qualification; ISPE, International Society for Pharma- chapter.
ceutical Engineering; IT, information technology; MMI, man– This chapter will focus primarily on the qualifica-
machine interface; MRP, materials resource planning; OQ, oper- tion of the hardware and deal with the software only as it
ational qualification; PAT, process analytical technology; PCs,
influences the hardware qualification. In order to differ-
personal computers; PDA, Parenteral Drug Association; PLCs,
programmable logic controllers; PQ, performance qualification;
entiate this from other qualification programs this chapter
QA, quality assurance; QU, quality unit; RFI, radio frequency will refer to automated control system qualification
interference; SAT, site acceptance test; SCADA, supervisory as CSV.
control and data acquisition; SOPs, standard operating In general, software qualification, as mentioned in
procedures. the various sections below, requires vigorous testing
620 VIII: COMPUTERIZED SYSTEMS

along with its associated hardware. This testing needs to GENERAL TESTING ALL SYSTEMS
include the actual operation of the field instruments
(valves, etc.), as well as the recording and storage of the All computers or automated controllers that are used in
data generated. Any changes to the set points of the or for the production of pharmaceuticals or medical
instruments needs to be recorded and logged. devices require qualification prior to their use in the
As discussed in this chapter, software qualification is process. Computers need qualification just as any other
usually separated into two distinct activities: the struc- system or component of the manufacturing process
tural testing and the functional testing. The structural does. The main difference between general equipment
testing includes the vendor audit, review of the code and qualification and CSV is that, as mentioned above, there
checks on the integrity of the code so that there is no dead are two stages for the completion of a computer or
code (i.e., nonoperational code that may cause a “crash” computer system. These include the software and hard-
or data error). ware aspects of the system. The first part of any CSV
program is the qualification referred to as structural; the
second phase of the qualification is the functional aspect
SCOPE of the systems. The structural qualification and portion
of the program is focused on the development of the
This chapter will cover the qualification of various types software, while the functional qualification focuses on
of computer systems that includes automated devices the actual operation or function of the system. Chapter
used in the control of pharmaceutical/medical devices. 46 deals with the structural qualification aspect, this
While Chapter 46 covered the background and software chapter will concern itself primarily with the functional
validation/qualification aspects of CSV, the hardware aspects of the qualification program.
still needs to be qualified. This chapter will deal with As with software qualification, the hardware can be
the qualification of the various types of computer or divided into various stages. Each stage requires a quali-
automated control system qualification. fication phase in order to demonstrate that it is complete.
The intent is to provide the reader with an appreci- These stages can be divided as follows:
ation of the complexity and the similarities of all types of & Development—establishing system requirements
computer or automated system qualifications. It is a & Build—obtaining the correct components
general guide as to what is required to qualify/validate per specifications
the controlling systems used in pharmaceutical, bio- & Implement (this is where the full qualification program
technology or the medical device industry. is required)
As stated in the introduction, all computer or & Operation (part of the full qualification program where
automated controllers require qualification; the level of a qualified state needs to be maintained)
qualification is dependent upon its function. The industry & Retirement—decommissioning the system for replace-
generally has adopted the GAMPa levels of software ment by another system
systems. There are five levels of systems according to Functional qualification follows the same pattern as
the guide; these are: any other pharmaceutical equipment or systems qualifi-
& Firmware—This is the microchip type of system
cation. Thus, in order to perform a functional
& Operating System—The software performing the
qualification as described in chapter 9 of this book, an
underlying operation of the system (e.g., Windows IQ and an OQ are necessary (Refer to chapter 9 for general
XPw) IQ and OQ requirements).
& Standard Software Package—Non-configurable, also
The IQ provides verification that the system is
called “off-the-shelf” installed according to a written preapproved plan. The
& Configurable Software Package—Standardized same is true for the OQ. All pharmaceutical systems
packages that the owner can configure to fit their should have the following:
specific needs or operations. These can perform a & Vendor qualification via an audit
general function, e.g., blending, these are termed & User specification
“COTS” or “configurable off-the-shelf” & Design specifications
& Custom Software—Prepared specifically for the
However, in addition to the “usual” requirements
operation (usually prepared by specialty firms or for IQs and OQs the qualification of computer systems
in-house programmers). requires some additional items. Some of these are:
Each level above requires its own level of qualifica- & Verification of system security
tion, increasing as the level goes up (the highest level is & Controlled access to the program
the custom system). Notice that the levels are related to & Levels of access—e.g., an operator is allowed to
the software and not the hardware. This is because the input data but the supervisor is allowed to
hardware serves as the framework in which the software approve the data
performs its function. The interaction of the software and & Protection of the system from outside interference
hardware needs to be qualified. It is not possible to do (e.g., no access via phone lines or the internet)
qualify one without the other. Note: Usually an intranet connection will
be allowed.
& Ability to track all entries (audit trail) into the

a
system—this includes the date, the person making
GAMP Guide for Validation of Automated Systems, Ed. 4, ISPE
the entry and why the entry is made or changed.
2001.
47: VALIDATION OF CONTROL SYSTEMS 621

BLACK BOX VS. WHITE BOX TESTING After the documents are prepared and or collected,
you are ready to begin the qualification program itself.
There are two methods of testing automated control (Note: this is assuming that the structural qualification
systems. These are referred to as “white box” and has been completed and is acceptable). As with all
“black box” testing. Both means of qualification are qualification programs the commissioning phase
used for systems at or above Level 2 of the GAMP usually is the first “field” effort undertaken. (Note: This
classification of computer systems. The difference follows the FAT and SAT portion of the program.) The
between “white” and “black” box testing is in the level commissioning portion of the qualification can be
of testing of the software. Black box testing is primarily performed, at least in part, during the installation of
functional testing while white box testing includes a the system. For example, while the lines are being run
review of the source code (of the software program) as to the field instruments the loop checks can be performed.
well as the means of code development. A loop check is a check of continuity (and thereby
When doing black box testing the operation of each function) of the connection between a field instrument
portion of the software is tested. In addition, the testing and the controller. It is far simpler to perform and
establishes that each function necessary for the correct document the loop check as each loop is being installed
operation of the unit(s). Typically, the black box testing rather than after the system is intact and ready to operate.
grows exponentially with the amount of I/O while the Other items that can be performed during the installation
white box testing grows linearly. or as part of the commissioning phase are:
& Instruments adjusted/calibrated (loop checks)
& Ambient conditions
GENERAL DOCUMENTATION & Temperature
When beginning a CSV program, as with other qualifica- & Humidity
tion programs, certain documents need to be either & Alarms and events (general testing—operational
prepared or collected. Since the qualification will testing is left to the OQ phase of the qualification)
involve components not usually seen and usually not & Graphics
accessible having the correct documents at the very & Data base location
beginning of the project will help assure its success. The & Network configuration
list below covers the main documents to be prepared or The next phase of the qualification is the IQ. As
collected: pointed out in Chapter 9 this may be done at the same
time or before the commissioning phase of the program.
Prepare: Either during or even before the IQ is started the
1. CSQMP structural phase of software testing is completed. Since
2. User requirements the structural testing includes items such as the vendor
3. Functional specifications audit, the code review, this part of the qualification must
4. Traceability matrix (Note: To be prepared AFTER all be completed prior to any functional or OQ testing as
specifications and protocols have been collected and discussed below.
developed but BEFORE protocol execution). The general IQ consists of the following verifica-
5. SOPs (to include the “How to Prepare” SOPs) tions. Specific tests will be pointed out later for each of the
a. System setup/installation types of automated systems.
b. Data collection and handling 1. List all components
c. System maintenance a. Input devices—HMI and/or MMI
d. Backup i. Keyboard
ii. Mouse
e. Recovery
iii. External devices
i. Backup
& Field instruments,
ii. Crash
& External drives,
iii. Jam/freeze
& Monitors, etc.
f. Contingency plans (emergencies)
b. Output devices
g. Security
i. Screen
h. Change control
ii. External data device—hard drive
i. Storage
iii. Printer
6. Protocols
iv. Filed instruments
a. Commissioning
c. Data storage devices
b. IQ
i. Hard drives
c. OQ
ii. MP3
d. PQ (as necessary)
iii. Floppy drives
iv. Flash cards
Collect: v. Tape/CD/DVD (backup)
1. Ladder logic—As necessary for PLCs 2. List type of hardware
2. Design or Vendor specifications for each com- a. Mother board—chip type
ponent—part of the system (network interfacing, b. Controller cards
MMI) i. Video
3. Software version to be installed ii. Sound
4. Software source code (or 3rd party agreement) iii. I/O
622 VIII: COMPUTERIZED SYSTEMS

c. Internal drives It is during the OQ testing that the software under-


i. Floppy goes its functional testing.
ii. CD In general, the OQ will have the following general
d. Output connections tests:
i. USB 1. Prepare test of each component listed in the IQ
ii. Parallel a. Meets design specifications
iii. Firewire b. Meets functional specifications hardware
iv. Serial c. Power limits—may be included as part of the PQ
v. S Video (below)
vi. Other monitor connections i. Recovery after power loss
e. Network cards (discussed below) ii. Power line stability
3. Check for: d. Environmental stress
a. Tight connections e. Alarms
b. Correct component type f. All component functions over their full range
c. Installed in the correct location (as applicable) g. Software
d. Model as per specifications i. version verification
4. Power (source and distribution) ii. Ladder logic or source code reviewb
a. Volts h. Input limits (boundaries)
b. Current i. Functional testing
c. Stability 2. RFI—that is a radio frequency should not cause the
d. Surge protection controller to malfunction (allow incorrect data in or
5. Software (includes the structural testing—see below) out)—e.g., a walkie-talkie (handheld radios).
a. Version installed 3. EMI—a magnetic field should not interfere with the
b. Source code verification data integrity—e.g., an electric drill
i. Annotation 4. I/O integrity
ii. Dead code 5. Calibration
iii. Vendor testing verification (part of vendor 6. Software
audit) a. Compete structural testing
c. Compliance to good software preparation b. Functional testing
The OQ follows the IQ. This set of testing cannot i. Restart after shutdown
start until the IQ is complete or until the QU gives ii. Restart after power loss
approval (as discussed in Chapter 9). In the case of iii. All major operations function and results
automated systems, the completion of the IQ is necessary are appropriate
since the system will not function as specified without all If a PQ needs to be performed (as it most likely
will), the following is a list of general tests that should be
components being installed correctly. While the system
included.
may seem to operate, some functions will be compro-
1. Power failure recovery—computer and process
mised if a component is lacking. This may not be
equipment (as seen above this may be done as part
immediately apparent but will, in the long term, compro-
of the OQ)
mise the final product. An example of this would be a
a. Recovery after power loss
missing printer. The controller would run, the machines
2. Security—system accessibility
would run, but the output data would not be able to be
a. Password challenge
expressed or recorded. This may cause the system to shut
b. Security challenge
down or to store the information that cannot be printed. It
c. Biometric security
would be printed later (if possible). This may compromise
d. Levels of access
the next lot of material being produced since it will get the
3. Archive/retrieve data in real time
incorrect label or printout. 4. Produce batch report
5. I/O Loops operation
b
Ladder logic and source codes need to be reviewed for compliance 6. Data lines transmission
to good code writing requirements (General Principles of Software 7. General data integrity
Validation; Final Guidance for Industry and FDA Staff January 11, 8. Interference between programs/components
2002, FDA—U.S. Department Of Health and Human Services,
9. Software
Food and Drug Administration Center for Devices and Radio-
logical Health Center for Biologics Evaluation and Research)
a. Full operation of all functions in conjunction with
Included in this is a review for problems involving dead code. the entire system
Ladder logic (is the programming code used for PLCs) should be b. Stress the software boundaries
reviewed for functionality as well as annotations. While the source c. Noninterference between modules or other
code of higher systems (PCs, etc.) also needs to be reviewed (e.g., programs
for dead code but also for annotation of the sections), it is usually
not possible to do a line by line review of the code for these
systems. This is why one additional requirement is that the code is SPECIFIC SYSTEMS
available for and able to be corrected if needed. This last require-
ment is usually met by “Third Party Agreements” with the code The next part of this chapter will deal with some of the
developer (e.g., storage but accessible under limited access if specific requirements needed to complete an adequate
required). qualification of different types of automated systems.
47: VALIDATION OF CONTROL SYSTEMS 623

As was seen above, computer or automated control Programmable Logic Controllers


systems require both software and hardware qualifica- In the pharmaceutical industry, the PLC is probably the
tion. The software qualification has adopted the GAMPw mainstay of all operations. The PLC can be found in a
approach while the hardware has retained the basic variety of operating units. They are used to open or close
IQ/OQ/PQ approach. The specific types of systems any type of field device (i.e., valves, air pressure control,
that will be discussed are: motors). In general they are easy to program (hence the
& Microprocessors name). In contrast, microcontrollers (microprocessors) are
& PLCs related but very different. Microcontrollers are essentially
& PCs single microprocessors where the controller hardware on
& Networks the circuit board is customized to the device. Once the
& SCADA microcontroller code is installed into the device from the
& DCS—all forms manufacturer, it is very difficult to change, and similar to
All of these require some form of software and the EPROM or EEPROM noted above.
hardware qualification. Starting with microprocessors as In contrast, a PLC is a much more complex
the simplest of the control systems and working up to the controller. It can be viewed as multiple microprocessors
DCS, the basic qualification approach outlined above and in a single unit. However, the big difference is that they
in chapter 46 applies. The discussion of networks, while are more easily programmed. By its very nature, it has a
not actual control systems, needs to be considered since much more complex and richer instruction set. It typi-
any of the above control or automated controllers can be cally has much more memory, redundancy, and
networked forming larger control systems or processing power as well. Though PLCs are mass-
controls loops. produced, typically PLC code (called ladder logic as
apposed to source code used for PCs and higher types
Microprocessors of controllers) and hardware wiring are customized for
These simple controllers exist throughout the process each device based on the customer’s specific needs.
industries. Their purpose is usually a single function Because the code is to be customized by the client
such as turning a light on and off on a schedule. Thus, (operating company), the PLC manufacturers testing of
they are more than simple switches. Other examples of the operating system software is usually only on a high
microprocessor controllers are: level. This leaves the true qualification work to the owner.
& A light may come on and a camera activate in PLCs fall into several of the GAMP4 categories,
response to a door opening. depending upon their configuration. The more standard
& An alarm may be triggered by a door not closing controllers, like those for lab bench analyzers and sterili-
within a set period of time. zers could be category 2 or 3; and complex, more
& The closing of the door may activate another timer customized equipment, like filling systems or lyophili-
that will keep the light on for a given period. zers, could be category 5. However, since PLCs are
& A micro switch may be pressed during production relatively easily to program and are most often custo-
based on some activity; this in turn activates a mized to the specific client use, GAMP4 category 5 is the
microprocessor to count the events. most likely approach. That is full testing will be required.
This kind of controller provides basic functionality From a risk assessment standpoint, PLCs typically
within equipment and rooms or facilities. These control- have the highest direct safety risk (both human and
lers usually do not allow any change in configuration; equipment), SCADAs and DCSs are next, then database
that is a change in the type of control or timing of the systems—and safety is only one small aspect of the risk
system. However, a microprocessor may be an EPROM or assessment process.
may be or the type that is EEPROM. Both the EPROM and For a simple PLC controller, say less than 20 I/O,
the EEPROM require software qualification as well as the black box testing makes more sense than white box.
standard functional testing of the microprocessor. The However, for anything more than 20 I/O or for systems
software is accessible only through another computer and with a HMI, white box is probably more effective than
even then only with specialized software. This software black box testing. The amount and type of testing is
requires control both in access to and in validation of the related to the amount of code, the amount of user-
program itself. The EPROM or EEPROM will then need to specified coding versus vendor coding, the actual use in
be able to verify the latest version of the software the process (i.e., what equipment it will be used to
programmed in (this is a “burn-in” process similar to control), and other factors as outlined in the GAMP
using writing a read-only CD). The validation of the guide.
programming software, the EPROM or EEPROM, is An example of PLC qualification can be seen as
basic tests and verifications of operation. follows:
Most often this type of control, such as those that Assume that a machine has two sensors, A and B.
provide standard environmental lighting or activate When sensor A is on, we want to turn on alarm horn A. In
pumps or heaters included within larger systems are not addition, when sensor B is on, we want to turn on alarm
a regulatory focus. However, that does not mean they can horn B. In addition, when sensors A and B are on, we
be ignored. As long as the basic functional testing is want to shut down the machine. In 99% of the cases,
appropriate, as long as their function within the facility programmer will cause sensor A to set a bit that causes
is part of the wider design and that functionality is tested the output alarm horn A to turn on; and sensor B to set a
when it affects product, they do not require a separate bit that causes the output alarm horn B to turn on. When
qualification or validation. both of these bits are on, the machine will stop.
624 VIII: COMPUTERIZED SYSTEMS

From a black box testing perspective, this is very example, Microsoft Excelw spreadsheet program can
difficult to catch. You must, in fact, black box test all neither be validated nor qualified. However, the appli-
possible combinations of the interlock conditions in each cation of each spreadsheet must be qualified. Specifically
of the four states (good, going into alarm, alarming, going each calculation needs to be verified from both its
into good). For our example, the black box testing would algorithm to its data input and output.
contain eight tests alone! On the other hand, white box All aspects of the PC need to be qualified, just as any
testing could be done on six of those states, leaving two other process or laboratory equipment. All I/O devices
for black box. (e.g., keyboards, disk drives, USB inputs of outputs,
A typical protocol for the average PLC should be mouse control and other pointers, screen displays, prin-
about 90% white box (Ladder logic or code review) and ters, etc.) need to be tested and demonstrated to be
10% black box (functional). The number of total tests is functioning correctly. This means that the data being
exponentially proportional to the amount of I/O and input is the same as the data coming out. For example,
code. Therefore, for 50 I/O, there may be 2500 tests. when typing the letter “M,” the keyboard should respond
That is, there may be 2500 interactions between inputs, only to the M from the designated key and the screen
outputs, and internal conditions. A test protocol with should display only an M from that designated key. The
white box testing would examine dozens of these same holds true for any data storage device, whether
interactions in a few test cases, using the duplicity of internal or external.
the structure with which they were created (if there was a One difference between PCs and other automated
structure). controllers is that very often the data is taken off the PC
The testing for all network-rung paths and all and stored in an external device (tape drive, external hard
possibilities, as well as questioning the operating disk, etc.). In this case the data transfer to the devices used
system integrity, would take longer than the testing of for storage as well as the recovery of the data from the
inputs, outputs, and screens in a black box fashion. device needs to be qualified. Storage time of the data on
For another example, assume we have a system of the external device as well as the environmental con-
five inputs and five outputs. For the short term, we will ditions it is stored under are factors in this qualification.
ignore the complexities that can be built into the operator Code review for vendor-supplied programs is not
interface. Given an input, or combination of inputs, some required. This includes the operating system. A word of
outputs happen. Let us say that input 1, vessel pressure caution here is that the last statement assumes that there
high, causes output 1 vessel vent valve, to actuate. The are many hundreds of units of the same program on the
requirements and design documents will probably state, market and thus errors in the code have been readily
“Open the vessel vent valve when the vessel pressure is observed and corrected. Thus, if one purchases or
high.” Most protocols would include a single test— prepares a new operating system, specific for the appli-
stimulate the input, observe the response output. This cation, then this would require full qualification as
must be done for each of the I/Os. determined by the GAMP4 approach.
Continuing with the 5!5 example, if the system is There are other areas that extra caution is needed
such that the position of the outputs will not feed back in when using PC for control operations. One of the biggest
to how the system responds (meaning that the PLC does areas of concern in the use of PCs is their ability to
not care that the vessel vent valve is open as it goes on to connect to the “Internet.” The Internet is an outside
do its other tasks), then each input should have 32 tests link, i.e., opening the system to other computers, and
(on or offZ2 positions, with five inputs, 32Z2 5). should be avoided. Data security and integrity are key
Assuming that the protocol is written such that the issues in dealing with any automated control system.
other output expected results are inclusive in the 32
tests, there should be 32 tests for five inputs to generate Items to verify on a PC:
& All input devices
five outputs. The argument is that this is more than the
& All output or data storage devices
number of tests necessary for white box testing. By
& Data integrity both in and out of the PC
following the code in the white box analysis, then there
& PC calibration
will be only one path to test for each input and one path
& Software:
for each output, for a total of 10 tests.
& Operating and off-the-shelf programs do not
Of course, as more interlocks, sequences, and other
rules are added to the complexity of the PLC logic, the usually require qualification
& Application software and applications on off-the-
advantages are harder to see—though they are still there.
shelf programs do require qualification (e.g.,
Items to verify for PLCs: COTS—Commercial off-the-shelf software)
& Review the ladder logic & Environmental conditions—Temperature/humidity/
& Correct version installed liquids
& Inputs and outputs
& Environmental conditions Networks
& Point-to-point testing—Loop checks PLCs and PCs may be linked together to form a
“Network.” Simply, a network is a group of individual
Personal Computers units (PCs or PLCs) linked together so that information
PCs are relatively easy to qualify. The reason for this is can be easily shared. There are two basic types of
that most of the software used on a PC is off-the-shelf networks, open and closed. In the pharmaceutical
non-configurable. That is, the software cannot be industry, the closed network is the preferred type. As
changed. Only the application is configurable. For described above with the PCs, the internet represents an
47: VALIDATION OF CONTROL SYSTEMS 625

open system and thus the greater possibility of the network is “qualified” to be able to handle all the
data corruption. other client–server systems it has to carry (that is,
Networks come in many formats. In the early days bandwidth and capacity are evaluated).
of networking, two or more computers were connected
by regular wires between the units. The next stage was Items to consider for network qualification:
& All major components of the network (e.g., PCs,
the use of “twisted pair” wiring. This made use of part of
the telephone wires for connecting the computers. This routers, switches)
& Point-to-point testing
gave way to the Ethernet and now the wireless network.
& Qualify networks that are related to predicate
Each of these earlier types of networks still exists,
although some to a much lesser degree. Each requires rule data
their own special approach to qualification. & Use the risk assessment approach to determine the

For example if a system transmits data used on extent of a network qualification


batch records, and that this data is the active record—that & Transport layers

is, regardless of any printouts of this data, the active data & Application layers

that the company uses is this electronic record—like a & Commissions to specifications

maintenance log for a piece of equipment used in drug & Validates to requirements

manufacture. The security needs to be tied to the record, & Security (refer also to Part 11)

and typically, the record is tied to a database system. In & Open system

this case, if users were transmitting this data over the & Closed systems

network, then the network should be validated. However, & Collision reconciliation

that validation is usually a subset of validation of the & Node operation

database system (with tests that make sure clients can talk Larger automated systems such as discussed below
to servers and so forth). In addition, there is typically are similar to the smaller systems described above. All of
some platform validation performed to ensure that the the same type of testing needs to be done for these larger
network has appropriate bandwidth and can handle systems. The difference is in the complexity of the system
traffic flow correctly. and the amount of time required completing the qualifi-
A risk assessment should truly answer when to do cation program. In general, the larger the systems the
network validation. For example, if the network is only more time it will require to qualify since there are an
used for backing up servers, then the firm would develop increased number of variables to test. With more compli-
a set of requirements, specifications, and tests regarding cated systems, it is more important to follow a full
how servers are backed up (in this case a worst-case qualification program starting with the development of
scenario would involve data quantity as opposed to a Validation or Qualification Master Plan. This plan
network loading). If the network were only used for should be specific for the system(s) involved, its intended
client interaction to the server, then the firm would use and the type of hardware and software to be used.
develop requirements, specifications, and tests around
network loading, response speed, and server time-outs— Supervisory Control and Data Acquisition
packet “sniffer” software will typically analyzes this. SCADA systems are made up of several components.
Let us assume for a minute that the firm has a large Each of these components may be qualified as separate
multiuser database system that is being tested prior to units or combined into one large qualification program. A
plant roll out. In the test room, there are a couple of clients, SCADA system is made up of:
the server, and a network switch that are all tested and & HMI—The screen is often a touch screen
validated. Now the system is placed on the plant network. & Control Units—Controlling the field devices
The firm discovers from an investigation that there & Main Processor—Interprets the information form the
are a number of differences: some of the clients PCs on the field units/PLCs and the operating instructions from
network are using older operating systems. The network the HMI
itself is larger and more complex and uses hubs, routers, As with all automated or computerized systems,
and firewalls. Will it be necessary to retest all the aspects security and data integrity are primary issues. Each of the
of the application? No. Is the application still validated? components needs to be secure from outside interference
Yes. What is needed is to resolve and test aspects of as well as internal problems resulting from adjacent
the network. equipment or component problems. Alarms are key to
If “Yes” start by analyzing the test network and the the functioning of a SCADA system. They alert the
live network. A good packet sniffer available for free is operator of problems in carrying out the instructions
Ethereal (1). Based on where packet collisions occur it can inputted by the operator or the recipe.
detect what part of the networks are having an issue and
resolve it. The firm can use the test system to develop data Items to verify for a SCADA qualification:
transmission requirements (based on what the sniffer & Alarms
reveals) and then validate to those requirements on the & Loop checks
live system. & Point-to-point are unique
Validate the network with the application & Field unit verifications
(assuming that both the application and the network & Input devices
relate to predicate rule records or processes), and then & HMI
“qualify” the network platform for all the systems that & Access levels
use it. So, for example, a database client–server system is & Supervisor
validated with the network structure in place, and then & Operator
626 VIII: COMPUTERIZED SYSTEMS

& Disks implemented. According to the latest guidelines,


& Tapes systems put into operation prior to 1997 are usually
& Graphics considered exempt from the Part 11 rules. However,
& Is the system represented correctly on the screen? caution needs to be taken here, as any change to the
& Data acquisition and data integrity system after the 1997 start, may bring the control system
& Is the screen a true representation of the system? under Part 11 requirements.
& Is it a touch screen? When one looks closely at the requirements, they
& Interface between the screen and the system (i.e., are really quite understandable; however, their
valves, temp. control, etc.). implementation can be very complex. The FDA has
& Does the screen do what is indicated in the issued two sets of guidelines for this Part of the CFR.
system? The first set of guidelines has been withdrawn and a new
& Calibration “draft” guideline has been issued. The current guidelines,
has made compliance to Part 11 regulations clearer to the
Distributed Control Systems industry. The regulations have not changed; only their
DCSs have evolved over the years into sophisticated perception has changed.
units. These systems are usually involved in more than There are three major sections of the requirements.
just pharmaceutical manufacturing. They are found in These are:
inventory control, warehousing, ordering, maintenance, & Subpart A—General provisions
and manufacturing controls. BMS and MRP Systems are & 11.1 Scope
examples of DCS systems. These systems integrate many & 11.2 Implementation
functions into one package. The BMS controls and & 11.3 Definitions
monitors the environmental conditions in the facility. It & Subpart B—Electronic records
can prepare documentation on the environmental status & 11.10 Controls for closed systems
of any part of the plant if requested or as part of a batch & 11.30 Controls for open systems
record. It can monitor the fire alarms or access to & 11.50 Signature manifestations
restricted areas. & 11.70 Signature/record linking
MRPs on the other hand, are made up of sub- & Subpart C—Electronic signatures
modules that monitor or control inventory, financial & 11.100 General requirements
records, warehousing operations, production schedules, & 11.200 Electronic signatures components and
etc. While not all sub-modules are GMP systems, all must controls
be considered in order to assure that no part interferes & 11.300 Controls for identification codes/
with any other part during their operation. passwords
As BMSs are configurable off-the-shelf packages, Subparts B and C represent the main body of the
risk assessment should focus on testing on the configured requirements. Only an overview of the requirements will
and customized portions of the package and not on the be presented; further study will be required to fully
standard components of the package. For example, the understand this section of the CFR.
package allows the firm to graphically trend points. Subpart B is concerned with any computerized
Testing should therefore ensure that the set of points to system (of any size or type) or of the people who use
be trended is correctly configured, but the operation of these systems. Both open and closed systems are included
zoom, forward, and back buttons on the standard trend (11 CFR 11.10 and 11 CFR 11.30). In this part of the CFR
screen can be ignored. the FDA specifies that any system used to “create, modify,
maintain, or transmit electronic records shall employ
Items to verify for a DCS: procedures and controls designed to ensure the authen-
& Individual node/unit can function independently
ticity, integrity. and ensure that the signer cannot
& No interference between units
readily repudiate the signed record as not genuine.”
& No interference between users
This means that the system(s) need to be validated/qua-
& Each node/unit can be qualified independently
lified and that, as with written records, there needs to be
& Environmental conditions for each node
traceability of all data. Access to the systems and the data
& Input and Out devices
or records (electronic) needs to be limited and authorized.
& Network qualification
Records that are maintained in paper format, as the
& HMI qualification
final, official copy are not included in this section of the
regulations. The paper records are part of what is known
as the predicate rules requirements. The predicate rules
PART 11
are any rule previously established as found in 21 CFR
No discussion of computer or control system qualification Part 211.
will be complete without at least an overview of Part 11 (21 Subpart C deals with the actual control and require-
CFR Part 11). This part of the CFR has caused the ments for electronic signatures. It describes the levels for
pharmaceutical industry great concern in recent years security and access, the need for verification of the person
due to its perceived complexity. Part 11 has been around signing. There are two types of identification discussed;
since 1997 but has only recently become more strictly these are biometric and non-biometric. The non-biometric
enforced by the FDA. The reason for this is, the FDA form is most familiar to everyone. These include items
allowed the industry time to comply, by updating their such as identification badges (picture ID) sign-in logs,
control systems, updating their operating procedures, and password. If this type of identification is used, then
training, etc., before strict enforcement would be two forms must accompany the signature (i.e., user
47: VALIDATION OF CONTROL SYSTEMS 627

identification and a password). On the other hand, a FDA Guide to Inspection of Computerized Systems in Drug
biometric identification would include fingerprint iden- Processing, February 1983.
tity, retinal scans of the eye, or voice recognition. General Principles of Software Validation; Final Guidance for
Biometric identification is becoming easier and less Industry and FDA Staff, U.S. Department Of Health and
Human Services, Food and Drug Administration Center for
expensive, and is available on some PCs now.
Devices and Radiological Health Center for Biologics
As can be seen from this short discussion of Part 11, Evaluation and Research—January 11, 2002.
the regulations are not difficult; however, some aspects of Good Automated Manufacturing Practice (GAMP) Guide for
the rules may be harder to implement. All control systems Validation of Automated Systems, ISPE, 2001, GAMP 4.
have, or should have, limited access to both the system Good Practice and Compliance for Electronic Records and
and the various levels of data (e.g., operator, supervisor, Signatures—Parts 1 and 2, ISPE and PDA, 2002.
and administrator). Any change in the data needs to have Guidance for Industry Part 11, Electronic Records; Electronic
a “trail” indicating “who” made the change and why the Signatures—Scope and Application. U.S. Department of
change was made (similar to changes in paper records). Health and Human Services Food and Drug Adminis-
Thus, compliance to Part 11 has become achievable and, tration Center for Drug Evaluation and Research (CDER)
Center for Biologics Evaluation and Research
with the new Guidelines from the FDA, it has become
(CBER) Center for Devices and Radiological Health
more understandable. However, care needs to be taken (CDRH) Center for Food Safety and Applied Nutrition
with all computerized systems to be sure that all of the (CFSAN) Center for Veterinary Medicine (CVM) Office of
Part 11 regulations are implemented. Regulatory Affairs (ORA), August 2003.
Guidance for Industry PAT—A Framework for Innovative
ACKNOWLEDGMENT Pharmaceutical Development, Manufacturing, and
Quality Assurance—U.S. Department of Health and
The author acknowledges the assistance and input from Human Services Food and Drug Administration Center
John Hannon on several of the topics in this chapter. for Drug Evaluation and Research (CDER) Center for
Veterinary Medicine (CVM) Office of Regulatory Affairs
(ORA) Pharmaceutical CGMPs, September 2004.
BIBLIOGRAPHY ISPE C & Q.
IVT article on PLCs.
Code of Federal Regulations 21 CFR Part 11, 2006. King JH. A Practical Approach to PLC Validation, Institute of
Code of Federal Regulations 21 CFR Part 211, 2006. Validation Technology. Special ed. Computer Validation II,
Code of Federal Regulations 21 CFR Part 211 (21 CFR Part 11), 2005.
2006. Technical Report No. 18, Validation of Computer-Related
FDA Computerized Devices/Process Guidance, May 1992. Systems, PDA, V49, number S1, 1995.
FDA General Principles of Software Validation; Final Guidance http://www.ethereal.com/
for Industry and FDA Staff, January 11, 2002. http://www.pacontrol.com/PLC.html
FDA Guidance for Industry—PAT:A Framework for Innovative http://www.pacontrol.com/SCADA.html
Pharmaceutical Manufacturing and Quality Assurance http://www.pacontrol.com/DCSystem.html
(draft guideline), August 2003.

Potrebbero piacerti anche