Chapter 3489 min read36 sections

Problem-solving and diagnostic strategies

The ability to solve complex problems is the most valuable technical skill an instrumentation professional can cultivate. A great many tasks associated with instrumentation work may be broken down into simple step-by-step instructions that any marginally qualified person may perform, but effective problem-solving is different. Problem-solving requires creativity, attention to detail, and the ability to approach a problem from multiple mental perspectives.

“Problem-solving” often refers to the solution of abstract problems, such as “word” problems in a mathematics class. However, in the field of industrial instrumentation it most often finds application in the form of “troubleshooting:” the diagnosis and correction of problems in instrumented systems. Troubleshooting is really just a form of problem-solving, applied to real physical systems rather than abstract scenarios. As such, many of the techniques developed to solve abstract problems work well in diagnosing real system problems. As we will see in this chapter, problem-solving in general and troubleshooting in particular are closely related to scientific method, where hypotheses are proposed, tested, and modified in the quest to discern cause and effect.

Like all skills, problem-solving may be improved with practice and persistence. The goal of this chapter is to outline several problem-solving tools and techniques.

Learn principles, not procedures

“As to methods there may be a million and then some, but principles are few. The man who grasps principles can successfully select his own methods. The man who tries methods, ignoring principles, is sure to have trouble.” – Ralph Waldo Emerson

Effective problem-solvers always reason from fundamental principles, rather than follow memorized procedures. Following this logic, the wise strategy for any student learning how to solve any type of problem is to internalize as many general principles as possible, and to connect common threads of principle to different applications and scenarios.

A good way for any student to self-check that their focus is indeed on principles rather than procedures is to continually ask themselves if they are able to explain why what they have learned is true. It is one thing to be able to explain what you have learned, but it is quite another to explain why your new knowledge is valid. “Why” may be the most important question you ever ask, and you need to ask it often.

Active reading

Learning from reading printed text is a kind of problem-solving activity it is own right. The problem is how to acquire new information from the pages of a book, and the solution requires active engagement of your mind as you read. This is often more difficult that it may seem at first, especially when the subject matter is complex and/or the source text is poorly written. Given the fact that much more technical information is available in text form than in any other format, and also the fact that continuous learning is absolutely essential in the field of instrumentation, active reading is an indispensable tool for student success as well as for continued professional growth in the field of instrumentation.

Don't limit yourself to one text!

A very common mistake made by struggling students is to limit themselves to the reading assigned by their instructor(s), when better books might be available. If homework assignments are given from a particular assigned text, it is understandable why a student might think this is the only appropriate text to use. However, textbook selection is an imperfect process, often influenced by factors other than optimal learning (e.g. instructor bias, publisher influence, etc.). Sadly, textbooks are sometimes chosen not on their merits as a learning resource but rather by whether or not the textbook comes complete with pre-made exercises and examinations to be used in class (thus relieving the instructors of much work creating these on their own). As a student you must take responsibility for your own learning and seek the best books available for learning, even if this means only using the assigned text as a source of homework problems!

Thanks to the internet, searching for high-quality books is very easy. Not only may you peruse titles and reviews, but many booksellers also allow limited access to these texts online so you can see firsthand how the books are written and decide whether or not each book would suit your needs.

If you are a student and you approach your instructor asking about other texts to read on the subject, you may find your instructor doesn't like the assigned text any better than you, and has alternatives ready to suggest. This is often the case in courses where the text has been selected by committee.

If you examine the personal library of any highly competent technician or engineer, you will likely find multiple books covering the same topics. Building your own collection of useful texts for learning is a sound strategy. Not only will you find yourself referencing these books throughout your career, but you will find their multiple explanations of common concepts an easier way to learn than by limiting yourself to just one point of view.

Marking versus outlining a text

A practical and common method to increase engagement while reading is to “mark” the paper pages of a book with notations, the idea being to note points of interest and thereby stimulate thinking as you read. For a brief primer on this subject I recommend Mortimer Adler's essay How to Mark a Book.

We will begin our exploration of active reading with an example taken from page 101 of the classic text The Measurement of High Temperatures written by George Burgess and Henry Louis Le Ch^{a}telier in 1912. One reason for choosing such an old text is that the style of writing adds another challenge to the task of reading. For those already familiar with the subject of temperature measurement, the archaic writing style will help give you the perspective of a new student, encountering something unfamiliar for the first time:

Figure 34.1
Figure 34.1

This is the original text as it appears on page 101 of the book. Next, we will explore different ways of “marking” the text, as if we were a new reader to this subject.

The most rudimentary method of marking a book consists of underlining and/or highlighting with a felt-tipped pen:

Figure 34.2
Figure 34.2

Here you see how the reader has highlighted the paragraph introductory words in yellow ink, underlined names and dates with green lines, and underlined concepts with red lines. While such exercises may have helped the reader remain awake as well as generate cues for later cramming, it is doubtful they assisted the reader in understanding the concepts. A large degree of blame for this rather shallow and unproductive practice may be laid on instructional curricula emphasizing memorization and execution of procedures over conceptual understanding. Simply put, this is what you get when students expect to be quizzed on isolated bits of data: you get poor study habits such as this. Unfortunately, not only will this approach fail to yield deep understanding of the concepts, but it also reduces the act of reading to drudgery. When such practices are so common, it's no wonder a great many students loathe academic reading.

The choice of highlighting versus underlining, or of one color over another, is relatively unimportant. Any process of “marking” a book merely by drawing attention to certain words within it suffers the same weakness: all you are doing is emphasizing specific words and phrases, not incorporating your own thoughts into the text. In order to be actively engaged in your reading, you must expose your own thoughts and reflections on what you read, not just emphasize specific statements made by the author. As Adler points out:

“Understanding is a two-way operation; learning doesn't consist in being an empty receptacle. The learner has to question himself and question the teacher. He even has to argue with the teacher, once he understands what the teacher is saying. And marking a book is literally an expression of differences, or agreements of opinion, with the author.”

The thrust of Adler's essay is that the reader gains the greatest understanding of a text by expressing their own thoughts about what they are reading: articulating questions, drawing conclusions, linking ideas, and otherwise being an active participant in the reading process rather than a passive observer.

With this in mind, let's re-approach the text. Instead of simply emphasizing words and phrases, we will now show how a reader may articulate some of their own thoughts on the same page:

Figure 34.3
Figure 34.3

Here you can see the focus has completely shifted away from facts and figures, and toward concepts. Note the questions raised by the reader, either doubting their own understanding of the book or the author's assertions. These questions need not be fully resolved at the conclusion of reading. Indeed, these may be excellent topics to raise in class once the student returns to school and has the instructor's attention. Questions should be taken as a positive sign for active reading and not as an indication of trouble: if you read a large body of prose and have no questions of your own, you probably weren't thinking deeply enough!

If this manner of marking the text seems messy and cluttered, one may opt to make all the notations on a separate piece of paper, or even typed into a computer for later printing and retrieval.

Even deeper engagement may be achieved if one takes the time to write an outline of ideas in the text. This is an exercise best done on a separate sheet of paper, or using a computer. An example is shown here, side-by-side with the original text. Note how an outline may include graphical sketches as well as words, and how it references the page number of the source text to make it easier to go back to the source and re-read if necessary:

Figure 34.4
Figure 34.4

What you see here are notes for just one page of Burgess' and Le Ch^{a}telier's text. Although there is no absolute rule for how detailed one's notes should be, they should be expressed in one's own words rather than copying the author's words, and should at minimum express at least one statement and/or question from the reader per paragraph of source text, since each paragraph typically contains a distinct idea on the topic at hand. A complete outline of thermoelectric pyrometers would of course cover multiple pages of the source text, and not just the one page shown. Note how the outline includes cues for future learning – hints that there is more to this subject than what is immediately presented on this page of the text.

Writing your own outline of a text is especially useful when the text in question is densely packed with ideas and/or difficult to understand, because the act of outlining serves as a self-check for your own comprehension. With highlighting and underlining it is all too easy to lazily read the words and make these marks without really understanding what the text is saying. While outlining you know quite well when you haven't understood the text because you simply won't be able to express it in your own words. Instead of continuing to highlight in a state of blissful unawareness, you will find yourself stuck and unable to continue outlining. This prompts you to go back and scrutinize the text, going over it more carefully than before, until you find yourself able to continue outlining again.

Perhaps the most common objection to outlining text as you read is that the process is slow. This raises a very important point, namely that active reading should be slow. Facts and figures may be skimmed, but complex ideas take time to penetrate into your mind. Not only will outlining force you to slow down when you need to, but it will also serve as a gauge for later study when you review your own notes to see if you still agree with them. In the course of studying some topic, you will often find that your understanding of that topic changes from your first impression. Seeing this change for yourself allows you to better understand how you learn, and thereby gives you practical insight into the workings of your own mind when it comes time to learn something new.

General problem-solving techniques

A variety of problem-solving techniques have been presented for students over the years which are all helpful in tackling problems both in the classroom and in the real world. Several of these techniques are presented here in this section.

Identifying and classifying all “known” conditions

An important step in solving certain types of problems, especially quantitative problems where calculations are necessary to obtain precise answers, it is often useful to list all the known quantities available to us relevant to the problem. Similarly, taking the time to list all relevant (and possibly relevant) mathematical formulae we might apply to the solution is a helpful step.

One way to save time applying the latter suggestion in a classroom setting is to keep a concise reference card or file filled with formulae you've been learning within that course. This reference may be referred to as often as necessary, without having to re-write the equations for each and every problem, thus eliminating unnecessary effort.

Re-cast the problem in a different format

Many people find it easier to grasp the nature of a problem – and by extension, that problem's solution – if they can look at an illustration of the problem. Therefore, a helpful step in solving problems described to you in words is to translate those words into a picture to look at.

If you are one of those people for whom drawing is a challenge, take heart in the fact that this is a skill you can build. Practice is the key to honing this skill. With this in mind, make it a habit to sketch some kind of illustration for every problem you are asked to solve. If you are working in teams to solve a problem, a collaborative sketch goes a long way toward coordinating problem-solving efforts and ensuring everyone on the team has the same view of the problem.

For some people, describing a problem verbally is helpful in solving it. If your brain tends to work like this – understanding concepts and situations better when they are cast into clear prose – then you may find it helpful to first draft an explanatory paragraph of the problem in your own words. This is also an exercise lending itself well to team-based problem solving, as the entire team can help each other describe the nature of the problem.

Working backwards from a known solution

Sometimes we may gain insight into the solution of a problem by assuming we already know the answer to a similar problem, then working “backward” to find the problem from that assumed solution.

An application of this problem-solving strategy is found learning how to decode binary bits that have been encoded using the Manchester standard. With Manchester encoding, binary bits are represented by the rising and falling edges of square-shaped waveforms rather than high and low states themselves. For example:

Figure 34.5
Figure 34.5

Seeing this example, we note how each binary “0” bit is represented by a falling edge, while each “1” bit is represented by a rising edge.

Where most students encounter trouble is in situations where they have been given a Manchester encoded waveform and must decode it into its representative bit stream. Take this for example:

Figure 34.6
Figure 34.6

Most students' first inclination is to ask their instructor or their classmates for an algorithm to decode the waveform. “What steps should I take to figure out where the data bits are?” they will ask. This sort of “give me the answer” mind-set should always be discouraged, because it is the polar opposite of true problem-solving technique, where the student methodically searches for patterns and develops algorithms on their own.

