Net oil computer or the like
BACKGROUND OF THE INVENTION 
     This invention relates to fluid sensing instruments, and more particularly to a net oil computer or the like. 
     In the past, it has been unknown to measure accurately and by economical apparatus the percent of oil in a mixture of oil and water with a water content of, e.g., over 65 percent flowing in a pipeline. 
     SUMMARY OF THE INVENTION 
     In accordance with the systems of the present invention, the above-described and other difficulties are overcome by providing a net oil computer or the like having a differential pressure unit (DPU). 
     The above-described and other advantages of the present invention will be better understood from the following detailed description when considered in connection with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     In the drawings, which are to be regarded as merely illustrative: 
     FIG. 1 is a diagrammatic view of one embodiment of the net oil computer of the present invention; 
     FIG. 2 is a diagrammatic view of a gate generator shown in FIG. 1; 
     FIG. 3 is a schematic diagram of one of high and low limit detectors shown in FIG. 2; 
     FIG. 4 is a schematic diagram of the other of the high and low limit detectors shown in FIG. 2; 
     FIG. 5 is a first alternative embodiment of the net oil computer of the present invention; 
     FIG. 6 is a second alternative embodiment of the net oil computer of the present invention; 
     FIG. 7 is a diagrammatic view of a gate generator shown in FIG. 1; 
     FIG. 8 is a schematic diagram of a high limit detector shown in FIG. 7; 
     FIG. 9 is a schematic diagram of a low limit detector shown in FIG. 7; 
     FIG. 10 is a schematic diagram of a comparator shown in FIG. 7; and 
     FIGS. 11 and 12 are block diagrams of two other alternative embodiments of the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     THE NET OIL COMPUTER OF FIG. 1 
     A net oil computer constructed in accordance with the present invention is shown in FIG. 1. The embodiment of FIG. 1 can produce pulses approximately or exactly proportionately to oil and/or water according to percent by weight and volume. The computer of FIG. 1 has components mounted in or on a pipeline 473. One component is a conventional differential pressure unit (DPU) 472 having inlet tubes 500 and 501 the difference between the pressures within which a potentiometer arm 502 is turned in proportion by an output shaft 503 of DPU 472. Tubes 500 and 501 are maintained at different elevations. Bellows 500&#39; and 501&#39; separate fill fluid on the left of bellows 500&#39; and 501&#39; from the oil and water mixture on the right of the bellows 500&#39; and 501&#39;. A transmitter circuit 401 is shown including a potentiometer 504 having a winding 505 and arm 502. Any mechanical-to-electrical device may connect shaft 503 to a gate generator 400. Resistors 506 and 507 are respectively connected from terminals 508 and 509 of winding 505 to points of potentials -E and +E, respectively. Arm 502 is electrically connected to gate generator 400. 
     Circuit 401 produces an output voltage which is directly proportional to the pressures in tubes 500 and 510. 
     In FIG. 1, the net oil computer also includes a turbine flowmeter 402 which has a turbine bladed rotor 403 and a stator 404. Flowmeter 402 also has a magnetic pickup 405. Flowmeter 402 is entirely conventional and produces a pulse train on an output lead 406. The pulse repetition frequency (PRF) of the pulses on lead 406 is directly proportional to the volume flow rate within pipeline 473. In other words, the flow rate is the rate of volume flow of both oil and water combined, that is the mixture thereof. The output of flowmeter 402 is impressed on the pole 407 of a conventional electronic switch 408 in an output circuit 471. Switch 408 may, however, be a relay, other switch or otherwise. Switch 408 has contacts 409 and 410. Contact 409 is connected to a conventional indicator 411 via a conventional divider 412, a conventional driver amplifier 413 and a conventional counter 414. Contact 410 is connected to a conventional indicator 415 through a conventional divider 416, a conventional driver amplifier 417 and a conventional counter 418. 
     Flowmeter 402 is connected to switch pole 407 through a conventional preamplifier 419 and a conventional monostable multivibrator 420. 
     Switch 408 is operated by gate generator 400 that receives input signals from transmitter circuit 401 and a temperature probe 421. The turbine rotor 403 and temperature probe 421 are both immersed in the mixture of oil and water flowing in pipeline 473. 
     Scalers 412 and 416 may be employed to cause indicators 411 and 415 to read directly in barrels of oil and barrels of water, respectively, or in units of volume or weight. 
     If the output pulses of gate generator 400 are positive, as described hereinafter, pole 407 will engage one of the contacts 409 and 410. That is, the engagement occurs during the width of the pulse. Conversely, during the time between pulses, pole 407 will engage the other of the contacts 409 and 410. 
     Gate generator 400 is shown in FIG. 2, including a conventional regulated source of potential 422 which places potential +E on a contact 423 of a conventional electronic switch 424. Source 422 also places a potential -E on a cntact 425. Switch 424 is a single-pole, double-throw switch having a pole 426. Switch 424 may be a relay, an electronic switch or otherwise. A conventional integrator 427 is connected from the pole of switch 424 to a high limit detector 428, a low limit detector 429 and a conventional comparator 430. The output of comparator 430 is impressed upon switch 408 shown in FIG. 1 over a lead 474. 
     Detectors 428 and 429 are connected, respectively, to the set and reset inputs of a conventional flip-flop 434. The &#34;0&#34; output of flip-flop 434 operates switch 424. 
     High limit detector 428 causes the output of integrator 427 to decline after a predetermined high level is reached. Conversely, low limit detector 429 causes the output of integrator 427 to increase once a predetermined low level is reached. Thus, the output of the integrator 427 is a triangular wave indicated at 475, the peaks of which are the predetermined high limit and the valleys of which are the predetermined low limit. Thus, when the &#34;0&#34; output of flip-flop 434 is high, switch pole 426 is in engagement with contact 423. Conversely, when the &#34;0&#34; output of flip-flop 434 is low, pole 426 is in engagement with contact 425. 
     The output of circuit 401 is impressed upon comparator 430 through a conventional analog divider 470. Limit detectors are shown in both of FIGS. 3 and 4. The detector of FIG. 3 may be one of the high and low limit detectors 428 and 429, respectively, shown in FIG. 2. FIG. 4 is then the other of the high and low limit detectors 428 and 49, respectively. 
     In FIGS. 3 and 4, variable resistors 476 and 477, respectively, are adjusted in accordance with the densities of the water and oil, respectively, in pipeline 473. The water and oil densities are obtained by taking a sample of the mixture thereof in pipeline 473, and then putting the sample through a centrifuge. The densities of the oil and water so separated is then measured. The variable resistors 476 and 477 are then set in proportion to the respective water and oil densities measured. Various densities may be encountered due to impurities, dissolved solids and otherwise. The specific gravity of the water in pipeline 473 might typically be 1.07. The oil in pipeline 473, which may or may not be crude oil, may have a typical specific gravity of 0.85. 
     Comparator 430, shown in FIG. 2, produces an output pulse at 478 of a time width equal to the time that the triangular wave output of integrator 427 exceeds the magnitude of the voltage at the output of analog divider 470. Although it is unobvious and quite unexpected, the width of the output pulses of comparator 430 is either directly proportional to the percent, by weight, of water flowing in pipeline 473 or is directly proportional to the percent, by weight, of oil flowing in pipeline 473 depending upon whether the water density d w  is larger than the oil density d o , or vice versa, and depending upon which embodiment of the present invention is employed or which modification thereof is employed. The same is true of the time between pulses. 
     Temperature probe 421 supplies a correction because the density of oil varies enough with temperature that a noticeable improvement in accuracy can be obtained by using this temperature correction. A temperature correction for changes in the water density is frequently unnecessary. 
     In FIG. 3, junctions are provided at 10, 11 and 12. A resistor 13 is connected from junction 10 to a potential E c . A resistor 14 is connected from junction 10 to a potential E d , which may be ground. Resistors 13 and 14 form a voltage divider establishing a potential at junction 10 which is added to a feedback potential established by resistor 476 connected between junctions 11 and 12. It will be noted that a portion of the circuit of FIG. 3 is a conventional analog divider. A resistor 15 is connected between junctions 10 and 11. 
     A differential amplifier 16 is also shown in FIG. 3 having an inverting input lead 17 connected from junction 11, and a non-inverting input lead 18 connected to ground. Differential amplifier 16 has an output lead 19 connected to junction 12. 
     A second differential amplifier is provided at 20 in FIG. 3 having first and second input leads 21 and 22, respectively. Input lead 21 is connected from junction 12. Input lead 22 is connected from the output of integrator 427 illustrated in FIG. 2. 
     Differential amplifier 20 has an output lead 23 which is connected to one of the input leads of flip-flop 434. 
     The arrangement of FIG. 4 is not considerably different from the arrangement of FIG. 2. In FIG. 4, junctions are provided at 24, 25 and 26. A resistor 27 is connected from junction 24 to potential E e . Another resistor 28 is connected from junction 24 to potential E f , or ground. As before, resistors 27 and 28 form a voltage divider establishing a potential at junction 24. 
     In FIG. 4, again, a first differential amplifier 29 foms a part of an analog divider. Differential amplifier 29 has an inverting input lead 30 connected from junction 25, and a non-inverting input lead 31 connected to ground. An adding resistor 32 is connected between junctions 24 and 25. 
     In FIG. 4, variable resistor 477 and the thermistor or temperature probe 421 are connected in succession in that order in series from junction 25 to junction 26. 
     Differential amplifier 29 has an output lead 33 connected to junction 26. 
     In FIG. 4, a second differential amplifier is provided at 34 having first and second input leads 35 and 36. Input lead 35 is connected from junction 26. Input lead 36 is connected from the output of integrator 427 shown in FIG. 2. Differential amplifier 34 has an output lead 37 which is connected to one of the input leads to flip-flop 434 shown in FIG. 2. 
     It will be noted that, thus far, it has not been stated which of the two leads 21 and 22 shown in FIG. 3 are the inverting and non-inverting input leads of differential amplifier 20. The same is true of the input leads 35 and 36 of the differential amplifier 34 shown in FIG. 4. The reason for this is that the water density is set in accordance with variable resistor 476 in FIG. 3, and the oil density is set in accordance with resistor 477 shown in FIG. 4, and the water density may or may not exceed the oil density. This means that the high limit detector 428 shown in FIG. 2 may be either the detector shown in FIG. 3 or the detector shown in FIG. 4. This also means that the low limit detector 429 shown in FIG. 2 may be either the detector shown in FIG. 3 or the detector shown in FIG. 4. Nevertheless, if the high limit detector 428 is the detector of FIG. 4, the low limit detector 429 must be the detector of FIG. 3, and vice versa. 
     Should the water density exceed the oil density, the detector of FIG. 3 is the low limit detector 429, and the output lead 23 of differential amplifier 20 is connected to the reset input of flip-flop 434. When this is the case, the output lead 37 of differential amplifier 34 shown in FIG. 4 is thus then connected to the set input of the flip-flop 434 shown in FIG. 2. At the same time, the lead 21 of differential amplifier 20 shown in FIG. 3 is the inverting input lead of differential amplifier 20, and the lead 22 is the non-inverting input lead thereof. While all the foregoing connections are made, the lead 35 of differential amplifier 34 shown in FIG. 4 is the non-inverting input lead thereof, and lead 36 is the inverting input lead thereof. 
     When the oil density exceeds the water density, the detector of FIG. 3 becomes the high limit detector 428 and output lead 23 of FIG. 3 is then connected to the set input of flip-flop 434. Similarly, the output lead 37 in FIG. 4 is connected to the reset input of flip-flop 434, and the detector of FIG. 4 is the low limit detector 429. Under all these conditions then, other connections are similarly reversed, i.e. lead 21 of differential amplifier 20 becomes the non-inverting input lead thereof, input lead 22 thereof becomes the inverting input lead thereof, lead 35 in FIG. 4 becomes the inverting input lead of differential amplifier 34, and lead 36 of differential amplifier 34, and lead 36 of differential amplifier 34 in FIG. 4 becomes the non-inverting input lead of differential amplifier 34. 
     When the water density is larger than the oil density, T w  is the width of the pulses 478 as shown in FIG. 2, and T t  is the time between pulses 478 as shown in FIG. 2. However, if nothing is changed but resistors 476 and 477 in FIGS. 3 and 4, respectively, T w  becomes the time between pulses 478, and T t  becomes the width of the pulses 478. This reversal occurs when a reversal occurs between the high and low limit detectors 428 and 429 wherein the detectors of FIGS. 3 and 4 are reversed therein as aforesaid. 
     The term T w , when the water density is larger than the oil density, is equal to the width of the pulses 478 and is directly proportional to the percent water flowing in pipeline 473 shown in FIG. 1. At the same time, the term T t  is directly proportional to the percent oil flowing in the pipeline 473 shown in FIG. 1. 
     The embodiment of FIGS. 1 to 4, inclusive, is not perfectly accurate, but in many cases is extremely accurate and may be accurate for all practical purposes. The embodiment of FIGS. 1 to 4, inclusive, is extremely accurate when the percent change in the oil density with temperature is extremely small over the time period which is equal to the sum of T w  and T t . 
     The output of integrator 427 is illustrated by the triangular waveform 475 shown in FIG. 2. The dimensions 1/d w  and 1/d o  are the reciprocals of the respective water and oil densities d w  and d o  and are directly proportional to, or vice versa, the voltage amplitude dimensions of the high and low limits when the water density is larger than the oil density. In this case, the subscripts  w  and  o  would be reversed if the oil density exceeded the water density. 
     In FIG. 2, the slope of triangular waveform 475 is either positive or negative, but its absolute value in either case is a constant. The integrator 427 is thus only free running in that it rises to the high limit and falls to the low limit. For all practical purposes, it is unnecessary to compensate for temperature expansion and contraction of the water. The term d w  is therefore always constant after resistor 476 has been properly set to the measured value of the water density. If desired, resistors 476 and 477 may be potentiometers operated by a knob having indicia thereon for correlation with a fixed indexed mark. 
     All of the above reversals may be applied to FIGS. 7 to 12, inclusive. 
     The temperature of the mixture flowing in pipeline 473 shown in FIG. 1 may vary little the resistance of the probe 421 shown in FIGS. 1 and 4. Should the temperature of the mixture of the oil and water flowing in pipeline 473 shown in FIG. 1 vary greatly, the embodiment of the present invention shown in FIGS. 1 to 4, inclusive, still may be employed so long as the temperature does not vary at a rapid rate. 
     In the embodiments of the present invention illustrated in FIGS. 5 and 6, the outputs thereof are accurate independent of the rate of change of the temperature of the oil and water mixture flowing in the pipeline 473 shown in FIG. 1 with respect to time. 
     When the triangular waveform 475 exceeds the output of analog divider 470, pulses 478 are produced. The term T t  is thus determined when waveform 475 falls below the output of analog divider 470. 
     In FIG. 3, all of the structure except differential amplifier 20 actually supplies at junction 12 and over lead 21 a D.C. voltage directly proportional to the reciprocal of water density. 
     In FIG. 4, all the structure therein except the differential amplifier 34 actually supplies at junction 26 and over lead 35 a D.C. voltage directly proportional to the reciprocal of the oil density. 
     In accordance with the present invention, one embodiment thereof is disclosed herein in FIGS. 1 to 4, inclusive, a second in FIG. 5, a third in FIG. 6, a fourth in FIGS. 7 to 10, a fifth in FIG. 11 and a sixth in FIG. 12. Each of these embodiments compute the percent, by weight or volume, of oil and/or water in a different and unexpected and unobvious way. 
     If d w  &gt;d o , switch 408 in FIG. 1 is constructed to have its pole 407 in engagement with contact 409 between pulses 478 in FIG. 2, and pole 407 engages contact 410 during the widths of pulses 478, the detector of FIG. 3 is connected as the low limit detector 429 and the detector of FIG. 4 is connected as the high limit detector 428. 
     In accordance with the foregoing, the high limit is directly proportional to the reciprocal of d o  and the low limit is directly proportional to the reciprocal of d w . The output of analog divider 470 is directly proportional to the reciprocal of the differential pressure across DPU 472. 
     In the foregoing case, the width T w  of a pulse 478 is directly proportional to percent by weight of water and the time between pulses T t  is directly proportional to percent by weight of oil. By using an inverter at the output of comparator 430 the converse would be true. 
     OPERATION OF THE NET WEIGHT OIL COMPUTER OF FIG. 1 
     In the operation of the embodiment of the invention illustrated in FIG. 1, DPU 472 in combination with transmitter circuit 401 delivers a voltage to gate generator 400 which is directly proportional to the mixture of oil and water flowing in pipeline 473. Gate generator 400 then produces output pulses of widths which are directly proportional to the percent, by weight, of oil flowing in pipeline 473. Temperature probe 421 supplies an input to gate generator 400 to adjust the output in accordance with changes in the temperature of the oil flowing in pipeline 473, this temperature being the same as the temperature of the mixture of oil and water flowing in pipeline 473. Switch 408 in output circuit 471 is constructed to deliver pulses to counters 414 and 418 through driver amplifiers 413 and 417, respectively, and dividers 412 and 416, respectively, so that indicators 411 and 415, respectively, will indicate the total mass of oil and water, respectively, which has passed through that portion of pipeline 43 shown in FIG. 1. 
     Gate generator 400 controls the position of the pole 407 of switch 408 via lead 474 to divert, alternately, pulses received from the output of monostable multivibrator 420 connected via pole 407 to dividers 412 and 416. 
     Note will be taken that all of the outputs of transmitter 401 in FIGS. 1 and 2, and circuits 601 and 601&#39; illustrated in FIGS. 5 and 6, respectively, are directly proportional to the differential pressure. 
     Note will be taken that the water in pipeline 473 will not normally be pure and may contain sodium chloride and/or other contaminants in or out of solution. 
     THE NET WEIGHT OIL COMPUTER OF FIG. 5 
     In FIG. 5, oil density, water density and DPU and circuits are illustrated at 38, 39 and 600-601. Two analog subtractors 41 and 42 are illustrated with two analog multipliers 43 and 44. An analog divider is provided at 45. Two comparators are provided at 46 and 47. A differentiator is provided at 68. An integrator is provided at 69. A turbine meter is provided at 70. An output circuit is provided at 71. 
     Analog subtractor 41 receives inputs from sources 38 and 39. Multiplier 43 receives inputs from the output of analog subtractor 41 and the output of circuit 601. 
     Analog subtractor 42 receives inputs from sources 39 and 601, and impresses an output upon analog multiplier 44. Analog multiplier 44 receives another input from source 38. 
     The outputs of multipliers 43 and 44 are impressed upon analog divider 45. 
     The output of analog divider 45 is impressed upon a comparator 46. The output of comparator 46 is impressed upon output circuit 71. Both comparators 46 and 47 receive inputs from the output of integrator 69. The output of comparator 47 is impressed upon the reset input of integrator 69 via differentiator 68. 
     The output of turbine meter 70 is impressed upon output circuit 71. 
     Source 38 may be identical to FIG. 4 without the input from integrator 427 and without differential amplifier 34 and its leads 35, 36 and 37. The output of source 38 would then be taken from junction 26 shown in FIG. 4. 
     Similarly, source 39 may be identical to FIG. 3 except for the input from integrator 427 which would be omitted with differential amplifier 20 and its leads 21, 22 and 23. The output of source 39 would then be taken from the junction 12 shown in FIG. 3. 
     Source 601 may be transmitter circuit 401 shown in FIG. 1 without analog divider 470. 
     Subtractors 41 and 42 may be entirely conventional. The same is true of multipliers 43 and 44, and divider 45. The same is also true of comparators 46 and 47, differentiator 68 and 69. Turbine meter 70 may be all the structure indicated at 402, 419 and 420 in FIG. 1. 
     Output circuit 71 may be identical to output circuit 471 shown in FIG. 1, if desired. 
     The embodiment of the present invention illustrated in FIG. 5 computes oil and water in percent by weight and applies it to output circuit 71 from the output lead of comparator 46. Comparator 46 and integrator 69 simply convert the analog output of analog divider 45 to a pulse width or to a time between pulses. Comparator 46 may, for example, produce an output and impress the same upon output circuit 71 when the output of integrator 69 rises to the level of the amplitude of the output of analog divider 45 or falls to the amplitude of such output. 
     THE NET WEIGHT OIL COMPUTER OF FIG. 6 
     In the embodiment of the present invention illustrated in FIG. 6, the component parts there shown at 38&#39;, 39&#39;, 601&#39;, 41&#39;, 43&#39;, 42&#39;, 44&#39;, 45&#39;, 47&#39;, 46&#39;, 69&#39;, 71&#39;, 68&#39; and 70&#39; may be identical to respective corresponding parts 38, 39, 601, 41, 43, 42, 44, 45, 47, 46, 69, 71, 68 and 70 shown in FIG. 5. FIG. 6 is identical to FIG. 5 except for the connections from 38&#39;, 39&#39; and 601&#39;. The operation of both FIGS. 5 and 6 is thus common except for the inputs used. As connected, FIG. 6 computes percent, by weight, of both oil and water. 
     The phrase &#34;utilization means&#34; is hereby defined for use herein and for use in the claims to mean any means for utilizing the outputs of all three of the embodiments of the present invention disclosed herein. For example, the output from switch contact 409 in FIG. 1 is useful independent of the output from switch contact 410. Moreover, the output from switch contact 409 and/or the output from switch contact 410 may be impressed on indicators 411 and 415 as shown, on a process controller or otherwise. 
     The word &#34;fluid&#34; as used herein and as used in the claims is hereby defined to means either a gas or a liquid unless the invention is operable only with one of the fluids, i.e. a gas or a liquid unless the invention is operable only with one of the fluids, i.e. a gas or a liquid. 
     The computations made herein are by no means limited to computations made by analog computers. The invention as disclosed and claimed herein may also be practiced through the use of digital computers. 
     The phrase &#34;change the connection of a switch&#34; is hereby defined for use herein and for use in the claims to mean to open or to close the switch. 
     As is conventional, the dimension T w  shown in FIG. 2 precisely as shown and not otherwise changed would be defined as the &#34;width&#34; of one or more of the pulses 478. 
     In FIG. 2, the term T t  precisely as shown is the time between the trailing edge of the left-hand pulse 478 and the leading edge of the right-hand pulse 478. 
     For other net oil computers see U.S. Pat. Nos. 3,953,592; 3,906,198; 3,842,655; and 3,385,108. See also a capacitive probe type disclosed in the instruction manual of the NOC-200 made by HYDRIL CONTROL SYSTEMS DIVISION, 8383 Commerce Park Drive, Suite 600, Houston, Texas 77036. 
     An alternative embodiment of the present invention is shown in FIG. 7 including gate generator 400, a regulated source of potential 422&#39; which places a voltage +E on a contact 423&#39; of a switch 424&#39;. Source 422&#39; also places a voltage -E on a contact 425&#39;. Switch 424&#39; is a single-pole, double-throw switch having a pole 426&#39;. Switch 424&#39; may be a relay, an electronic switch or otherwise. An integrator 427&#39; is connected from the pole of switch 424&#39; to a high limit detector 428&#39;, a low limit detector 429&#39; and a comparator 430&#39;. The output of comparator 430&#39; is impressed upon switch 408, shown in FIG. 1. Integrator 427&#39; includes an input resistor 431&#39;, a feedback capacitor 432&#39; and an amplifier 433&#39;. Detectors 428&#39; and 429&#39; are connected, respectively, to the set &#34;1&#34; and set &#34;0&#34; inputs of a flip-flop 434&#39;. The &#34;0&#34; output of flip-flop 434&#39; operates switch 424&#39;. 
     High limit detector 428&#39; causes the output of intergrator 427&#39; to decline after a predetermined high level is reached. Conversely, low limit detector 429&#39; causes the output of integrator 427&#39; to increase once a predetermined low level is reached. Thus, the output of the integrator 427&#39; is a triangular wave, the peaks of which are the predetermined high limit and the valleys of which are the predetermined low limit. Thus, when the &#34;0&#34; output of flip-flop 434&#39; is high, switch pole 426&#39; is in engagement with contact 423&#39;. Conversely, when the &#34;0&#34; output of flip-flop 434&#39; is low, pole 426&#39; is in engagement with contact 425&#39;. 
     The output of circuit 401 is impressed upon comparator 430&#39;. High limit detector 428&#39; is shown in FIG. 8 including resistors 442&#39; and 443&#39; connected in series with potentiometer 444&#39; having a winding 445&#39; and a wiper 446&#39;. 
     Resistor 442&#39; is connected to a source of potential E c  &#39;. Resistor 443&#39; is connected to a source of potential E d . Wiper 446&#39; is connected from the non-inverting input of an amplifier 447&#39;. The inverting input of amplifier 447&#39; receives the output of integrator 427&#39;. 
     As shown in FIG. 9, a somewhat similar arrangement includes a potentiometer 448&#39; having a winding 449&#39; and a wiper 450&#39;. The position of wipers 446&#39; and 450&#39; is determined by characteristics of the oil and water in pipeline 473. The wiper locations on the potentiometers 444&#39; and 448&#39; are set in proportion to the respective densities or specific gravities measured. The high limit set by the location of wiper 446&#39; thus is set in accordance with the specific gravity of the water. The location of wiper 450&#39; is then set in accordance with the specific gravity of the oil. 
     In FIG. 9, low limit detector 429&#39; also includes resistors 451&#39; and 452&#39; connected, respectively, from the ends of winding 449&#39; in series therewith to sources of potential E e  &#39; and E f  &#39;. Detector 429&#39; also includes amplifiers 453&#39; and 454&#39;. Probe 421&#39; may be identical to probe 421. Probe 421&#39; is thus connected to the inverting input of amplifier 453&#39; from wiper 450&#39; through a resistor 455&#39;. Amplifier 453&#39; has feedback resistor 456&#39;. The non-inverting input of amplifier 453&#39; is maintained at potential V1. The output of amplifier 453&#39; is impressed upon the inverting input of amplifier 454&#39;. Amplifier 454&#39; receives a non-inverting input from integrator 427&#39;. The output of detector 428&#39; in FIG. 8 is thus impressed upon the set &#34;1&#34; input of flip-flop 434&#39;, and the output of detector 429&#39; in FIG. 9 is impressed upon the set &#34;0&#34; input of flip-flop 434&#39;. 
     Comparator 430&#39;, shown in FIGS. 7 and 10, produces an output pulse of a time width equal to the time that the triangular wave output of integrator 427&#39; exceeds the magnitude of the voltage at the output of circuit 401. 
     FIGS. 11 and 12 may be identical to each other and to FIGS. 5 and 6 except that the connections are different from block-to-block in all FIGS. 5, 6, 11 and 12. Further, neither of FIGS. 11 and 12 have any of the analog multipliers 43, 44, 43&#39; and 44&#39; of FIGS. 5 and 6, respectively. 
     A first set of components 38&#39;&#34;, 39&#39;&#34;, 600&#39;&#34;, 601&#39;&#34;,41&#39;&#34;, 42&#39;&#34;, 45&#39;&#34;, 46&#39;&#34;, 47&#39;&#34;, 68&#39;&#34;, 69&#39;&#34;, 70&#39;&#34; and 71&#39;&#34; in FIG. 12 may be respectively identical to a second set of components 38&#34;, 39&#34;, 600&#34;, 601&#34;, 41&#34;, 42&#34;, 45&#34;, 46&#34;, 47&#34;, 68&#34;, 70&#34; and 71&#34; shown in FIG. 11. The said second set may be respectively identical to a third set in FIG. 5 as follows: 38, 39, 600, 601, 41, 42, 45, 46, 47, 68, 69, 70 and 71.