Analytical Chemistry, Instrumentation and ChemometricsIntroduction and ContextAnalytical chemistry provides the measurement foundation for engineering decisions. In mechatronics, chemical measurements are encountered in battery monitoring, corrosion control, water-quality systems, industrial process control, biomedical devices, environmental monitoring, and materials manufacturing. A sensor reading is not automatically a reliable measurement. It becomes useful only when the sampling procedure, calibration model, instrument, uncertainty, data processing, and decision rule are appropriate for the intended purpose. This chapter develops an integrated measurement workflow: define the measurand, obtain a representative sample, prepare it without altering the analyte, calibrate the instrument, measure with suitable instrumentation, quantify uncertainty, validate the data, and make a technically defensible decision. Electrochemical, spectroscopic, and chromatographic methods are treated as complementary rather than isolated techniques. Learning ObjectivesBy the end of this chapter, a student should be able to: - Distinguish analyte, matrix, measurand, sample, calibration standard, accuracy, precision, sensitivity, and selectivity.
- Design a representative sampling and sample-preparation procedure.
- Perform and interpret acid–base titrations and calculate concentration from stoichiometry.
- Explain calibration by external standards, standard additions, and internal standards.
- Interpret potentiometric, conductometric, spectroscopic, and chromatographic measurements.
- Calculate mean, standard deviation, confidence intervals, propagation of uncertainty, and basic detection limits.
- Apply control charts, replicate measurements, blanks, recovery tests, and reference materials to quality control.
- Evaluate sensor data for drift, noise, outliers, fouling, and model inadequacy.
- Use chemometric methods responsibly in engineering decisions.
1. The Measurement ProblemThe analyte is the chemical species being determined; the matrix is everything else in the sample. The measurand is the precisely defined quantity intended to be measured, including its chemical form, location, sampling time, and units. For example, “lead concentration in filtered river water at 10:00” is more precise than “lead in the river.” A complete analytical result can be represented as: Result = measured value ± measurement uncertainty A result is meaningful only when its uncertainty is compared with the engineering tolerance or regulatory limit. If a coolant contains 48 ± 5 mg L⁻¹ of a contaminant and the maximum permitted concentration is 50 mg L⁻¹, the result does not justify a confident pass or fail without an agreed decision rule. Accuracy, precision, sensitivity, and selectivityAccuracy describes closeness to a reference or accepted value. Precision describes agreement among repeated measurements. A method may be precise but biased, for example when a calibration standard is contaminated. Sensitivity is the change in signal per change in analyte concentration. Selectivity is the ability to measure the analyte in the presence of other species. Resolution describes the ability to distinguish nearby signals, especially in spectroscopy and chromatography. Random error produces scatter and is reduced, but not eliminated, by replication. Systematic error shifts results in a consistent direction and is not corrected by simply collecting more replicate readings. Common systematic errors include an uncalibrated balance, an incorrect standard concentration, matrix interference, contamination, and sample loss during preparation. 2. Sampling and Sample PreparationAnalytical errors often originate before the instrument is switched on. A laboratory measurement is valid only if the portion tested represents the population or process being evaluated. A sampling plan should specify: - the population and sampling locations;
- sampling frequency and time;
- sample mass or volume;
- preservation, container material, and transport temperature;
- homogenization and subsampling procedures;
- contamination controls and field blanks;
- the analyte form to be retained or excluded.
A grab sample represents conditions at one time and location. A composite sample combines increments over time or space and estimates an average, but it can hide short-lived peaks. Stratified sampling is useful when a process contains known zones, such as different depths in a tank. Sampling uncertainty can exceed instrumental uncertainty. For heterogeneous solids, a small scoop may not represent the batch. Grinding, mixing, and replicate increments reduce this problem. For volatile compounds, an incompletely sealed container can cause analyte loss. For dissolved-metal analysis, filtration changes the measurand: “dissolved metal” is not identical to “total recoverable metal.” Sample preparation may include filtration, dilution, digestion, extraction, drying, derivatization, or pH adjustment. Each step can introduce bias. A preparation blank identifies contamination from reagents and equipment. A matrix spike tests whether analyte recovery is affected by the sample matrix. 3. Calibration and QuantificationCalibration establishes a relationship between instrument response and analyte concentration. A common linear model is: y = a + bx where y is measured signal, x is analyte concentration, a is the intercept, and b is the slope or analytical sensitivity. The model is appropriate only over a verified concentration range and when residuals do not show important curvature or unequal variance. For an unknown signal yu, the estimated concentration is: xu = (yu − a) ÷ b The units of b are signal units per concentration unit; therefore xu has concentration units. A blank should be measured, and standards should bracket the expected unknown concentration. Extrapolation beyond the calibration range is generally unreliable. External-standard calibrationKnown standards are measured independently of the sample. This method is simple and effective when sample matrix and instrument conditions are similar to those of the standards. It is vulnerable to matrix effects, signal drift, and differences in sample preparation. Standard additionsKnown quantities of analyte are added directly to portions of the sample. If the final volume is constant, the response can be modeled as: S = k(Cx Vx + Cs Vs) ÷ Vf + S0 where S is signal, k is proportionality constant, Cx and Vx are the unknown concentration and sample volume, Cs and Vs are standard concentration and added volume, Vf is final volume, and S0 is background signal. Plotting signal against added analyte amount allows the unknown concentration to be obtained from the x-intercept, provided the response is linear and additions do not change chemical conditions substantially. Internal standardsAn internal standard is a compound added at a known, constant amount to standards and unknowns. Quantification uses a response ratio, such as analyte signal divided by internal-standard signal. This can compensate for injection-volume variation and some instrument drift, but the internal standard must behave similarly to the analyte without being naturally present or interfering with its signal. Worked example: external calibrationA conductivity-based sensor gives signals of 2.1, 4.2, 6.3, and 8.4 units for standards of 1, 2, 3, and 4 mmol L⁻¹. The relationship is approximately y = 2.1x, so the intercept is approximately zero and the slope is 2.1 units per mmol L⁻¹. An unknown gives 5.25 units: xu = 5.25 ÷ 2.1 = 2.50 mmol L⁻¹ This calculation assumes linearity, stable temperature, negligible matrix effect, and an unknown within the calibrated range. If the sample was diluted fivefold before measurement, the original concentration is: Coriginal = 2.50 × 5 = 12.5 mmol L⁻¹ 4. Titrimetric AnalysisTitration determines an unknown amount from reaction with a standard solution. The reaction must be known, sufficiently rapid, and effectively complete at the endpoint. The equivalence point is the stoichiometric point; the endpoint is the observed signal change, such as an indicator colour change or a sharp pH change. A suitable method minimizes the difference between them. For a general reaction: νA A + νT T → products where νA and νT are stoichiometric coefficients, the amount relationship at equivalence is: nA ÷ νA = nT ÷ νT Because n = cV for a solution, cA VA ÷ νA = cT VT ÷ νT Concentrations must be in consistent units and volumes must be expressed in litres when concentration is in mol L⁻¹. Worked example: acid–base titrationA 25.00 mL sample of hydrochloric acid requires 18.60 mL of 0.1000 mol L⁻¹ sodium hydroxide. The reaction is 1:1: HCl + NaOH → NaCl + H₂O Thus: cHCl = (0.1000 × 0.01860) ÷ 0.02500 cHCl = 0.07440 mol L⁻¹ The result assumes the sodium hydroxide concentration has been standardized and that the endpoint accurately represents equivalence. A primary standard such as potassium hydrogen phthalate may be used to standardize sodium hydroxide because sodium hydroxide solutions absorb carbon dioxide and cannot always be prepared accurately by mass alone. 5. Electrochemical MeasurementsElectrochemical instruments measure potential, current, charge, or conductance. They are attractive for mechatronic systems because electrodes can be compact, inexpensive, and integrated with electronic data acquisition. PotentiometryPotentiometry measures the potential difference between an indicator electrode and a reference electrode under approximately zero current. For an ideal reversible electrode, the Nernst equation is: E = E° − (RT ÷ nF) ln Q where E is electrode potential, E° is standard potential, R is the gas constant, T is absolute temperature in kelvin, n is the number of electrons transferred, F is the Faraday constant, and Q is the reaction quotient. For a monovalent ion under ideal conditions at 25 °C, the slope with respect to decimal logarithm of activity is approximately 59.16 mV per decade divided by n. Activities, not strictly concentrations, are thermodynamically correct; concentrations are often used as an approximation in dilute solutions. A glass pH electrode responds approximately to hydrogen-ion activity. Temperature compensation is important because the Nernst slope depends on T. Electrode fouling, junction potentials, low ionic strength, dehydration, and incorrect storage can produce drift and slow response. ConductometryConductance is the reciprocal of resistance: G = 1 ÷ R where G is conductance in siemens and R is resistance in ohms. Conductivity is: κ = Kcell G where κ is conductivity and Kcell is the cell constant. Temperature strongly affects ionic mobility, so conductivity measurements should be temperature-compensated or reported at a specified temperature. Amperometry and voltammetryAmperometry measures current at a controlled potential; voltammetry records current as potential is varied. Under controlled conditions, current may be proportional to analyte concentration. However, electrode area, mass transport, supporting electrolyte, dissolved oxygen, fouling, and interfering redox species affect the response. Calibration and control experiments are essential. 6. Spectroscopic MeasurementsSpectroscopy measures interaction between electromagnetic radiation and matter. The selected wavelength, optical path, detector, and sample matrix determine performance. Absorption spectroscopyThe Beer–Lambert law is: A = εbc where A is absorbance, ε is molar absorptivity in L mol⁻¹ cm⁻¹, b is optical path length in cm, and c is concentration in mol L⁻¹. Absorbance is defined by: A = log₁₀(I₀ ÷ I) where I₀ is incident intensity and I is transmitted intensity. The law assumes monochromatic radiation, a non-scattering homogeneous sample, independent absorbing species, and a concentration range where linearity holds. Stray light, turbidity, chemical equilibria, excessive concentration, and polychromatic radiation cause deviations. A blank corrects for solvent, cuvette, and reagent absorption. Cuvettes must be clean, consistently oriented, and appropriate for the wavelength. In a multi-component sample, overlapping spectra can be resolved by measurements at several wavelengths, provided the response model is identifiable and the spectra are sufficiently distinct. Infrared and atomic methodsInfrared spectroscopy relates absorption bands to molecular vibrations and is useful for identifying functional groups and monitoring polymer or lubricant composition. Atomic absorption and emission methods measure element-specific transitions and can achieve low detection limits, but they require attention to atomization, matrix effects, spectral interference, and calibration stability. 7. ChromatographyChromatography separates components between a stationary phase and a mobile phase. In liquid chromatography, the mobile phase is a liquid; in gas chromatography, it is a gas and analytes must be sufficiently volatile or derivatized. Important chromatographic quantities include retention time, peak area, peak height, resolution, and efficiency. A simple retention factor is: k′ = (tR − tM) ÷ tM where tR is analyte retention time and tM is the mobile-phase or dead time. For two peaks, resolution is commonly expressed as: Rs = 2(tR2 − tR1) ÷ (w1 + w2) where w1 and w2 are baseline peak widths and tR2 > tR1. Greater resolution means better separation. Quantification usually uses peak area because it is less sensitive than peak height to peak broadening, although integration parameters must be controlled. Chromatographic systems require leak checks, appropriate mobile-phase preparation, column conditioning, blank injections, calibration verification, and protection against carryover. A peak at the expected retention time is not by itself proof of identity; spectral confirmation, a reference standard, or a second separation condition may be needed. 8. Statistics and Measurement UncertaintyFor replicate results x1, x2, …, xn, the arithmetic mean is: x̄ = (∑xi) ÷ n The sample standard deviation is: s = √[∑(xi − x̄)² ÷ (n − 1)] The standard error of the mean is: sx̄ = s ÷ √n The standard deviation describes replicate scatter; the standard error describes uncertainty in the estimated mean under the assumptions of independent, identically distributed observations. For approximately normal data, a confidence interval for the mean is: x̄ ± t_(α/2, n−1) s ÷ √n where t_(α/2,n−1) is the Student’s t critical value for significance level α and n−1 degrees of freedom. This interval does not automatically include systematic bias, sampling error, or model error. Propagation of uncertaintyIf a result depends on independent input quantities, first-order uncertainty propagation is: uy² = ∑[(∂f ÷ ∂xi)² ui²] where y = f(x1, x2, …) is the measurement model, ui is standard uncertainty of input xi, and covariance terms are omitted because independence is assumed. If inputs are correlated, covariance terms must be included. For multiplication or division of independent quantities, relative uncertainties approximately combine as: (uy ÷ |y|)² ≈ ∑(ui ÷ xi)² This approximation is valid for small uncertainties and a differentiable model. Detection and quantification limitsA detection limit is a decision-oriented concentration at which the analyte can be reliably distinguished from background under specified conditions. A common screening approximation uses blank variability and calibration sensitivity: LOD ≈ 3σblank ÷ b LOQ ≈ 10σblank ÷ b where σblank is the standard deviation of blank signals and b is calibration slope. These are approximations, not universal definitions; formal regulatory methods may specify different procedures. 9. Quality Control and ChemometricsAnalytical quality assurance includes documented procedures, trained personnel, traceable standards, instrument maintenance, method validation, and controlled records. Quality control checks whether a particular batch remains acceptable. Useful controls include: - reagent and method blanks;
- duplicate samples;
- fortified samples and recovery tests;
- certified reference materials;
- continuing calibration verification;
- instrument checks and zero checks;
- control charts;
- documented acceptance criteria.
A control chart plots a quality-control result against time. The centre line is the established mean, with warning and action limits derived from validated variability. A point outside an action limit suggests investigation; a systematic trend may indicate drift even before a point crosses a limit. Chemometrics applies statistics, mathematics, and computation to chemical data. Principal component analysis (PCA) reduces correlated variables to orthogonal directions of maximum variance. It can reveal clusters, process states, sensor faults, or unusual samples, but a principal component is not automatically a chemical cause. Before PCA, variables are often mean-centred; scaling is appropriate when variables have different units or variances, but scaling can also amplify noise. Regression methods predict concentration or process properties from instrument signals. A model must be evaluated using independent validation data, residual analysis, bias, precision, and a defined operating domain. Cross-validation helps estimate predictive performance but does not replace external validation. Sensor-data validation should combine: - range and unit checks;
- timestamp and synchronization checks;
- rate-of-change limits based on physical dynamics;
- redundancy or comparison with a reference sensor;
- drift and fouling diagnostics;
- missing-data and communication checks;
- uncertainty-aware decision rules.
AI may assist with anomaly detection, spectral classification, predictive maintenance, or soft sensors. However, training data must represent expected operating conditions, labels must be traceable, and model performance must be monitored after deployment. A black-box prediction should not override a verified safety interlock without a risk assessment. Data provenance, cybersecurity, access control, and explainability are part of measurement governance. 10. Illustrative Case: Online Monitoring of a Cooling-Water SystemBackgroundA manufacturing plant uses a recirculating cooling-water loop. Excessive chloride accelerates corrosion, while excessive conductivity indicates concentration of dissolved salts. The plant installs a conductivity sensor for continuous monitoring and periodically verifies chloride using argentometric titration. ProblemThe online sensor begins reporting values 15% lower than the laboratory trend. Operators are unsure whether the sensor is drifting, the sample line is fouled, or the water chemistry has changed. AnalysisThe engineering team first defines the measurands: conductivity at 25 °C and chloride concentration in a specified, filtered water sample. They inspect timestamps and discover that the sensor reports every minute, whereas laboratory samples are collected from a nearby but not identical location every four hours. This reveals a possible sampling-location and time mismatch. A conductivity standard and a temperature check are used to verify the instrument. The sensor is rinsed, visually inspected, and tested against a second calibrated conductivity meter. A field blank checks contamination in the laboratory procedure. Duplicate titrations and a chloride spike assess precision and recovery. The titration reaction is represented in simplified stoichiometric form as: Ag⁺ + Cl⁻ → AgCl(s) If 10.00 mL of sample requires 7.40 mL of 0.01000 mol L⁻¹ silver nitrate, the chloride concentration is: cCl− = (0.01000 × 0.00740) ÷ 0.01000 cCl− = 0.00740 mol L⁻¹ The team converts this result to a mass concentration using the molar mass of chloride, approximately 35.45 g mol⁻¹: 0.00740 mol L⁻¹ × 35.45 g mol⁻¹ = 0.262 g L⁻¹ = 262 mg L⁻¹ The sensor passes the standard check after cleaning, but its response is unstable when the sample temperature changes rapidly. A fouled temperature-compensation probe is identified. Approach and solutionThe plant replaces the temperature probe, cleans the conductivity cell, improves sample-line flushing, and relocates the laboratory sampling point to match the online sensor. A weekly calibration verification and monthly comparison with chloride titration are introduced. A control chart is created for verification results, with investigation triggered by a predefined relative difference or control-limit violation. OutcomeThe apparent 15% disagreement falls to 3%, within the agreed method-comparison criterion. The plant avoids unnecessary chemical dosing and reduces corrosion risk by basing control decisions on synchronized, validated measurements. Learning pointsThe case demonstrates that disagreement between instruments may result from measurand definition, sampling location, temperature compensation, fouling, or timing rather than from a simple calibration error. Reliable automation depends on chemical measurement quality as much as on electronic integration. 11. Limitations, Ethics, and Best PracticeNo analytical method is universally superior. Electrochemical sensors can be inexpensive and fast but suffer from fouling and matrix sensitivity. Spectroscopy can provide rapid non-destructive measurements but may require multivariate calibration. Chromatography offers separation and strong selectivity but is slower and more maintenance-intensive. Titration is transparent and robust but often requires manual handling. Engineers should not report more digits than the uncertainty supports. They should not discard inconvenient results without a documented technical reason, substitute correlation for calibration, or claim that a model is validated merely because it fits training data. Regulatory limits must be interpreted with the applicable standard method, sampling rule, reporting convention, and decision rule. Best practice is to: - define the measurand before selecting the instrument;
- use representative sampling and documented preservation;
- calibrate with traceable standards spanning the working range;
- measure blanks, duplicates, spikes, and reference materials;
- inspect residuals rather than relying only on correlation coefficients;
- record uncertainty, units, dilution factors, and instrument conditions;
- validate sensor data using physical constraints and independent checks;
- protect data integrity and preserve an auditable measurement record.
Chapter SummaryAnalytical chemistry converts physical samples into defensible information for engineering decisions. Representative sampling and suitable preparation are fundamental because instrumental precision cannot correct a biased sample. Calibration links signal to concentration through external standards, standard additions, or internal standards, each with specific assumptions. Titration uses reaction stoichiometry and a reliable endpoint. Potentiometry, conductometry, amperometry, spectroscopy, and chromatography provide different forms of selectivity, sensitivity, speed, and practical complexity. Quantitative interpretation requires correct units, calibration-range awareness, statistical description, uncertainty propagation, and appropriate detection-limit concepts. Quality control uses blanks, duplicates, recovery tests, reference materials, control charts, and continuing calibration checks. Chemometrics and AI can extract information from complex sensor data, but they require representative data, independent validation, traceability, and governance. In mechatronics, chemically valid measurements are essential for trustworthy automation, process control, safety, and maintenance decisions. Key TermsAnalyte: Chemical species being determined. Matrix: All sample components other than the analyte. Measurand: Precisely defined quantity intended for measurement. Accuracy: Closeness of a result to a reference value. Precision: Agreement among repeated measurements. Calibration: Establishment of a relationship between signal and known quantity. External standard: Known standard measured separately from the unknown. Standard addition: Calibration by adding known analyte quantities to the sample. Internal standard: Added reference compound used to normalize response. Titration: Quantitative analysis based on reaction with a standard solution. Equivalence point: Stoichiometric completion point of a reaction. Potentiometry: Measurement of potential under approximately zero current. Conductivity: Ability of a solution to conduct electrical current. Beer–Lambert law: Relationship between absorbance, path length, and concentration. Chromatography: Separation by partition between stationary and mobile phases. Uncertainty: Quantitative description of doubt associated with a measurement result. Chemometrics: Application of mathematics and statistics to chemical data. Control chart: Time-ordered chart used to monitor process or measurement stability. Detection limit: Lowest level distinguishable from background under specified conditions. Matrix effect: Change in analytical response caused by other sample components. Review QuestionsShort Answer Questions- Distinguish accuracy from precision and give one example of each.
- Why can a composite sample hide an important process event?
- State the assumptions of the Beer–Lambert law.
- What is the purpose of a method blank and a matrix spike?
- Why is temperature compensation important in pH and conductivity measurements?
Long Answer Questions- Compare external-standard calibration, standard additions, and internal-standard calibration. Discuss when each is most appropriate.
- Explain the complete workflow for validating an online chemical sensor used in an automated process.
- Derive the concentration relationship for a general titration and discuss sources of endpoint error.
- Explain how uncertainty differs from standard deviation and describe how uncertainty can be propagated through a dilution calculation.
- Compare electrochemical, spectroscopic, and chromatographic methods in terms of selectivity, speed, maintenance, and mechatronic integration.
Analytical / Application Questions- A 20.00 mL acid sample requires 16.35 mL of 0.1250 mol L⁻¹ NaOH in a 1:1 reaction. Calculate the acid concentration and state two assumptions required for the result.
- An absorbance calibration has slope 0.250 L mg⁻¹ and intercept 0.010. An unknown gives absorbance 0.635 after a tenfold dilution. Calculate the original concentration and identify one reason the calculation could be invalid.
- A conductivity sensor and laboratory result disagree repeatedly, but both are individually precise. Design an investigation that distinguishes sampling error, temperature compensation error, calibration bias, and matrix effects.
Multiple Choice Questions with AnswersQuestion 1Which statement best distinguishes precision from accuracy? A. Precision is closeness to a reference value, whereas accuracy is repeatability. B. Precision is agreement among repeated results, whereas accuracy is closeness to a reference value. C. Precision applies only to instruments, whereas accuracy applies only to samples. D. Precision and accuracy are identical when the calibration is linear. Correct Answer: B. Precision is agreement among repeated results, whereas accuracy is closeness to a reference value. Question 2An unknown produces a signal of 5.25 units for a calibration relationship y = 2.1x. What is the concentration? A. 0.40 mmol L⁻¹ B. 2.50 mmol L⁻¹ C. 7.35 mmol L⁻¹ D. 11.03 mmol L⁻¹ Correct Answer: B. 2.50 mmol L⁻¹ Question 3What is the principal purpose of standard additions? A. To eliminate the need for replicate measurements B. To compensate for matrix effects by adding analyte directly to the sample C. To measure conductivity without a cell constant D. To replace all blank measurements Correct Answer: B. To compensate for matrix effects by adding analyte directly to the sample Question 4A 25.00 mL HCl sample requires 18.60 mL of 0.1000 mol L⁻¹ NaOH in a 1:1 reaction. What is the HCl concentration? A. 0.01860 mol L⁻¹ B. 0.04650 mol L⁻¹ C. 0.07440 mol L⁻¹ D. 0.1860 mol L⁻¹ Correct Answer: C. 0.07440 mol L⁻¹ Question 5In the Beer–Lambert equation A = εbc, what does b represent? A. Detector response B. Optical path length C. Blank concentration D. Baseline noise Correct Answer: B. Optical path length Question 6Which condition is required for a valid simple linear calibration? A. All unknowns must be above the highest standard. B. The response must be linear over the applied working range. C. The intercept must always be exactly zero. D. Matrix effects must be intentionally maximized. Correct Answer: B. The response must be linear over the applied working range. Question 7Conductivity is related to conductance by which equation? A. κ = G ÷ Kcell B. κ = Kcell G C. κ = R ÷ G D. κ = Kcell ÷ R² Correct Answer: B. κ = Kcell G Question 8Which practice most directly checks recovery in a sample matrix? A. Measuring a reagent blank only B. Adding a known amount of analyte to the sample and measuring the recovered amount C. Increasing the number of decimal places displayed D. Ignoring the sample matrix during calibration Correct Answer: B. Adding a known amount of analyte to the sample and measuring the recovered amount Question 9The approximate detection-limit expression LOD ≈ 3σblank ÷ b depends on which two quantities? A. Sample volume and retention time B. Blank variability and calibration slope C. Path length and temperature only D. Peak width and mobile-phase flow only Correct Answer: B. Blank variability and calibration slope Question 10Why should an AI model used for sensor validation be tested with independent data? A. To guarantee that all measurements are normally distributed B. To determine whether it generalizes beyond its training data C. To remove the need for calibration standards D. To ensure that the model always produces zero residuals Correct Answer: B. To determine whether it generalizes beyond its training data
|