A better approach is to encourage the strategy of working the problem backwards: begin with a known series of binary bits, and then develop a Manchester waveform from that. The act of encoding a binary string provides insight that will be useful in decoding the next Manchester waveform they encounter.

For example, let's begin with the binary string 100011101:

Figure 34.7
Figure 34.7

We may begin the process of encoding this into Manchester format by sketching the rising- and falling-edges we know we will need for each bit:

Figure 34.8
Figure 34.8

Next, we can try connecting the tops and bottoms of these pulse edges to form a complete waveform. Soon, however, we will find that this is only possible where opposite bit states are adjacent to each other. Where identical bits follow in sequence, we are faced with sequential rising edges or sequential falling edges, which we cannot simply bridge at the tops or bottoms to make a full pulse:

Figure 34.9
Figure 34.9

This observation leads to the realization of why we need reversals in a Manchester waveform. The only way to connect repeating bits' edges together is if the waveform goes through another rising or falling edge in order to be properly set up for the next edge we need to represent a bit:

Figure 34.10
Figure 34.10

Here we see the power and utility of working a problem “backwards”: it reveals to us the reason why things are the way they are. Without this understanding, problem-solving is nothing more than rote recall of algorithms, and limited in application. Any problem becomes simpler to solve once we fully understand its rationale.

Once we realize the purpose for reversals in a Manchester waveform, it becomes obvious to see that these reversals always fall between the bit transitions, and thus are always out of step with the frequency of the bits. Those edge transitions representing real data bits must always fall along a regular timed interval, with reversals being “half-steps” in between those intervals. We need only to look for the widest-spaced intervals in a Manchester waveform to distinguish those pulse edges representing real data bits, and then we know to ignore any pulse edges out of step with them.

Returning to our sample problem, where we were given a Manchester waveform and asked to decode it:

Figure 34.11
Figure 34.11

First, we identify the real data bit edges by widest spacing:

Figure 34.12
Figure 34.12

Now that we know which pulse edges represent bits, we may ignore those that do not (the reversals), and decode the waveform:

Figure 34.13
Figure 34.13

Using thought experiments

One of the most powerful problem-solving techniques available for general use is something called a thought experiment. Scientists use experiments to confirm or refute hypotheses, testing their explanations by seeing whether or not they can successfully predict the outcome of a certain situation by comparing their predictions against real outcomes. While this technique is extremely useful, it might not always be practical or expedient. A useful alternative to real experiments is to mentally “model” the system and then imagine changing certain elements or variables within that model to deduce the effects.

Albert Einstein famously applied “thought experiments” to the formulation of his Theory of Relativity, for the very simple reason that he lacked the resources and technology to actually test his ideas in real life. Working as a patent clerk, he would imagine what might happen if an observer were to travel at or near the speed of light. One particular example of this is the anecdote of Einstein observing a clock tower as he rode a trolley traveling away from the tower. “What would an observer see,” he wondered, “as he viewed the clock's face while traveling away from it at the speed of light?” Concluding that the clock's face would appear to be frozen in time was one of the surprising “experimental” results leading Einstein to a more rigorous examination of physical effects at extremely high velocities.

“Thought experiments” are useful in solving a wide variety of problems, because they allow us to test our understanding of a system's behavior. By imagining certain conditions or variables changing in a system and then asking ourselves what the effects will be, we probe our own understanding of that system, often times with the result being that we are able to predict its behavior under conditions that baffle us at first.

You will find “thought experiments” scattered throughout this book, used both as illustrations of problem-solving strategies and also as a tool to explain how certain technologies function. An example of this is the section explaining non-dispersive analyzers, which are instruments employing the absorption of light by certain species of chemicals in order to detect the presence and measure the quantities of those chemicals. Beginning in section Non-dispersive Luft detector spectroscopy, a series of “thought experiments” are used to explore the principles used to identify chemicals by light absorption. This series of virtual experiments becomes most valuable when this section explores the analyzer's ability to selectively measure the presence of one light-absorbing chemical to the exclusion of other light-absorbing chemicals within the same mixture.

Explicitly annotating your thoughts

Suppose you were asked to solve this multiplication problem, without the use of a calculating machine of any kind, but with access to paper and a writing tool:

Figure 34.14
Figure 34.14

