FLUID PROPERTY SENSOR AND FLUID PARTICLE SENSOR
20210231597 · 2021-07-29
Assignee
Inventors
- Patrick EMOKPAE (Devon, CA)
- David RUTLEDGE (Edmonton, CA)
- Richard HELFMANN (Calgary, CA)
- Terry GREENIAUS (Edmonton, CA)
- Chris HOLT (Edmonton, CA)
- Mohammad ABDOLRAZZAGHI (Edmonton, CA)
- Brad HESSON (Sherwood Park, CA)
- Richard HULL (Calmar, CA)
- Kenny XU (Edmonton, CA)
- Arunkumar SUNDARAM (Waterloo, CA)
Cpc classification
G01N27/227
PHYSICS
G01N15/0656
PHYSICS
International classification
Abstract
A method, system and apparatus for sensing fluids. A fluid sensor is configured to analyze a fluid utilizing impedance spectroscopy. Capacitive impedance of fluids is sensed and measured. Inductive impedance of suspended particles in fluids is measured. An electrochemical fingerprint of the properties of the fluid or of the particles within the fluid is generated. Fluid analytics data is generated from sensor signal data of the fluids under test. Trainable artificial intelligence algorithms are used to generate fluid analytics data.
Claims
1. A fluid sensor, comprising: a microcontroller; a sensing unit communicatively coupled to the microcontroller, the sensing unit including a driving element and a sensing element; wherein the microcontroller generates a signal to excite the driving element of the sensing unit and receives a signal from the sensing element of the sensor so as to perform a measurement of a complex impedance of a fluid; and wherein a property of the fluid is determined based on the measurement.
2. The sensor of claim 1, wherein: the measurement comprises impedance exhibited due to a capacitance of the fluid; and the property comprises an electrochemical fingerprint of the fluid across a range of frequencies.
3. The sensor of claim 1, the sensing unit further comprising: a resistance temperature detector; a plurality of electrode pins arranged axially parallel to and radially surrounding the resistance temperature detector; and a plurality of electrode plates mounted on the electrode pins and oriented orthogonally thereto.
4. The sensor of claim 3, wherein: the plurality of electrode pins comprises a first set of pins and a second set of pins; the plurality of electrode plates comprises a first set of plates and a second set of plates; the first set of pins is coupled to the first set of plates; and the second set of pins is coupled to the second set of plates.
5. The sensor of claim 3, wherein the first set of pins and the first set of plates are the sensing element and the second set of pins and the second set of plates are the driving element.
6. The sensor of claim 1, wherein: the measurement comprises impedance exhibited due to inductance of particles in the fluid; and the property comprises a concentration of and a type determination for at least one type of particle in the fluid.
7. The sensor of claim 1, the sensing unit further comprising: a fluid conduit; at least one first coil surrounding the fluid conduit; and at least one second coil surrounding the at least one first coil.
8. The sensor of claim 7, wherein the at least one first coil is the sensing element and the at least one second coil is the driving element.
9. A system for sensing one or more properties of a fluid, comprising: a fluid sensor; a data collection service; a database; and an artificial intelligence model; wherein the data collection service receives sensed data of a fluid from the fluid sensor and stores the data in the database; wherein the artificial intelligence model includes a machine learning algorithm that is trained to determine a property of the fluid by analysis of data related to the fluid in light of analysis of data related to one or more previously-tested fluids.
10. The system of claim 9, further comprising: a reference database and a test database; wherein the data collection service receives first sensed data of a reference fluid from the fluid sensor and stores the first sensed data in the reference database; wherein the data collection service receives second sensed data of a fluid-under-test from the fluid sensor and stores the second sensed data in the test database; and wherein the artificial intelligence model is trained using one or more first sensed data from the reference database; and wherein the artificial intelligence model determines a property of the fluid-under-test by analyzing the second sensed data in light of training based on the first sensed data.
11. The system of claim 9, wherein the sensed data comprises a fingerprint of the fluid.
12. The system of claim 11, wherein the fingerprint is one or more of an electrochemical fingerprint and an electromagnetic induction fingerprint.
13. The system of claim 12, wherein the artificial intelligence model is trained based on the fingerprint.
14. The system of claim 13, wherein the artificial intelligence model is further trained based on one or more of: a type determination and a concentration of at least one type of metallic particle in the fluid; a type determination and a concentration of at least one type of non-metallic particle in the fluid; a composition of the fluid; a viscosity of the fluid; a pressure applied to the fluid; a flow rate of the fluid; a temperature of the fluid; and a color of the fluid.
15. A method for sensing a property of a fluid, comprising: a) generating an AC voltage signal at a frequency; b) exciting a driving element of a sensing unit by the voltage signal; c) sensing a complex impedance of the fluid using a sensing element; d) receiving a sensed signal from the sensing element; e) performing signal processing on the sensed signal; and f) repeating steps a-e across a range of frequencies to obtain a fingerprint of the fluid.
16. The method of claim 15, wherein the range of frequencies comprises 0.04 Hz to 100 kHz.
17. The method of claim 15, further comprising storing the fingerprint in a database.
18. The method of claim 15, wherein the fingerprint is one or more of an electrochemical fingerprint and an electromagnetic induction fingerprint.
19. The method of claim 18, further comprising training an artificial intelligence model based on the fingerprint.
20. The method of claim 19, further comprising analyzing a fingerprint of a second fluid by the trained artificial intelligence model.
Description
BRIEF DESCRIPTION OF THE FIGURES
[0017] Advantages of embodiments of the present invention will be apparent from the following detailed description of the exemplary embodiments. The following detailed description should be considered in conjunction with the accompanying figures in which:
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
DETAILED DESCRIPTION
[0049] Aspects of the invention are disclosed in the following description and related drawings directed to specific embodiments of the invention. Those skilled in the art will recognize that alternate embodiments may be devised without departing from the spirit or the scope of the claims. Additionally, well-known elements of exemplary embodiments of the invention will not be described in detail or will be omitted so as not to obscure the relevant details of the invention. Further, to facilitate an understanding of the description discussion of several terms used herein follows.
[0050] As used herein, the word “exemplary” means “serving as an example, instance or illustration.” The embodiments described herein are not limiting, but rather are exemplary only. It should be understood that the described embodiments are not necessarily to be construed as preferred or advantageous over other embodiments. Moreover, the terms “embodiments of the invention”, “embodiments” or “invention” do not require that all embodiments of the invention include the discussed feature, advantage or mode of operation.
[0051] Further, many of the embodiments described herein may be described in terms of sequences of actions to be performed by, for example, elements of a computing device. It should be recognized by those skilled in the art that the various sequence of actions described herein can be performed by specific circuits (e.g., application specific integrated circuits (ASICs)) and/or by program instructions executed by at least one processor. Additionally, the sequence of actions described herein can be embodied entirely within any form of computer-readable storage medium such that execution of the sequence of actions enables the processor to perform the functionality described herein. Thus, the various aspects of the present invention may be embodied in a number of different forms, all of which have been contemplated to be within the scope of the claimed subject matter. In addition, for each of the embodiments described herein, the corresponding form of any such embodiments may be described herein as, for example, “a computer configured to” perform the described action.
[0052] According to at least one exemplary embodiment, as shown in
[0053] The MCU 302 may be multifunctional and can be used to process raw digital signals from ADC 308 to provide impedance measurement, to control other onboard peripherals, and to communicate with external entities. The signal generator 304 may be controlled by MCU 302 to generate AC voltage signals of various frequencies, for example, within the range of 0.01 Hz to 100 kHz, so as to excite sensor head 310. Analog front end 306 may be controlled by MCU 302 so as to amplify and condition weak current signals such that they may be sampled by the ADC 308 during use. Communication interface 312 may be used to communicate impedance measurement data to be stored by external data collection services, while power supply 314 may provide electrical power to MCU 302 and other onboard components.
[0054] Sensor head 310 may include a first set of components for the fluid property sensor and a second set of components for the fluid particle sensor. In the fluid property sensor, sensor head 310 may include one or more resistance temperature detectors and one or more pairs of electrodes to measure capacitive impedance of the fluid. The pair of electrodes may include a driving electrode and a sensing electrode. In the fluid particle sensor, sensor head 310 may include one or more resistance temperature detectors and one or more inductive coils disposed around a fluid pipeline to measure inductive impedance of the fluid.
[0055] According to at least one exemplary embodiment, as shown in
[0056] Data collection services 352 may be computer-implemented programs or processes, stored on a non-transitory computer-readable medium and executable by a processor. Data collection services 352 can function to collect data from sensors at various locations and store the data in reference fluid sensor data database 354 and/or other organized permanent database entities 356. The databases 354, 356 may also be stored on non-transitory computer-readable media, or any other media that enable system 350 to function as described herein. The reference fluid sensor data database 354 can store processed sensor output data obtained by sensing reference fluids.
[0057] Trainable AI models 358 may be algorithms adapted for machine learning. Data from reference fluid sensor data database 354 may be used to train the AI models 358. AI models 358 trained with data from reference database 354 may be used to provide analysis of the fluids-under-test.
[0058] In an exemplary method for sensing fluid properties, the MCU 302 may control the voltage signal generator 304 to generate AC voltage signals of various frequencies, for example, within the range of 0.01 Hz to 100 KHz. The AC voltage signals from generator 304 may excite a driving electrode of sensor head 310. Signals from the sensing electrode and the resistance temperature detectors of sensor head 310 may be sent to analog front end 306, where the signals can be amplified and sent to ADC 308. Signals from ADC 308 can be sent both to MCU 302 for processing so as to provide impedance measurements, and concurrently or subsequently to communication interface 312 for external processing and/or storage.
[0059] In a further exemplary method for determining fluid properties, data collection services 352 may receive data from communication interface 312 of sensor 300. The data may include the electrochemical fingerprint and/or electromagnetic induction fingerprint of the fluid being analyzed. If a reference fluid is being analyzed, data collection services can send the data, to reference database 354. AI models 358 may then be trained based on the fingerprint and on the additional data provided to AI models 358 for training. Additional information measured and provided for AI model training may include: the type and concentration of metallic particles; the type and concentration of non-metallic particles; the composition of the prepared fluid being tested; the viscosity of the fluid; the pressure endured by the fluid; the flow rate of the fluid; the temperature of the fluid; and the color of the fluid.
[0060] If a fluid-under-test is being analyzed, the data may be stored in one or more testing databases 356 and may further be sent to AI models 358. AI models 358 may then analyze data from the fluid-under-test by comparing said data to data stored in reference database 354. Aspects of fluids that are analyzed by the models may include the fluid fingerprint, the time of measurement, frequency of the applied voltage, impedance as described by phase and magnitude shifts, and physical conditions of the fluid such as temperature and pressure. Interface 360 may then provide results of the fluid analysis to a user, for example by displaying the results on a display device. An exemplary display of the quantity over time of chlorides and calcium in a fluid-under-test is shown in
[0061] Measurement Techniques
[0062] The fluid property sensor and the fluid particle sensor (collectively, “the fluid sensors”) may perform a measurement of the complex impedance of the fluid-under-test over a range of frequencies. The fluid sensors can inject a sine wave via the driving electrode and then measure the change in that sine wave's amplitude and phase at the sensing electrode. According to at least one exemplary embodiment, an exemplary hardware configuration for performing the measurement and exemplary signal processing for characterizing the frequency response at the sensing electrode are disclosed. For the fluid property sensor, the impedance exhibited due to the capacitance of the fluid across the sensor head electrodes is measured. For the fluid particle sensor, the impedance exhibited due to the inductance of the metallic particles in the sensor head inductive loop is measured.
[0063] The fluid sensors may perform frequency measurements in the range of 0.04 Hz-100 kHz. For the range of interest, an I-V measurement technique or an auto-balancing bridge technique may be used. The I-V measurement technique can measure the current through a reference resistor that is wired in series with the sensor electrodes, as shown in
Now, the unknown impedance may be calculated:
The auto-balancing bridge measurement technique uses an inverting op-amp to cancel the current flowing through the test impedance by establishing a virtual ground point in the circuit as shown in
Allowing for the unknown impedance to be determined:
[0064] Both the I-V and auto-balancing-bridge techniques are able to calculate the unknown impedance value. However, the I-V technique may susceptible to larger errors when the unknown impedance value Z is very large compared to the R.sub.ref reference resistor value. The I-V calculation requires computing the difference of the V.sub.1 and V.sub.2 voltages. When Z is very large compared to R.sub.ref, the two voltages can be very similar and even tiny measurement errors may have a significant effect when the difference of the two voltages appears in the denominator of the impedance calculation. As the frequency increases, the phase measurement may tend to lose some precision leading to errors in the impedance calculation when using the I-V method.
[0065] To quantify the error, calculations were made using both measurement techniques to simulate what would happen if a 2V AC reference signal and a 1K reference resistor were used to measure various test resistances under the condition that the measured values were perturbed to incur a voltage error of 1 mV and a phase error of 1°. In Table 1 and Table 2, the measurement technique is considered stable if the perturbed measurement, Z, is near the actual impedance, Z, and does not exhibit a large imaginary component:
TABLE-US-00001 TABLE 1 I-V Error Simulation. Z (Ω) |V.sub.#| Z.sup.− (R + Xi) 5Z5 1000 4.000 999.9 − 34.88i 1000.05 10000 2.200 9659.6 − 1857.5i 10005.00 100000 2.020 24153.2 − 43239.74i 100502.00 1000000 2.002 2770.52 − 57107.04i 1052631.58
[0066] Table 1 shows that, using the I-V technique, as the test impedance increases the real and imaginary parts of the “measured” impedance quickly diverge from their actual values. While the magnitudes of the measured impedances are nearly correct, the distribution of that impedance between resistance (R) and reactance (X) is incorrect.
[0067] The same simulation was performed using the auto-balancing bridge technique:
TABLE-US-00002 TABLE 2 Auto-Balancing Bridge Error Simulation. Z (Ω) |V.sub.#| Z.sup.− (R + Xi) 5Z5 1000 2.000 999.85 − 17.452i 1000.05 10000 0.200 9998.48 − 174.52i 10005.00 100000 0.020 99984.77 − 1745.24i 100502.00 1000000 0.002 999847.70 − 17452.40i 1052631.58
[0068] Table 2 shows that, using the auto-balancing bridge technique, as the test impedance increases the relative error in the real and imaginary parts of the “measured” impedance was extremely stable and near the expected value. An interesting observation is that the magnitude of the measured impedance was the same for both measurement techniques and it was simply the distribution between R and X that changed. Given this comparison, the auto-balancing bridge technique may be superior when faced with the possibility of measurement error.
[0069] Sine Fitting
[0070] Having selected an appropriate measurement technique, measurement of the frequency response of the fluid is then performed, by exciting the fluid with a sequence of sine waves.
[0071] The sine waves may be generated by a sinewave generator, which is clocked by a microcontroller. An exemplary generator may be an AD9833 generator, and an exemplary microcontroller may be a MSP432P401R microcontroller. The microcontroller can include or be communicatively coupled to an ADC which may share a common clock with the generator, thereby preventing frequency drift between the ADC and the excitation signal. Given a precisely known frequency it is possible to extract the contribution of that frequency from a set of time-domain samples; the frequency of the sampled signal may only be known precisely if the ADC is phase-locked to the excitation signal. Generally, the ADC clock speed, f.sub.ADC, may not be equal to the generator clock speed, f.sub.GEN, but their ratio can be constant.
[0072] For each excitation frequency, f, the sampling procedure periodically measures the V.sub.2 voltage, collecting a set of sample tuples (t.sub.k, v.sub.k). Since the ADC sampling trigger is periodic, without loss of generality the sampling times can be redefined as integral values and transform on the signal frequency can be applied to the new time units:
We must then find the best-fitting sine wave for the sample set. Since the frequency is precisely known, we can perform a least-squares derivation of the best fit using a closed-form solution, utilizing the following equation for a sine wave written as a sum of sine and cosine waves with zero phase shift:
y=V+α sin(ωt)+b cos ωt (7)
We also find that equation (7) is equivalent to the following equation for a sine wave written as a single sine wave with non-zero phase shift:
[0073] Using the form in equation (7) instead of the standard form from equation (8), the least-squares fitting problem reduces from a non-linear to a linear one (since co is known). The procedure is described in Jacquelin, Jean, (2014), Regression Sinusoidale: Regressions et equations integrals, 21-36, and is incorporated herein in its entirety. Following the procedure, we arrive at the following:
[0074] Given the choice in equation (5), the values for t.sub.k are simply the integral values from 1 to N where N is the number of samples taken. The elements of the 3×3 matrix in equation (9) are written in terms of ω and t.sub.k, which are known in advance for a given N. In fact, there are closed-form solutions for each of these summations that can be computed in O(1) time rather than the naïve O(N) algorithm. Unfortunately, the same cannot be said for the 3×1 matrix on the right-hand side of equation (9); here we also have v.sub.k terms which are clearly not known in advance.
[0075] The algorithm that is run on the microcontroller may be as follows. In a first step, at the start of a frequency, compute the 3×3 matrix inverse using the closed forms. In a second step, compute the Σv.sub.k, Σv.sub.k sin ωt.sub.k and Σv.sub.k cos ωt.sub.k sums in real-time as the ADC is sampled, wherein no RAM storage may be required. In a third step, at the end of the sampling period, compute the matrix product in equation (9) to derive V, a and b. In a fourth step, using equation (8), compute A and ϕ. In a fifth step, return V, A and ϕ to the client code for transmission to a data hub. Finally, in a sixth step, the process may be repeated from the first step, for the next frequency.
[0076] As part of the sine-fitting algorithm, an R.sup.2 goodness-of-fit estimation may also be computed. The R.sup.2 value may be helpful as it may provide an indication of whether or not the signal that is being measured actually appears to be a sine wave.
[0077] Computation of sin ωt.sub.k and cos ωt.sub.k
[0078] As part of the sine-fitting algorithm, it is necessary to compute a different sine and cosine value for each sample point. Sine and cosine of arbitrary angles are notoriously expensive to compute and the range-reduction operation for large angles is very time- and space-consuming. In equation (5) the sample times t.sub.k were transformed to be integers in the range 1 . . . N so that all of the necessary values may be computed, even for large angles.
[0079] There are a number of recurrence relations that allow for computing sin ωk given the sine of smaller multiples of ω. One such method is the well-known Chebyshev relation:
P=2 cos ω (10)
T.sub.1=sin 1ω (11)
T.sub.2=sin 2ω (12)
T.sub.k=P.Math.T.sub.k-1−T.sub.k-2=sin kω (13)
Given the initial values computed in equations (10), (11) and (12), the sine values of larger multiples can be computed using a single multiply-subtract FPU instruction (13). The same recurrence can be used to compute cosine values by substituting the cosine function in place of the sine function in equations (11), (12) and (13). However, with single-precision FPU arithmetic this recurrence may not stable for large k. A lesser-known but more-stable recurrence relation is as follows:
P=2 sin.sup.2 ω/2, Q=sin ω (14)
S.sub.1=sin 1ω, C.sub.1=cos 1ω (15)
S.sub.k=sin kω=S.sub.k-1−(PS.sub.k-1−QC.sub.k-1) (16)
C.sub.k=cos kω=C.sub.k-1−(PC.sub.k-1−QS.sub.k-1) (17)
[0080] This recurrence requires that the sine and cosine values be maintained simultaneously, which is feasible given the sums required in equation (9). This recurrence may be numerically stable for kin the hundreds of thousands using single-precision math and may further be for much larger k when using double-precision math.
[0081] Sensor Structure
[0082] According to at least one exemplary embodiment, and as shown in in
[0083] As shown in
[0084] The proximal end of chassis 4 includes an outer thread as well as a bore with an inner thread defined in the sidewall thereof. The inner thread of the chassis engages an outer thread of a distal end of cord grip 13. A collar 11 having a bore with an inner thread defined in the sidewall thereof engages the outer thread of the proximal end of the chassis 4. The collar 11 provides compressive force so as to create a waterproof seal between the chassis 4 and the cord grip 13. Cord grip 13 can also include a central bore which is in communication with the bore of chassis 4, and through which cables for various connections (not shown), such as electrical and communications connections, may be provided to PCB 9.
[0085] A central bore is provided through the sensing-end-proximal end of chassis 4, as well as a plurality of peripheral bores. The peripheral bores receive fasteners therethrough, for example screws, which engage threaded bores of sensor mounting head 5. Tightening the fasteners causes the proximal end of sensor mounting head 5 to tightly abut the distal end of chassis 4. Sensor mounting head 5 can also include a central bore which is in communication with the central bore of chassis 4, and through which cables for various connections (not shown), such as electrical and communications connections, may be provided between the sensing components of the sensor head and PCB 9.
[0086] A tubular outer housing 12 encloses chassis 4 and the central cavity of sensor 100. The outer housing 12 is provided around the perimeter of sensor 100 and proximate chassis 4. Outer housing 12 is further disposed between collar 11 and a circumferential rib extending outward from sensor mounting head 5. As shown in
[0087]
[0088] The first exemplary embodiment of sensing unit 104 is shown in further detail in
[0089] A plurality of plates 15, for example 6-8 plates, are mounted on pins 16, and spaced apart by spacers 17, which may be formed from alumina, and disposed on the pins between each pair of plates. As shown in
[0090] The spacing and shape of the plates may be advantageous to provide an improved measurement signal. An exemplary such spacing may be approximately 1.02 mm to 0.76 mm, for example 0.89-0.90 mm between the two adjacent plates. Other spacings and shapes for the plates that enable the sensor to function herein may be contemplated and provided as desired. The desired spacing may be provided by beads 17. In some exemplary embodiments, beads 17 may further support pins 15 within bores defined thru the housing 2 of sensing unit 104. In some exemplary embodiments, and a glass to metal seal 17a may be formed between the supporting beads and housing 2 so as to isolate the pins from the housing. Furthermore, a spacer 19, which may be made of a ceramic material, for example Macor, may be provided abutting housing 2.
[0091]
[0092]
[0093] A groove disposed at a distal end of hollow tip may receive a spacer adapted to maintain the rings spaced apart from each other and in a concentric relationship. An end cap, formed from polyester ether ketone (PEEK), may be disposed at the distal end of the third embodiment of the sensing unit and may be maintained in position by a retaining clip.
[0094]
[0095] In some exemplary embodiments, a 4-probe measurement may be used for a water fluid property sensor, and a 2-probe measurement may be used for an oil fluid property sensor. In some exemplary embodiments, high pressure feed throughs for the electrical contacts at the front of the sensor head may be provided. In some exemplary embodiments, the cord grip may be provided as a male pin header adapter so as to allow the fluid property sensor to not be constantly connected to a cable. In some exemplary embodiments, a double O-ring system may be used to seal the PCB. Furthermore, the PCB chassis may be anodized as both the cord grip and the back collar thread onto the chassis. Anodizing the chassis can reduce the likelihood of galling, which may be an issue with stainless steel and aluminium threads. In some exemplary embodiments, the sensor head may be provided with a manifold type design so as to protect the sensor head elements. The manifold may be provided separately from the fluid property sensor and may be designed specifically for installation to a wide variety of deployment situations. The manifold can both protect the sensor, and prevent any sensor head plates that may dislodge from traveling into the surrounding environment. The manifold may also reduce the effect of electromagnetic interference and may reduce noise.
[0096] Turning to
[0097] In some exemplary embodiments, a fluid particle sensor 500 may have a nested coil design with two drive coils and single sense coil, while in other exemplary embodiments, a single drive coil and a single sense coil may be provided. A signal may be taken from the sense coil and amplified. A signal may also be taken from the drive coil. Both the amplified sense coil signal and the driver signal may be presented as inputs to an analogue multiplier or mixer which results in an output signal. This can further be amplified, and the carrier frequency may be removed, thereby passing just the signature caused by the particle. The signature may be different depending if a ferrous or non-ferrous particle is detected.
[0098] In other exemplary embodiments, as metallic particles flow through a sensor, the fluid particle sensor 500 can interpret the electromagnetic induction field to determine the type of metallic particle (i.e., ferrous or non-ferrous), the size of the particle, and the exact time that the particle travels through the electromagnetic induction field.
[0099]
[0100] Fluid tube 501, sensing bobbin 502, driving bobbin 503, and magnetic shield 506 may be disposed within a bobbin assembly sleeve 523. End caps 522 may be disposed on both ends of sleeve 523, enclosing bobbins 502, 503 and shield 506 within the interior of sleeve 523. Fluid tube 501 may extend through apertures in the end caps 522 so as to be in fluid communication with a fluid ingress conduit and a fluid egress conduit. An O-ring 513 may be provided on each end of fluid tube 501.
[0101] The bobbin assembly sleeve 523 and aforementioned components may be coupled to a first surface of chassis 508 by fasteners 519. A PCB 517 may be coupled to an opposing surface of chassis 508 by fasteners 518. Terminal pins 521, disposed within cavities defined in end caps 522 may provide electrical communication between sensing wire 504 and PCB 517, and between driving wire 505 and PCB 517.
[0102] Chassis 508 and the components mounted thereon may be enclosed by a cylindrical housing 507 and a pair of port walls. A male port wall 514 may be coupled to a first end of chassis 508 by fasteners 520. A collar 509 may engage a threaded circumference of male port wall 514, with an O-ring 511 disposed therebetween. The collar can provide compressive force on wall 514 and O-ring 511 so as to provide a waterproof seal between male port wall 514, housing 507, O-ring 511, and collar 509. Male port wall 514 may further be provided with a male threaded compression fitting, for example a male Swagelok fitting, and a face seal O-ring 512 between the male threaded fitting and the male port wall 514.
[0103] A female port wall 515 may be coupled to a second end of chassis 508 by fasteners 520. A circumferential rib of female port wall 515 may abut an edge of housing 507, and an O-ring 510 may be provided in a circumferential groove adjacent the circumferential rib. O-ring 510 may be impinged by housing 507 so as to create a waterproof seal between female port wall 515, O-ring 510, and housing 507. An electrical connector 516, for example a 6-pin receptacle, may be provided with an outer thread that engages a threaded bore that is provided through female port wall 515, allowing electrical and communicative coupling with PCB 517. Male port wall 514 may be further provided with a female threaded compression fitting, for example a female Swagelok fitting, and a face seal O-ring between the male threaded fitting and the female port wall 515.
[0104] Fluid tube 501 may be disposed between the inner surfaces of port walls 514, 515, with an O-ring 513 provided between an end of fluid tube 501 and the corresponding inner surface of port walls 514, 515. A gap is may be at each end of tube 501 so as to provide tolerance for linear expansion of tube 501 due to mechanical creep caused by thermal cycling.
[0105] In some exemplary embodiments, a hose passing through the sensor may be used in lieu of fluid tube 501. In some exemplary embodiments, a hose or a tube may be held in place by compression fittings.
[0106] According to some exemplary embodiments, a fluid particle sensor may have a nested coil design with one drive coil and two sense coils, taking the signals from the coils and using instrumentation amplifiers to convert the signal, subtracting the signals from each other, and then gaining the signals. In some exemplary embodiments, a sinusoidal voltage at a known frequency may be applied across the drive coil. In some exemplary embodiments, analog subtraction of sense coil signals may be performed, then gain may be maximized, and the raw output may be then heavily filtered to optimize the desired frequency. In some exemplary embodiments, the sense coils may be connected in series with opposite polarity and the top voltage may be observed (with the bottom being connected to ground). In some exemplary embodiments, the sense coils may be connected in parallel with opposite polarity and the top voltage along the resistor may be observed (with the bottom being connected to ground). In some exemplary embodiments, the drive coils may be driven with an AC coupled signal on a bipolar circuit board.
[0107] In some exemplary embodiments, the particle sensor may include a sine wave generator that is clocked at a known frequency and that generates the drive signal. The signal can go through an impedance and return where it can be measured with an analog to digital converter, which may be built into a microcontroller. The measured points may then have a sine wave fitting algorithm applied to them so as to extract the amplitude and phase. Instead of a Fourier transform being performed, a least-squares-sine fit may be performed. This allows an advantageous use of data from partial sine waves; an integer number of periods is not necessary; the algorithm is therefore frequency-independent.
[0108] In some exemplary embodiments, a microcontroller may perform single precision floating point math or double precision math. So as to compute tens of hundreds of thousands of values for the sine and cosine functions a recursive relation may be used. Furthermore, in some exemplary embodiments, Kahan summation may be used to provide desired accuracy for up to tens of thousands of sine values. In some exemplary embodiments, the Kahan summation and the recursive sine and cosine relation may be provided and optimized so that these functions can run in less than 48 cycles per sample. In some exemplary embodiments, Kahan summation and recursive relation may be combined to enable the sensor to function as described herein.
[0109] In some exemplary embodiments, the bobbins may be provided with lateral grooves and internal tubes under the coils. This can allow for “sewing” the wire out of the assembly while keeping tension to hold the wires in place. Furthermore, alcohol-bondable wires may be provided to maintain the wires in place once wound. Potting of the coil and bobbin assemblies may be done utilizing clear resin or a UV-curable epoxy having a quick setting time and low viscosity so as to effectively fill all gaps. The sensing coil bobbin may be provided with a plunger seal on both ends and with epoxy injection ports for filling the encapsulant. The bobbin can be moved with an alignment key that can move the bobbin linearly and rotationally inside the assembly. A fluorescent light bulb can fit within the inner bobbin and, after the mechanical balancing has been achieved, the light can be turned on to set the epoxy and cure the assembly in its balanced state.
[0110] The foregoing description and accompanying figures illustrate the principles, preferred embodiments and modes of operation of the invention. However, the invention should not be construed as being limited to the particular embodiments discussed above. Additional variations of the embodiments discussed above will be appreciated by those skilled in the art.
[0111] Therefore, the above-described embodiments should be regarded as illustrative rather than restrictive. Accordingly, it should be appreciated that variations to those embodiments can be made by those skilled in the art without departing from the scope of the invention as defined by the following claims.