The drawing illustrates a system 10 for detecting and indicating the level of material 12 in a vessel 14 in accordance with an exemplary embodiment of the present disclosure. System 10 includes a probe 16 adapted to be coupled to vessel 14 so as to be responsive to variations in capacitance at the vessel as a function of the level of material 12 in the vessel. A driver amplifier 18 is coupled to probe 16 for applying a periodic electrical signal to the probe. Driver 18 receives input from a variable frequency generator 20 for controlling the frequency of the signal applied to the probe. A DSP engine 22 controls operation of variable frequency generator 20 and receives input from the generator indicative of the frequency of the signal being applied to the probe. Probe 16 is also connected to an amplifier 24. Amplifier 24 preferably converts the current feedback from probe 16 to a voltage signal and applies this voltage signal at controlled variable gain to DSP engine 22. The gain or gains of amplifier 24 are controlled by a controller 26, which preferably takes the form of a programed microprocessor. DSP engine 22 receives a frequency control input from controller 26 and provides an output to controller 26 indicative of the admittance detected at probe 16.
A reference impedance 30, which may be a resistor, an inductor or, more preferably, a capacitor, is selectively connectable in parallel with probe 16 by means of a switch 32 that is controlled by controller 26. Controller 26 preferably receives input from a pushbutton 34 for initiating a calibration mode of operation, and from a switch 36 responsive to a flux generator 38 through the wall of housing 40 for initiating a calibration mode of operation without having to open the housing. Housing 40 may or may not be explosion-proof. Flux-repressive switch 36 may comprise a reed switch or a hall switch, for example, responsive to an external magnet flux generator 38, or may comprise a photo switch responsive to an external photo flux generator 38. Controller 26 also is connected to inputs/outputs 42 to receive inputs from remote circuitry, optionally including an input to initiate a calibration mode of operation, and/or to provide outputs that may include internal or external relays for indicating the level of material in the vessel, one or more LEDs visible through housing 40 for indicating the operating status of system 10, digital and/or analog connections to remote indication circuitry, etc. In the exemplary embodiment of the disclosure, driver 18 also is connected through an amplifier 44 to a guard shield on probe 16, although the use of a guard shield is by no means essential to the present disclosure.
During a measurement mode of operation, driver 18 applies a periodic signal at fixed frequency to probe 16, preferably a sinusoidal signal. The amplitude of this signal varies as a function of capacitance characteristics at probe 16, which in turn vary as a function of the level of material 12 in vessel 14. This signal is fed through amplifier 24 to DSP engine 22, which determines the apparent admittance at probe 16 and outputs this admittance signal to controller 26. This admittance signal preferably is an absolute value of the combination of the real and imaginary components of the signal returned from probe 16, although the real and imaginary components could be fed separately to controller 26. Controller 26 monitors the admittance signal from DSP engine 22 to determine the level of material 12 within vessel 16. This level determination can be a point-level determination when material 12 contacts probe 16, or can be a continuous level determination—i.e., a level determination as a continuous function of the level of the material relative to the probe. It will be appreciated, of course, that although DSP engine 22 and controller 26 are illustrated as separate components in the drawing, these components could readily be combined.
A calibration mode of operation can be initiated by pushbutton 34 with the cover of the housing removed by a technician or the like to set-up or repair system 10, or can be initiated by bringing magnet 38 into external proximity with switch 36 without having to open the housing. The calibration mode of operation preferably is initiated with material 12 spaced from probe 16 so that probe 16 effectively is exposed to an empty vessel. The calibration mode of operation in the exemplary embodiment of the disclosure involves three stages: (1) setting the gains at amplifier 24, (2) determining the calibration frequency range of variable frequency generator 20, and (3) determining the fixed frequency at which generator 20 will operate following the calibration mode of operation. Gains at amplifier 24 are set by controller 26 by operating generator 20 at a predetermined fixed frequency and varying the gains at amplifier 24 to maximize the apparent admittance at the probe. In an exemplary embodiment of the disclosure, for example, the gains at amplifier 24 can be set to maximize the admittance signal at a frequency of 30 KHz, for example. With the gains at stage 24 so set, generator 20 is then operated at two (or more) preselected frequencies to determine the admittance versus frequency characteristic at probe 16. It has been found that such admittance versus frequency characteristic at probe 16 generally is linear at least between 15 KHz and 20 KHz, for example. Thus, by selectively operating generator 20 at these two frequencies and monitoring the return signal from the probe, the corresponding admittance values are employed at controller 26 to establish a linear relationship of admittance versus frequency.
Controller 26 then determines the upper and lower values of the calibration frequency range as a function of this linear relationship and preselected admittance values. In an exemplary embodiment of the disclosure, these admittance values are empirically determined. In one example, these admittance values are 8 Kmhos and 10 Kmhos. Using these empirically determined admittance values and the previously determined relationship of admittance versus frequency, upper and lower limits of the calibration frequency range are determined. In an exemplary embodiment of the disclosure, the total available calibration frequency range may be between 30 KHz and 100 KHz, for example. Applying the preselected admittance values to the determined relationship of admittance versus frequency, a calibration frequency range of 35 KHz to 45 KHz may be identified, for example. Variable frequency controller 20 is then controlled by controller 26 through DSP engine 22 to apply periodic electrical signal to probe 16 through driver 18 at discrete frequencies within this frequency range, such as in increasing steps of 1 KHz or 2 KHz from 35 KHz to 45 KHz in this example. At each frequency step, the admittance at probe 16 is determined both with switch 32 open and with switch 32 closed so as to connect reference impedance 30 in parallel with probe 16. Reference impedance 30 may have a value corresponding to the desired minimum sensitivity at the probe, such as two picofarads for example. In one exemplary implementation of the disclosure, this value has been selected as corresponding to the change in capacitance at probe 16 when material 12 consisting of light plastic pellets reaches the level of the probe. Other impedance values can be employed. A number of impedances 30 and associated switches 32 can be employed for controlled connection in parallel with probe 16 by controller 26 for different sensitivities, if desired. The desired sensitivity could be input to controller 26 through inputs/outputs 42.
At each incremental frequency during the calibration mode of operation, the admittance return signal is monitored by DSP engine 22 and controller 26 both with and without connection of reference impedance 30 in parallel with the probe. An operating frequency is selected, preferably the frequency at which the admittance difference is greatest with reference impedance 30 connected and disconnected from the circuit. That is, the system operating frequency is selected during the calibration mode of operation as the calibration frequency at which the difference is greatest between the output of amplifier 24 with probe 16 alone and the output of amplifier 24 with impedance 30 connected in parallel with probe 16. Controller 36 and DSP engine 22 then set variable frequency generator 20 to operate at this frequency until the next calibration mode of operation is initiated. The calibration operation discussed above preferably is controlled by suitable software stored in controller 26.
If desired, calibration can be monitored as disclosed in U.S. Pat. No. 5,088,325.
As shown in the drawing, generator 20, DSP engine 22 and controller 26 are referenced (connected) to circuit ground 46. Housing 40 preferably is mounted on vessel 14 and connected to earth ground 48 through vessel 14. Circuit ground 46 preferably is isolated from earth ground 48, and the output of driver 18 preferably is fed to probe 16 through earth ground 48. This feature, which is preferred but optional, simplifies the design and cost of the power supply for the system.
There thus have been disclosed a method and system for indicating level of material in a vessel that fully satisfy all of the objects and aims previously set forth. The disclosure has been presented in conjunction with an exemplary embodiment, and a number of modifications and variations have been discussed. Other modifications and variations readily will suggest themselves to persons of ordinary skill in the art in view of the foregoing description. The disclosure is intended to embrace all such modifications and variations as fall within the spirit and broad scope of the appended claims.