Your primary school education should have prepared you to solve elementary arithmetic problems of this kind, by a process of digit-by-digit multiplication and addition, to arrive at an answer of 1,955,096. The procedure, while tedious, is rather simple: manually multiply the top numeral three times over by successive digits of the bottom numeral, noting any “carried” quantities as you do so, then sum those three subtotals together (padded with zeros to represent the place of the bottom numeral's digit) to arrive at the final product.

Now suppose you were asked to solve the exact same multiplication problem, but this time doing the same digit-by-digit arithmetic all in your mind, without the use of a writing tool to annotate your work. Suddenly this elementary task becomes nearly impossible for anyone who isn't a mathematical savant. What made the difference between this problem as an elementary exercise and this same problem as a nearly impossible feat? The answer to this question is short-term memory: most people do not possess a good enough short-term memory to mentally manage all the intermediate calculations necessary to complete the calculation. This is why people learn to annotate their work when performing manual multiplication, so they don't have to rely on their limited short-term memories. The freedom to write your steps on paper converts what would otherwise be a Herculean feat of arithmetic into a rather trivial exercise.

Annotating your intermediate steps as you solve a problem is actually an excellent general problem-solving strategy, applicable to far more than just arithmetic. Some examples of annotating intermediate steps are listed here:

  • Reading a complex document: annotating your thoughts, questions, and epiphanies as you read the text allows you to derive a better understanding of the text as a whole.
  • Learning a new computer application: noting how features are accessed and identifying the necessary conditions for each feature to work helps you navigate the software more efficiently.
  • Following a route on a map: marking where you started, where your destination is, and where you have traveled thus far helps you see how far you still need to go, and which alternative routes are open to you.
  • Analyzing an electric circuit: annotating all calculated voltages, currents, and impedances on the diagram helps you keep track of what you know about the circuit and where to go next in your analysis.
  • Troubleshooting a system fault: noting all your diagnostic steps and conclusions along the way helps you confirm or disprove hypotheses.

Sadly, many students attempt to solve new types of problems analogously to performing multiplication without paper and pencil: they attempt to mentally manage all their intermediate steps, not writing anything down that would help them later. As a result, students tend to get “lost” when trying to solve new problems simply because they cannot readily reference of all their thoughts along the way. Most people simply give up when they begin to feel “lost” in solving a problem, thinking that if they cannot mentally picture the solution in its entirety then they have no hope of attaining it. Let's face it: how soon would you give up on multiplying 3418 ×\times 572 without a calculator if you believed the only alternative was to manage all the arithmetic in your head?

One reason why students default to the “mental-only” approach when approaching new problems is that their educational experience has only presented annotation for specific types of problems. Thus, marking all the carry digits and subtotals is something they “only do” when performing multiplication by hand; marking calculated voltages and currents on a schematic diagram is something they “only do” when solving DC resistor circuits; taking notes when reading is something they “only do” when completing a book report. In other words, students see annotation only in very specific contexts, and so they may fail to see just how widely applicable annotation is as a problem-solving strategy. What teachers should do is model and encourage annotation as a problem-solving technique for all types of problems, not just for some types of problems.

To illustrate how this might be done in the context of control system analysis, let us suppose we were asked to determine the effect of flow transmitter FT-24 failing with a low (no-flow) signal in this ratio control system, part of a process for manufacturing ammonium nitrate fertilizer:

Figure 34.15
Figure 34.15

Before it is possible to analyze the effects of a transmitter failure, we must first determine what the system ought to do in normal operation. Natural questions to ask might include the following:

  • Where do the instrument signals come from and where do they go to?
  • What does each instrument signal represent?
  • What is the direction of action for each controller in the system?

With just a basic understanding of ratio control systems, we may answer all of these questions by close examination of the P&ID segment, and also annotate those thoughts and conclusions on the diagram in order to help us analyze the system's response. Starting with the first two questions of where signals originate and terminate and what each signal represents, we may annotate this with arrows and text (shown in red):

Figure 34.16
Figure 34.16

We know that all transmitters output data, and so all signal arrows should point away from all transmitters and toward all controllers. We know that all valves receive data, which means arrows must point toward the control valve. The first tag letter of each transmitter (AIT, FT) tells us its measurement function: chemical pH and flow, respectively. The fact that FT-23 is mounted on the same pipe as FV-23 tells us FT-23 must send controller FFC-23 its process variable (captive flow), making the other flow signal (from FT-24) the “wild” flow in this ratio control scheme. AIC-28's task is to control pH exiting the neutralizer, so we know its output signal must call for a neutralizing reagent, in this case nitric acid. This tells us the signal between AIC-28 and FFC-23 must be a cascade output-setpoint link, with AIC-28 as the master controller and FFC-23 as the slave controller.

Now we turn to the question of controller action, since we know the direction of each controller's action (e.g. direct or reverse) is significant to how each controller will react to any given change in signal. Here, `thought experiments” are useful as we imagine the process variable changing due to some load condition, and then determine how the controller must respond to bring that process variable back to setpoint.

When we annotate the action of each controller, it is best to use symbols more descriptive than the words “direct” and “reverse,” especially due to the confusion this often causes when distinguishing the effects of a changing PV signal versus a changing SP signal. In this case, we will write a short formula next to each controller denoting its action according to how the error is calculated (e=PV−SPe = \hbox{PV} - \hbox{SP} for direct action and e=SP−PVe = \hbox{SP} - \hbox{PV} for reverse action). We may also write “+” and “−-” symbols next to each input on each controller to further reinforce the direction of each signal's influence:

Figure 34.17
Figure 34.17

FFC-23 is the best controller to start with, since it is the slave controller (in the “inner-most” control loop of this cascade/ratio system). Here, we see that FFC-23 must be reverse-acting, for if FT-23 reports a higher flow we will want FV-23 to close down. This means the remote SP input must have a non-inverting effect on the output: a greater signal from AIC-28 will increase nitric acid flow into the neutralizer. Following this reasoning, we see that AIC-28 should be direct-acting, calling for more nitric acid flow into the neutralizer as product pH becomes more alkaline (pH increases).

The purpose of the ratio control strategy is to balance the “wild” flow of ammonia into the neutralizer with a proportional flow of nitric acid. This is in keeping with principles of chemical reactions (stoichiometry) and mass balance. Therefore, we would expect an increase in ammonia flow to call for a proportionate increase in nitric acid flow, giving the wild flow signal a non-inverting effect on FFC-23.

Only at this point in time are we fully ready to analyze the effects of FT-24 failing with a low-flow signal. Once again, we may annotate the failure on the diagram as well, arbitrarily electing to use blue “up” and “down” arrows and bold text to indicate the directions of change for each signal immediately following the failure of FT-24:

Figure 34.18
Figure 34.18

As FT-24's signal fails low, the “wild” flow signal to FFC-23 goes low as well. Since we have already determined that input has a non-inverting effect on the ratio controller, we may conclude control valve FV-23 will close as a result, decreasing the flow of nitric acid into the neutralizer. This analysis becomes trivial after we've done the work of annotating the diagram with our own notes showing how the instruments are supposed to function. Without this set-up, the task of analyzing the effects of FT-24 failing low would be much more difficult.

Mathematical problem-solving techniques

Some problem-solving techniques are unique to quantitative problems, involving mathematical calculations. In this section we will explore some useful tips to help you solve such problems.

Manipulating algebraic equations

One of the most useful problem-solving techniques in all of algebra is the art of manipulating, or re-writing, equations to solve for a particular variable. The key to this technique is the fact that we may subject an equation to any mathematical operation we desire, so long as we apply that same operation to both sides of the equation.

Let us begin with an illustration showing why this is true. We will represent the equation x+9=yx + 9 = y as a balance-beam scale, showing the quantity x+9x + 9 in one pan of the scale and yy in the other pan:

Figure 34.19
Figure 34.19

The balance-beam analogy merely represents the fact that the two expressions x+9x + 9 and yy are equal; that is to say, they possess the same mathematical value as described by the equation x+9=yx + 9 = y. It should be intuitively obvious that this equality will remain unaltered if we were to add some equal quantity to both sides of the equation, such as the number 3:

Figure 34.20
Figure 34.20

If the left-hand quantity is now larger by 3 units, and the right-hand quantity is also larger by 3 units, and those two quantities began as equal to each other, than those two quantities must still remain equal to one another. We have not altered the “truth” of the equation by adding 3 to both sides, any more than we would have upset the balance of a real scale by adding 3 units of mass to both pans.

We could similarly multiply each of these quantities by the same factor (say, 4) and still remain equal. The validity of the equation x+9=yx + 9 = y is not harmed by multiplying both sides by 4 to get 4(x+9)=4y4(x + 9) = 4y. Similarly, we could take the square-root of both sides to get x+9=y\sqrt{x + 9} = \sqrt{y} and still have an equality. We could reciprocate both sides to get 1x+9=1y{1 \over {x + 9}} = {1 \over y} and still have an equality. We could take the logarithm of both sides to get log⁡(x+9)=log⁡y\log (x + 9) = \log y and still have an equality. We could raise both sides to the power zz to get (x+9)z=yz(x + 9)^z = y^z and still have an equality. The lesson here should be perfectly clear: if we start with an equation (two equal expressions), and apply the same mathematical operation to both sides of that equation, we'll still have an equation (two equal expressions).

This fact – that we may apply any mathematical operation equally to both sides of an equation without harming the validity of that equation – might seem at first to be pointless. However, it turns out to be a powerful tool for isolating variables within an equation. If we are creative in the operation(s) we choose to apply to an equation, we may do so in such a way that isolates one variable by itself, placing all other portions of the equation on the other side of the “equals” sign.

Returning to our expression x+9=yx + 9 = y, suppose we were tasked with solving for xx. In other words, we need to manipulate this equation to get xx by itself on one side of the equals sign, with everything else on the other side of the equals sign. Clearly, the problem here is how to get rid of the “9” that's being added to xx on the left-hand side of the equation. One way to do this is to subtract 9 from both sides of the equation, thus canceling the “9” on the left-hand side and shifting it over to the right-hand side. This results in xx being left all by itself on the left-hand side of the equation, just like we want:

Figure 34.21
Figure 34.21

Although we have the mathematical freedom to do anything we wish to both sides of the equation so long as we do it equally, we can see here that only one operation will work to isolate xx by itself. This, therefore, is the challenge of algebraic manipulation: how to determine which operation(s) we should apply to both sides in order to end up with the equation re-written the way we want?

A general principle to help us answer this challenge is that of inverse functions: that is, pairs of mathematical operations known to “un-do” each other. The inverse function to addition is subtraction, which is why we subtracted 9 from each side of the equation x+9=yx + 9 = y in order to “un-do” the addition of 9 to xx on the left-hand side. In other words, we determine the mathematical operation being applied to the variable we wish to isolate, and then we intentionally apply the opposite mathematical operation to both sides of the equation to “strip away” that interfering operation.

Here is a table showing a few inverse mathematical functions:

Function f(x)f(x)Inverse function f−1(x)f^{-1}(x)
Addition (+)Subtraction (−-)
Multiplication (×\times)Division (÷\div)
Power (xnx^n)Root (\rootn\ofx\root n \of {x})
Exponent (nxn^x)Logarithm (log⁡nx\log_n x)

It should be noted that sometimes we can use the same function to “un-do” itself if we apply the quantity creatively. For example, instead of subtracting 9 from each side of the equation x+9=yx + 9 = y to solve for xx, we could have just as easily added −9-9 to both sides, which is mathematically equivalent. Likewise, instead of using division to “un-do” multiplication, we may simply multiply by the reciprocal, as in the following example where we wish to solve for xx in the equation 53x=y{5 \over 3}x = y. Since we can see that the fraction 535 \over 3 is being multiplied by xx, we may get rid of the fraction by multiplying both sides by its reciprocal (353 \over 5), leaving xx multiplied by a factor of 1, which is the same as xx all by itself:

53x=y{5 \over 3} x = y (35)53x=(35)y\left({3 \over 5}\right) {5 \over 3} x = \left({3 \over 5}\right) y 11x=(35)y{1 \over 1} x = \left({3 \over 5}\right) y x=35yx = {3 \over 5} y

Had we chosen to divide both sides of this equation by the fraction 535 \over 3, we still would have arrived at a mathematically correct result, but it would have taken the form of a compound fraction, which is not as “elegant” a presentation:

53x=y{5 \over 3} x = y 53x53=y53{{5 \over 3} x \over {5 \over 3}} = {y \over {5 \over 3}} x=y53x = {y \over {5 \over 3}}

The task of solving for a variable becomes more complicated when there are multiple operations needing to be stripped away to isolate a particular variable. Take for example the equation 5x−4=y5x - 4 = y, where we wish to solve for xx. Clearly, we must find a way to “un-do” the subtraction of 4, as well as the multiplication by 5, but which inverse operation should we apply first? The key here is to properly recognize the order of operations expressed in the original equation.

If we were to evaluate the equation 5x−4=y5x - 4 = y to arrive at a value for yy given a value for xx, our proper order of operations would be to first multiply xx by 5, and then subtract 4. Multiplication/division precedes addition/subtraction, if there are no other influences such as parentheses. If our goal is to “un-do” each of these operations in order to arrive at xx by itself, we must do so in reverse order of operations. This means first un-doing the subtraction of 4, and then un-doing the multiplication by 5. The following steps show how this is done:

StepEquationExplanation
15x−4=y5x - 4 = yOriginal equation
25x−4+4=y+45x - 4 + 4 = y + 4Adding 4 to both sides
35x=y+45x = y + 4Simplifying
45x5=y+45{5x \over 5} = {{y + 4} \over 5}Dividing both sides by 5
5x=y+45x = {{y + 4} \over 5}Simplifying

Note how these steps would have been different if the original equation were written with a different order of operations, such as 5(x−4)=y5(x - 4) = y. With the parentheses forcing the order of operations such that the subtraction occurs before the multiplication, our steps for isolating xx must reverse as well – we must first divide by 5, then add 4:

StepEquationExplanation
15(x−4)=y5(x - 4) = yOriginal equation
25(x−4)5=y5{5(x - 4) \over 5} = {y \over 5}Dividing both sides by 5
3x−4=y5x - 4 = {y \over 5}Simplifying
4x−4+4=y5+4x - 4 + 4 = {y \over 5} + 4Adding 4 to both sides
5x=y5+4x = {y \over 5} + 4Simplifying

Linking formulae to solve mathematical problems

Most practical problems with mathematical solutions do not come to us with the proper formula pre-packaged for our use. Instead, we must identify relevant formulae relating the given variables together, and then use those formulae in combination to solve for the quantity we seek. The task of linking formulae to solve mathematical problems is one many students find quite challenging, and so it is worth our time to explore this in some detail.

Example: sensing valve position

For our first example we will consider a scenario where we wish to have a computer sense the stem position of a control valve. A linear potentiometer coupled to the valve stem will provide us with a suitable sensor to convert the valve stem's position into an electrical signal the computer can measure with appropriate analog I/O hardware:

Figure 34.22
Figure 34.22

This potentiometer may be used as one-half of a voltage divider network, with a constant-voltage power supply for the source, and a fixed resistor across which the computer's analog I/O can read a voltage drop. As valve stem position changes, the potentiometer's resistance in this circuit will change, thereby changing the voltage seen by the analog input module connected to the computer:

Figure 34.23
Figure 34.23

The problem we are now faced with is this: how do we program the computer to display the valve stem's position in percent (on a 0% to 100% range), when all it directly senses from the circuit is a varying DC voltage? It certainly would not be helpful to have the computer display the raw signal in units of volts. What we need is a mathematical formula to translate that sensed voltage drop across the 2200 ohm resistor into a percentage value representing valve stem position.

Our first step needs to be identifying all the relevant mathematical formulae in this problem. Since the computer is sensing the voltage drop across one of two resistors in a series circuit, it would appear the voltage divider formula is relevant here (relating source voltage and circuit resistances to voltage drops):

V=Vsource(RRtotal)V = V_{source}\left({R \over R_{total}}\right)

We also need to somehow relate the valve's stem position (we'll use xx to represent the per unit value of valve opening) to the resistance of the potentiometer. If 0% stem position (i.e. x=0x = 0, valve fully closed) drives the potentiometer wiper fully down and 100% stem position (i.e. x=1x = 1, valve fully open) drives the wiper fully up, the potentiometer's resistance in this circuit should be a simple proportion of its full 10000 ohm value:

Rpot=10000xR_{pot} = 10000 x

Now that we have a formula relating valve stem position to electrical resistance, and another formula relating electrical resistance to voltage drop, we are ready to link these two formulae together and derive a function expressing voltage drop as a function of valve stem position.

A useful strategy for identifying how multiple formulae link together is to “mark up” those formulae on paper to show how their variables relate to the given information as well as to each other. A standard I find easy to remember and apply is to draw a circle around the variable I'm need to solve the value of, and to draw a square or a rectangle around any variables whose values are given. To begin this process, I will write both the voltage divider and potentiometer proportion formulae near each other, then circle xx (valve stem position, per unit) as the variable I need to solve for:

Figure 34.24
Figure 34.24

Of course, a basic rule of algebra is that for any one formula it is only possible to solve for the value of one variable. This means all other quantities in a formula must be known in order to solve for that one variable. In the RpotR_{pot} formula we have xx which we're trying to solve the value of, the full-scale resistance value of 10000 ohms which is given to us in the problem, and the potentiometer's manifested resistance value in the circuit (RpotR_{pot}). Since 10000 is a constant, the only other piece of information we need in this formula to solve for xx is the resistance value RpotR_{pot}. The fact that the variable RpotR_{pot} remains unmarked makes this point clear: RpotR_{pot} is the missing piece of the puzzle to solve for xx.

At this juncture we look to the other formula on hand to see if any of its variables will provide us this missing information. Here, it should be clear we need to find out where RpotR_{pot} might fit in the voltage divider formula. The RR variable in the numerator of the fraction in this formula refers to the resistance across which we are measuring the voltage drop VV. In this case, RR must be the 2200 ohm fixed resistor, so we will enclose RR in a square to represent the fact we know its value. Since the power supply's voltage is constant, we may also enclose VsourceV_{source} in a rectangle to show that value will be available to us:

Figure 34.25
Figure 34.25

The only other resistance variable in the voltage divider formula is RtotalR_{total}, which refers to the total resistance of the series-connected resistors in a voltage divider circuit. This particular circuit has two resistors: the 2200 ohm fixed resistor and the potentiometer. We know that total resistance in a two-resistor series circuit is the sum of those two resistors' individual values (Rtotal=R1+R2R_{total} = R_1 + R_2), we we will write this as a third formula in our collection, with R1R_1 being the 2200 ohm fixed resistor and R2R_2 being the potentiometer's resistance:

Figure 34.26
Figure 34.26

