Method for generating a synthetic time period output signal
10951219 ยท 2021-03-16
Assignee
Inventors
Cpc classification
G01N9/002
PHYSICS
International classification
G01N9/00
PHYSICS
Abstract
A system and method of generating a synthetic time period output signal for a fork density sensor (601) which produces a consistent and low-noise output signal (705) which is identical in frequency to the frequency at which the fork density meter vibrates. Such a synthetic signal generated by a meter signal prevents any real noise from the pickoffs from propagating to the output meter and removes process noise and interference from the produced output signal.
Claims
1. A method of generating a time period output signal, the method comprising: receiving a signal from a meter (601); filtering (608) the signal; synthesizing (610) an analog synthesized filtered signal based on the filtered signal; and inputting the analog synthesized filtered signal (604) into a drive circuitry (611) and an output circuit; generating, with the output circuit, the time period output signal (606) from the analog synthesized filtered signal (604).
2. The method of claim 1, wherein the meter is a fork density sensor (601).
3. The method of claim 1, wherein the filtering also includes gaining up (605) the signal.
4. The method of claim 3 wherein the filtering uses an analog circuit (605).
5. The method of claim 1, wherein the output circuit is a TPSig output circuit (606) that is configured to generate the time period output signal and transmit the time period output signal to a computer.
6. The method of claim 5, wherein the TPSig output circuit (606) provides a square wave signal.
7. The method of claim 6, wherein the square wave signal is entirely synthesized.
8. The method of claim 1, wherein the signal from the sensor is an analog pickoff (603) signal.
9. A method of generating a synthetic time period output signal, comprising: receiving a pickoff signal from a fork density sensor meter (701); filtering the pickoff signal (702); synthesizing the filtered analog pickoff signal (704) to create an analog drive signal; and inputting the analog drive signal into a drive circuitry to generate a drive signal and into an output circuit to generate a time period output signal.
10. The method of claim 9, wherein the filtering also includes gaining up (704) the signal.
11. The method of claim 9 wherein the filtering (702) uses an analog circuit.
12. The method of claim 9, wherein the output circuit is a TPSig output circuit that is configured to generate the time period output signal and transmit the time period output signal to a computing device.
13. The method of claim 12, wherein the TPSig output circuit provides a square wave signal.
14. The method of claim 13, wherein the square wave signal is entirely synthesized.
15. The method of claim 9, wherein the signal from the sensor is an analog pickoff signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The same reference number represents the same element on all drawings. It should be understood that the drawings are not necessarily to scale.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION OF THE INVENTION
(9)
(10)
(11) The vibratory sensor 5 may be at least partially immersed into a fluid to be characterized. The fluid can comprise a liquid or a gas. Alternatively, the fluid can comprise a multi-phase fluid, such as a liquid that includes entrained gas, entrained solids, multiple liquids, or combinations thereof. Some exemplary fluids include cement slurries, petroleum products, or the like. The vibratory sensor 5 may be mounted in a pipe or conduit, a tank, a container, or other fluid vessels. The vibratory sensor 5 can also be mounted in a manifold or similar structure for directing a fluid flow. However, other mounting arrangements are contemplated and are within the scope of the description and claims.
(12) The vibratory sensor 5 operates to provide fluid measurements. The vibratory sensor 5 may provide fluid measurements including one or more of a fluid density and a fluid viscosity for a fluid, including flowing or non-flowing fluids. The vibratory sensor 5 may provide fluid measurements including a fluid mass flow rate, a fluid volume flow rate, and/or a fluid temperature. This listing is not exhaustive and the vibratory sensor 5 may measure or determine other fluid characteristics.
(13) The meter electronics 20 can provide electrical power to the vibratory element 104 via the lead or leads 100. The meter electronics 20 controls operation of the vibratory element 104 via the lead or leads 100. For example, the meter electronics 20 may generate a drive signal and provide the generated drive signal to the vibratory element 104, wherein the vibratory element 104 generates a vibration in one or more vibratory components using the generated drive signal. The generated drive signal can control the vibrational amplitude and frequency of the vibratory element 104. The generated drive signal can also control the vibrational duration and/or vibrational timing.
(14) The meter electronics 20 can also receive a vibration signal or signals from the vibratory element 104 via the lead or leads 100. The meter electronics 20 may process the vibration signal or signals to generate a density measurement, for example. The meter electronics 20 processes the vibration signal or signals received from the vibratory element 104 to determine a frequency of the signal or signals. Further, or in addition, the meter electronics 20 processes the vibration signal or signals to determine other characteristics of the fluid, such as a viscosity or a phase difference between signals, that can be processed to determine a fluid flow rate, for example. As can be appreciated, the phase difference is typically measured or expressed in spatial units such as degrees or radians although any suitable unit can be employed such as time-based units. If time-based units are employed, then the phase difference may be referred to by those in the art as a time-delay between the vibration signal and the drive signal. Other vibrational response characteristics and/or fluid measurements are contemplated and are within the scope of the description and claims.
(15) The meter electronics 20 can be further coupled to a communication link 26. The meter electronics 20 may communicate the vibration signal over the communication link 26. The meter electronics 20 may also process the received vibration signal to generate a measurement value or values and may communicate the measurement value or values over the communication link 26. In addition, the meter electronics 20 can receive information over the communication link 26. For example, the meter electronics 20 may receive commands, updates, operational values or operational value changes, and/or programming updates or changes over the communication link 26.
(16)
(17) In the embodiment shown, the vibratory element 104 of the vibratory sensor 5 comprises a tuning fork structure, wherein the vibratory element 104 is at least partially immersed in the fluid being measured. The vibratory element 104 includes a housing 105 that can be affixed to another structure, such as a pipe, conduit, tank, receptacle, manifold, or any other fluid-handling structure. The housing 105 retains the vibratory element 104 while the vibratory element 104 remains at least partially exposed. The vibratory element 104 is therefore configured to be immersed in the fluid.
(18) The vibratory element 104 in the embodiment shown includes first and second tines 112 and 114 that are configured to extend at least partially into the fluid. The first and second tines 112 and 114 comprise elongated elements that may have any desired cross-sectional shape. The first and second tines 112 and 114 may be at least partially flexible or resilient in nature. The vibratory sensor 5 further includes corresponding first and second piezo elements 122 and 124 that comprise piezo-electric crystal elements. The first and second piezo elements 122 and 124 are located adjacent to the first and second tines 112 and 114, respectively. The first and second piezo elements 122 and 124 are configured to contact and mechanically interact with the first and second tines 112 and 114.
(19) The first piezo element 122 is in contact with at least a portion of the first tine 112. The first piezo element 122 is also electrically coupled to the driver circuit 138. The driver circuit 138 provides the generated drive signal to the first piezo element 122. The first piezo element 122 expands and contracts when subjected to the generated drive signal. As a result, the first piezo element 122 may alternatingly deform and displace the first tine 112 from side to side in a vibratory motion (see dashed lines), disturbing the fluid in a periodic, reciprocating manner.
(20) The second piezo element 124 is shown as coupled to a receiver circuit 134 that produces the vibration signal corresponding to the deformations of the second tine 114 in the fluid. Movement of the second tine 114 causes a corresponding electrical vibration signal to be generated by the second piezo element 124. The second piezo element 124 transmits the vibration signal to the meter electronics 20. The meter electronics 20 includes the interface circuit 136.
(21) The interface circuit 136 can be configured to communicate with external devices. The interface circuit 136 communicates a vibration measurement signal or signals and may communicate determined fluid characteristics to one or more external devices. The meter electronics 20 can transmit vibration signal characteristics via the interface circuit 136, such as a vibration signal frequency and a vibration signal amplitude of the vibration signal. The meter electronics 20 may transmit fluid measurements via the interface circuit 136, such as a density and/or viscosity of the fluid, among other things. Other fluid measurements are contemplated and are within the scope of the description and claims. In addition, the interface circuit 136 may receive communications from external devices, including commands and data for generating measurement values, for example. In some embodiments, the receiver circuit 134 is coupled to the driver circuit 138, with the receiver circuit 134 providing the vibration signal to the driver circuit 138.
(22) The driver circuit 138 generates the drive signal for the vibratory element 104. The driver circuit 138 can modify characteristics of the generated drive signal. The driver circuit 138 includes an open-loop drive. The open-loop drive may be used by the driver circuit 138 to generate the drive signal and supply the generated drive signal to the vibratory element 104 (e.g., to the first piezo element 122). In some embodiments, the open-loop drive generates the drive signal to achieve a target phase difference .sub.t, commencing at an initial frequency .sub.i. The open-loop drive may not operate based on feedback from the vibration signal, as will be described in more detail in the following with reference to
(23)
(24) The open-loop drive 147 includes an analog to digital converter 147a that is coupled to a phase detector 147b. The phase detector 147b is coupled to a signal generator 147c. Also shown is the vibratory element 104, which includes the first piezo element 122 and the second piezo element 124. The open-loop drive 147 can be implemented with a digital signal processor that is configured to execute one or more codes or programs that sample, process, and generate signals. Additionally or alternatively, the open-loop drive 147 can be implemented with an electronics circuit coupled to the digital signal processor, or the like.
(25) The vibration signal provided by the first piezo element 122 is sent to the analog input filter 138a. The analog input filter 138a filters the vibration signal prior to the vibration signal being sampled by the analog to digital converter 147a. In the embodiment shown, the analog input filter 138a can be comprised of a low pass filter with cutoff frequency that is about half the sample rate of the open-loop drive 147 although any suitable low pass filter can be employed. The low pass filter can be provided by passive components such as an inductor, a capacitor, and a resistor, although any suitable components, distributed or discrete, such as an operational amplifier filter, can be employed.
(26) The analog to digital converter 147a can sample the filtered vibration signal to form a sampled vibration signal. The analog to digital converter 147a can also sample the generated drive signal through a second channel (not shown). The sampling can be by any appropriate sampling method. As can be appreciated, the generated drive signal sampled by the analog to digital converter 147a does not have noise associated with the vibration signal. The generated drive signal is provided to the phase detector 147b.
(27) The phase detector 147b can compare the phases of the sampled vibration and generated drive signals. The phase detector 147b can be a processor configured to execute one or more codes or programs that sample, process, and generate signals to detect a phase difference between two signals, as will be described in more detail in the following with reference to
(28) The measured phase difference .sub.m is compared with the target phase difference .sub.t. The target phase difference .sub.t is a desired phase difference between the vibration signal and the generated drive signal. For example, in an embodiment where the target phase difference .sub.t is approximately 45, the difference between the measured phase difference .sub.m and the target phase difference .sub.t can be zero if the measured phase difference .sub.m is also the same as or about 45. However, any appropriate target phase difference .sub.t can be employed in alternative embodiments. Using the comparison between the measured phase difference .sub.m and the target phase difference .sub.t, the phase detector 147b can generate a command frequency .sub.c.
(29) The command frequency .sub.c can be employed to generate the drive signal. Additionally or alternatively, an initial frequency .sub.i that is not determined from the comparison between the measured phase difference .sub.m and the target phase difference .sub.t can be employed. The initial frequency .sub.i could be a preselected frequency used to form an initial generated drive signal. The initial generated drive signal can be sampled as described in the foregoing and compared with the sampled vibration signal. The comparison between the sampled initial generated drive signal and the sampled vibration signal can be used to generate the command frequency .sub.c. The command frequency .sub.c and the initial frequency .sub.i can have units of radians per second although any suitable units, such as, for example, Hertz (Hz), can be employed. The command frequency .sub.c or the initial frequency .sub.i can be provided to the signal generator 147c.
(30) The signal generator 147c can receive the command frequency .sub.c from the phase detector 147b and provide the generated drive signal with a frequency that is the same as the command frequency .sub.c. The generated drive signal may be sent, as discussed in the foregoing, to the analog to digital converter 147a. The generated drive signal is also sent to the first piezo element 122 via the analog output filter 138b. Additionally or alternatively, the generated drive signal can be sent to other components in other embodiments.
(31) As discussed in the foregoing, the vibratory element 104 has a vibration response due to the drive signal. The vibration response has vibration response parameters, such as a resonant frequency 0, quality factor Q, or the like, which can be employed to calculate various properties of the fluid being measured. The vibration response and exemplary vibration response parameters, as well as how the vibration response parameters can be used to calculate the properties of the fluid, are discussed in more detail in the following.
(32)
(33) The time period output may be created by processing the signal from the fork density sensor 501. This current method of filtering and gaining a signal originating from the pickoffs using analog means works well in many situations where a fork density meter is used. However problems may occur in situations where large amounts of process noise are present.
(34) Process noise may be caused by any number of not modeled system dynamics of disturbance inputs. Process noise may emanate from internal sources and may include, but is not limited to, parameter noise, thermal noise, input noise, thermal EMF, dielectric absorption, audio phonic noise and the like. Process noise may also emanate from external noise sources and may include, but is not limited to, electric field coupling, inductive coupling, radio frequency coupling, ground loops, common mode rejection noise, cable noise, noise filtering and the like.
(35) High levels of process noise may grow to become a significant and consistent component within the pickoff signal. Such process noise situations may cause the TPSig output to become jittery to the degree that the input signal can no longer successfully be measured by a flow computer.
(36) Process noise occurring on the pickoffs is a great concern within the fork phase error control. The fork density meter technology disclosed in application 62/094,217 enables the fork density meter to successfully drive the fork and digitally measure density in process noise conditions where such fork density meters have previously failed to operate. The 62/094,217 application technology does not address the actual noise in the pickoffs. This noise is fed into the TPSig circuit and causes flow computers to lose their time period measurement.
(37) For TPSig output to be consistently measured by a flow computer in high noise applications, the noise from the analog signal must be removed before the signal is fed into the TPSig output circuit. Synthesizing the signal used for the TPSig output ensures any real process noise on the real pickoff signal is not capable of propagating to the flow computer measurement.
(38) The time period output may also be created by tying into the drive signal.
(39)
(40) The distinction between the present embodiment and the improvement is that in the first embodiment 500 the branch 504 occurs between the pickoff circuitry 503 and the CODEC/DSP 507 while in the second embodiment 600 the branch occurs between the CODEC/DSP 607 and the drive circuitry 611.
(41)
(42) To review, the process steps are as follows:
(43) 1. Obtain the signal from the sensor on the meter 601
(44) 2. Run the signal through the CODEC/DSP 607
(45) 3. Generate the synthesized drive signal 610
(46) 4. Take the synthesized drive signal and send it to the analog gain/filter 605
(47) 5. Output the TPSig signal 606
(48) A mode of implementation of the present application is through use of a drive signal synthesizer. The synthesizer generates the input signal for use as the input by the analog gain/filtering circuitry associated with the fork density transmitter. In the 62/094,217 application, the fork synthesized drive signal is the signal which controls the oscillation frequency of the fork density meter. In the present application, the drive signal can be used as the input signal to the analog gain/filter circuit to generate a consistent, low-noise TPSig output signal that oscillates at a frequency identical to the oscillation frequency of the fork density meter. A key advantage of the present application is that the signal is entirely digitally synthesized by the phase controller. This ensures that any real process noise which may appear in the pickoffs of the fork density meter is not capable of propagating to the TPSig output.
(49) The detailed descriptions of the above embodiments are not exhaustive descriptions of all embodiments contemplated by the inventors to be within the scope of the Application. Indeed, persons skilled in the art will recognize that certain elements of the above-described embodiments may variously be combined or eliminated to create further embodiments, and such further embodiments fall within the scope and teachings of the Application. It will also be apparent to those of ordinary skill in the art that the above-described embodiments may be combined in whole or in part to create additional embodiments within the scope and teachings of the Application.