Patent ID: 7993604

Claim:
A fluids analyzer for determining the pH of formation fluid in a region of earth formation surrounding a borehole utilizing a mixture of two or more pH reagents capable of detecting a pH range broader than each reagent individually, which is obtained by the method comprising: a. identifying a target pH measurement range of the sample and a target pH accuracy; b. identifying a plurality of reagents based on known reagent thermodynamic acid dissociation constants and spectral characteristics such that their combination is expected to satisfy the targeted pH range of the sample; c. identifying one or more spectral channels to make the pH measurement wherein the reagents have elevated optical densities; d. mixing known relative concentrations of two or more reagents of the plurality of reagents to create one or more sets of reagents; e. characterizing at least one reagent set of the one or more sets of reagents wherein characterizing includes developing a relationship between optical density ratio and pH based on the thermodynamic acid dissociation constants of the reagents, relative concentrations of the reagents, and one or more spectral channels; f. identifying the spectroscopic noise of a spectral analyzer to be used for the pH measurement; g. performing an error analysis for at least one reagent set of the one or more sets of reagents wherein the error analysis comprises developing a relationship between standard deviation in pH and spectroscopic noise in optical density based on the relation developed in step (e); h. optimizing the one or more sets of reagents with an optimization algorithm based on the developed relationship in step (g) to satisfy the target pH accuracy over the target pH measurement range of the sample and determine one of optimum values for relative concentrations or spectral channels or both; and i. characterizing the one or more optimized reagent set, wherein the fluids analyzer comprises: a reagent container having said mixture of two or more pH reagents; means for mixing formation fluid with said reagent mixture downhole; and a spectral analyzer means, coupled to receive a mixture of formation fluid and the reagent mixture from said mixing means for analyzing an optical density of said mixture of formation fluid and reagent mixture in two or more spectral channels to determine the pH.