Now we are ready to link these formulae together. Recall how we needed to find the value of RpotR_{pot} in the potentiometer's formula before we could calculate the value of xx (valve stem position). Note how the RtotalR_{total} formula relates that potentiometer resistance value to the other resistances in the circuit. This means the total resistance formula can provide us the value of RpotR_{pot} we need to solve for xx. We will draw a circle around RpotR_{pot} in the total resistance formula reminding us we need that value, then show a link between this and the potentiometer formula by drawing an arrow extending from one to the other:

Figure 34.27
Figure 34.27

So far, this markup tells us RpotR_{pot} is the missing puzzle piece to calculate xx, and that RtotalR_{total} is the missing puzzle piece to calculate RpotR_{pot}.

Looking at our three formulae, we see that the voltage divider formula is able to provide us with the value of RtotalR_{total} which we need to calculate RpotR_{pot} which we need to calculate xx. We will circle RtotalR_{total} in the voltage divider formula and draw another arrow showing the link:

Figure 34.28
Figure 34.28

The only variable unmarked and unlinked now is VV, which is the voltage sensed by the computer's analog input module. This is now the one independent variable which will tell us the position of the valve stem (xx).

Each arrow linking formulae together shows us where one formula will be substituted for a variable in another formula. The only thing we must do now prior to this substitution is algebraically manipulate each formula to solve for the one circled variable within it. I will skip these algebraic steps for brevity, and simply re-write the three formulae in manipulated form:

Figure 34.29
Figure 34.29

The logic chain of dependency linking these three formulae together is now crystal-clear: we begin with a measured voltage drop value of VV to give us the value of RtotalR_{total}, which then plugs into the total resistance formula to give us the potentiometer's value RpotR_{pot}, which then plugs into the potentiometer formula to give us valve stem position (xx) as a per unit value. The algebraic substitutions are shown here:

Substituting Rtotal−2200R_{total} - 2200 for RpotR_{pot} in the x=Rpot10000x = {R_{pot} \over 10000} formula:

x=Rtotal−220010000x = {{R_{total} - 2200} \over 10000}

Substituting Vsource2200VV_{source} 2200 \over V for RtotalR_{total} in the x=Rtotal−220010000x = {R_{total} - 2200 \over 10000} formula:

x=Vsource2200V−220010000x = {{{V_{source} 2200 \over V} - 2200} \over 10000}

This final formula can now be programmed into the computer, telling the computer how to calculate xx as a function of VV.

To summarize this problem-solving strategy:

  1. Begin by writing every formula you can think of relevant to the problem at hand.
  2. Identify the final value you're trying to solve for, and circle it.
  3. Identify all given values, and show them by drawing squares or rectangles around those variables.
  4. Identify any and all “missing puzzle pieces” in the formula with the circled variable.
  5. If there is another formula containing a “missing puzzle piece,” circle that variable and draw an arrow linking it to the previous formula, then identify any and all “missing puzzle pieces” needed to solve for that variable. There should only be one circled variable per formula.
  6. Repeat the previous step as often as needed until there are no missing pieces left.
  7. Algebraically manipulate all formulae to solve for their circled variables.
  8. Algebraically substitute all variables as shown by the arrows.

Example: gas pressure inside a cylinder

Let's apply this technique to a practical problem related to engine and compressor mechanisms – how to determine the amount of gas pressure generated inside a cylinder when a piston is moved to compress the gas, given the distance of the piston's motion (xx):

Figure 34.30
Figure 34.30

Compression is nothing more than a forced reduction in volume, and so a good first step for us to take is to recall any mathematical formulae relating pressure and volume for a confined gas. In this case, the Ideal Gas Law is our clear choice, describing the relationship between gas pressure, volume, temperature, and the molar gas quantity inside any enclosed volume:

PV=nRTPV = nRT

Where,

PP = Absolute pressure (atmospheres)

VV = Volume (liters)

nn = Gas quantity (moles)

RR = Universal gas constant (0.0821 L ⋅\cdot atm / mol ⋅\cdot K)

TT = Absolute temperature (K)

However, the Ideal Gas Law formula contains no variable xx to represent piston position. Somehow, we must find a way to relate xx to the Ideal Gas Law formula in order to progress to a solution for this problem.

The first step in applying this formula is to identify which variables are given to us in the problem, and which we need to solve for. In order to solve for the value of any one variable in an equation, there cannot be any other unknown quantities – this is a basic law of algebra.

In this case, the variable we're ultimately trying to solve for is pressure (PP). The only other quantity found in the Ideal Gas Law formula that we know the value of at this point is RR, which is a natural constant. VV, nn, and TT are all unknown to us at this point in time. Once we do know the values of these three variables, we may algebraically manipulate the Ideal Gas Law formula to solve for PP.

Once again we will begin by “marking up” the formula by drawing a circle around the variable we wish to solve for, and drawing squares around any variables or constants for which we already know the values. Any variables left unmarked (i.e. not enclosed in a circle or a square) are unknown quantities which we must determine before we can solve for the circled variable:

Figure 34.31
Figure 34.31

This first step of identifying known and unknown quantities is critically important to the process of problem-solving, because it directs us to what we need to do next. An obstacle so many students and professionals alike experience is paralysis in problem-solving: they get part-way into solving a problem and encounter a point where they have no idea what to do or where to go next. This is why having a strategy to identify the next step is so vitally important.

After identifying these unknown variables of VV, nn, and TT, we now know we need to either find other formulae to solve for those values, or investigate the real mechanism to see if we may directly measure their values.

It should be clear that temperature (TT) is one of those variables we should be able to directly measure in the mechanism. We know in order to solve for pressure (PP) given piston position (xx), one of the real-world parameters we must first measure is temperature.

It should also be clear that volume (VV) is a variable related to piston position (xx), and as such we should be able to identify a formula relating the two, which we may then combine with the Ideal Gas Law formula to arrive at one step closer to our solution. Since the interior volume of the machine's cylinder is, well, cylindrical, we know that the formula for calculating the volume of a cylinder is what we need to incorporate next:

V=πr2lV = \pi r^2 l

Where,

VV = Volume of cylinder

π≈\pi \approx 3.1415927

rr = Radius of cylinder

ll = Length of cylinder

As we did with the Ideal Gas Law formula, our next step is to identify in the cylinder volume formula those quantities we currently know versus those we don't (and therefore those we need to find). Marking up the formula with circles and squares is helpful, as is drawing an arrow between the variable we're trying to solve for with the cylinder formula and where it goes in the Ideal Gas Law formula. This arrow visually links the two formulae together, showing us where we will eventually need to perform algebraic substitution:

Figure 34.32
Figure 34.32

Pi (π\pi) of course is a natural constant, just like RR, so we enclose it in a square to show that we know its value. rr is the radius of the cylinder, which in the mechanism's case is the same as the radius of the piston. As with temperature, this is a quantity we will need to determine in order to solve this problem. Length (ll) is exactly the same as the piston position given to us in the problem: xx, meaning we may re-write the cylinder volume formula as V=πr2xV = \pi r^2 x. Representing all of these relationships graphically:

Figure 34.33
Figure 34.33

The only unknown still existing is nn, the number of moles of gas held inside the cylinder. This is not something one would be able to directly measure, like temperature, piston radius, or piston position. Either this is a quantity that would have to be provided to us as a given condition in the problem, or we must know something else about the problem in order to find the value of nn. We will set aside this issue for the time being and concentrate for now on how to combine the cylinder and Ideal Gas Law formulae.

As our graphical markup of the two formulae show us, volume (VV) calculated by the cylinder formula is what gets “plugged in” to the Ideal Gas Law formula (VV as well). In algebra, this operation is called substitution: replacing a single variable in an equation with another equation.

Substituting  V=πr2x  for  V  in  PV=nRT  . . .\hbox{Substituting} \; V = \pi r^2 x \; \hbox{for} \; V \; \hbox{in} \; PV = nRT \; \hbox{. . .} PV=nRTPV = nRT P(πr2x)=nRTP (\pi r^2 x) = nRT Pπr2x=nRTP \pi r^2 x = nRT Now, solving for  P\hbox{Now, solving for} \; P P=nRTπr2xP = {{n R T} \over {\pi r^2 x}}

We now have a formula for PP written as a function of xx. Provided we know the temperature (TT), the piston's dimensions, and the molecular quantity of gas inside the cylinder (nn), we may plug any arbitrary value for piston position (xx) and very easily calculate pressure (PP).

Returning to the question of knowing the value of molecular gas quantity (nn), we might ask ourselves, “What if no one provided us with a value for nn? How could we possibly solve for pressure then?” Recall once more the basic law of algebra telling us we can only solve for one unknown quantity in a single equation at one time. What would we need to know in our custom formula in order to solve for nn? A graphic markup of the formula is helpful once again:

Figure 34.34
Figure 34.34

From this we can see it would be possible to calculate nn, if only we knew PP. Clearly, this is a Catch-22: our goal is to calculate the value of PP from nn, yet the only algebraic means we have of determining nn is to first know the value of PP.

However, there is a solution to this conundrum. Most engine and compressor mechanisms work by moving the piston back and forth in coordination with valves to vent and direct the flow of gas into and out of the cylinder. This usually means there will be other piston positions where vent valve(s) are open to ensure atmospheric pressure inside the cylinder. In other words, there will be other values of xx for which the pressure PP will be known. In such a case where both xx and PP are known, we may solve for nn, and then be confident that value of nn will be the same for other piston positions because the vent valves close off before compression begins, trapping all gas molecules inside the cylinder.

Representing two such conditions, using subscripts to distinguish pressures and piston positions in each of the two conditions. Here, we will assume that the gas temperature is the same in both conditions, to simplify the problem:

Figure 34.35
Figure 34.35

Now that we have a means to solve for nn, we may use substitution again to replace nn in the “compressed” formula (condition 2) with the nn from the “vented” formula (condition 1). A key assumption in making this substitution is that we know nn will actually be the same value for those two conditions, which is a safe assumption because compression machines seal off the cylinder (preventing gas entry or escape) prior to the compression stroke of the piston.

Figure 34.36
Figure 34.36

To do this substitution, we must first manipulate the first equation to solve for nn, then replace nn in the second equation with our manipulated first equation:

P1=nRTπr2x1P_1 = {nRT \over \pi r^2 x_1} n=πr2x1P1RTn = {\pi r^2 x_1 P_1 \over RT} Substituting . . .  n\hbox{Substituting . . .} \; n P2=(πr2x1P1RT)RTπr2x2P_2 = {\left({\pi r^2 x_1 P_1 \over RT}\right) RT \over \pi r^2 x_2}

Here we see something very interesting: following the substitution, many of the variables and constants cancel each other out, leaving us with a much simpler formula solving for P2P_2 in terms of x1x_1 and x2x_2. First, we cancel RTRT out of the numerator:

P2=(πr2x1P1RT)RTπr2x2P_2 = {\left({\pi r^2 x_1 P_1 \over RT}\right) RT \over \pi r^2 x_2} P2=πr2x1P1πr2x2P_2 = {\pi r^2 x_1 P_1 \over \pi r^2 x_2}

Next, we cancel out πr2\pi r^2 from numerator and denominator:

P2=x1P1x2P_2 = {x_1 P_1 \over x_2} P2=x1x2P1P_2 = {x_1 \over x_2} P_1

Thus, the machine's gas pressure in the compressed condition is a simple ratio of its two piston positions multiplied by the absolute pressure in the vented condition.

Double-checking calculations

When performing calculations to arrive at an answer to some problem, it is important to check your work. Even if all the algebraic work you've done is perfectly correct, it is still possible to commit simple “keystroke” errors while entering numbers or executing operations on your calculator, and/or to make simple mental-math calculation errors. For this reason, teachers from time immemorial have encouraged their students to double-check their work.

What many students tend to do, unfortunately, is check their work by following all the same steps one more time and seeing if they get the same answer as before. While this might make sense to do at first, it actually invites the exact same errors, because our short-term memory for calculator keystrokes and mental math operations tends to be quite good. If we made a keystroke error the first time, we are very likely to make the exact same keystroke error the second time, simply following muscle memory.

A good way to avoid this error is to check your mathematical work backwards, beginning with the answer you previously calculated, working backwards through the equations to see if you can arrive at one of the values given to you at the start of the problem. This technique forces you to approach the problem differently, using different keystrokes in different orders.

For example, suppose you were tasked with calculating the pressure generated by a vertical column of liquid inside a process vessel, in order to properly set the lower- and upper-range values (LRV and URV) for the hydrostatic level transmitter:

Figure 34.37
Figure 34.37

The pressure seen by the transmitter at a 0% level condition (empty vessel) should be only that produced by the 2.5 foot height of the impulse tubing filled with process fluid:

P=γhP = \gamma h P=(58.3 lb/ft3)(2.5 ft)P = (58.3 \hbox{ lb/ft}^3)(2.5 \hbox{ ft}) P=145.75 lb/ft2=1.012 PSIP = 145.75 \hbox{ lb/ft}^2 = 1.012 \hbox{ PSI}

Likewise, the pressure seen by the transmitter at a 100% level condition should be that produced by the impulse tubing height and the vessel's internal fill of 8 feet:

P=γhP = \gamma h P=(58.3 lb/ft3)(2.5 ft+8 ft)P = (58.3 \hbox{ lb/ft}^3)(2.5 \hbox{ ft} + 8 \hbox{ ft}) P=(58.3 lb/ft3)(10.5 ft)P = (58.3 \hbox{ lb/ft}^3)(10.5 \hbox{ ft}) P=612.15 lb/ft2=4.251 PSIP = 612.15 \hbox{ lb/ft}^2 = 4.251 \hbox{ PSI}

If we wished to check our final answer of 4.25 PSI, we could work backwards from this result to try to calculate the total fluid height of 10.5 feet, or work backwards to calculate the fluid density of 58.3 lb/ft3^{3}. Let's do the latter and see what we get:

γ=Ph\gamma = {P \over h} γ=612.15 lb/ft210.5 ft\gamma = {612.15 \hbox{ lb/ft}^2 \over 10.5 \hbox{ ft}} γ=58.3lb/ft3\gamma = 58.3 \hbox{lb/ft}^3

Although this technique may seem obvious, it nevertheless avoids the pitfalls of repeating keystroke errors, which is an error plaguing the work of many students!

A variation on this theme is to calculate a quantity not given or reached in any of the initial problems. Here, for example, we were tasked with determining the transmitter's lower- and upper-range values (pressures at 0% fill and 100% fill). One way to check our work is to see if a different fill condition such as 50% gives us a pressure value lying exactly half-way between the LRV of 1.012 PSI and the URV of 4.251 PSI.

If we imagine the vessel half-full, our total liquid height seen by the transmitter will be 4 feet plus the suppression value of 2.5 feet, or 6.5 feet total. Calculating hydrostatic pressure at this liquid height:

P=γhP = \gamma h P=(58.3 lb/ft3)(2.5 ft+4 ft)P = (58.3 \hbox{ lb/ft}^3)(2.5 \hbox{ ft} + 4 \hbox{ ft}) P=(58.3 lb/ft3)(6.5 ft)P = (58.3 \hbox{ lb/ft}^3)(6.5 \hbox{ ft}) P=378.95 lb/ft2=2.632 PSIP = 378.95 \hbox{ lb/ft}^2 = 2.632 \hbox{ PSI}

A simple way to check that 2.632 lies half-way in between 1.012 and 4.251 is to calculate the average value of 1.012 and 4.251:

1.012+4.2512=2.632{{1.012 + 4.251} \over 2} = 2.632

Sure enough, it checks out to be correct. This is good validation of our initial work in calculating the transmitter's LRV of 1.012 PSI and URV of 4.251 PSI.

Yet another variation on this same theme of checking your work different ways is to approach the problem differently altogether. We know we may calculate the LRV and URV pressure values for this process vessel and fluid if we convert the fluid's density into a specific gravity value (58.3 lb/ft3^{3} = 0.9339) and then calculate hydrostatic pressure as though we were dealing with inches water column, corrected for the specific gravity of this process fluid.

A height of 2.5 feet (0% level) is 30 inches, which when multiplied by the specific gravity value of 0.9339 yields 28.016 inches WC, which is equivalent to our first calculated pressure value of 1.012 PSI.

A height of 10.5 feet (100% level) is 126 inches, which when multiplied by the specific gravity value of 0.9339 yields 117.67 inches WC, which is equivalent to our first calculated pressure value of 4.251 PSI.

As you can see, solving for LRV and URV pressures using an entirely different technique yields the same answers as before, which is good validation of our original work.

It is important to note that double-checking your work in this manner merely helps confirm your original work, but it does not conclusively prove your original answers are correct. For example, one of the numbers we keep using in the URV calculations is the total liquid height of 10.5 feet. Suppose, though, that this height value was something we incorrectly calculated mentally by adding the suppression and the range heights. For example, suppose our actual given heights in the problem were a 2.5 feet suppression height and a 7 foot measurement range, and we mistakenly added 2.5 feet and 7 feet in our heads to get 10.5 feet. If that were the case, both the original URV pressure calculation and the subsequent double-checks might still agree with one another, but could still be wrong because they all depend on that same 10.5 foot height value.

The most realistic attitude to maintain in all problem-solving is scientific skepticism: there is no such thing as absolute proof so long as the potential for error exists. Given that you are a human being – liable to all manner of fallacies and mistakes – absolute proof will forever lie outside your grasp. The best we can do is incrementally minimize the potential for errors and mistakes, and accept the inevitable uncertainty.

Maintaining relevance of intermediate calculations

A very common attitude I've noticed with students is something I like to call “any procedure, so long as it works.” When learning to solve particular types of quantitative problems, the natural tendency is to identify procedural techniques for calculating the correct answer(s), and then practice those procedures until they can be performed without flaw. Unfortunately, it is all too easy to lose focus on principles when the learning emphasis is on procedure. The allure of a procedure guaranteed to yield correct answers overshadows the greater need to master and apply fundamental principles, leading to poor problem-solving ability masked by an illusion of competence.

This is a significant obstacle to deep and significant learning in the sciences, and there is no one solution to it. However, there is a way to identify and self-correct this behavior in some contexts, and it relies on a habit of identifying the real-world relevance of all intermediate calculations within a quantitative problem.

To illustrate, let us consider a simple voltage divider circuit comprised of two resistors, where some amount of supply voltage is divided into a smaller proportion to become the output voltage signal. The problem at hand is calculating the output voltage of this divider circuit, knowing the values of supply voltage and resistor resistances:

Figure 34.38
Figure 34.38

One of the basic formulae all beginning electronics students learn is the appropriately named voltage divider formula, shown here:

Vout=Vsupply(R2R1+R2)V_{out} = V_{supply} \left( {R_2 \over R_1 + R_2} \right)

Calculating VoutV_{out} is a simple matter of substituting known values of voltage and resistance into this formula, then performing the necessary arithmetic. However, the procedure by which a student evaluates this formula – particularly in regard to the understanding of fundamental concepts – matters greatly to that student's mastery of circuit analysis.

Suppose a student evaluates the voltage divider formula according to the order of operations enforced by the parentheses. Note the sequence of steps in this procedure, and how each step yields a value relevant to the voltage divider circuit:

StepCalculationUnit of measurementMeaning
1R1+R2R_1 + R_2OhmsTotal circuit resistance (RtotalR_{total})
2R2÷RtotalR_2 \div R_{total}(unitless)Voltage division ratio
3Vsupply× RatioV_{supply} \times \hbox{ Ratio}VoltsOutput voltage (VoutV_{out})

Now let us suppose a student calculates the exact same output voltage for this divider circuit using a modified version of the voltage divider formula. This formula may be derived from the original version by applying the commutative property of multiplication, simply swapping the positions of R2R_2 and VsupplyV_{supply}:

Vout=R2(VsupplyR1+R2)V_{out} = R_2 \left( {V_{supply} \over R_1 + R_2} \right)

The proper order of operations for this modified formula will be different from the original version, but the final result (VoutV_{out}) will be identical. Each step of the evaluation still yields a value relevant and applicable to the voltage divider circuit:

StepCalculationUnit of measurementMeaning
1R1+R2R_1 + R_2OhmsTotal circuit resistance (RtotalR_{total})
2Vsupply÷RtotalV_{supply} \div R_{total}AmpsCircuit current (II)
3R2×IR_2 \times IVoltsOutput voltage (VoutV_{out})

Finally, let us suppose a student calculates the exact same output voltage for this divider circuit using another modified version of the voltage divider formula. This formula may be derived from the original version by applying the associative property of multiplication, grouping R2R_2 and VsupplyV_{supply} together into the denominator of the fraction:

Vout=R2VsupplyR1+R2V_{out} = {R_2 V_{supply} \over R_1 + R_2}

The proper order of operations for this modified formula will be different from the original version, but the final result (VoutV_{out}) will be identical. Note, however, the irrelevance of the result in step #2:

StepCalculationUnit of measurementMeaning
1R1+R2R_1 + R_2OhmsTotal circuit resistance (RtotalR_{total})
2R2×VsupplyR_2 \times V_{supply}Volt-ohms???
3Rtotal× previous resultR_{total} \times \hbox{ previous result}VoltsOutput voltage (VoutV_{out})

Despite the mathematical equivalence of this last formula to the prior two, step #2 makes no conceptual sense whatsoever. The product of resistance and voltage, while mathematically useful in solving for VoutV_{out}, has no practical meaning within this or any other circuit.

Conceptual problem-solving is an important skill, because it is only by mastering fundamental concepts can one become proficient in solving any arbitrary problem involving those concepts. Procedural problem-solving is useful only when applied to the specific type of problem the procedure was developed for, and useless when faced with any other type of problem. A student who understands the meaning of each step as they evaluate a voltage divider circuit will have little problem solving for quantities in other electrical circuits. A student who has merely memorized a step-by-step procedure for evaluating a voltage divider will struggle trying to solve for quantities in other circuits, unless they happen to have memorized step-by-step procedures for all those other circuits as well.

Troubleshooting is also closely linked with conceptual understanding. In my years as an instructor of electronics and instrumentation, I have seen an almost perfect correlation between conceptual understanding and diagnostic proficiency: procedural thinkers are invariably poor troubleshooters, and poor troubleshooters are invariably procedural thinkers.

The practical lesson we may draw from this example of voltage divider circuit evaluation is the importance of identifying the meaning of every intermediate result. If you ever find yourself performing calculations, unable to explain the practical significance of every step you take, it means you are thinking procedurally rather than conceptually. Instructors may apply this standard to their students' work by asking students to explain the meaning of each and every calculation they perform.

Problem-solving by simplification

A whole class of problem-solving techniques focuses on altering the given problem into a simpler form that is easier to analyze. Once a solution is found to the simplified problem, fresh ideas for attacking the original problem often become clear. This section will highlight multiple techniques for problem-simplification, as well as other useful techniques for problem-solving.

The first step, however, to problem simplification is to “give yourself the right” to alter the problem into a different form! Many students tend to avoid this, for fear of “getting off track” and losing sight of the original problem. What is needed is a spirit of adventure: a willingness and a confidence to explore the possibilities. Do not think you must solve exactly the problem that is given to you at first. Modify the problem, solve the simpler version of that problem, then apply the lessons and patterns obtained from that solution to the original (more complex) problem!

Limiting cases

A powerful method for analyzing the effects of a change in some system is to consider the effects of “extreme” changes, which are often easier to visualize than subtle changes. Such “extreme” changes are examples of what is generally known in science as a limiting case: a special case of a more general rule or trend, possessing fewer possibilities. By virtue of the fact that limiting cases have fewer possibilities, applying a limiting case to a given problem generally simplifies that problem.

Consider, for example, this Wheatstone bridge circuit, where changes in the thermistor's resistance (with temperature) affect the output voltage of the bridge:

Figure 34.39
Figure 34.39

A realistic question to ask of this circuit is, “what will happen to VoutV_{out} when the thermistor's resistance increases?” If our only goal is to arrive at a qualitative answer (e.g. increase/decrease, positive/negative), we may simplify the problem by considering the effects of the thermistor failing completely open, because an “open” fault is nothing more than an extreme example (a limiting case) of a resistance increase.

If we perform this “thought experiment” on the bridge circuit, the circuit becomes simpler because we have eliminated one resistor (the thermistor):

Figure 34.40
Figure 34.40

With the thermistor eliminated from the circuit, we see that test point B has lost its connection to the negative terminal of the voltage source. This can only mean one thing for the potential at test point B: it will become more positive (less negative). If the bridge circuit happened to be balanced prior to the thermistor fault, VoutV_{out} will now be such that B is positive and A is negative by comparison.

Analyzing the results of this limiting case even further, we can see that resistor R2R_2 now carries zero current (thanks to the thermistor now being failed open), which means R2R_2 will now drop zero voltage. If R2R_2 drops no voltage at all, test point B must now be at the exact same potential as the positive terminal of the voltage source. This being the case, measuring VoutV_{out} between test points A and B will be equivalent[1] to measuring voltage across R1R_1. Thus, the limiting case of VoutV_{out} for an increase in thermistor resistance is VR1V_{R1}, with B positive and A negative.

Another realistic question to ask of this circuit is, “what will happen to VoutV_{out} when the thermistor's resistance decreases?” Once again, the problem-solving technique of limiting cases helps us by transforming the four-resistor bridge circuit into a three-resistor bridge circuit. The limiting case of a resistance decrease would be a condition of no resistance: a shorted thermistor:

Figure 34.41
Figure 34.41

With the thermistor shorted in this “thought experiment,” we see that test point B now becomes electrically common with the negative terminal of the voltage source. This, of course, has the effect of making test point B as negative as it can possibly be. More specifically, by making test point B electrically common with the bottom node of the bridge, it makes VoutV_{out} equal[2] to the voltage drop across R3R_3. Thus, the limiting case of VoutV_{out} for a decrease in thermistor resistance is VR3V_{R3}, with A positive and B negative.

Let us consider another application of this problem-solving technique, this time to the analysis of a passive filter circuit:

Figure 34.42
Figure 34.42

If the type of filter circuit shown here were unknown (i.e. the student could not identify it as a low-pass, high-pass, band-pass, or band-stop filter circuit at first sight), the technique of limiting cases could be applied to determine its behavior. In this case, the limit to apply is one of frequency: we may perform “thought experiments” whereby we imagine the input frequency being extremely low, versus being extremely high.

We know that the reactance of an inductor is directly proportional to frequency (XL=2πfLX_L = 2 \pi f L) and that the reactance of a capacitor is inversely proportional to frequency (XC=12πfCX_C = {1 \over {2 \pi f C}}). Therefore, at an extremely low frequency (f=f = 0 Hz), the inductor will act like a short while the capacitor acts like an open:

Figure 34.43
Figure 34.43

Likewise, at extremely high frequencies (f=∞f = \infty), the capacitor will act like a short while the inductor acts like an open:

Figure 34.44
Figure 34.44

From these two limiting-case “thought experiments” we may conclude that the filter circuit is neither a low-pass nor a high-pass, because it neither passes low-frequency signals nor high-frequency signals. We may also conclude that it is not a band-stop filter, because that would pass both low-frequency and high-frequency signals. This means it must be a band-pass filter, by eliminating the other three alternatives.

If we would wish to confirm the band-pass nature of this filter by a positive experimental result rather than merely by eliminating what it is not, we could perform one more limiting-case “thought experiment:” a condition where the signal frequency exactly equals the resonant frequency of the LC network (f=12πLCf = {1 \over 2 \pi \sqrt{LC}}). Here, we must recall the principle that a parallel LC network has infinite impedance at its resonant frequency:

Figure 34.45
Figure 34.45

In this “thought experiment” we see that the LC network will be completely “open” and allow 100% of the input signal to appear at the output terminals. Thus, it becomes clear that this passive circuit functions as a band-pass filter.

As with the Wheatstone bridge circuit, the value of limiting-case analysis is that it acts to simplify the system by effectively eliminating components (replacing them with “shorts” or “opens”). Even in non-electrical problems, limiting cases works the same by simplifying a system's behavior so that it becomes easier to apprehend, and from these simplified cases we may usually determine behavioral trends of the system (e.g. which way it tends to respond as some variable increases or decreases).

Scientific system diagnosis

At the root of successful system diagnosis is a rigorous adherence to scientific reasoning. There exists no single algorithmic approach to solving problems, but rather a singular mind-set characterized by the following traits:

  • Curiosity
  • Persistence
  • Attention to detail
  • Diligence in checking conclusions
  • Regular checking of assumptions
  • A willingness to abandon ideas based on contrary evidence

Science is, at its heart, a methodology useful to identify causes and effects. Thus, it is well-suited to the problem of system diagnosis, where our goal is to quickly and accurately identify the cause(s) behind improper operation (effects).

Scientific method

Although no one technique seems to be universally recognized as “the scientific method,” the following steps are commonly applied in science to determine causes and effects:

  • Observe effects, and then create hypotheses (explanations accounting for those observations)
  • Design a test for one or more of those hypotheses
  • Perform the test (experiment), and collect data from it
  • Validate or invalidate the hypotheses based on the data
  • Repeat

Perhaps the most challenging step in this method is designing a good test for the hypotheses. By “test” I mean a trial that really challenges each hypothesis, and doesn't just collect more data to support it. A good way to help yourself devise a rigorous test of any hypothesis is to keep these two questions in mind:

“If this hypothesis is true, what other effects should we see if we look for them?”

. . . and . . .

“If this hypothesis is false, what other effects should we not see if we look for them?”

An ideal test (experiment) is one that answers both of these questions at once, providing both positive and negative evidence.

In contrast to scientific diagnosis is a technique a colleague of mine refers to as “Easter-egging,” where the troubleshooter tries to find the problem by individually checking every component or possible fault they can think of, in serial fashion. The term “Easter-egging” invokes the image of children hunting for hidden eggs on Easter morning, randomly searching in every place they can think of where an egg might be hidden. There is no logical reasoning to “Easter-egging” and so it is a very inefficient method of solving system problems.

Occam's Razor

A very helpful principle in scientific testing is something called Occam's Razor, a rule stating that the simplest explanation for any observed effects is usually the most accurate. While not infallible, Occam's Razor is nevertheless a valid “gambling strategy” based on simple probability. In system troubleshooting, it means that a single fault is more likely to account for the symptoms than a set of coincidental faults. For this reason, it is generally good practice to enter a troubleshooting scenario with the assumption that only one thing is wrong, unless the data conclusively points otherwise.

Diagnosing intermittent problems

Intermittent faults are some of the most challenging to diagnose, for the simple reason that the relevant symptoms come and go. A persistent fault is easier to solve because the data is continuously there for inspection.

The key to troubleshooting intermittent faults is to set up test equipment to capture events that occur when you are not directly observing them. Some suggested methods include:

  • Using the “Min/Max” capture mode on a digital multimeter (DMM)
  • Using a data recorder or event logger to capture signal history
  • Looking for evidence left by certain intermittent faults (e.g. if the suspected fault is high temperature at a certain location, looking for evidence such as charring or discoloration that would be caused by high temperature at some past time)
  • Using videorecording equipment to capture events

Perhaps one of the most useful features of modern digital multimeters is the ability to capture minimum and maximum signal levels. Many times I have used this feature on my own meter to monitor the highs and lows of some signal in order to capture evidence of an intermittent fault. This is also useful for monitoring signal changes that happen too fast to see on the display of a meter (e.g. detecting the peak pulse amplitude of a fast signal). While limited to the sample rate of the digital meter, it remains a powerful tool in the hands of a knowledgeable technician.

A colleague of mine once diagnosed a complex, intermittent problem on a natural gas compressor unit by setting up a video camera to film the control panel gauges on the compressor, then reviewing the video recording frame-by-frame after the camera had recorded a “trip” event. This kind of creativity is often key to diagnosing intermittent problems.

Strategy: tracing data paths

A method often useful for tracing the location of faults in complex systems is to identify where data is coming from (source), where it is going (destination), and all paths taken by the data in between. If we then plot those paths on a one-line diagram of the system, the intersection of paths often tells us where the problem lies.

For example, consider this system of networked devices in a data acquisition system:

Figure 34.46
Figure 34.46

Suppose operations personnel noticed they could no longer access any protective relay data from the left-most display station connected to the world-wide web (Internet), but they could still access live weather station data from that same display station. Applying the technique of tracing data paths may be helpful to us in locating the fault in this complex system, and also devising a good test to pinpoint the location.

Here we see the same system with green and red lines overlaid showing good data paths and failed data paths:

Figure 34.47
Figure 34.47

Note how these two paths overlap in the display station, the world-wide-web, and the ISDN router. Since data from the weather station is getting through this part of the path just fine, yet protective relay data is not, the most likely location of the fault is in a part of the system where these two data paths are not common. In other words, it is unlikely that the problem lies within the display station, the Internet, or the ISDN router, because all those component are proven to work just fine for the weather station data. A more probable location of the fault is in an area of the “bad” data path that is not common to the “good” data path. In this particular case, it points to a problem from the ISDN router to the DeviceNet network.

A good test to do at this point is to try “pinging” the right-most personal computer from one of the other two personal computers connected directly to the ISDN router. This would be testing a data path from one PC to the other, thereby testing the integrity of the right-most PC and the cable connecting it to the ISDN router. If this test is successful, the problem likely lies farther beyond the PC (e.g. in the DeviceNet network) ; if this test is unsuccessful, the problem likely lies within that PC or within the cabling connecting it to the router.

Note the careful use of the words “likely” and “probable” in the hypotheses. Hypotheses are uncertain by their very nature, and are never “proven” in any final sense. Even though our initial approach of sketching and comparing data pathways suggests a problem between the ISDN router and the DeviceNet network connecting the protective relays together, it is still possible for the problem to lie somewhere closer to the display station. If, for example, the display station relied on dedicated software “drivers” to properly poll and interpret data from the protective relay network that were not used to do the same for weather station data, the problem could actually lie within the display station! A corrupted relay driver would prevent that station from properly displaying protective relay data and yet permit the display of weather station data. In order for our data path tracing procedure to encompass this possibility, we would need to show the pathways splitting within the display station, so they would no longer be common to each other:

Figure 34.48
Figure 34.48

As always, the assumptions we embed into our hypotheses can skew their validity. If we assume completely overlapping data paths for protective relay and weather data within the display station, we would not recognize the possibility of a driver problem.

Common diagnostic mistakes

Volumes could be written about poor diagnostic technique. The following mistakes are not intended to comprise a comprehensive list, but are merely warnings against errors that are all too common among students and within the profession.

Failing to gather data

Perhaps the most common mistake made by technicians attempting to diagnose a system problem is failing to gather data (i.e. taking measurements and performing simple system tests) during the troubleshooting process. Even a small amount of data gathered from a system may profoundly accelerate the process of diagnosis.

A colleague of mine has a very descriptive term for the poor habit of looking for faults before gathering data: Easter-Egging. The idea is that a technician goes about finding the problem in a system the same way they might go about searching for eggs hidden on Easter morning: randomly. With Easter egg hunting, the eggs could literally be hidden anywhere, and so there is no rational way to proceed on a search. In like manner, a technician who lacks information about the nature or source of a system problem is likely to hunt in random fashion for its source. Not only will this likely require significant time and effort, but it may very well fail entirely.

A much more efficient way to proceed is to gather new data with each and every step in the troubleshooting process. By “gathering data,” I mean the following:

  • Taking measurements with test equipment (multimeter, pressure gauges, etc.)
  • Observing equipment indicator lights
  • Stimulating the system and observing its response(s)
  • Using your other senses (smell, hearing, touch) to gather clues
  • Documenting new data in a notepad to help track and analyze the results of your measurements and tests

Failing to use relevant documentation

Diagrams are indispensable “maps” for solving problems in complex systems. A critical first step in diagnosing any system problem is to obtain correct diagrams of the system, so that you may see the pathways of power and signals in the system. Attempting to diagnose a system problem without consulting the relevant diagrams is like trying to find your way around a city without a map.

A corollary to the rule of obtaining relevant diagrams is to use them when reasoning through fault scenarios. All too often I see students locate the diagram for a system, glance at it, then set it aside and proceed to stumble through the rest of the diagnosis because they try to trace all the signal paths in the real world as they assess fault possibilities and devise tests. Diagrams are laid out in a clean and logical format for a reason: it is much easier to follow the flow of signals and power in a diagram than it is to follow the same flow through the convoluted paths of real-world wires and cables. If you reject the diagram in favor of tracing all pathways by looking at the real-world system, you are needlessly adding complexity to the problem: not only do you have to reason through the fault hypotheses and diagnostic tests, but you also must mentally “un-tangle” the signal paths as they are laid out in the real world (which can be a daunting task in itself!). Do all your diagnostic thinking while looking at the diagram, and refer to the real-life system only when the time comes to execute a diagnostic test. The result will be a much faster and less frustrating experience than if you try to trace everything in real life.

When diagnosing a problem in a system where one or more of the key components are unfamiliar to you, it is important to consult the relevant technical literature on those components. This is especially true if the component in question has been identified as suspect by your diagnostic test(s) and it is quite complex (e.g. loop controller, PLC, motor drive, data acquisition module, etc.). Just a few minutes' worth of reading the manual may save you hours of fruitless diagnosis.

This point also underscores the necessity of technical reading as a skill to be practiced and honed at every opportunity. Being able to quickly locate pertinent information in a dense technical document is key to fast and efficient troubleshooting!

Fixating on the first hypothesis

When diagnosing a faulted system, an efficient strategy is to brainstorm multiple hypotheses accounting for the symptoms, then devise tests to support or discredit those hypotheses in the fewest steps.

Let me illustrate by example. Suppose a pump motor is controlled by a PLC, the PLC sending a command signal to a variable-frequency motor drive (VFD) to command the motor to start and stop:

Figure 34.49
Figure 34.49

If the motor refuses to start when the “Pump start” icon is pressed on the HMI screen, a competent troubleshooter will begin to mentally list a range of problems that could prevent the motor from starting:

  • Motor faulted
  • VFD lacking power
  • VFD not configured properly to receive signal from PLC
  • PLC output defective, not sending signal to VFD
  • PLC program halted or faulty
  • HMI not sending signal to PLC
  • . . . etc.

After brainstorming such a list, a competent troubleshooter will then devise a simple test to “divide the problem space in half.” One such test[3] in this system would be to use a multimeter to measure the electrical signal from the PLC's output card to the VFD input terminals. If a signal appears when the “Pump start” icon on the HMI is pressed, it means everything in the HMI and PLC is working as it should, and that the problem must lie with the VFD or beyond. If no signal appears, it means the problem lies with the VFD, HMI, or associated cabling. Again, the wise strategy is to brainstorm multiple hypotheses explain why the motor won't start, then execute simple tests to eliminate most of those hypotheses so you may focus on those that are most likely.

By contrast, a novice might only think of one possibility – such as the VFD being improperly configured – and then immediately fixate on that hypothesis by inspecting the drive parameters looking for one that is improperly set. If the fault lies elsewhere, the novice could spend all day reviewing VFD parameters and never find the problem. Given the wide range of possible faults, fixating on any one fault from the start is very likely a waste of time. I have watched technicians and students alike waste hours of time trying to find a fault that was not where they were looking, simply because that was the first area they thought of to look toward. Only after squandering valuable time on one failed hypothesis will the novice then consider other possibilities and other tests.

Failing to build and test a new system in stages

Technicians must sometimes assemble new systems from components. A very common mistake is to assemble the system completely before attempting to test it for proper operation. This is almost always a grievous mistake.

The number of potential mistakes one can make when assembling a brand-new system is quite large. Given this large set of potential mistakes, the probability of making multiple mistakes when assembling the system is very high. Since diagnosis of a system with multiple faults is always more complicated than diagnosing a system with one fault, waiting for the entire system to be assembled before checking it invites multi-fault scenarios.

To illustrate, consider this pressure-control system, where an electronic pressure transmitter sends a 4-20 mA signal to a loop controller, which in turn drives a control valve with another 4-20 mA signal:

Figure 34.50
Figure 34.50

Imagine building this system, placing each component in the proper location, connecting all wires together, and testing it for proper operation. If one were to wait until the entire system were assembled before testing, the probability of having to diagnose multiple faults would be great.

A better strategy would be to assemble and test the system in stages. Consider this sequence of steps as a more practical alternative:

  1. Install the I/P transducer, connecting air tubes to supply and valve diaphragm.
  2. Test the I/P and control valve operation using a loop calibrator in “source” mode to drive a 4-20 mA signal to the I/P.
  3. Install and wire power to the loop controller, ensuring it powers up properly.
  4. Connect cabling between the I/P and the loop controller's output.
  5. Test the controller's ability in manual mode to “stroke” the control valve throughout its entire range.
  6. Connect wires between the loop controller's input and the 250 ohm resistor on the terminal block.
  7. Test the controller's ability to properly read an input signal by using a loop calibrator to drive 4-20 mA through the 250 ohm resistor.
  8. Install the pressure transmitter, connecting impulse line between it and the process line.
  9. Power the transmitter with a portable DC power supply (or loop calibrator set to the appropriate mode) and check its calibration by applying known pressures to the input tube.
  10. Connect wires between the permanent DC power supply, the transmitter, and the controller's input.
  11. Apply pressure to the transmitter input and check to see that it reads properly on the controller's digital display.
  12. Test the controller's ability to monitor and control process pressure in manual mode.
  13. Perform manual-mode (open-loop) tests to verify process characteristics and obtain data needed for loop tuning (e.g. lag time, dead time, etc.).
  14. Enter preliminary PID tuning parameter values.
  15. Test the controller's ability to monitor and control process pressure in automatic mode.
  16. Modify PID tuning parameter values and re-test in automatic mode until robust control is obtained.

Note how the pressure control instrumentation is constructed and then immediately tested as a series of sub-systems, rather than assembling the entire thing and testing only at the very end. Although the built-test-build sequence shown here may appear to be more time-intensive at first blush, it will actually save a lot of time and confusion over the build-everything-then-test-last method favored by novices.

Helpful “tricks” using a digital multimeter (DMM)

The digital multimeter (DMM) is quite possibly the most useful tool in the instrument technician's collection[4]. This one piece of test equipment, properly wielded, yields valuable insight into the status and operation of many electrical and electronic systems. Not only is a good-quality multimeter capable of precisely indicating electrical voltage, current, and resistance, but it is also useful for more advanced tests. The subject of this section is how to use a digital multimeter for some of these advanced tests[5].

For all these tests, I suggest the use of a top-quality field multimeter. I am personally a great fan of Fluke brand meters, having used this particular brand for nearly my whole professional career. The ability of these multimeters to accurately measure true RMS amplitude, discriminate between AC and DC signals, measure AC signals over a wide frequency range, and survive abuse both mechanical and electrical, is outstanding.

Recording unattended measurements

Many modern multimeters have a feature that records the highest and lowest measurements sensed during the duration of a test. On Fluke brand multimeters, this is called the Min/Max function. This feature is extremely useful when diagnosing intermittent problems, where the relevant voltages or currents indicating or causing the problem are not persistent, but rather come and go. Many times I have used this feature to monitor a signal with an intermittent “glitch,” while I attended to other tasks.

The most basic high-low capture function on a multimeter only tells you what the highest and lowest measured readings were during the test interval (and that only within the meter's scan time – it is possible for a very brief transient signal to go undetected by the meter if its duration is less than the meter's scan time). More advanced multimeters actually log the time when an event occurs, which is obviously a more useful feature. If your tool budget can support a digital multimeter with “logging” capability, spend the extra money and take the time to learn how this feature works!

Avoiding “phantom” voltage readings

My first “trick” is not a feature of a high-quality DMM so much as it is a solution to a common problem caused by the use of a high-quality DMM. Most digital multimeters exhibit very high input impedance in their voltage-measuring modes. This is commendable, as an ideal voltmeter should have infinite input impedance (so as to not “load” the voltage signal it measures). However, in industrial applications, this high input impedance may cause the meter to register the presence of voltage where none should rightfully appear.

Consider the case of testing for the absence of AC voltage on an isolated power conductor that happens to lie near other (energized) AC power conductors within a long run of conduit:

Figure 34.51
Figure 34.51

With the power switch feeding wire 5 in the open state, there should be no AC voltage measured between wire 5 and neutral (L2), yet the voltmeter registers slightly over 10 volts AC. This “phantom voltage” is due to capacitive coupling between wire 5 and wire 8 (still energized) throughout the length of their mutual paths within the conduit.

Such phantom voltages may be very misleading if the technician encounters them while troubleshooting a faulty electrical system. Phantom voltages give the impression of connection (or at least high-resistance connection) where no continuity actually exists. The example shown, where the phantom voltage is 10.3 volts compared to the source voltage value of 120 volts, is actually quite modest. With increased stray capacitance between the conductors (longer wire runs in close proximity, and/or more than one energized “neighboring” wire), phantom voltage magnitude begins to approach that of the source voltage[6].

The equivalent circuit is shown here, with the DMM modeled as a 10 MΩ\Omega resistance:

Figure 34.52
Figure 34.52

An analog voltmeter would never have registered 10.3 volts under the same conditions, due to its substantially lower input impedance. Thus, “phantom voltage” readings are a product of modern test equipment more than anything else.

The obvious solution to this problem is to use a different voltmeter – one with a much lesser input impedance. But what is a technician to do if their only voltmeter is a high-impedance DMM? Connect a modest resistance in parallel with the meter input terminals, of course! Fluke happens to market just this type of accessory[7], the SV225 “Stray Voltage Adapter” for the purpose of eliminating stray voltage readings on a high-impedance DMM:

Figure 34.53
Figure 34.53

With the voltmeter's input impedance artificially decreased by the application of this accessory, the capacitive coupling is insufficient to produce any substantial voltage dropped across the voltmeter's input terminals, thus eliminating. The technician may now proceed to test for the presence of AC control signal (or power) voltages with confidence.

Non-contact AC voltage detection

While the last multimeter “trick” was the elimination of a parasitic effect, this trick is the exploitation of that same effect: “phantom voltage” readings obtained through capacitive coupling of a high-impedance voltmeter to a conductor energized with AC voltage (with respect to ground). You may use a high-impedance AC voltmeter to perform qualitative measurements of ground-referenced AC power voltage by setting the meter to the most sensitive AC range possible, grounding one test lead, and simply touching the other test lead to the insulation of the conductor under test. The presence of voltage (usually in the range of millivolts AC) upon close proximity to the energized conductor will indicate the energization of that conductor.

This trick is useful for determining whether or not particular AC power or control wires are energized in a location where the only access you have to those wires is their insulating sheaths. An example of where you might encounter this situation is where you have removed the cover from a conduit elbow or other fitting to gain access to a wire bundle, and you find those wires labeled for easy identification, but the wires do not terminate to any exposed metal terminals for you to contact with your multimeter's probe tips. In this case, you may firmly connect one probe to the metal conduit fitting body, while individually touching the other probe tip to the desired conductors (one at a time), watching the meter's indication in AC millivolts.

Several significant caveats limit the utility of this “trick:”

  • The impossibility of quantitative measurement
  • The potential for “false negative” readings (failure to detect a voltage that is present)
  • The potential for “false positive” readings (detection of a “phantom voltage” from an adjacent conductor)
  • The exclusive applicability to AC voltages of significant magnitude (≥\geq 100 VAC)

Being a qualitative test only, the millivoltage indication displayed by the high-impedance voltmeter tells you nothing about the actual magnitude of AC voltage between the conductor and ground. Although the meter's input impedance is quite constant, the parasitic capacitance formed by the surface area of the test probe tip and the thickness (and dielectric constant) of the conductor insulation is quite variable. However, in conditions where the validity of the measurement may be established (e.g. cases where you can touch the probe tip to a conductor known to be energized in order to establish a “baseline” millivoltage signal), the technique is useful for quickly checking the energization status of conductors where ohmic (metal-to-metal) contact is impossible.

For the same reason of wildly variable parasitic capacitance, this technique should never be used to establish the de-energization of a conductor for safety purposes. The only time you should trust a voltmeter's non-indication of line voltage is when that same meter is validated against a known source of similar voltage in close proximity, and when the test is performed with direct metal-to-metal (probe tip to wire) contact. A non-indicating voltmeter may indicate the absence of dangerous voltage, or it may indicate an insensitive meter.

Detecting AC power harmonics

The presence of harmonic voltages[8] in an AC power system may cause many elusive problems. Power-quality instruments exist for the purpose of measuring harmonic content in a power system, but a surprisingly good qualitative check for harmonics may be performed using a multimeter with a frequency-measuring function.

Setting a multimeter to read AC voltage (or AC current, if that is the quantity of interest) and then activating the “frequency” measurement function should produce a measurement of exactly 60.0 Hz in a properly functioning power system (50.0 Hz in Europe and some other parts of the world). The only way the meter should ever read anything significantly different from the base frequency is if there is significant harmonic content in the circuit. For example, if you set your multimeter to read frequency of AC voltage, then obtained a measurement of 60 Hz that intermittently jumped up to some higher value (say 78 Hz) and then back down to 60 Hz, it would suggest your meter was detecting harmonic voltages of sufficient amplitude to make it difficult for your meter to “lock on” to the fundamental frequency.

It is very important to note that this is a crude test of power system harmonics, and that measurements of “solid” base frequency do not guarantee the absence of harmonics. Certainly, if your multimeter produces unstable readings when set to measure frequency, it suggests the presence of strong harmonics in the circuit. However, the absence of such instability does not necessarily mean the circuit is free of harmonics. In other words, a stable reading for frequency is inconclusive: the circuit might be harmonic-free, or the harmonics may be weak enough that your multimeter ignores them and only displays the fundamental circuit frequency.

Identifying noise in DC signal paths

An aggravating source of trouble in analog electronic circuits is the presence of AC “noise” voltage superimposed on DC signals. Such “noise” is immediately evident when the signal is displayed on an oscilloscope screen, but how many technicians carry a portable oscilloscope with them for troubleshooting?

A high-quality multimeter exhibiting good discrimination between AC and DC voltage measurement is very useful as a qualitative noise-detection instrument. Setting the multimeter to read AC voltage, and connecting it to an signal source where pure (unchanging) DC voltage is expected, should yield a reading of nearly zero millivolts. If noise is superimposed on this DC signal, it will reveal itself as an AC voltage, which your meter will display.

Not only is the AC voltage capability of a high-quality (discriminating) multimeter useful in detecting the presence of “noise” voltage superimposed on analog DC signals, it may also give clues as to the source of the noise. By activating the frequency-measuring function of the multimeter while measuring AC voltage (or AC millivoltage), you will be able to track the frequency of the noise to see its value and stability.

Once on a job I was diagnosing a problem in an analog power control system, where the control device was acting strangely. Suspecting that noise on the measurement signal line might be causing the problem, I set my Fluke multimeter to measure AC volts, and read a noise voltage of several tenths of a volt (superimposed on a DC signal a few volts in magnitude). This told me the noise was indeed a significant problem. Pressing the “Hz” button on my multimeter, I measured a noise frequency of 360 Hz, which happens to be the “ripple” frequency of a six-pulse (three-phase) AC-to-DC rectifier operating on a base frequency of 60 Hz. This told me where the likely source of the noise was, which led me to the physical location of the problem (a bad shield on a cable run near the rectified power output wiring).

Generating test voltages

Modern digital multimeters are fantastically capable measurement tools, but did you know they are also capable of generating simple test signals? Although this is not the design purpose of the resistance and diode-check functions of a multimeter, the meter does output a low DC voltage in each of these settings.

This is useful when qualitatively testing certain instruments such as electronic indicators, recorders, controllers, data acquisition modules, and alarm relays, all designed to input a DC voltage signal from a 250 ohm resistor conducting the 4-20 mA electronic transmitter signal. By setting a multimeter to either the resistance (Ω\Omega) or diode check function and then connecting the test leads to the input terminals of the instrument, the instrument's response may be noted.

Of course, this is a qualitative test only, since multimeters are not designed to output any precise amount of voltage in either the resistance or diode-check modes. However, for testing the basic response of a process indicator, recorder, controller, data acquisition channel, DCS input, or any other DC-signal-receiving devices, it is convenient and useful. In every multimeter I have ever tried this with, the diode-check function outputs more voltage than the resistance measurement function[9]. This gives you two levels of “test signal” generation: a low level (resistance) and a high level (diode check). If you are interested in using your multimeter to generate test voltages, I recommend you take the time to connect your multimeter to a high-impedance voltmeter (such as another digital multimeter set to measure DC volts) and note just how much voltage your meter outputs in each mode. Knowing this will allow you to perform tests that are more quantitative than qualitative.

Using the meter as a temporary jumper

Often in the course of diagnosing problems in electrical and electronic systems, there is a need to temporarily connect two or more points in a circuit together to force a response. This is called “jumpering,” and the wires used to make these temporary connections are called jumper wires.

More than once I have found myself in a position where I needed to make a temporary “jumper” connection between two points in a circuit, but I did not have any wires with me to make that connection. In such cases, I learned that I could use my multimeter test leads while plugged into the current-sensing jacks of the meter. Most digital multimeters have a separate jack for the red test lead, internally connected to a low-resistance shunt leading to the common (black) test lead jack. With the red test lead plugged into this jack, the two test leads are effectively common to one another, and act as a single length of wire.

Figure 34.54
Figure 34.54

Touching the meter's test leads to two points in a circuit will now “jumper” those two points together, any current flowing through the shunt resistance of the multimeter. If desired, the meter may be turned on to monitor how much current goes through the “jumper” if this is diagnostically relevant.

An additional benefit to using a multimeter in the current-measuring mode as a test jumper is that this setting is usually current-protected by a fuse inside the meter. Applying jumper wires to a live circuit may harbor some danger if significant potential and current-sourcing capability exist between those two points: the moment a jumper wire bridges those points, a dangerous current may develop within the wire. Using the multimeter in this manner gives you a fused jumper wire: an added degree of safety in your diagnostic procedure.

References

Adler, Mortimer, “How to Mark a Book”, The McGraw-Hill Reader, McGraw-Hill Book Company, New York, NY, 1982.

Footnotes
  1. With R2R_2 dropping zero voltage, test point B is now essentially common to the node at the top of the bridge circuit. With test point A already common with the lower terminal of R1R_1 and now test point B common to the upper terminal of R1R_1, VoutV_{out} is exactly the same as VR1V_{R1}. ↩
  2. As before, the limiting case of a thermistor fault causes test points A and B to become synonymous with the terminals of one of the remaining resistors, in this case R3R_3. Since point A is already common with the upper terminal of R3R_3 and the shorted fault has now made point B common with the lower terminal of R3R_3, VoutV_{out} must be exactly the same as VR3V_{R3}. ↩
  3. Other possible tests include inspecting the LED status light on that PLC output card channel (a light indicates the HMI and PLC program are working correctly, and that the problem could lie within the output card or beyond to the motor) or measuring voltage at the drive output (voltage there indicates the problem must lie with the motor or the cable to the motor rather than further back). ↩
  4. As a child, I often watched episodes of the American science-fiction television show Star Trek, in which the characters made frequent use of a diagnostic tool called a tricorder. Week after week the protagonists of this show would avoid trouble and solve problems using this nifty device. The sonic screwdriver was a similar tool in the British science-fiction television show Doctor Who. Little did I realize while growing up that my career would make just as frequent use of another diagnostic tool: the electrical multimeter. ↩
  5. I honestly considered naming this section “Stupid Multimeter Tricks,” but changed my mind when I realized how confusing this could be for some of my readers not familiar with colloquial American English. ↩
  6. I have personally measured “phantom” voltages in excess of 100 volts AC, in systems where the source voltage was 120 volts AC. ↩
  7. Before there was such an accessory available, I used a 20 kΩ\Omega high-power resistor network connected in parallel with my DMM's input terminals, which I fabricated myself. It was ugly and cumbersome, but it worked well. When I made this, I took great care in selecting resistors with power ratings high enough that accidental contact with a truly “live” AC power source (up to 600 volts) would not cause damage to them. A pre-manufactured device such as the Fluke SV225, however, is a much better option. ↩
  8. These are AC voltages having frequencies that are integer-multiples of the fundamental powerline frequency. In the United States, where 60 Hz is standard, harmonic frequencies would be whole-number multiples of 60: 120 Hz, 180 Hz, 240 Hz, 300 Hz, etc. ↩
  9. There is a design reason for this. Most digital multimeters are designed to be used on semiconductor circuits, where the minimum “turn-on” voltage of a silicon PN junction is approximately 500 to 700 millivolts. The diode-check function must output more than that, in order to force a PN junction into forward conduction. However, it is useful to be able to check ohmic resistance in a circuit without activating any PN junctions, and so the resistance measurement function typically uses test voltages less than 500 millivolts. ↩